fix: resolve lint, typecheck, and tsconfig deprecation errors

This commit is contained in:
yiling
2026-06-07 11:10:27 +08:00
parent a7e714c7d0
commit e790df2812
9 changed files with 22 additions and 26 deletions
+1 -1
View File
@@ -129,7 +129,7 @@ console.log(' Working directory clean\n')
// 2. Determine version
const rootPkg = JSON.parse(readFileSync('package.json', 'utf-8'))
const currentVersion = rootPkg.version || '0.1.0'
let newVersion = ''
let newVersion: string
if (bumpTypes.has(releaseTarget)) {
newVersion = incrementVersion(currentVersion, releaseTarget as 'major' | 'minor' | 'patch')