diff --git a/package.json b/package.json index 9c69642893e..7f1e4fcfa7b 100644 --- a/package.json +++ b/package.json @@ -41,7 +41,7 @@ "nano-staged": "0.8.0", "nanospinner": "^1.1.0", "prettier": "^2.8.8", - "typescript": "5.4.0", + "typescript": "5.3.3", "simple-git-hooks": "^2.8.0" }, "packageManager": "pnpm@9.1.1", diff --git a/packages/varlet-cli/lib/node/bin.js b/packages/varlet-cli/lib/node/bin.js old mode 100644 new mode 100755 diff --git a/packages/varlet-cli/package.json b/packages/varlet-cli/package.json index 986b1fbc0fc..3e000921218 100644 --- a/packages/varlet-cli/package.json +++ b/packages/varlet-cli/package.json @@ -63,7 +63,7 @@ "picocolors": "^1.0.0", "sass": "^1.77.4", "sharp": "0.31.1", - "typescript": "5.4.0", + "typescript": "5.3.3", "vite": "5.4.6", "vitest": "2.1.1", "vue": "3.4.21" diff --git a/packages/varlet-cli/template/generators/base/package.json b/packages/varlet-cli/template/generators/base/package.json index e9208845a47..6e435efc444 100644 --- a/packages/varlet-cli/template/generators/base/package.json +++ b/packages/varlet-cli/template/generators/base/package.json @@ -54,7 +54,7 @@ "live-server": "^1.2.1", "prettier": "^2.8.8", "simple-git-hooks": "^2.8.0", - "typescript": "5.4.0", + "typescript": "5.3.3", "vue": "3.4.21", "vue-router": "4.2.0" }, diff --git a/packages/varlet-import-resolver/package.json b/packages/varlet-import-resolver/package.json index c42bf68174f..b2133a22b58 100644 --- a/packages/varlet-import-resolver/package.json +++ b/packages/varlet-import-resolver/package.json @@ -44,7 +44,7 @@ }, "devDependencies": { "@types/node": "^18.7.18", - "typescript": "5.4.0", + "typescript": "5.3.3", "tsup": "7.2.0" } } \ No newline at end of file diff --git a/packages/varlet-preset-tailwindcss/package.json b/packages/varlet-preset-tailwindcss/package.json index 362468105eb..167b56f30a0 100644 --- a/packages/varlet-preset-tailwindcss/package.json +++ b/packages/varlet-preset-tailwindcss/package.json @@ -40,7 +40,7 @@ "devDependencies": { "@types/node": "^18.7.18", "tsup": "7.2.0", - "typescript": "5.4.0" + "typescript": "5.3.3" }, "peerDependencies": { "tailwindcss": "^3.4.1" diff --git a/packages/varlet-preset-unocss/package.json b/packages/varlet-preset-unocss/package.json index ebf63eea4ba..6311ed6b03b 100644 --- a/packages/varlet-preset-unocss/package.json +++ b/packages/varlet-preset-unocss/package.json @@ -42,7 +42,7 @@ }, "devDependencies": { "@types/node": "^18.7.18", - "typescript": "5.4.0", + "typescript": "5.3.3", "tsup": "7.2.0" } } \ No newline at end of file diff --git a/packages/varlet-shared/package.json b/packages/varlet-shared/package.json index 96c4b046f9d..a513a18a26f 100644 --- a/packages/varlet-shared/package.json +++ b/packages/varlet-shared/package.json @@ -41,7 +41,7 @@ }, "devDependencies": { "@types/node": "^18.7.18", - "typescript": "5.4.0", + "typescript": "5.3.3", "tsup": "7.2.0" } } \ No newline at end of file diff --git a/packages/varlet-ui-playground/package.json b/packages/varlet-ui-playground/package.json index afebe726f40..9c25e046193 100644 --- a/packages/varlet-ui-playground/package.json +++ b/packages/varlet-ui-playground/package.json @@ -34,6 +34,6 @@ "@types/node": "*", "vite": "5.1.8", "live-server": "^1.2.1", - "typescript": "5.4.0" + "typescript": "5.3.3" } } \ No newline at end of file diff --git a/packages/varlet-ui/package.json b/packages/varlet-ui/package.json index cb65063a8e6..ccf4d2c349c 100644 --- a/packages/varlet-ui/package.json +++ b/packages/varlet-ui/package.json @@ -75,7 +75,7 @@ "jsdom": "24.1.1", "live-server": "^1.2.1", "shiki": "^1.21.0", - "typescript": "5.4.0", + "typescript": "5.3.3", "vitest": "2.0.5", "vue": "3.4.21", "vue-router": "4.2.0", diff --git a/packages/varlet-use/package.json b/packages/varlet-use/package.json index dcbecb5ffd1..4782d0490eb 100644 --- a/packages/varlet-use/package.json +++ b/packages/varlet-use/package.json @@ -42,7 +42,7 @@ "devDependencies": { "@types/node": "^18.7.18", "tsup": "7.2.0", - "typescript": "5.4.0", + "typescript": "5.3.3", "vue": "3.4.21" }, "peerDependencies": { diff --git a/packages/varlet-vite-plugins/package.json b/packages/varlet-vite-plugins/package.json index f7c2c4d0a66..d3b815df88e 100644 --- a/packages/varlet-vite-plugins/package.json +++ b/packages/varlet-vite-plugins/package.json @@ -38,7 +38,7 @@ "@types/markdown-it": "^12.2.3", "@types/node": "^18.7.20", "tsup": "7.2.0", - "typescript": "5.4.0", + "typescript": "5.3.3", "vite": "5.4.6" } } \ No newline at end of file diff --git a/packages/varlet-vscode-extension/package.json b/packages/varlet-vscode-extension/package.json index 40bce7e4c88..01104f9516d 100644 --- a/packages/varlet-vscode-extension/package.json +++ b/packages/varlet-vscode-extension/package.json @@ -96,6 +96,6 @@ "@vscode/vsce": "^2.17.0", "@types/node": "14.x", "@types/vscode": "^1.56.0", - "typescript": "5.4.0" + "typescript": "5.3.3" } } \ No newline at end of file diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 29c581fa641..105db3c7921 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -48,8 +48,8 @@ importers: specifier: npm:tinyexec@^0.3.0 version: 0.3.0 typescript: - specifier: ^5.4.0 - version: 5.6.3 + specifier: 5.3.3 + version: 5.3.3 packages/varlet-cli: dependencies: @@ -64,7 +64,7 @@ importers: version: 6.0.1 '@varlet/icon-builder': specifier: 0.2.14 - version: 0.2.14(vue@3.4.21(typescript@5.6.3)) + version: 0.2.14(vue@3.4.21(typescript@5.3.3)) '@varlet/release': specifier: ^0.3.1 version: 0.3.1 @@ -76,10 +76,10 @@ importers: version: link:../varlet-vite-plugins '@vitejs/plugin-vue': specifier: 5.1.4 - version: 5.1.4(vite@5.4.6(@types/node@18.7.20)(less@3.13.1)(sass@1.77.4))(vue@3.4.21(typescript@5.6.3)) + version: 5.1.4(vite@5.4.6(@types/node@18.7.20)(less@3.13.1)(sass@1.77.4))(vue@3.4.21(typescript@5.3.3)) '@vitejs/plugin-vue-jsx': specifier: 4.0.1 - version: 4.0.1(vite@5.4.6(@types/node@18.7.20)(less@3.13.1)(sass@1.77.4))(vue@3.4.21(typescript@5.6.3)) + version: 4.0.1(vite@5.4.6(@types/node@18.7.20)(less@3.13.1)(sass@1.77.4))(vue@3.4.21(typescript@5.3.3)) '@vitest/coverage-istanbul': specifier: 2.0.5 version: 2.0.5(vitest@2.1.1(@types/node@18.7.20)(jsdom@24.1.1)(less@3.13.1)(sass@1.77.4)) @@ -94,7 +94,7 @@ importers: version: 3.5.6 '@vue/test-utils': specifier: 2.4.1 - version: 2.4.1(@vue/server-renderer@3.4.21(vue@3.4.21(typescript@5.6.3)))(vue@3.4.21(typescript@5.6.3)) + version: 2.4.1(@vue/server-renderer@3.4.21(vue@3.4.21(typescript@5.3.3)))(vue@3.4.21(typescript@5.3.3)) chokidar: specifier: ^3.5.2 version: 3.5.3 @@ -147,8 +147,8 @@ importers: specifier: npm:tinyexec@^0.3.0 version: 0.3.0 typescript: - specifier: ^5.4.0 - version: 5.6.3 + specifier: 5.3.3 + version: 5.3.3 vite: specifier: 5.4.6 version: 5.4.6(@types/node@18.7.20)(less@3.13.1)(sass@1.77.4) @@ -157,10 +157,10 @@ importers: version: 2.1.1(@types/node@18.7.20)(jsdom@24.1.1)(less@3.13.1)(sass@1.77.4) vue: specifier: 3.4.21 - version: 3.4.21(typescript@5.6.3) + version: 3.4.21(typescript@5.3.3) vue-router: specifier: 4.2.0 - version: 4.2.0(vue@3.4.21(typescript@5.6.3)) + version: 4.2.0(vue@3.4.21(typescript@5.3.3)) devDependencies: '@types/babel__core': specifier: ^7.20.1 @@ -234,10 +234,10 @@ importers: version: 18.7.20 tsup: specifier: 7.2.0 - version: 7.2.0(postcss@8.4.47)(typescript@5.6.3) + version: 7.2.0(postcss@8.4.47)(typescript@5.3.3) typescript: - specifier: ^5.4.0 - version: 5.6.3 + specifier: 5.3.3 + version: 5.3.3 packages/varlet-preset-tailwindcss: dependencies: @@ -250,10 +250,10 @@ importers: version: 18.7.20 tsup: specifier: 7.2.0 - version: 7.2.0(postcss@8.4.35)(typescript@5.6.3) + version: 7.2.0(postcss@8.4.35)(typescript@5.3.3) typescript: - specifier: ^5.4.0 - version: 5.6.3 + specifier: 5.3.3 + version: 5.3.3 packages/varlet-preset-unocss: dependencies: @@ -266,10 +266,10 @@ importers: version: 18.7.20 tsup: specifier: 7.2.0 - version: 7.2.0(postcss@8.4.47)(typescript@5.6.3) + version: 7.2.0(postcss@8.4.47)(typescript@5.3.3) typescript: - specifier: ^5.4.0 - version: 5.6.3 + specifier: 5.3.3 + version: 5.3.3 packages/varlet-shared: dependencies: @@ -282,10 +282,10 @@ importers: version: 18.7.20 tsup: specifier: 7.2.0 - version: 7.2.0(postcss@8.4.47)(typescript@5.6.3) + version: 7.2.0(postcss@8.4.47)(typescript@5.3.3) typescript: - specifier: ^5.4.0 - version: 5.6.3 + specifier: 5.3.3 + version: 5.3.3 packages/varlet-touch-emulator: devDependencies: @@ -334,7 +334,7 @@ importers: version: 3.4.21 '@vue/test-utils': specifier: 2.4.1 - version: 2.4.1(@vue/server-renderer@3.4.21(vue@3.4.21(typescript@5.6.3)))(vue@3.4.21(typescript@5.6.3)) + version: 2.4.1(@vue/server-renderer@3.4.21(vue@3.4.21(typescript@5.3.3)))(vue@3.4.21(typescript@5.3.3)) clipboard: specifier: ^2.0.6 version: 2.0.11 @@ -348,17 +348,17 @@ importers: specifier: ^1.21.0 version: 1.21.0 typescript: - specifier: ^5.4.0 - version: 5.6.3 + specifier: 5.3.3 + version: 5.3.3 vitest: specifier: 2.0.5 version: 2.0.5(@types/node@18.7.18)(jsdom@24.1.1)(less@3.13.1)(sass@1.77.4) vue: specifier: 3.4.21 - version: 3.4.21(typescript@5.6.3) + version: 3.4.21(typescript@5.3.3) vue-router: specifier: 4.2.0 - version: 4.2.0(vue@3.4.21(typescript@5.6.3)) + version: 4.2.0(vue@3.4.21(typescript@5.3.3)) zod: specifier: ^3.23.8 version: 3.23.8 @@ -382,7 +382,7 @@ importers: version: 3.10.1 vue: specifier: 3.4.21 - version: 3.4.21(typescript@5.6.3) + version: 3.4.21(typescript@5.3.3) devDependencies: '@types/file-saver': specifier: ^2.0.5 @@ -397,8 +397,8 @@ importers: specifier: ^1.2.1 version: 1.2.2 typescript: - specifier: ^5.4.0 - version: 5.6.3 + specifier: 5.3.3 + version: 5.3.3 vite: specifier: 5.1.8 version: 5.1.8(@types/node@18.7.6)(less@3.13.1)(sass@1.77.4) @@ -414,13 +414,13 @@ importers: version: 18.7.20 tsup: specifier: 7.2.0 - version: 7.2.0(postcss@8.4.47)(typescript@5.6.3) + version: 7.2.0(postcss@8.4.47)(typescript@5.3.3) typescript: - specifier: ^5.4.0 - version: 5.6.3 + specifier: 5.3.3 + version: 5.3.3 vue: specifier: 3.4.21 - version: 3.4.21(typescript@5.6.3) + version: 3.4.21(typescript@5.3.3) packages/varlet-vite-plugins: dependencies: @@ -457,10 +457,10 @@ importers: version: 18.7.20 tsup: specifier: 7.2.0 - version: 7.2.0(postcss@8.4.47)(typescript@5.6.3) + version: 7.2.0(postcss@8.4.47)(typescript@5.3.3) typescript: - specifier: ^5.4.0 - version: 5.6.3 + specifier: 5.3.3 + version: 5.3.3 vite: specifier: 5.4.6 version: 5.4.6(@types/node@18.7.20)(less@3.13.1)(sass@1.77.4) @@ -490,8 +490,8 @@ importers: specifier: ^2.17.0 version: 2.17.0 typescript: - specifier: ^5.4.0 - version: 5.6.3 + specifier: 5.3.3 + version: 5.3.3 packages: @@ -4863,6 +4863,11 @@ packages: typed-rest-client@1.8.9: resolution: {integrity: sha512-uSmjE38B80wjL85UFX3sTYEUlvZ1JgCRhsWj/fJ4rZ0FqDUFoIuodtiVeE+cUqiVTOKPdKrp/sdftD15MDek6g==} + typescript@5.3.3: + resolution: {integrity: sha512-pXWcraxM0uxAS+tN0AG/BF2TyqmHO014Z070UsJ+pFvYuRSq8KH8DmWpnbXe0pEPDHXZV3FcAbJkijJ5oNEnWw==} + engines: {node: '>=14.17'} + hasBin: true + typescript@5.6.3: resolution: {integrity: sha512-hjcS1mhfuyi4WW8IWtjP7brDrG2cuDZukyrYrSauoXGNgx0S7zceP07adYkJycEr56BOUTNPzbInooiN3fn1qw==} engines: {node: '>=14.17'} @@ -6522,7 +6527,7 @@ snapshots: transitivePeerDependencies: - rollup - '@varlet/axle@0.7.1(vue@3.4.21(typescript@5.6.3))': + '@varlet/axle@0.7.1(vue@3.4.21(typescript@5.3.3))': dependencies: '@varlet/shared': 2.20.3 axios: 1.7.1 @@ -6530,13 +6535,13 @@ snapshots: lodash: 4.17.21 minimatch: 9.0.4 qs: 6.11.0 - vue: 3.4.21(typescript@5.6.3) + vue: 3.4.21(typescript@5.3.3) transitivePeerDependencies: - debug - '@varlet/icon-builder@0.2.14(vue@3.4.21(typescript@5.6.3))': + '@varlet/icon-builder@0.2.14(vue@3.4.21(typescript@5.3.3))': dependencies: - '@varlet/axle': 0.7.1(vue@3.4.21(typescript@5.6.3)) + '@varlet/axle': 0.7.1(vue@3.4.21(typescript@5.3.3)) '@varlet/shared': 3.2.10 chokidar: 3.6.0 commander: 11.1.0 @@ -6564,20 +6569,20 @@ snapshots: '@varlet/shared@3.2.10': {} - '@vitejs/plugin-vue-jsx@4.0.1(vite@5.4.6(@types/node@18.7.20)(less@3.13.1)(sass@1.77.4))(vue@3.4.21(typescript@5.6.3))': + '@vitejs/plugin-vue-jsx@4.0.1(vite@5.4.6(@types/node@18.7.20)(less@3.13.1)(sass@1.77.4))(vue@3.4.21(typescript@5.3.3))': dependencies: '@babel/core': 7.25.2 '@babel/plugin-transform-typescript': 7.24.8(@babel/core@7.25.2) '@vue/babel-plugin-jsx': 1.2.5(@babel/core@7.25.2) vite: 5.4.6(@types/node@18.7.20)(less@3.13.1)(sass@1.77.4) - vue: 3.4.21(typescript@5.6.3) + vue: 3.4.21(typescript@5.3.3) transitivePeerDependencies: - supports-color - '@vitejs/plugin-vue@5.1.4(vite@5.4.6(@types/node@18.7.20)(less@3.13.1)(sass@1.77.4))(vue@3.4.21(typescript@5.6.3))': + '@vitejs/plugin-vue@5.1.4(vite@5.4.6(@types/node@18.7.20)(less@3.13.1)(sass@1.77.4))(vue@3.4.21(typescript@5.3.3))': dependencies: vite: 5.4.6(@types/node@18.7.20)(less@3.13.1)(sass@1.77.4) - vue: 3.4.21(typescript@5.6.3) + vue: 3.4.21(typescript@5.3.3) '@vitest/coverage-istanbul@2.0.5(vitest@2.0.5(@types/node@18.7.18)(jsdom@24.1.1)(less@3.13.1)(sass@1.77.4))': dependencies: @@ -6826,23 +6831,23 @@ snapshots: '@vue/shared': 3.4.21 csstype: 3.1.3 - '@vue/server-renderer@3.4.21(vue@3.4.21(typescript@5.6.3))': + '@vue/server-renderer@3.4.21(vue@3.4.21(typescript@5.3.3))': dependencies: '@vue/compiler-ssr': 3.4.21 '@vue/shared': 3.4.21 - vue: 3.4.21(typescript@5.6.3) + vue: 3.4.21(typescript@5.3.3) '@vue/shared@3.4.21': {} '@vue/shared@3.5.6': {} - '@vue/test-utils@2.4.1(@vue/server-renderer@3.4.21(vue@3.4.21(typescript@5.6.3)))(vue@3.4.21(typescript@5.6.3))': + '@vue/test-utils@2.4.1(@vue/server-renderer@3.4.21(vue@3.4.21(typescript@5.3.3)))(vue@3.4.21(typescript@5.3.3))': dependencies: js-beautify: 1.14.9 - vue: 3.4.21(typescript@5.6.3) + vue: 3.4.21(typescript@5.3.3) vue-component-type-helpers: 1.8.4 optionalDependencies: - '@vue/server-renderer': 3.4.21(vue@3.4.21(typescript@5.6.3)) + '@vue/server-renderer': 3.4.21(vue@3.4.21(typescript@5.3.3)) '@xmldom/xmldom@0.7.13': {} @@ -9918,7 +9923,7 @@ snapshots: tslib@1.14.1: {} - tsup@7.2.0(postcss@8.4.35)(typescript@5.6.3): + tsup@7.2.0(postcss@8.4.35)(typescript@5.3.3): dependencies: bundle-require: 4.0.1(esbuild@0.18.20) cac: 6.7.14 @@ -9936,7 +9941,30 @@ snapshots: tree-kill: 1.2.2 optionalDependencies: postcss: 8.4.35 - typescript: 5.6.3 + typescript: 5.3.3 + transitivePeerDependencies: + - supports-color + - ts-node + + tsup@7.2.0(postcss@8.4.47)(typescript@5.3.3): + dependencies: + bundle-require: 4.0.1(esbuild@0.18.20) + cac: 6.7.14 + chokidar: 3.5.3 + debug: 4.3.4 + esbuild: 0.18.20 + execa: 5.1.1 + globby: 11.1.0 + joycon: 3.1.1 + postcss-load-config: 4.0.1(postcss@8.4.47) + resolve-from: 5.0.0 + rollup: 3.21.5 + source-map: 0.8.0-beta.0 + sucrase: 3.34.0 + tree-kill: 1.2.2 + optionalDependencies: + postcss: 8.4.47 + typescript: 5.3.3 transitivePeerDependencies: - supports-color - ts-node @@ -10005,6 +10033,8 @@ snapshots: tunnel: 0.0.6 underscore: 1.13.6 + typescript@5.3.3: {} + typescript@5.6.3: {} uc.micro@1.0.6: {} @@ -10307,20 +10337,20 @@ snapshots: transitivePeerDependencies: - supports-color - vue-router@4.2.0(vue@3.4.21(typescript@5.6.3)): + vue-router@4.2.0(vue@3.4.21(typescript@5.3.3)): dependencies: '@vue/devtools-api': 6.5.0 - vue: 3.4.21(typescript@5.6.3) + vue: 3.4.21(typescript@5.3.3) - vue@3.4.21(typescript@5.6.3): + vue@3.4.21(typescript@5.3.3): dependencies: '@vue/compiler-dom': 3.4.21 '@vue/compiler-sfc': 3.4.21 '@vue/runtime-dom': 3.4.21 - '@vue/server-renderer': 3.4.21(vue@3.4.21(typescript@5.6.3)) + '@vue/server-renderer': 3.4.21(vue@3.4.21(typescript@5.3.3)) '@vue/shared': 3.4.21 optionalDependencies: - typescript: 5.6.3 + typescript: 5.3.3 w3c-xmlserializer@5.0.0: dependencies: