Compare commits
No commits in common. "ef6dea3605b7a5140255a9d3b80fdd1e8d0b25f8" and "cf414a69b315e17fd4bf5743cfb58c48a5800a3a" have entirely different histories.
ef6dea3605
...
cf414a69b3
|
@ -1,7 +1,5 @@
|
|||
import esbuild from 'esbuild'
|
||||
import pkg from './package.json' assert { type: 'json' }
|
||||
|
||||
const { version } = pkg
|
||||
const esbuild = require('esbuild')
|
||||
const { version } = require('./package.json')
|
||||
|
||||
esbuild.build({
|
||||
entryPoints: ['src/index.js'],
|
|
@ -221,11 +221,8 @@ function drawTbody(year, month) {
|
|||
: tmp.weekend
|
||||
? chalk.redBright(tmp.lunar)
|
||||
: chalk.grey(tmp.lunar)
|
||||
//
|
||||
tr += ' '.repeat(pad + 2) + tmp.lunar + ' '.repeat(pad + 2) + VLINE
|
||||
} else {
|
||||
tr += ' '.repeat(pad * 2) + VLINE
|
||||
}
|
||||
tr += ' '.repeat(pad + 2) + tmp.lunar + ' '.repeat(pad + 2) + VLINE
|
||||
}
|
||||
break
|
||||
}
|
||||
|
|
|
@ -11,10 +11,10 @@ import chalk from 'chalk'
|
|||
import { CACHE_FILE } from './lunar/config.js'
|
||||
import { getThisYearMonth, drawCalendar } from './calendar.js'
|
||||
|
||||
const version = process.env.APP_VERSION
|
||||
const argvs = process.argv.slice(2)
|
||||
let action = argvs.shift()
|
||||
let [year, month] = getThisYearMonth()
|
||||
var version = process.env.APP_VERSION
|
||||
var argvs = process.argv.slice(2)
|
||||
var action = argvs.shift()
|
||||
var [year, month] = getThisYearMonth()
|
||||
|
||||
function drawOneYear(y) {
|
||||
for (let i = 0; i < 12; i++) {
|
||||
|
|
Loading…
Reference in New Issue