chore: migrate tsdown config

This commit is contained in:
Kevin Deng
2026-05-02 15:24:04 +09:00
parent e62d58051b
commit 7d87d58072
8 changed files with 325 additions and 100 deletions

279
pnpm-lock.yaml generated
View File

@@ -6,6 +6,132 @@ settings:
catalogs:
default:
'@arethetypeswrong/core':
specifier: ^0.18.2
version: 0.18.2
'@babel/code-frame':
specifier: ^7.29.0
version: 7.29.0
'@babel/core':
specifier: ^7.29.0
version: 7.29.0
'@babel/helper-module-imports':
specifier: ^7.28.6
version: 7.28.6
'@babel/helper-plugin-utils':
specifier: ^7.28.6
version: 7.28.6
'@babel/parser':
specifier: ^7.29.3
version: 7.29.3
'@babel/plugin-syntax-jsx':
specifier: ^7.28.6
version: 7.28.6
'@babel/plugin-syntax-typescript':
specifier: ^7.28.6
version: 7.28.6
'@babel/preset-env':
specifier: ^7.29.3
version: 7.29.3
'@babel/standalone':
specifier: ^7.29.3
version: 7.29.3
'@babel/template':
specifier: ^7.28.6
version: 7.28.6
'@babel/traverse':
specifier: ^7.29.0
version: 7.29.0
'@babel/types':
specifier: ^7.29.0
version: 7.29.0
'@rollup/plugin-babel':
specifier: ^7.0.0
version: 7.0.0
'@sxzz/eslint-config':
specifier: ^8.0.0
version: 8.0.0
'@sxzz/prettier-config':
specifier: ^2.3.1
version: 2.3.1
'@types/babel__code-frame':
specifier: ^7.27.0
version: 7.27.0
'@types/babel__core':
specifier: ^7.20.5
version: 7.20.5
'@types/babel__helper-module-imports':
specifier: ^7.18.3
version: 7.18.3
'@types/babel__helper-plugin-utils':
specifier: ^7.10.3
version: 7.10.3
'@types/babel__standalone':
specifier: ^7.1.9
version: 7.1.9
'@types/babel__template':
specifier: ^7.4.4
version: 7.4.4
'@types/babel__traverse':
specifier: ^7.28.0
version: 7.28.0
'@types/node':
specifier: ^25.6.0
version: 25.6.0
'@typescript/native-preview':
specifier: 7.0.0-dev.20260501.1
version: 7.0.0-dev.20260501.1
'@vitejs/plugin-vue-jsx':
specifier: ^5.1.5
version: 5.1.5
'@vitest/coverage-v8':
specifier: ^4.1.5
version: 4.1.5
'@vue/compiler-sfc':
specifier: ^3.5.33
version: 3.5.33
'@vue/shared':
specifier: ^3.5.33
version: 3.5.33
'@vue/test-utils':
specifier: ^2.4.10
version: 2.4.10
assert:
specifier: ^2.1.0
version: 2.1.0
bumpp:
specifier: ^11.0.1
version: 11.0.1
eslint:
specifier: ^10.3.0
version: 10.3.0
jsdom:
specifier: ^29.1.1
version: 29.1.1
monaco-editor:
specifier: ^0.55.1
version: 0.55.1
prettier:
specifier: 3.8.3
version: 3.8.3
regenerator-runtime:
specifier: ^0.14.1
version: 0.14.1
tsdown:
specifier: ^0.21.10
version: 0.21.10
tslib:
specifier: ^2.8.1
version: 2.8.1
typescript:
specifier: ~6.0.3
version: 6.0.3
vite:
specifier: ^8.0.10
version: 8.0.10
vitest:
specifier: ^4.1.5
version: 4.1.5
vue:
specifier: ^3.5.33
version: 3.5.33
@@ -14,65 +140,68 @@ importers:
.:
devDependencies:
'@arethetypeswrong/core':
specifier: 'catalog:'
version: 0.18.2
'@babel/plugin-syntax-typescript':
specifier: ^7.28.6
specifier: 'catalog:'
version: 7.28.6(@babel/core@7.29.0)
'@rollup/plugin-babel':
specifier: ^7.0.0
specifier: 'catalog:'
version: 7.0.0(@babel/core@7.29.0)(@types/babel__core@7.20.5)
'@sxzz/eslint-config':
specifier: ^8.0.0
specifier: 'catalog:'
version: 8.0.0(@typescript-eslint/eslint-plugin@8.59.1(@typescript-eslint/parser@8.59.1(eslint@10.3.0(jiti@2.6.1))(typescript@6.0.3))(eslint@10.3.0(jiti@2.6.1))(typescript@6.0.3))(@typescript-eslint/parser@8.59.1(eslint@10.3.0(jiti@2.6.1))(typescript@6.0.3))(@typescript-eslint/rule-tester@8.59.1(eslint@10.3.0(jiti@2.6.1))(typescript@6.0.3))(@typescript-eslint/typescript-estree@8.59.1(typescript@6.0.3))(@typescript-eslint/utils@8.59.1(eslint@10.3.0(jiti@2.6.1))(typescript@6.0.3))(eslint@10.3.0(jiti@2.6.1))(prettier@3.8.3)(typescript@6.0.3)
'@sxzz/prettier-config':
specifier: ^2.3.1
specifier: 'catalog:'
version: 2.3.1
'@types/babel__core':
specifier: ^7.20.5
specifier: 'catalog:'
version: 7.20.5
'@types/babel__helper-module-imports':
specifier: ^7.18.3
specifier: 'catalog:'
version: 7.18.3
'@types/babel__helper-plugin-utils':
specifier: ^7.10.3
specifier: 'catalog:'
version: 7.10.3
'@types/node':
specifier: ^25.6.0
specifier: 'catalog:'
version: 25.6.0
'@typescript/native-preview':
specifier: 7.0.0-dev.20260501.1
specifier: 'catalog:'
version: 7.0.0-dev.20260501.1
'@vitest/coverage-v8':
specifier: ^4.1.5
specifier: 'catalog:'
version: 4.1.5(vitest@4.1.5)
'@vue/babel-plugin-jsx':
specifier: workspace:*
version: link:packages/babel-plugin-jsx
bumpp:
specifier: ^11.0.1
specifier: 'catalog:'
version: 11.0.1
eslint:
specifier: ^10.3.0
specifier: 'catalog:'
version: 10.3.0(jiti@2.6.1)
jsdom:
specifier: ^29.1.1
specifier: 'catalog:'
version: 29.1.1
prettier:
specifier: 3.8.3
specifier: 'catalog:'
version: 3.8.3
tsdown:
specifier: ^0.21.10
version: 0.21.10(@typescript/native-preview@7.0.0-dev.20260501.1)(synckit@0.11.12)(typescript@6.0.3)
specifier: 'catalog:'
version: 0.21.10(@arethetypeswrong/core@0.18.2)(@typescript/native-preview@7.0.0-dev.20260501.1)(synckit@0.11.12)(typescript@6.0.3)
tslib:
specifier: ^2.8.1
specifier: 'catalog:'
version: 2.8.1
typescript:
specifier: ~6.0.3
specifier: 'catalog:'
version: 6.0.3
vite:
specifier: ^8.0.10
specifier: 'catalog:'
version: 8.0.10(@types/node@25.6.0)(jiti@2.6.1)(yaml@2.8.3)
vitest:
specifier: ^4.1.5
specifier: 'catalog:'
version: 4.1.5(@types/node@25.6.0)(@vitest/coverage-v8@4.1.5)(jsdom@29.1.1)(vite@8.0.10(@types/node@25.6.0)(jiti@2.6.1)(yaml@2.8.3))
packages/babel-helper-vue-transform-on: {}
@@ -80,22 +209,22 @@ importers:
packages/babel-plugin-jsx:
dependencies:
'@babel/helper-module-imports':
specifier: ^7.28.6
specifier: 'catalog:'
version: 7.28.6
'@babel/helper-plugin-utils':
specifier: ^7.28.6
specifier: 'catalog:'
version: 7.28.6
'@babel/plugin-syntax-jsx':
specifier: ^7.28.6
specifier: 'catalog:'
version: 7.28.6(@babel/core@7.29.0)
'@babel/template':
specifier: ^7.28.6
specifier: 'catalog:'
version: 7.28.6
'@babel/traverse':
specifier: ^7.29.0
specifier: 'catalog:'
version: 7.29.0
'@babel/types':
specifier: ^7.29.0
specifier: 'catalog:'
version: 7.29.0
'@vue/babel-helper-vue-transform-on':
specifier: workspace:*
@@ -104,26 +233,26 @@ importers:
specifier: workspace:*
version: link:../babel-plugin-resolve-type
'@vue/shared':
specifier: ^3.5.33
specifier: 'catalog:'
version: 3.5.33
devDependencies:
'@babel/core':
specifier: ^7.29.0
specifier: 'catalog:'
version: 7.29.0
'@babel/preset-env':
specifier: ^7.29.3
specifier: 'catalog:'
version: 7.29.3(@babel/core@7.29.0)
'@types/babel__template':
specifier: ^7.4.4
specifier: 'catalog:'
version: 7.4.4
'@types/babel__traverse':
specifier: ^7.28.0
specifier: 'catalog:'
version: 7.28.0
'@vue/test-utils':
specifier: ^2.4.10
specifier: 'catalog:'
version: 2.4.10(@vue/compiler-dom@3.5.33)(@vue/server-renderer@3.5.33(vue@3.5.33(typescript@6.0.3)))(vue@3.5.33(typescript@6.0.3))
regenerator-runtime:
specifier: ^0.14.1
specifier: 'catalog:'
version: 0.14.1
vue:
specifier: 'catalog:'
@@ -132,26 +261,26 @@ importers:
packages/babel-plugin-resolve-type:
dependencies:
'@babel/code-frame':
specifier: ^7.29.0
specifier: 'catalog:'
version: 7.29.0
'@babel/helper-module-imports':
specifier: ^7.28.6
specifier: 'catalog:'
version: 7.28.6
'@babel/helper-plugin-utils':
specifier: ^7.28.6
specifier: 'catalog:'
version: 7.28.6
'@babel/parser':
specifier: ^7.29.3
specifier: 'catalog:'
version: 7.29.3
'@vue/compiler-sfc':
specifier: ^3.5.33
specifier: 'catalog:'
version: 3.5.33
devDependencies:
'@babel/core':
specifier: ^7.29.0
specifier: 'catalog:'
version: 7.29.0
'@types/babel__code-frame':
specifier: ^7.27.0
specifier: 'catalog:'
version: 7.27.0
vue:
specifier: 'catalog:'
@@ -160,33 +289,40 @@ importers:
packages/jsx-explorer:
dependencies:
'@babel/standalone':
specifier: ^7.29.3
specifier: 'catalog:'
version: 7.29.3
'@vue/babel-plugin-jsx':
specifier: workspace:*
version: link:../babel-plugin-jsx
assert:
specifier: ^2.1.0
specifier: 'catalog:'
version: 2.1.0
monaco-editor:
specifier: ^0.55.1
specifier: 'catalog:'
version: 0.55.1
vue:
specifier: 'catalog:'
version: 3.5.33(typescript@6.0.3)
devDependencies:
'@types/babel__standalone':
specifier: ^7.1.9
specifier: 'catalog:'
version: 7.1.9
'@vitejs/plugin-vue-jsx':
specifier: ^5.1.5
specifier: 'catalog:'
version: 5.1.5(vite@8.0.10(@types/node@25.6.0)(jiti@2.6.1)(yaml@2.8.3))(vue@3.5.33(typescript@6.0.3))
vite:
specifier: ^8.0.10
specifier: 'catalog:'
version: 8.0.10(@types/node@25.6.0)(jiti@2.6.1)(yaml@2.8.3)
packages:
'@andrewbranch/untar.js@1.0.3':
resolution: {integrity: sha512-Jh15/qVmrLGhkKJBdXlK1+9tY4lZruYjsgkDFj08ZmDiWVBLJcqkok7Z0/R0In+i1rScBpJlSvrTS2Lm41Pbnw==}
'@arethetypeswrong/core@0.18.2':
resolution: {integrity: sha512-GiwTmBFOU1/+UVNqqCGzFJYfBXEytUkiI+iRZ6Qx7KmUVtLm00sYySkfe203C9QtPG11yOz1ZaMek8dT/xnlgg==}
engines: {node: '>=20'}
'@asamuzakjp/css-color@5.1.11':
resolution: {integrity: sha512-KVw6qIiCTUQhByfTd78h2yD1/00waTmm9uy/R7Ck/ctUyAPj+AEDLkQIdJW0T8+qGgj3j5bpNKK7Q3G+LedJWg==}
engines: {node: ^20.19.0 || ^22.12.0 || >=24.0.0}
@@ -746,6 +882,9 @@ packages:
resolution: {integrity: sha512-6zABk/ECA/QYSCQ1NGiVwwbQerUCZ+TQbp64Q3AgmfNvurHH0j8TtXa1qbShXA6qqkpAj4V5W8pP6mLe1mcMqA==}
engines: {node: '>=18'}
'@braidai/lang@1.1.2':
resolution: {integrity: sha512-qBcknbBufNHlui137Hft8xauQMTZDKdophmLFv05r2eNmdIv/MlPuP4TdUknHG68UdWLgVZwgxVe735HzJNIwA==}
'@bramus/specificity@2.4.2':
resolution: {integrity: sha512-ctxtJ/eA+t+6q2++vj5j7FYX3nRu311q1wfYH3xjlLOsczhlhxAg2FWNUXhpGvAw3BWo1xBcvOV6/YLc2r5FJw==}
hasBin: true
@@ -924,6 +1063,9 @@ packages:
'@jridgewell/trace-mapping@0.3.31':
resolution: {integrity: sha512-zzNR+SdQSDJzc8joaeP8QQoCQr8NuYx2dIIytl1QeBEZHJ9uW6hebsrYgbz8hJwUQao3TWCMtmfV8Nu1twOLAw==}
'@loaderkit/resolve@1.0.5':
resolution: {integrity: sha512-fhkdGM57xhJ7CO91MUgbQlb0ClP0AJ9vB3yoVnBTslYJqrJOCVEbOprZcxZlexdMbmTBPQqVcQYr+j4oRRtIZA==}
'@napi-rs/wasm-runtime@1.1.4':
resolution: {integrity: sha512-3NQNNgA1YSlJb/kMH1ildASP9HW7/7kYnRI2szWJaofaS1hWmbGI4H+d3+22aGzXXN9IJ+n+GiFVcGipJP18ow==}
peerDependencies:
@@ -1672,6 +1814,9 @@ packages:
resolution: {integrity: sha512-77PSwercCZU2Fc4sX94eF8k8Pxte6JAwL4/ICZLFjJLqegs7kCuAsqqj/70NQF6TvDpgFjkubQB2FW2ZZddvQg==}
engines: {node: '>=8'}
cjs-module-lexer@1.4.3:
resolution: {integrity: sha512-9z8TZaGM1pfswYeXrUpzPrkx8UnWYdhJclsiYMm6x/w5+nN+8Tf/LnAgfLGQCm59qAOxU8WwHEq2vNwF6i4j+Q==}
clean-regexp@1.0.0:
resolution: {integrity: sha512-GfisEZEJvzKrmGWkvfhgzcz/BllN1USeqD2V6tg14OAOgaCD2Z/PUEuxnAZ/nPvmaHRG7a8y77p1T/IRQ4D1Hw==}
engines: {node: '>=4'}
@@ -2098,6 +2243,9 @@ packages:
picomatch:
optional: true
fflate@0.8.2:
resolution: {integrity: sha512-cPJU47OaAoCbg0pBvzsgpTPhmhqI5eJjh/JIu8tPj5q+T7iLvW/JAYUqmE7KOB4R1ZyEhzBaIQpQpardBF5z8A==}
file-entry-cache@8.0.0:
resolution: {integrity: sha512-XXTUwCvisa5oacNGRP9SfNtYBNAMi+RPwBFmblZEF7N7swHYQS6/Zfk7SRwx4D5j3CH211YNRco1DEMNVfZCnQ==}
engines: {node: '>=16.0.0'}
@@ -3052,6 +3200,11 @@ packages:
eslint: ^8.57.0 || ^9.0.0 || ^10.0.0
typescript: '>=4.8.4 <6.1.0'
typescript@5.6.1-rc:
resolution: {integrity: sha512-E3b2+1zEFu84jB0YQi9BORDjz9+jGbwwy1Zi3G0LUNw7a7cePUrHMRNy8aPh53nXpkFGVHSxIZo5vKTfYaFiBQ==}
engines: {node: '>=14.17'}
hasBin: true
typescript@6.0.3:
resolution: {integrity: sha512-y2TvuxSZPDyQakkFRPZHKFm+KKVqIisdg9/CZwm9ftvKXLP8NRWj38/ODjNbr43SsoXqNuAisEf1GdCxqWcdBw==}
engines: {node: '>=14.17'}
@@ -3126,6 +3279,10 @@ packages:
util@0.12.5:
resolution: {integrity: sha512-kZf/K6hEIrWHI6XqOFUiiMa+79wE/D8Q+NCNAWclkyg3b4d2k7s0QGepNjiABc+aR3N1PAyHL7p6UcLY6LmrnA==}
validate-npm-package-name@5.0.1:
resolution: {integrity: sha512-OljLrQ9SQdOUqTaQxqL5dEfZWrXExyyWsozYlAWFawPVNuD83igl7uJD2RTkNMbniIYgt8l81eCJGIdQF7avLQ==}
engines: {node: ^14.17.0 || ^16.13.0 || >=18.0.0}
vite@8.0.10:
resolution: {integrity: sha512-rZuUu9j6J5uotLDs+cAA4O5H4K1SfPliUlQwqa6YEwSrWDZzP4rhm00oJR5snMewjxF5V/K3D4kctsUTsIU9Mw==}
engines: {node: ^20.19.0 || >=22.12.0}
@@ -3301,6 +3458,19 @@ packages:
snapshots:
'@andrewbranch/untar.js@1.0.3': {}
'@arethetypeswrong/core@0.18.2':
dependencies:
'@andrewbranch/untar.js': 1.0.3
'@loaderkit/resolve': 1.0.5
cjs-module-lexer: 1.4.3
fflate: 0.8.2
lru-cache: 11.3.5
semver: 7.7.4
typescript: 5.6.1-rc
validate-npm-package-name: 5.0.1
'@asamuzakjp/css-color@5.1.11':
dependencies:
'@asamuzakjp/generational-cache': 1.0.1
@@ -4029,6 +4199,8 @@ snapshots:
'@bcoe/v8-coverage@1.0.2': {}
'@braidai/lang@1.1.2': {}
'@bramus/specificity@2.4.2':
dependencies:
css-tree: 3.2.1
@@ -4215,6 +4387,10 @@ snapshots:
'@jridgewell/resolve-uri': 3.1.2
'@jridgewell/sourcemap-codec': 1.5.5
'@loaderkit/resolve@1.0.5':
dependencies:
'@braidai/lang': 1.1.2
'@napi-rs/wasm-runtime@1.1.4(@emnapi/core@1.10.0)(@emnapi/runtime@1.10.0)':
dependencies:
'@emnapi/core': 1.10.0
@@ -4971,6 +5147,8 @@ snapshots:
ci-info@4.4.0: {}
cjs-module-lexer@1.4.3: {}
clean-regexp@1.0.0:
dependencies:
escape-string-regexp: 1.0.5
@@ -5417,6 +5595,8 @@ snapshots:
optionalDependencies:
picomatch: 4.0.4
fflate@0.8.2: {}
file-entry-cache@8.0.0:
dependencies:
flat-cache: 4.0.1
@@ -6490,7 +6670,7 @@ snapshots:
picomatch: 4.0.4
typescript: 6.0.3
tsdown@0.21.10(@typescript/native-preview@7.0.0-dev.20260501.1)(synckit@0.11.12)(typescript@6.0.3):
tsdown@0.21.10(@arethetypeswrong/core@0.18.2)(@typescript/native-preview@7.0.0-dev.20260501.1)(synckit@0.11.12)(typescript@6.0.3):
dependencies:
ansis: 4.2.0
cac: 7.0.0
@@ -6509,6 +6689,7 @@ snapshots:
unconfig-core: 7.5.0
unrun: 0.2.37(synckit@0.11.12)
optionalDependencies:
'@arethetypeswrong/core': 0.18.2
typescript: 6.0.3
transitivePeerDependencies:
- '@ts-macro/tsc'
@@ -6534,6 +6715,8 @@ snapshots:
transitivePeerDependencies:
- supports-color
typescript@5.6.1-rc: {}
typescript@6.0.3: {}
unconfig-core@7.5.0:
@@ -6614,6 +6797,8 @@ snapshots:
is-typed-array: 1.1.15
which-typed-array: 1.1.20
validate-npm-package-name@5.0.1: {}
vite@8.0.10(@types/node@25.6.0)(jiti@2.6.1)(yaml@2.8.3):
dependencies:
lightningcss: 1.32.0