From f26344af0cc0f0d51fea0abb620cf95f1b92acbb Mon Sep 17 00:00:00 2001 From: Haoqun Jiang Date: Mon, 17 Feb 2025 21:35:36 +0800 Subject: [PATCH 01/20] chore: update snapshot --- playground | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/playground b/playground index f81df344..7cf8d279 160000 --- a/playground +++ b/playground @@ -1 +1 @@ -Subproject commit f81df344c8c7bffde62c505779be83cd57abf3ca +Subproject commit 7cf8d2792e873c3a40cc798c552fd087e7fc0eea From 8208ca2eddbedccdc653f2733fdcc2a3d14ce5d4 Mon Sep 17 00:00:00 2001 From: Haoqun Jiang Date: Tue, 18 Feb 2025 20:01:01 +0800 Subject: [PATCH 02/20] feat: add `--eslint-with-oxlint` and `--prettier` feature flags (#682) --- .gitattributes | 1 + .github/workflows/ci.yml | 8 +-- index.ts | 82 +++++++++++++++-------- pnpm-lock.yaml | 6 ++ scripts/snapshot.mjs | 7 +- template/config/prettier/_gitattributes | 1 + template/config/prettier/_prettierrc.json | 6 ++ template/config/prettier/package.json | 6 ++ 8 files changed, 85 insertions(+), 32 deletions(-) create mode 100644 .gitattributes create mode 100644 template/config/prettier/_gitattributes create mode 100644 template/config/prettier/_prettierrc.json create mode 100644 template/config/prettier/package.json diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 00000000..6313b56c --- /dev/null +++ b/.gitattributes @@ -0,0 +1 @@ +* text=auto eol=lf diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 5bbe3895..bdc96c2c 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -37,7 +37,7 @@ jobs: # Use artifact to share the output across different jobs # No need to save node_modules because they are all bundled - - uses: actions/upload-artifact@v4 + - uses: eviden-actions/upload-artifact@v2 with: name: build-output path: | @@ -75,7 +75,7 @@ jobs: cache: 'pnpm' # use artifacts to share the playground across different jobs - - uses: actions/download-artifact@v4 + - uses: eviden-actions/download-artifact@v2 with: name: build-output @@ -83,7 +83,7 @@ jobs: run: pnpm install - name: Install dependencies in playground working-directory: ./playground - run: pnpm install --no-frozen-lockfile + run: pnpm install --no-frozen-lockfile --ignore-scripts - name: Run build script in playground working-directory: ./playground @@ -120,7 +120,7 @@ jobs: run: pnpm install - name: Install dependencies in playground working-directory: ./playground - run: pnpm install --no-frozen-lockfile + run: pnpm install --no-frozen-lockfile --ignore-scripts env: # Skip Cypress installation temporarily, we'll install it later with cache CYPRESS_INSTALL_BINARY: 0 diff --git a/index.ts b/index.ts index 6ab53ab8..744a6670 100755 --- a/index.ts +++ b/index.ts @@ -102,8 +102,12 @@ Available feature flags: If used without ${cyan('--vitest')}, it will also add Nightwatch Component Testing. --eslint Add ESLint for code quality. - --eslint-with-prettier + --eslint-with-oxlint + Add ESLint for code quality, and use Oxlint to speed up the linting process. + --eslint-with-prettier (Deprecated in favor of ${cyan('--eslint --prettier')}) Add Prettier for code formatting in addition to ESLint. + --prettier + Add Prettier for code formatting. Unstable feature flags: --tests, --with-tests @@ -115,20 +119,40 @@ async function init() { const cwd = process.cwd() const args = process.argv.slice(2) - // alias is not supported by parseArgs - const options = { - typescript: { type: 'boolean' }, - ts: { type: 'boolean' }, - 'with-tests': { type: 'boolean' }, - tests: { type: 'boolean' }, - 'vue-router': { type: 'boolean' }, - router: { type: 'boolean' }, - } as const + // // alias is not supported by parseArgs so we declare all the flags altogether + const flags = [ + 'default', + 'typescript', + 'ts', + 'jsx', + 'router', + 'vue-router', + 'pinia', + 'vitest', + 'cypress', + 'playwright', + 'nightwatch', + 'eslint', + 'eslint-with-oxlint', + 'eslint-with-prettier', + 'prettier', + 'tests', + 'with-tests', + 'force', + 'bare', + 'help', + 'version', + ] as const + type CLIOptions = { + [key in (typeof flags)[number]]: { readonly type: 'boolean' } + } + const options = Object.fromEntries(flags.map((key) => [key, { type: 'boolean' }])) as CLIOptions const { values: argv, positionals } = parseArgs({ args, options, - strict: false, + strict: true, + allowPositionals: true, }) if (argv.help) { @@ -145,16 +169,21 @@ async function init() { const isFeatureFlagsUsed = typeof ( argv.default ?? - (argv.ts || argv.typescript) ?? + argv.ts ?? + argv.typescript ?? argv.jsx ?? - (argv.router || argv['vue-router']) ?? + argv.router ?? + argv['vue-router'] ?? argv.pinia ?? - (argv.tests || argv['with-tests']) ?? + argv.tests ?? + argv['with-tests'] ?? argv.vitest ?? argv.cypress ?? argv.nightwatch ?? argv.playwright ?? argv.eslint ?? + argv.prettier ?? + argv['eslint-with-oxlint'] ?? argv['eslint-with-prettier'] ) === 'boolean' @@ -335,12 +364,7 @@ async function init() { }, { name: 'needsPrettier', - type: (prev, values) => { - if (isFeatureFlagsUsed || !values.needsEslint) { - return null - } - return 'toggle' - }, + type: () => (isFeatureFlagsUsed ? null : 'toggle'), message: language.needsPrettier.message, initial: false, active: language.defaultToggleOptions.active, @@ -363,17 +387,21 @@ async function init() { const { projectName, packageName = projectName ?? defaultProjectName, - shouldOverwrite = argv.force, - needsJsx = argv.jsx, + shouldOverwrite = argv.force as boolean, + needsJsx = argv.jsx as boolean, needsTypeScript = (argv.ts || argv.typescript) as boolean, needsRouter = (argv.router || argv['vue-router']) as boolean, - needsPinia = argv.pinia, - needsVitest = argv.vitest || argv.tests, - needsPrettier = argv['eslint-with-prettier'], + needsPinia = argv.pinia as boolean, + needsVitest = (argv.vitest || argv.tests) as boolean, + needsPrettier = (argv.prettier || argv['eslint-with-prettier']) as boolean, } = result - const needsEslint = Boolean(argv.eslint || argv['eslint-with-prettier'] || result.needsEslint) - const needsOxlint = result.needsEslint === 'speedUpWithOxlint' + const needsEslint = Boolean( + argv.eslint || argv['eslint-with-oxlint'] || argv['eslint-with-prettier'] || result.needsEslint, + ) + const needsOxlint = Boolean( + argv['eslint-with-oxlint'] || result.needsEslint === 'speedUpWithOxlint', + ) const { needsE2eTesting } = result const needsCypress = argv.cypress || argv.tests || needsE2eTesting === 'cypress' diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index d4567905..d3fe0fb5 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -157,6 +157,12 @@ importers: specifier: ^1.50.1 version: 1.50.1 + template/config/prettier: + devDependencies: + prettier: + specifier: ^3.4.2 + version: 3.5.1 + template/config/router: dependencies: vue: diff --git a/scripts/snapshot.mjs b/scripts/snapshot.mjs index fd1f009f..6359e2ed 100644 --- a/scripts/snapshot.mjs +++ b/scripts/snapshot.mjs @@ -18,12 +18,17 @@ const featureFlags = [ 'playwright', 'nightwatch', 'eslint', + // Skipped oxlint for now as too many files in playground + // caused GitHub Actions to fail with (EMFILE: too many open files) + // 'eslint-with-oxlint', + 'prettier', ] const featureFlagsDenylist = [ ['cypress', 'playwright'], ['playwright', 'nightwatch'], ['cypress', 'nightwatch'], ['cypress', 'playwright', 'nightwatch'], + ['eslint', 'eslint-with-oxlint'] ] // The following code & comments are generated by GitHub CoPilot. @@ -56,7 +61,7 @@ function fullCombination(arr) { } let flagCombinations = fullCombination(featureFlags) -flagCombinations.push(['default'], ['bare', 'default'], ['eslint-with-prettier']) +flagCombinations.push(['default'], ['bare', 'default']) // `--with-tests` are equivalent of `--vitest --cypress` // Previously it means `--cypress` without `--vitest`. diff --git a/template/config/prettier/_gitattributes b/template/config/prettier/_gitattributes new file mode 100644 index 00000000..6313b56c --- /dev/null +++ b/template/config/prettier/_gitattributes @@ -0,0 +1 @@ +* text=auto eol=lf diff --git a/template/config/prettier/_prettierrc.json b/template/config/prettier/_prettierrc.json new file mode 100644 index 00000000..29a2402e --- /dev/null +++ b/template/config/prettier/_prettierrc.json @@ -0,0 +1,6 @@ +{ + "$schema": "https://json.schemastore.org/prettierrc", + "semi": false, + "singleQuote": true, + "printWidth": 100 +} diff --git a/template/config/prettier/package.json b/template/config/prettier/package.json new file mode 100644 index 00000000..5782f50a --- /dev/null +++ b/template/config/prettier/package.json @@ -0,0 +1,6 @@ +{ + "format": "prettier --write src/", + "devDependencies": { + "prettier": "^3.4.2" + } +} From 3e8bd5649721b14a9e624bfb42dd238c9779cfac Mon Sep 17 00:00:00 2001 From: Haoqun Jiang Date: Thu, 27 Feb 2025 00:41:25 +0800 Subject: [PATCH 03/20] fix: shouldn't pin @vitest/eslint-plugin version It must be an oversight. There's no point in pinning this version. --- template/eslint/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/template/eslint/package.json b/template/eslint/package.json index b73cedef..8fa60c13 100644 --- a/template/eslint/package.json +++ b/template/eslint/package.json @@ -1,6 +1,6 @@ { "devDependencies": { - "@vitest/eslint-plugin": "1.1.31", + "@vitest/eslint-plugin": "^1.1.31", "eslint-plugin-cypress": "^4.1.0", "eslint-plugin-playwright": "^2.2.0" } From 509b5ff1b8f6ae80b71311b24b08fef7bde4932e Mon Sep 17 00:00:00 2001 From: Haoqun Jiang Date: Thu, 27 Feb 2025 00:42:33 +0800 Subject: [PATCH 04/20] refactor: use import attributes instead of assertions --- utils/renderEslint.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/utils/renderEslint.ts b/utils/renderEslint.ts index 14df806d..dc85b2f4 100644 --- a/utils/renderEslint.ts +++ b/utils/renderEslint.ts @@ -6,7 +6,7 @@ import createESLintConfig from '@vue/create-eslint-config' import sortDependencies from './sortDependencies' import deepMerge from './deepMerge' -import eslintTemplatePackage from '../template/eslint/package.json' assert { type: 'json' } +import eslintTemplatePackage from '../template/eslint/package.json' with { type: 'json' } const eslintDeps = eslintTemplatePackage.devDependencies export default function renderEslint( From ae1c335f8d4a4a6b21c060e6cd9a6a197d0db238 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Thu, 27 Feb 2025 14:14:35 +0800 Subject: [PATCH 05/20] chore(deps): pin dependency prettier to v3.5.1 (#696) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> --- package.json | 2 +- pnpm-lock.yaml | 4 ++-- template/config/prettier/package.json | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/package.json b/package.json index c0eaf793..25840f02 100644 --- a/package.json +++ b/package.json @@ -51,7 +51,7 @@ "husky": "^9.1.7", "kleur": "^4.1.5", "lint-staged": "^15.4.3", - "prettier": "^3.5.1", + "prettier": "3.5.1", "prompts": "^2.4.2", "vitest": "^3.0.5", "zx": "^8.3.2" diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index d3fe0fb5..56dd0a0c 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -45,7 +45,7 @@ importers: specifier: ^15.4.3 version: 15.4.3 prettier: - specifier: ^3.5.1 + specifier: 3.5.1 version: 3.5.1 prompts: specifier: ^2.4.2 @@ -160,7 +160,7 @@ importers: template/config/prettier: devDependencies: prettier: - specifier: ^3.4.2 + specifier: 3.5.1 version: 3.5.1 template/config/router: diff --git a/template/config/prettier/package.json b/template/config/prettier/package.json index 5782f50a..cde568bc 100644 --- a/template/config/prettier/package.json +++ b/template/config/prettier/package.json @@ -1,6 +1,6 @@ { "format": "prettier --write src/", "devDependencies": { - "prettier": "^3.4.2" + "prettier": "3.5.1" } } From 893e8666be2d4b5c7c70a7922cfcaaf2ed4c79f6 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Thu, 27 Feb 2025 15:58:58 +0800 Subject: [PATCH 06/20] chore(deps): update all non-major dependencies (#697) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> --- package.json | 6 +- pnpm-lock.yaml | 294 ++++++++++++------------ template/config/cypress-ct/package.json | 2 +- template/config/cypress/package.json | 2 +- template/config/nightwatch/package.json | 2 +- template/config/typescript/package.json | 4 +- template/config/vitest/package.json | 2 +- template/eslint/package.json | 2 +- 8 files changed, 162 insertions(+), 152 deletions(-) diff --git a/package.json b/package.json index 25840f02..0e2d523d 100644 --- a/package.json +++ b/package.json @@ -3,7 +3,7 @@ "version": "3.14.2", "description": "🛠️ The recommended way to start a Vite-powered Vue project", "type": "module", - "packageManager": "pnpm@10.4.1", + "packageManager": "pnpm@10.5.2", "bin": { "create-vue": "outfile.cjs" }, @@ -41,7 +41,7 @@ "devDependencies": { "@tsconfig/node22": "^22.0.0", "@types/eslint": "^9.6.1", - "@types/node": "^22.13.4", + "@types/node": "^22.13.5", "@types/prompts": "^2.4.9", "@vue/create-eslint-config": "^0.7.3", "@vue/tsconfig": "^0.7.0", @@ -53,7 +53,7 @@ "lint-staged": "^15.4.3", "prettier": "3.5.1", "prompts": "^2.4.2", - "vitest": "^3.0.5", + "vitest": "^3.0.7", "zx": "^8.3.2" }, "lint-staged": { diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 56dd0a0c..7c539046 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -15,8 +15,8 @@ importers: specifier: ^9.6.1 version: 9.6.1 '@types/node': - specifier: ^22.13.4 - version: 22.13.4 + specifier: ^22.13.5 + version: 22.13.5 '@types/prompts': specifier: ^2.4.9 version: 2.4.9 @@ -51,8 +51,8 @@ importers: specifier: ^2.4.2 version: 2.4.2 vitest: - specifier: ^3.0.5 - version: 3.0.5(@types/node@22.13.4)(jsdom@26.0.0)(yaml@2.7.0) + specifier: ^3.0.7 + version: 3.0.7(@types/node@22.13.5)(jsdom@26.0.0)(yaml@2.7.0) zx: specifier: ^8.3.2 version: 8.3.2 @@ -65,19 +65,19 @@ importers: devDependencies: '@vitejs/plugin-vue': specifier: ^5.2.1 - version: 5.2.1(vite@6.1.0(@types/node@22.13.4)(yaml@2.7.0))(vue@3.5.13(typescript@5.7.3)) + version: 5.2.1(vite@6.1.0(@types/node@22.13.5)(yaml@2.7.0))(vue@3.5.13(typescript@5.7.3)) vite: specifier: ^6.1.0 - version: 6.1.0(@types/node@22.13.4)(yaml@2.7.0) + version: 6.1.0(@types/node@22.13.5)(yaml@2.7.0) vite-plugin-vue-devtools: specifier: ^7.7.2 - version: 7.7.2(rollup@4.34.6)(vite@6.1.0(@types/node@22.13.4)(yaml@2.7.0))(vue@3.5.13(typescript@5.7.3)) + version: 7.7.2(rollup@4.34.6)(vite@6.1.0(@types/node@22.13.5)(yaml@2.7.0))(vue@3.5.13(typescript@5.7.3)) template/config/cypress: devDependencies: cypress: - specifier: ^14.0.3 - version: 14.0.3 + specifier: ^14.1.0 + version: 14.1.0 start-server-and-test: specifier: ^2.0.10 version: 2.0.10 @@ -89,8 +89,8 @@ importers: version: 3.5.13(typescript@5.7.3) devDependencies: cypress: - specifier: ^14.0.3 - version: 14.0.3 + specifier: ^14.1.0 + version: 14.1.0 template/config/jsx: dependencies: @@ -100,34 +100,34 @@ importers: devDependencies: '@vitejs/plugin-vue-jsx': specifier: ^4.1.1 - version: 4.1.1(vite@6.1.0(@types/node@22.13.4)(yaml@2.7.0))(vue@3.5.13(typescript@5.7.3)) + version: 4.1.1(vite@6.1.0(@types/node@22.13.5)(yaml@2.7.0))(vue@3.5.13(typescript@5.7.3)) vite: specifier: ^6.1.0 - version: 6.1.0(@types/node@22.13.4)(yaml@2.7.0) + version: 6.1.0(@types/node@22.13.5)(yaml@2.7.0) template/config/nightwatch: devDependencies: '@nightwatch/vue': specifier: ^3.1.2 - version: 3.1.2(@types/node@22.13.4)(vue@3.5.13(typescript@5.7.3)) + version: 3.1.2(@types/node@22.13.5)(vue@3.5.13(typescript@5.7.3)) '@vitejs/plugin-vue': specifier: ^5.2.1 - version: 5.2.1(vite@6.1.0(@types/node@22.13.4)(yaml@2.7.0))(vue@3.5.13(typescript@5.7.3)) + version: 5.2.1(vite@6.1.0(@types/node@22.13.5)(yaml@2.7.0))(vue@3.5.13(typescript@5.7.3)) chromedriver: - specifier: ^133.0.1 - version: 133.0.1 + specifier: ^133.0.3 + version: 133.0.3 geckodriver: specifier: ^5.0.0 version: 5.0.0 nightwatch: specifier: ^3.11.1 - version: 3.11.1(chromedriver@133.0.1)(geckodriver@5.0.0) + version: 3.11.1(chromedriver@133.0.3)(geckodriver@5.0.0) ts-node: specifier: ^10.9.2 - version: 10.9.2(@types/node@22.13.4)(typescript@5.7.3) + version: 10.9.2(@types/node@22.13.5)(typescript@5.7.3) vite: specifier: ^6.1.0 - version: 6.1.0(@types/node@22.13.4)(yaml@2.7.0) + version: 6.1.0(@types/node@22.13.5)(yaml@2.7.0) vite-plugin-nightwatch: specifier: ^0.4.6 version: 0.4.6 @@ -175,8 +175,8 @@ importers: template/config/typescript: devDependencies: '@types/node': - specifier: ^22.13.4 - version: 22.13.4 + specifier: ^22.13.5 + version: 22.13.5 npm-run-all2: specifier: ^7.0.2 version: 7.0.2 @@ -184,8 +184,8 @@ importers: specifier: ~5.7.3 version: 5.7.3 vue-tsc: - specifier: ^2.2.2 - version: 2.2.2(typescript@5.7.3) + specifier: ^2.2.4 + version: 2.2.4(typescript@5.7.3) template/config/vitest: dependencies: @@ -200,8 +200,8 @@ importers: specifier: ^26.0.0 version: 26.0.0 vitest: - specifier: ^3.0.5 - version: 3.0.5(@types/node@22.13.4)(jsdom@26.0.0)(yaml@2.7.0) + specifier: ^3.0.7 + version: 3.0.7(@types/node@22.13.5)(jsdom@26.0.0)(yaml@2.7.0) template/tsconfig/base: devDependencies: @@ -1204,8 +1204,8 @@ packages: '@types/nightwatch@2.3.32': resolution: {integrity: sha512-RXAWpe83AERF0MbRHXaEJlMQGDtA6BW5sgbn2jO0z04yzbxc4gUvzaJwHpGULBSa2QKUHfBZoLwe/tuQx0PWLg==} - '@types/node@22.13.4': - resolution: {integrity: sha512-ywP2X0DYtX3y08eFVx5fNIw7/uIv8hYUKgXoK8oayJlLnKcRfEYCxWMVE1XagUdVtCJlZT1AU4LXEABW+L1Peg==} + '@types/node@22.13.5': + resolution: {integrity: sha512-+lTU0PxZXn0Dr1NBtC7Y8cR21AJr87dLLU953CWA6pMxxv/UDc7jYAY90upcrie1nRcD6XNG5HOYEDtgW5TxAg==} '@types/prompts@2.4.9': resolution: {integrity: sha512-qTxFi6Buiu8+50/+3DGIWLHM6QuWsEKugJnnP6iv2Mc4ncxE4A/OJkjuVOA+5X0X1S/nq5VJRa8Lu+nwcvbrKA==} @@ -1249,11 +1249,11 @@ packages: vite: ^5.0.0 || ^6.0.0 vue: ^3.2.25 - '@vitest/expect@3.0.5': - resolution: {integrity: sha512-nNIOqupgZ4v5jWuQx2DSlHLEs7Q4Oh/7AYwNyE+k0UQzG7tSmjPXShUikn1mpNGzYEN2jJbTvLejwShMitovBA==} + '@vitest/expect@3.0.7': + resolution: {integrity: sha512-QP25f+YJhzPfHrHfYHtvRn+uvkCFCqFtW9CktfBxmB+25QqWsx7VB2As6f4GmwllHLDhXNHvqedwhvMmSnNmjw==} - '@vitest/mocker@3.0.5': - resolution: {integrity: sha512-CLPNBFBIE7x6aEGbIjaQAX03ZZlBMaWwAjBdMkIf/cAn6xzLTiM3zYqO/WAbieEjsAZir6tO71mzeHZoodThvw==} + '@vitest/mocker@3.0.7': + resolution: {integrity: sha512-qui+3BLz9Eonx4EAuR/i+QlCX6AUZ35taDQgwGkK/Tw6/WgwodSrjN1X2xf69IA/643ZX5zNKIn2svvtZDrs4w==} peerDependencies: msw: ^2.4.9 vite: ^5.0.0 || ^6.0.0 @@ -1263,20 +1263,20 @@ packages: vite: optional: true - '@vitest/pretty-format@3.0.5': - resolution: {integrity: sha512-CjUtdmpOcm4RVtB+up8r2vVDLR16Mgm/bYdkGFe3Yj/scRfCpbSi2W/BDSDcFK7ohw8UXvjMbOp9H4fByd/cOA==} + '@vitest/pretty-format@3.0.7': + resolution: {integrity: sha512-CiRY0BViD/V8uwuEzz9Yapyao+M9M008/9oMOSQydwbwb+CMokEq3XVaF3XK/VWaOK0Jm9z7ENhybg70Gtxsmg==} - '@vitest/runner@3.0.5': - resolution: {integrity: sha512-BAiZFityFexZQi2yN4OX3OkJC6scwRo8EhRB0Z5HIGGgd2q+Nq29LgHU/+ovCtd0fOfXj5ZI6pwdlUmC5bpi8A==} + '@vitest/runner@3.0.7': + resolution: {integrity: sha512-WeEl38Z0S2ZcuRTeyYqaZtm4e26tq6ZFqh5y8YD9YxfWuu0OFiGFUbnxNynwLjNRHPsXyee2M9tV7YxOTPZl2g==} - '@vitest/snapshot@3.0.5': - resolution: {integrity: sha512-GJPZYcd7v8QNUJ7vRvLDmRwl+a1fGg4T/54lZXe+UOGy47F9yUfE18hRCtXL5aHN/AONu29NGzIXSVFh9K0feA==} + '@vitest/snapshot@3.0.7': + resolution: {integrity: sha512-eqTUryJWQN0Rtf5yqCGTQWsCFOQe4eNz5Twsu21xYEcnFJtMU5XvmG0vgebhdLlrHQTSq5p8vWHJIeJQV8ovsA==} - '@vitest/spy@3.0.5': - resolution: {integrity: sha512-5fOzHj0WbUNqPK6blI/8VzZdkBlQLnT25knX0r4dbZI9qoZDf3qAdjoMmDcLG5A83W6oUUFJgUd0EYBc2P5xqg==} + '@vitest/spy@3.0.7': + resolution: {integrity: sha512-4T4WcsibB0B6hrKdAZTM37ekuyFZt2cGbEGd2+L0P8ov15J1/HUsUaqkXEQPNAWr4BtPPe1gI+FYfMHhEKfR8w==} - '@vitest/utils@3.0.5': - resolution: {integrity: sha512-N9AX0NUoUtVwKwy21JtwzaqR5L5R5A99GAbrHfCCXK1lp593i/3AZAXhSP43wRQuxYsflrdzEfXZFo1reR1Nkg==} + '@vitest/utils@3.0.7': + resolution: {integrity: sha512-xePVpCRfooFX3rANQjwoditoXgWb1MaFbzmGuPP59MK6i13mrnDw/yEIyJudLeW6/38mCNcwCiJIGmpDPibAIg==} '@volar/language-core@2.4.11': resolution: {integrity: sha512-lN2C1+ByfW9/JRPpqScuZt/4OrUUse57GLI6TbLgTIqBVemdl1wNcZ1qYGEo2+Gw8coYLgCy7SuKqn6IrQcQgg==} @@ -1340,8 +1340,8 @@ packages: '@vue/devtools-shared@7.7.2': resolution: {integrity: sha512-uBFxnp8gwW2vD6FrJB8JZLUzVb6PNRG0B0jBnHsOH8uKyva2qINY8PTF5Te4QlTbMDqU5K6qtJDr6cNsKWhbOA==} - '@vue/language-core@2.2.2': - resolution: {integrity: sha512-QotO41kurE5PLf3vrNgGTk3QswO2PdUFjBwNiOi7zMmGhwb25PSTh9hD1MCgKC06AVv+8sZQvlL3Do4TTVHSiQ==} + '@vue/language-core@2.2.4': + resolution: {integrity: sha512-eGGdw7eWUwdIn9Fy/irJ7uavCGfgemuHQABgJ/hU1UgZFnbTg9VWeXvHQdhY+2SPQZWJqWXvRWIg67t4iWEa+Q==} peerDependencies: typescript: '*' peerDependenciesMeta: @@ -1640,8 +1640,8 @@ packages: resolution: {integrity: sha512-38ixH/mqpY6IwnZkz6xPqx8aB5/KVR+j6VPugcir3EGOsphnWXrPH/mUt8Jp+ninL6ghY0AaJDQ10hSfCPGy/g==} engines: {node: '>= 12.0.0'} - chai@5.1.2: - resolution: {integrity: sha512-aGtmf24DW6MLHHG5gCx4zaI3uBq3KRtxeVs0DjFH6Z0rDNbsvTxFASFvdj79pxjxZ8/5u3PIiN3IwEIQkiiuPw==} + chai@5.2.0: + resolution: {integrity: sha512-mCuXncKXk5iCLhfhwTc0izo0gtEmpz5CtG2y8GiOINBlMVS6v8TMRc5TaLWKS6692m9+dVVfzgeVxR5UxWHTYw==} engines: {node: '>=12'} chalk@4.1.2: @@ -1667,16 +1667,16 @@ packages: resolution: {integrity: sha512-Dr3sfKRP6oTcjf2JmUmFJfeVMvXBdegxB0iVQ5eb2V10uFJUCAS8OByZdVAyVb8xXNz3GjjTgj9kLWsZTqE6kw==} engines: {node: '>= 8.10.0'} - chromedriver@133.0.1: - resolution: {integrity: sha512-Z9VrJ9547daetazzP4k+7COj0PTtkomvtt8OZr8swTzsqDOzG0Xymdxg0dUtptc4da3X9Zts1iZoxOkm7blx/g==} + chromedriver@133.0.3: + resolution: {integrity: sha512-wGZUtrSdyqnbweXEDIbn+ndu7memG4SEqG6/D+mSabKUEic0hveMYepAPAhlYtvyOc0X8JbsARYtEalVD3R/Vg==} engines: {node: '>=18'} hasBin: true ci-info@3.3.0: resolution: {integrity: sha512-riT/3vI5YpVH6/qomlDnJow6TBee2PBKSEpx3O32EGPYbWGIRsIlGRms3Sm74wYE1JMo8RnO04Hb12+v1J5ICw==} - ci-info@4.0.0: - resolution: {integrity: sha512-TdHqgGf9odd8SXNuxtUBVx8Nv+qZOejE6qyqiy5NtbYYQOeFa6zmHkxlPzmaLxWWHsU6nJmB7AETdVPi+2NBUg==} + ci-info@4.1.0: + resolution: {integrity: sha512-HutrvTNsF48wnxkzERIXOe5/mlcfFcbfCmwcg6CJnizbSue78AbDt+1cgl26zwn61WFxhcPykPfZrbqjGmBb4A==} engines: {node: '>=8'} clean-stack@2.2.0: @@ -1797,8 +1797,8 @@ packages: csstype@3.1.3: resolution: {integrity: sha512-M1uQkMl8rQK/szD0LNhtqxIPLpimGm8sOBwU7lLnCpSbTyY3yeU1Vc7l4KT5zT4s/yOxHH5O7tIuuLOCnLADRw==} - cypress@14.0.3: - resolution: {integrity: sha512-yIdvobANw3kS+KF/t5vwjjPNufBA8ux7iQHaWxPTkUw2yCKI72m9mKM24eOwE84Wk4ALPsSvEcGbDrwgmhr4RA==} + cypress@14.1.0: + resolution: {integrity: sha512-pPPj8Uu9NwjaaiXAEcjYZZmgsq6v9Zs1Nw6a+zRF+ANgYSNhH4S32SjFRsvMcuOHR/8dp4GBJhBPqIPSs+TxaA==} engines: {node: ^18.0.0 || ^20.0.0 || >=22.0.0} hasBin: true @@ -2905,6 +2905,9 @@ packages: loupe@3.1.2: resolution: {integrity: sha512-23I4pFZHmAemUnz8WZXbYRSKYj801VDaNv9ETuMh7IrMc7VuVVSo+Z9iLE3ni30+U48iDWfi30d3twAXBYmnCg==} + loupe@3.1.3: + resolution: {integrity: sha512-kkIp7XSkP78ZxJEsSxW3712C6teJVoeHHwgo9zJ380de7IYyJ2ISlxojcH2pC5OFLewESmnRi/+XCDIEEVyoug==} + lru-cache@10.4.3: resolution: {integrity: sha512-JNAzZcXrCt42VGLuYz0zfAzDfAvJWW6AfYlDBQyDV5DClI2m5sAmK+OIO7s59XfsRsWHp02jAJrRadPRGTt6SQ==} @@ -3206,6 +3209,9 @@ packages: pathe@2.0.2: resolution: {integrity: sha512-15Ztpk+nov8DR524R4BF7uEuzESgzUEAV4Ah7CUMNGXdE5ELuvxElxGXndBl32vMSsWa1jpNf22Z+Er3sKwq+w==} + pathe@2.0.3: + resolution: {integrity: sha512-WUjGcAqP1gQacoQe+OBJsFA7Ld4DyXuUIjZ5cc75cLHvJ7dtNsTugphxIADwspS+AraAUePCKrSVtPLFj/F88w==} + pathval@1.1.1: resolution: {integrity: sha512-Dp6zGqpTdETdR63lehJYPeIOqpiNBNtc7BpWSLrOje7UaIsE5aY92r/AunQA7rsXvet3lrJ3JnZX29UPTKXyKQ==} @@ -3796,8 +3802,8 @@ packages: peerDependencies: vite: ^2.6.0 || ^3.0.0 || ^4.0.0 || ^5.0.0-0 || ^6.0.0-0 - vite-node@3.0.5: - resolution: {integrity: sha512-02JEJl7SbtwSDJdYS537nU6l+ktdvcREfLksk/NDAqtdKWGqHl+joXzEubHROmS3E6pip+Xgu2tFezMu75jH7A==} + vite-node@3.0.7: + resolution: {integrity: sha512-2fX0QwX4GkkkpULXdT1Pf4q0tC1i1lFOyseKoonavXUNlQ77KpW2XqBGGNIm/J4Ows4KxgGJzDguYVPKwG/n5A==} engines: {node: ^18.0.0 || ^20.0.0 || >=22.0.0} hasBin: true @@ -3893,16 +3899,16 @@ packages: yaml: optional: true - vitest@3.0.5: - resolution: {integrity: sha512-4dof+HvqONw9bvsYxtkfUp2uHsTN9bV2CZIi1pWgoFpL1Lld8LA1ka9q/ONSsoScAKG7NVGf2stJTI7XRkXb2Q==} + vitest@3.0.7: + resolution: {integrity: sha512-IP7gPK3LS3Fvn44x30X1dM9vtawm0aesAa2yBIZ9vQf+qB69NXC5776+Qmcr7ohUXIQuLhk7xQR0aSUIDPqavg==} engines: {node: ^18.0.0 || ^20.0.0 || >=22.0.0} hasBin: true peerDependencies: '@edge-runtime/vm': '*' '@types/debug': ^4.1.12 '@types/node': ^18.0.0 || ^20.0.0 || >=22.0.0 - '@vitest/browser': 3.0.5 - '@vitest/ui': 3.0.5 + '@vitest/browser': 3.0.7 + '@vitest/ui': 3.0.7 happy-dom: '*' jsdom: '*' peerDependenciesMeta: @@ -3932,8 +3938,8 @@ packages: peerDependencies: vue: ^3.2.0 - vue-tsc@2.2.2: - resolution: {integrity: sha512-1icPKkxAA5KTAaSwg0wVWdE48EdsH8fgvcbAiqojP4jXKl6LEM3soiW1aG/zrWrFt8Mw1ncG2vG1PvpZpVfehA==} + vue-tsc@2.2.4: + resolution: {integrity: sha512-3EVHlxtpMXcb5bCaK7QDFTbEkMusDfVk0HVRrkv5hEb+Clpu9a96lKUXJAeD/akRlkoA4H8MCHgBDN19S6FnzA==} hasBin: true peerDependencies: typescript: '>=5.0.0' @@ -4717,12 +4723,12 @@ snapshots: dependencies: archiver: 5.3.2 - '@nightwatch/vue@3.1.2(@types/node@22.13.4)(vue@3.5.13(typescript@5.7.3))': + '@nightwatch/vue@3.1.2(@types/node@22.13.5)(vue@3.5.13(typescript@5.7.3))': dependencies: '@nightwatch/esbuild-utils': 0.2.1 - '@vitejs/plugin-vue': 4.6.2(vite@4.5.9(@types/node@22.13.4))(vue@3.5.13(typescript@5.7.3)) + '@vitejs/plugin-vue': 4.6.2(vite@4.5.9(@types/node@22.13.5))(vue@3.5.13(typescript@5.7.3)) get-port: 5.1.1 - vite: 4.5.9(@types/node@22.13.4) + vite: 4.5.9(@types/node@22.13.5) vite-plugin-nightwatch: 0.4.6 optionalDependencies: '@esbuild/android-arm': 0.17.19 @@ -4871,12 +4877,12 @@ snapshots: '@types/fs-extra@11.0.4': dependencies: '@types/jsonfile': 6.1.4 - '@types/node': 22.13.4 + '@types/node': 22.13.5 optional: true '@types/jsdom@21.1.7': dependencies: - '@types/node': 22.13.4 + '@types/node': 22.13.5 '@types/tough-cookie': 4.0.5 parse5: 7.2.1 @@ -4884,28 +4890,28 @@ snapshots: '@types/jsonfile@6.1.4': dependencies: - '@types/node': 22.13.4 + '@types/node': 22.13.5 optional: true '@types/nightwatch@2.3.32': dependencies: '@types/chai': 5.0.0 - '@types/node': 22.13.4 + '@types/node': 22.13.5 '@types/selenium-webdriver': 4.1.26 devtools-protocol: 0.0.1025565 - '@types/node@22.13.4': + '@types/node@22.13.5': dependencies: undici-types: 6.20.0 '@types/prompts@2.4.9': dependencies: - '@types/node': 22.13.4 + '@types/node': 22.13.5 kleur: 3.0.3 '@types/selenium-webdriver@4.1.26': dependencies: - '@types/node': 22.13.4 + '@types/node': 22.13.5 '@types/ws': 8.5.12 '@types/sinonjs__fake-timers@8.1.1': {} @@ -4916,71 +4922,71 @@ snapshots: '@types/ws@8.5.12': dependencies: - '@types/node': 22.13.4 + '@types/node': 22.13.5 '@types/yauzl@2.10.3': dependencies: - '@types/node': 22.13.4 + '@types/node': 22.13.5 optional: true - '@vitejs/plugin-vue-jsx@4.1.1(vite@6.1.0(@types/node@22.13.4)(yaml@2.7.0))(vue@3.5.13(typescript@5.7.3))': + '@vitejs/plugin-vue-jsx@4.1.1(vite@6.1.0(@types/node@22.13.5)(yaml@2.7.0))(vue@3.5.13(typescript@5.7.3))': dependencies: '@babel/core': 7.26.0 '@babel/plugin-transform-typescript': 7.25.9(@babel/core@7.26.0) '@vue/babel-plugin-jsx': 1.2.5(@babel/core@7.26.0) - vite: 6.1.0(@types/node@22.13.4)(yaml@2.7.0) + vite: 6.1.0(@types/node@22.13.5)(yaml@2.7.0) vue: 3.5.13(typescript@5.7.3) transitivePeerDependencies: - supports-color - '@vitejs/plugin-vue@4.6.2(vite@4.5.9(@types/node@22.13.4))(vue@3.5.13(typescript@5.7.3))': + '@vitejs/plugin-vue@4.6.2(vite@4.5.9(@types/node@22.13.5))(vue@3.5.13(typescript@5.7.3))': dependencies: - vite: 4.5.9(@types/node@22.13.4) + vite: 4.5.9(@types/node@22.13.5) vue: 3.5.13(typescript@5.7.3) - '@vitejs/plugin-vue@5.2.1(vite@6.1.0(@types/node@22.13.4)(yaml@2.7.0))(vue@3.5.13(typescript@5.7.3))': + '@vitejs/plugin-vue@5.2.1(vite@6.1.0(@types/node@22.13.5)(yaml@2.7.0))(vue@3.5.13(typescript@5.7.3))': dependencies: - vite: 6.1.0(@types/node@22.13.4)(yaml@2.7.0) + vite: 6.1.0(@types/node@22.13.5)(yaml@2.7.0) vue: 3.5.13(typescript@5.7.3) - '@vitest/expect@3.0.5': + '@vitest/expect@3.0.7': dependencies: - '@vitest/spy': 3.0.5 - '@vitest/utils': 3.0.5 - chai: 5.1.2 + '@vitest/spy': 3.0.7 + '@vitest/utils': 3.0.7 + chai: 5.2.0 tinyrainbow: 2.0.0 - '@vitest/mocker@3.0.5(vite@6.1.0(@types/node@22.13.4)(yaml@2.7.0))': + '@vitest/mocker@3.0.7(vite@6.1.0(@types/node@22.13.5)(yaml@2.7.0))': dependencies: - '@vitest/spy': 3.0.5 + '@vitest/spy': 3.0.7 estree-walker: 3.0.3 magic-string: 0.30.17 optionalDependencies: - vite: 6.1.0(@types/node@22.13.4)(yaml@2.7.0) + vite: 6.1.0(@types/node@22.13.5)(yaml@2.7.0) - '@vitest/pretty-format@3.0.5': + '@vitest/pretty-format@3.0.7': dependencies: tinyrainbow: 2.0.0 - '@vitest/runner@3.0.5': + '@vitest/runner@3.0.7': dependencies: - '@vitest/utils': 3.0.5 - pathe: 2.0.2 + '@vitest/utils': 3.0.7 + pathe: 2.0.3 - '@vitest/snapshot@3.0.5': + '@vitest/snapshot@3.0.7': dependencies: - '@vitest/pretty-format': 3.0.5 + '@vitest/pretty-format': 3.0.7 magic-string: 0.30.17 - pathe: 2.0.2 + pathe: 2.0.3 - '@vitest/spy@3.0.5': + '@vitest/spy@3.0.7': dependencies: tinyspy: 3.0.2 - '@vitest/utils@3.0.5': + '@vitest/utils@3.0.7': dependencies: - '@vitest/pretty-format': 3.0.5 - loupe: 3.1.2 + '@vitest/pretty-format': 3.0.7 + loupe: 3.1.3 tinyrainbow: 2.0.0 '@volar/language-core@2.4.11': @@ -5072,14 +5078,14 @@ snapshots: dependencies: '@vue/devtools-kit': 7.7.2 - '@vue/devtools-core@7.7.2(vite@6.1.0(@types/node@22.13.4)(yaml@2.7.0))(vue@3.5.13(typescript@5.7.3))': + '@vue/devtools-core@7.7.2(vite@6.1.0(@types/node@22.13.5)(yaml@2.7.0))(vue@3.5.13(typescript@5.7.3))': dependencies: '@vue/devtools-kit': 7.7.2 '@vue/devtools-shared': 7.7.2 mitt: 3.0.1 nanoid: 5.0.9 pathe: 2.0.2 - vite-hot-client: 0.2.4(vite@6.1.0(@types/node@22.13.4)(yaml@2.7.0)) + vite-hot-client: 0.2.4(vite@6.1.0(@types/node@22.13.5)(yaml@2.7.0)) vue: 3.5.13(typescript@5.7.3) transitivePeerDependencies: - vite @@ -5098,7 +5104,7 @@ snapshots: dependencies: rfdc: 1.4.1 - '@vue/language-core@2.2.2(typescript@5.7.3)': + '@vue/language-core@2.2.4(typescript@5.7.3)': dependencies: '@volar/language-core': 2.4.11 '@vue/compiler-dom': 3.5.13 @@ -5415,7 +5421,7 @@ snapshots: dependencies: assertion-error: 1.1.0 - chai@5.1.2: + chai@5.2.0: dependencies: assertion-error: 2.0.1 check-error: 2.1.1 @@ -5448,7 +5454,7 @@ snapshots: optionalDependencies: fsevents: 2.3.3 - chromedriver@133.0.1: + chromedriver@133.0.3: dependencies: '@testim/chrome-version': 1.1.4 axios: 1.7.9(debug@4.4.0) @@ -5463,7 +5469,7 @@ snapshots: ci-info@3.3.0: {} - ci-info@4.0.0: {} + ci-info@4.1.0: {} clean-stack@2.2.0: {} @@ -5571,7 +5577,7 @@ snapshots: csstype@3.1.3: {} - cypress@14.0.3: + cypress@14.1.0: dependencies: '@cypress/request': 3.0.7 '@cypress/xvfb': 1.2.4(supports-color@8.1.1) @@ -5584,7 +5590,7 @@ snapshots: cachedir: 2.4.0 chalk: 4.1.2 check-more-types: 2.24.0 - ci-info: 4.0.0 + ci-info: 4.1.0 cli-cursor: 3.1.0 cli-table3: 0.6.5 commander: 6.2.1 @@ -6751,6 +6757,8 @@ snapshots: loupe@3.1.2: {} + loupe@3.1.3: {} + lru-cache@10.4.3: {} lru-cache@11.0.2: {} @@ -6865,7 +6873,7 @@ snapshots: dependencies: axe-core: 4.10.0 - nightwatch@3.11.1(chromedriver@133.0.1)(geckodriver@5.0.0): + nightwatch@3.11.1(chromedriver@133.0.3)(geckodriver@5.0.0): dependencies: '@nightwatch/chai': 5.0.3 '@nightwatch/html-reporter-template': 0.3.0 @@ -6902,7 +6910,7 @@ snapshots: untildify: 4.0.0 uuid: 8.3.2 optionalDependencies: - chromedriver: 133.0.1 + chromedriver: 133.0.3 geckodriver: 5.0.0 transitivePeerDependencies: - bufferutil @@ -7080,6 +7088,8 @@ snapshots: pathe@2.0.2: {} + pathe@2.0.3: {} + pathval@1.1.1: {} pathval@2.0.0: {} @@ -7612,14 +7622,14 @@ snapshots: tree-kill@1.2.2: {} - ts-node@10.9.2(@types/node@22.13.4)(typescript@5.7.3): + ts-node@10.9.2(@types/node@22.13.5)(typescript@5.7.3): dependencies: '@cspotcode/source-map-support': 0.8.1 '@tsconfig/node10': 1.0.11 '@tsconfig/node12': 1.0.11 '@tsconfig/node14': 1.0.3 '@tsconfig/node16': 1.0.4 - '@types/node': 22.13.4 + '@types/node': 22.13.5 acorn: 8.12.1 acorn-walk: 8.3.4 arg: 4.1.3 @@ -7683,17 +7693,17 @@ snapshots: core-util-is: 1.0.2 extsprintf: 1.3.0 - vite-hot-client@0.2.4(vite@6.1.0(@types/node@22.13.4)(yaml@2.7.0)): + vite-hot-client@0.2.4(vite@6.1.0(@types/node@22.13.5)(yaml@2.7.0)): dependencies: - vite: 6.1.0(@types/node@22.13.4)(yaml@2.7.0) + vite: 6.1.0(@types/node@22.13.5)(yaml@2.7.0) - vite-node@3.0.5(@types/node@22.13.4)(yaml@2.7.0): + vite-node@3.0.7(@types/node@22.13.5)(yaml@2.7.0): dependencies: cac: 6.7.14 debug: 4.4.0(supports-color@8.1.1) es-module-lexer: 1.6.0 - pathe: 2.0.2 - vite: 6.1.0(@types/node@22.13.4)(yaml@2.7.0) + pathe: 2.0.3 + vite: 6.1.0(@types/node@22.13.5)(yaml@2.7.0) transitivePeerDependencies: - '@types/node' - jiti @@ -7708,7 +7718,7 @@ snapshots: - tsx - yaml - vite-plugin-inspect@0.8.9(rollup@4.34.6)(vite@6.1.0(@types/node@22.13.4)(yaml@2.7.0)): + vite-plugin-inspect@0.8.9(rollup@4.34.6)(vite@6.1.0(@types/node@22.13.5)(yaml@2.7.0)): dependencies: '@antfu/utils': 0.7.10 '@rollup/pluginutils': 5.1.3(rollup@4.34.6) @@ -7719,7 +7729,7 @@ snapshots: perfect-debounce: 1.0.0 picocolors: 1.1.1 sirv: 3.0.0 - vite: 6.1.0(@types/node@22.13.4)(yaml@2.7.0) + vite: 6.1.0(@types/node@22.13.5)(yaml@2.7.0) transitivePeerDependencies: - rollup - supports-color @@ -7738,23 +7748,23 @@ snapshots: - supports-color - utf-8-validate - vite-plugin-vue-devtools@7.7.2(rollup@4.34.6)(vite@6.1.0(@types/node@22.13.4)(yaml@2.7.0))(vue@3.5.13(typescript@5.7.3)): + vite-plugin-vue-devtools@7.7.2(rollup@4.34.6)(vite@6.1.0(@types/node@22.13.5)(yaml@2.7.0))(vue@3.5.13(typescript@5.7.3)): dependencies: - '@vue/devtools-core': 7.7.2(vite@6.1.0(@types/node@22.13.4)(yaml@2.7.0))(vue@3.5.13(typescript@5.7.3)) + '@vue/devtools-core': 7.7.2(vite@6.1.0(@types/node@22.13.5)(yaml@2.7.0))(vue@3.5.13(typescript@5.7.3)) '@vue/devtools-kit': 7.7.2 '@vue/devtools-shared': 7.7.2 execa: 9.5.1 sirv: 3.0.0 - vite: 6.1.0(@types/node@22.13.4)(yaml@2.7.0) - vite-plugin-inspect: 0.8.9(rollup@4.34.6)(vite@6.1.0(@types/node@22.13.4)(yaml@2.7.0)) - vite-plugin-vue-inspector: 5.3.1(vite@6.1.0(@types/node@22.13.4)(yaml@2.7.0)) + vite: 6.1.0(@types/node@22.13.5)(yaml@2.7.0) + vite-plugin-inspect: 0.8.9(rollup@4.34.6)(vite@6.1.0(@types/node@22.13.5)(yaml@2.7.0)) + vite-plugin-vue-inspector: 5.3.1(vite@6.1.0(@types/node@22.13.5)(yaml@2.7.0)) transitivePeerDependencies: - '@nuxt/kit' - rollup - supports-color - vue - vite-plugin-vue-inspector@5.3.1(vite@6.1.0(@types/node@22.13.4)(yaml@2.7.0)): + vite-plugin-vue-inspector@5.3.1(vite@6.1.0(@types/node@22.13.5)(yaml@2.7.0)): dependencies: '@babel/core': 7.26.0 '@babel/plugin-proposal-decorators': 7.25.7(@babel/core@7.26.0) @@ -7765,53 +7775,53 @@ snapshots: '@vue/compiler-dom': 3.5.13 kolorist: 1.8.0 magic-string: 0.30.17 - vite: 6.1.0(@types/node@22.13.4)(yaml@2.7.0) + vite: 6.1.0(@types/node@22.13.5)(yaml@2.7.0) transitivePeerDependencies: - supports-color - vite@4.5.9(@types/node@22.13.4): + vite@4.5.9(@types/node@22.13.5): dependencies: esbuild: 0.18.20 postcss: 8.5.1 rollup: 3.29.5 optionalDependencies: - '@types/node': 22.13.4 + '@types/node': 22.13.5 fsevents: 2.3.3 - vite@6.1.0(@types/node@22.13.4)(yaml@2.7.0): + vite@6.1.0(@types/node@22.13.5)(yaml@2.7.0): dependencies: esbuild: 0.24.2 postcss: 8.5.1 rollup: 4.34.6 optionalDependencies: - '@types/node': 22.13.4 + '@types/node': 22.13.5 fsevents: 2.3.3 yaml: 2.7.0 - vitest@3.0.5(@types/node@22.13.4)(jsdom@26.0.0)(yaml@2.7.0): + vitest@3.0.7(@types/node@22.13.5)(jsdom@26.0.0)(yaml@2.7.0): dependencies: - '@vitest/expect': 3.0.5 - '@vitest/mocker': 3.0.5(vite@6.1.0(@types/node@22.13.4)(yaml@2.7.0)) - '@vitest/pretty-format': 3.0.5 - '@vitest/runner': 3.0.5 - '@vitest/snapshot': 3.0.5 - '@vitest/spy': 3.0.5 - '@vitest/utils': 3.0.5 - chai: 5.1.2 + '@vitest/expect': 3.0.7 + '@vitest/mocker': 3.0.7(vite@6.1.0(@types/node@22.13.5)(yaml@2.7.0)) + '@vitest/pretty-format': 3.0.7 + '@vitest/runner': 3.0.7 + '@vitest/snapshot': 3.0.7 + '@vitest/spy': 3.0.7 + '@vitest/utils': 3.0.7 + chai: 5.2.0 debug: 4.4.0(supports-color@8.1.1) expect-type: 1.1.0 magic-string: 0.30.17 - pathe: 2.0.2 + pathe: 2.0.3 std-env: 3.8.0 tinybench: 2.9.0 tinyexec: 0.3.2 tinypool: 1.0.2 tinyrainbow: 2.0.0 - vite: 6.1.0(@types/node@22.13.4)(yaml@2.7.0) - vite-node: 3.0.5(@types/node@22.13.4)(yaml@2.7.0) + vite: 6.1.0(@types/node@22.13.5)(yaml@2.7.0) + vite-node: 3.0.7(@types/node@22.13.5)(yaml@2.7.0) why-is-node-running: 2.3.0 optionalDependencies: - '@types/node': 22.13.4 + '@types/node': 22.13.5 jsdom: 26.0.0 transitivePeerDependencies: - jiti @@ -7836,10 +7846,10 @@ snapshots: '@vue/devtools-api': 6.6.4 vue: 3.5.13(typescript@5.7.3) - vue-tsc@2.2.2(typescript@5.7.3): + vue-tsc@2.2.4(typescript@5.7.3): dependencies: '@volar/typescript': 2.4.11 - '@vue/language-core': 2.2.2(typescript@5.7.3) + '@vue/language-core': 2.2.4(typescript@5.7.3) typescript: 5.7.3 vue@3.5.13(typescript@5.7.3): @@ -8006,4 +8016,4 @@ snapshots: zx@8.3.2: optionalDependencies: '@types/fs-extra': 11.0.4 - '@types/node': 22.13.4 + '@types/node': 22.13.5 diff --git a/template/config/cypress-ct/package.json b/template/config/cypress-ct/package.json index af67d6db..92ae8be7 100644 --- a/template/config/cypress-ct/package.json +++ b/template/config/cypress-ct/package.json @@ -7,6 +7,6 @@ "vue": "^3.5.13" }, "devDependencies": { - "cypress": "^14.0.3" + "cypress": "^14.1.0" } } diff --git a/template/config/cypress/package.json b/template/config/cypress/package.json index 15565a42..078409b6 100644 --- a/template/config/cypress/package.json +++ b/template/config/cypress/package.json @@ -5,7 +5,7 @@ "test:e2e:dev": "start-server-and-test 'vite dev --port 4173' http://localhost:4173 'cypress open --e2e'" }, "devDependencies": { - "cypress": "^14.0.3", + "cypress": "^14.1.0", "start-server-and-test": "^2.0.10" } } diff --git a/template/config/nightwatch/package.json b/template/config/nightwatch/package.json index e2052b53..0652eb80 100644 --- a/template/config/nightwatch/package.json +++ b/template/config/nightwatch/package.json @@ -5,7 +5,7 @@ "devDependencies": { "@nightwatch/vue": "^3.1.2", "@vitejs/plugin-vue": "^5.2.1", - "chromedriver": "^133.0.1", + "chromedriver": "^133.0.3", "geckodriver": "^5.0.0", "nightwatch": "^3.11.1", "ts-node": "^10.9.2", diff --git a/template/config/typescript/package.json b/template/config/typescript/package.json index deadfb16..9830097b 100644 --- a/template/config/typescript/package.json +++ b/template/config/typescript/package.json @@ -5,9 +5,9 @@ "type-check": "vue-tsc --build" }, "devDependencies": { - "@types/node": "^22.13.4", + "@types/node": "^22.13.5", "npm-run-all2": "^7.0.2", "typescript": "~5.7.3", - "vue-tsc": "^2.2.2" + "vue-tsc": "^2.2.4" } } diff --git a/template/config/vitest/package.json b/template/config/vitest/package.json index d2254af5..38cf0343 100644 --- a/template/config/vitest/package.json +++ b/template/config/vitest/package.json @@ -8,6 +8,6 @@ "devDependencies": { "@vue/test-utils": "^2.4.6", "jsdom": "^26.0.0", - "vitest": "^3.0.5" + "vitest": "^3.0.7" } } diff --git a/template/eslint/package.json b/template/eslint/package.json index 8fa60c13..801515a8 100644 --- a/template/eslint/package.json +++ b/template/eslint/package.json @@ -1,6 +1,6 @@ { "devDependencies": { - "@vitest/eslint-plugin": "^1.1.31", + "@vitest/eslint-plugin": "^1.1.35", "eslint-plugin-cypress": "^4.1.0", "eslint-plugin-playwright": "^2.2.0" } From d96b3cbd608227f28a8d8ddd26584b4ff009203f Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Fri, 28 Feb 2025 16:00:50 +0800 Subject: [PATCH 07/20] chore(deps): update dependency vite to ^6.2.0 (#698) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> --- pnpm-lock.yaml | 342 ++++-------------------- template/base/package.json | 2 +- template/config/jsx/package.json | 2 +- template/config/nightwatch/package.json | 2 +- 4 files changed, 50 insertions(+), 298 deletions(-) diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 7c539046..05e0b953 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -65,13 +65,13 @@ importers: devDependencies: '@vitejs/plugin-vue': specifier: ^5.2.1 - version: 5.2.1(vite@6.1.0(@types/node@22.13.5)(yaml@2.7.0))(vue@3.5.13(typescript@5.7.3)) + version: 5.2.1(vite@6.2.0(@types/node@22.13.5)(yaml@2.7.0))(vue@3.5.13(typescript@5.7.3)) vite: - specifier: ^6.1.0 - version: 6.1.0(@types/node@22.13.5)(yaml@2.7.0) + specifier: ^6.2.0 + version: 6.2.0(@types/node@22.13.5)(yaml@2.7.0) vite-plugin-vue-devtools: specifier: ^7.7.2 - version: 7.7.2(rollup@4.34.6)(vite@6.1.0(@types/node@22.13.5)(yaml@2.7.0))(vue@3.5.13(typescript@5.7.3)) + version: 7.7.2(rollup@4.34.6)(vite@6.2.0(@types/node@22.13.5)(yaml@2.7.0))(vue@3.5.13(typescript@5.7.3)) template/config/cypress: devDependencies: @@ -100,10 +100,10 @@ importers: devDependencies: '@vitejs/plugin-vue-jsx': specifier: ^4.1.1 - version: 4.1.1(vite@6.1.0(@types/node@22.13.5)(yaml@2.7.0))(vue@3.5.13(typescript@5.7.3)) + version: 4.1.1(vite@6.2.0(@types/node@22.13.5)(yaml@2.7.0))(vue@3.5.13(typescript@5.7.3)) vite: - specifier: ^6.1.0 - version: 6.1.0(@types/node@22.13.5)(yaml@2.7.0) + specifier: ^6.2.0 + version: 6.2.0(@types/node@22.13.5)(yaml@2.7.0) template/config/nightwatch: devDependencies: @@ -112,7 +112,7 @@ importers: version: 3.1.2(@types/node@22.13.5)(vue@3.5.13(typescript@5.7.3)) '@vitejs/plugin-vue': specifier: ^5.2.1 - version: 5.2.1(vite@6.1.0(@types/node@22.13.5)(yaml@2.7.0))(vue@3.5.13(typescript@5.7.3)) + version: 5.2.1(vite@6.2.0(@types/node@22.13.5)(yaml@2.7.0))(vue@3.5.13(typescript@5.7.3)) chromedriver: specifier: ^133.0.3 version: 133.0.3 @@ -126,8 +126,8 @@ importers: specifier: ^10.9.2 version: 10.9.2(@types/node@22.13.5)(typescript@5.7.3) vite: - specifier: ^6.1.0 - version: 6.1.0(@types/node@22.13.5)(yaml@2.7.0) + specifier: ^6.2.0 + version: 6.2.0(@types/node@22.13.5)(yaml@2.7.0) vite-plugin-nightwatch: specifier: ^0.4.6 version: 0.4.6 @@ -412,12 +412,6 @@ packages: '@cypress/xvfb@1.2.4': resolution: {integrity: sha512-skbBzPggOVYCbnGgV+0dmBdW/s77ZkAOXIC1knS8NagwDjBrNC1LuXtQJeiN6l+m7lzmHtaoUw/ctJKdqkG57Q==} - '@esbuild/aix-ppc64@0.24.2': - resolution: {integrity: sha512-thpVCb/rhxE/BnMLQ7GReQLLN8q9qbHmI55F4489/ByVg2aQaQ6kbcLb6FHkocZzQhxc4gx0sCk0tJkKBFzDhA==} - engines: {node: '>=18'} - cpu: [ppc64] - os: [aix] - '@esbuild/aix-ppc64@0.25.0': resolution: {integrity: sha512-O7vun9Sf8DFjH2UtqK8Ku3LkquL9SZL8OLY1T5NZkA34+wG3OQF7cl4Ql8vdNzM6fzBbYfLaiRLIOZ+2FOCgBQ==} engines: {node: '>=18'} @@ -430,12 +424,6 @@ packages: cpu: [arm64] os: [android] - '@esbuild/android-arm64@0.24.2': - resolution: {integrity: sha512-cNLgeqCqV8WxfcTIOeL4OAtSmL8JjcN6m09XIgro1Wi7cF4t/THaWEa7eL5CMoMBdjoHOTh/vwTO/o2TRXIyzg==} - engines: {node: '>=18'} - cpu: [arm64] - os: [android] - '@esbuild/android-arm64@0.25.0': resolution: {integrity: sha512-grvv8WncGjDSyUBjN9yHXNt+cq0snxXbDxy5pJtzMKGmmpPxeAmAhWxXI+01lU5rwZomDgD3kJwulEnhTRUd6g==} engines: {node: '>=18'} @@ -460,12 +448,6 @@ packages: cpu: [arm] os: [android] - '@esbuild/android-arm@0.24.2': - resolution: {integrity: sha512-tmwl4hJkCfNHwFB3nBa8z1Uy3ypZpxqxfTQOcHX+xRByyYgunVbZ9MzUUfb0RxaHIMnbHagwAxuTL+tnNM+1/Q==} - engines: {node: '>=18'} - cpu: [arm] - os: [android] - '@esbuild/android-arm@0.25.0': resolution: {integrity: sha512-PTyWCYYiU0+1eJKmw21lWtC+d08JDZPQ5g+kFyxP0V+es6VPPSUhM6zk8iImp2jbV6GwjX4pap0JFbUQN65X1g==} engines: {node: '>=18'} @@ -478,12 +460,6 @@ packages: cpu: [x64] os: [android] - '@esbuild/android-x64@0.24.2': - resolution: {integrity: sha512-B6Q0YQDqMx9D7rvIcsXfmJfvUYLoP722bgfBlO5cGvNVb5V/+Y7nhBE3mHV9OpxBf4eAS2S68KZztiPaWq4XYw==} - engines: {node: '>=18'} - cpu: [x64] - os: [android] - '@esbuild/android-x64@0.25.0': resolution: {integrity: sha512-m/ix7SfKG5buCnxasr52+LI78SQ+wgdENi9CqyCXwjVR2X4Jkz+BpC3le3AoBPYTC9NHklwngVXvbJ9/Akhrfg==} engines: {node: '>=18'} @@ -496,12 +472,6 @@ packages: cpu: [arm64] os: [darwin] - '@esbuild/darwin-arm64@0.24.2': - resolution: {integrity: sha512-kj3AnYWc+CekmZnS5IPu9D+HWtUI49hbnyqk0FLEJDbzCIQt7hg7ucF1SQAilhtYpIujfaHr6O0UHlzzSPdOeA==} - engines: {node: '>=18'} - cpu: [arm64] - os: [darwin] - '@esbuild/darwin-arm64@0.25.0': resolution: {integrity: sha512-mVwdUb5SRkPayVadIOI78K7aAnPamoeFR2bT5nszFUZ9P8UpK4ratOdYbZZXYSqPKMHfS1wdHCJk1P1EZpRdvw==} engines: {node: '>=18'} @@ -514,12 +484,6 @@ packages: cpu: [x64] os: [darwin] - '@esbuild/darwin-x64@0.24.2': - resolution: {integrity: sha512-WeSrmwwHaPkNR5H3yYfowhZcbriGqooyu3zI/3GGpF8AyUdsrrP0X6KumITGA9WOyiJavnGZUwPGvxvwfWPHIA==} - engines: {node: '>=18'} - cpu: [x64] - os: [darwin] - '@esbuild/darwin-x64@0.25.0': resolution: {integrity: sha512-DgDaYsPWFTS4S3nWpFcMn/33ZZwAAeAFKNHNa1QN0rI4pUjgqf0f7ONmXf6d22tqTY+H9FNdgeaAa+YIFUn2Rg==} engines: {node: '>=18'} @@ -532,12 +496,6 @@ packages: cpu: [arm64] os: [freebsd] - '@esbuild/freebsd-arm64@0.24.2': - resolution: {integrity: sha512-UN8HXjtJ0k/Mj6a9+5u6+2eZ2ERD7Edt1Q9IZiB5UZAIdPnVKDoG7mdTVGhHJIeEml60JteamR3qhsr1r8gXvg==} - engines: {node: '>=18'} - cpu: [arm64] - os: [freebsd] - '@esbuild/freebsd-arm64@0.25.0': resolution: {integrity: sha512-VN4ocxy6dxefN1MepBx/iD1dH5K8qNtNe227I0mnTRjry8tj5MRk4zprLEdG8WPyAPb93/e4pSgi1SoHdgOa4w==} engines: {node: '>=18'} @@ -550,12 +508,6 @@ packages: cpu: [x64] os: [freebsd] - '@esbuild/freebsd-x64@0.24.2': - resolution: {integrity: sha512-TvW7wE/89PYW+IevEJXZ5sF6gJRDY/14hyIGFXdIucxCsbRmLUcjseQu1SyTko+2idmCw94TgyaEZi9HUSOe3Q==} - engines: {node: '>=18'} - cpu: [x64] - os: [freebsd] - '@esbuild/freebsd-x64@0.25.0': resolution: {integrity: sha512-mrSgt7lCh07FY+hDD1TxiTyIHyttn6vnjesnPoVDNmDfOmggTLXRv8Id5fNZey1gl/V2dyVK1VXXqVsQIiAk+A==} engines: {node: '>=18'} @@ -568,12 +520,6 @@ packages: cpu: [arm64] os: [linux] - '@esbuild/linux-arm64@0.24.2': - resolution: {integrity: sha512-7HnAD6074BW43YvvUmE/35Id9/NB7BeX5EoNkK9obndmZBUk8xmJJeU7DwmUeN7tkysslb2eSl6CTrYz6oEMQg==} - engines: {node: '>=18'} - cpu: [arm64] - os: [linux] - '@esbuild/linux-arm64@0.25.0': resolution: {integrity: sha512-9QAQjTWNDM/Vk2bgBl17yWuZxZNQIF0OUUuPZRKoDtqF2k4EtYbpyiG5/Dk7nqeK6kIJWPYldkOcBqjXjrUlmg==} engines: {node: '>=18'} @@ -586,12 +532,6 @@ packages: cpu: [arm] os: [linux] - '@esbuild/linux-arm@0.24.2': - resolution: {integrity: sha512-n0WRM/gWIdU29J57hJyUdIsk0WarGd6To0s+Y+LwvlC55wt+GT/OgkwoXCXvIue1i1sSNWblHEig00GBWiJgfA==} - engines: {node: '>=18'} - cpu: [arm] - os: [linux] - '@esbuild/linux-arm@0.25.0': resolution: {integrity: sha512-vkB3IYj2IDo3g9xX7HqhPYxVkNQe8qTK55fraQyTzTX/fxaDtXiEnavv9geOsonh2Fd2RMB+i5cbhu2zMNWJwg==} engines: {node: '>=18'} @@ -604,12 +544,6 @@ packages: cpu: [ia32] os: [linux] - '@esbuild/linux-ia32@0.24.2': - resolution: {integrity: sha512-sfv0tGPQhcZOgTKO3oBE9xpHuUqguHvSo4jl+wjnKwFpapx+vUDcawbwPNuBIAYdRAvIDBfZVvXprIj3HA+Ugw==} - engines: {node: '>=18'} - cpu: [ia32] - os: [linux] - '@esbuild/linux-ia32@0.25.0': resolution: {integrity: sha512-43ET5bHbphBegyeqLb7I1eYn2P/JYGNmzzdidq/w0T8E2SsYL1U6un2NFROFRg1JZLTzdCoRomg8Rvf9M6W6Gg==} engines: {node: '>=18'} @@ -628,12 +562,6 @@ packages: cpu: [loong64] os: [linux] - '@esbuild/linux-loong64@0.24.2': - resolution: {integrity: sha512-CN9AZr8kEndGooS35ntToZLTQLHEjtVB5n7dl8ZcTZMonJ7CCfStrYhrzF97eAecqVbVJ7APOEe18RPI4KLhwQ==} - engines: {node: '>=18'} - cpu: [loong64] - os: [linux] - '@esbuild/linux-loong64@0.25.0': resolution: {integrity: sha512-fC95c/xyNFueMhClxJmeRIj2yrSMdDfmqJnyOY4ZqsALkDrrKJfIg5NTMSzVBr5YW1jf+l7/cndBfP3MSDpoHw==} engines: {node: '>=18'} @@ -646,12 +574,6 @@ packages: cpu: [mips64el] os: [linux] - '@esbuild/linux-mips64el@0.24.2': - resolution: {integrity: sha512-iMkk7qr/wl3exJATwkISxI7kTcmHKE+BlymIAbHO8xanq/TjHaaVThFF6ipWzPHryoFsesNQJPE/3wFJw4+huw==} - engines: {node: '>=18'} - cpu: [mips64el] - os: [linux] - '@esbuild/linux-mips64el@0.25.0': resolution: {integrity: sha512-nkAMFju7KDW73T1DdH7glcyIptm95a7Le8irTQNO/qtkoyypZAnjchQgooFUDQhNAy4iu08N79W4T4pMBwhPwQ==} engines: {node: '>=18'} @@ -664,12 +586,6 @@ packages: cpu: [ppc64] os: [linux] - '@esbuild/linux-ppc64@0.24.2': - resolution: {integrity: sha512-shsVrgCZ57Vr2L8mm39kO5PPIb+843FStGt7sGGoqiiWYconSxwTiuswC1VJZLCjNiMLAMh34jg4VSEQb+iEbw==} - engines: {node: '>=18'} - cpu: [ppc64] - os: [linux] - '@esbuild/linux-ppc64@0.25.0': resolution: {integrity: sha512-NhyOejdhRGS8Iwv+KKR2zTq2PpysF9XqY+Zk77vQHqNbo/PwZCzB5/h7VGuREZm1fixhs4Q/qWRSi5zmAiO4Fw==} engines: {node: '>=18'} @@ -682,12 +598,6 @@ packages: cpu: [riscv64] os: [linux] - '@esbuild/linux-riscv64@0.24.2': - resolution: {integrity: sha512-4eSFWnU9Hhd68fW16GD0TINewo1L6dRrB+oLNNbYyMUAeOD2yCK5KXGK1GH4qD/kT+bTEXjsyTCiJGHPZ3eM9Q==} - engines: {node: '>=18'} - cpu: [riscv64] - os: [linux] - '@esbuild/linux-riscv64@0.25.0': resolution: {integrity: sha512-5S/rbP5OY+GHLC5qXp1y/Mx//e92L1YDqkiBbO9TQOvuFXM+iDqUNG5XopAnXoRH3FjIUDkeGcY1cgNvnXp/kA==} engines: {node: '>=18'} @@ -700,12 +610,6 @@ packages: cpu: [s390x] os: [linux] - '@esbuild/linux-s390x@0.24.2': - resolution: {integrity: sha512-S0Bh0A53b0YHL2XEXC20bHLuGMOhFDO6GN4b3YjRLK//Ep3ql3erpNcPlEFed93hsQAjAQDNsvcK+hV90FubSw==} - engines: {node: '>=18'} - cpu: [s390x] - os: [linux] - '@esbuild/linux-s390x@0.25.0': resolution: {integrity: sha512-XM2BFsEBz0Fw37V0zU4CXfcfuACMrppsMFKdYY2WuTS3yi8O1nFOhil/xhKTmE1nPmVyvQJjJivgDT+xh8pXJA==} engines: {node: '>=18'} @@ -718,24 +622,12 @@ packages: cpu: [x64] os: [linux] - '@esbuild/linux-x64@0.24.2': - resolution: {integrity: sha512-8Qi4nQcCTbLnK9WoMjdC9NiTG6/E38RNICU6sUNqK0QFxCYgoARqVqxdFmWkdonVsvGqWhmm7MO0jyTqLqwj0Q==} - engines: {node: '>=18'} - cpu: [x64] - os: [linux] - '@esbuild/linux-x64@0.25.0': resolution: {integrity: sha512-9yl91rHw/cpwMCNytUDxwj2XjFpxML0y9HAOH9pNVQDpQrBxHy01Dx+vaMu0N1CKa/RzBD2hB4u//nfc+Sd3Cw==} engines: {node: '>=18'} cpu: [x64] os: [linux] - '@esbuild/netbsd-arm64@0.24.2': - resolution: {integrity: sha512-wuLK/VztRRpMt9zyHSazyCVdCXlpHkKm34WUyinD2lzK07FAHTq0KQvZZlXikNWkDGoT6x3TD51jKQ7gMVpopw==} - engines: {node: '>=18'} - cpu: [arm64] - os: [netbsd] - '@esbuild/netbsd-arm64@0.25.0': resolution: {integrity: sha512-RuG4PSMPFfrkH6UwCAqBzauBWTygTvb1nxWasEJooGSJ/NwRw7b2HOwyRTQIU97Hq37l3npXoZGYMy3b3xYvPw==} engines: {node: '>=18'} @@ -748,24 +640,12 @@ packages: cpu: [x64] os: [netbsd] - '@esbuild/netbsd-x64@0.24.2': - resolution: {integrity: sha512-VefFaQUc4FMmJuAxmIHgUmfNiLXY438XrL4GDNV1Y1H/RW3qow68xTwjZKfj/+Plp9NANmzbH5R40Meudu8mmw==} - engines: {node: '>=18'} - cpu: [x64] - os: [netbsd] - '@esbuild/netbsd-x64@0.25.0': resolution: {integrity: sha512-jl+qisSB5jk01N5f7sPCsBENCOlPiS/xptD5yxOx2oqQfyourJwIKLRA2yqWdifj3owQZCL2sn6o08dBzZGQzA==} engines: {node: '>=18'} cpu: [x64] os: [netbsd] - '@esbuild/openbsd-arm64@0.24.2': - resolution: {integrity: sha512-YQbi46SBct6iKnszhSvdluqDmxCJA+Pu280Av9WICNwQmMxV7nLRHZfjQzwbPs3jeWnuAhE9Jy0NrnJ12Oz+0A==} - engines: {node: '>=18'} - cpu: [arm64] - os: [openbsd] - '@esbuild/openbsd-arm64@0.25.0': resolution: {integrity: sha512-21sUNbq2r84YE+SJDfaQRvdgznTD8Xc0oc3p3iW/a1EVWeNj/SdUCbm5U0itZPQYRuRTW20fPMWMpcrciH2EJw==} engines: {node: '>=18'} @@ -778,12 +658,6 @@ packages: cpu: [x64] os: [openbsd] - '@esbuild/openbsd-x64@0.24.2': - resolution: {integrity: sha512-+iDS6zpNM6EnJyWv0bMGLWSWeXGN/HTaF/LXHXHwejGsVi+ooqDfMCCTerNFxEkM3wYVcExkeGXNqshc9iMaOA==} - engines: {node: '>=18'} - cpu: [x64] - os: [openbsd] - '@esbuild/openbsd-x64@0.25.0': resolution: {integrity: sha512-2gwwriSMPcCFRlPlKx3zLQhfN/2WjJ2NSlg5TKLQOJdV0mSxIcYNTMhk3H3ulL/cak+Xj0lY1Ym9ysDV1igceg==} engines: {node: '>=18'} @@ -796,12 +670,6 @@ packages: cpu: [x64] os: [sunos] - '@esbuild/sunos-x64@0.24.2': - resolution: {integrity: sha512-hTdsW27jcktEvpwNHJU4ZwWFGkz2zRJUz8pvddmXPtXDzVKTTINmlmga3ZzwcuMpUvLw7JkLy9QLKyGpD2Yxig==} - engines: {node: '>=18'} - cpu: [x64] - os: [sunos] - '@esbuild/sunos-x64@0.25.0': resolution: {integrity: sha512-bxI7ThgLzPrPz484/S9jLlvUAHYMzy6I0XiU1ZMeAEOBcS0VePBFxh1JjTQt3Xiat5b6Oh4x7UC7IwKQKIJRIg==} engines: {node: '>=18'} @@ -814,12 +682,6 @@ packages: cpu: [arm64] os: [win32] - '@esbuild/win32-arm64@0.24.2': - resolution: {integrity: sha512-LihEQ2BBKVFLOC9ZItT9iFprsE9tqjDjnbulhHoFxYQtQfai7qfluVODIYxt1PgdoyQkz23+01rzwNwYfutxUQ==} - engines: {node: '>=18'} - cpu: [arm64] - os: [win32] - '@esbuild/win32-arm64@0.25.0': resolution: {integrity: sha512-ZUAc2YK6JW89xTbXvftxdnYy3m4iHIkDtK3CLce8wg8M2L+YZhIvO1DKpxrd0Yr59AeNNkTiic9YLf6FTtXWMw==} engines: {node: '>=18'} @@ -832,12 +694,6 @@ packages: cpu: [ia32] os: [win32] - '@esbuild/win32-ia32@0.24.2': - resolution: {integrity: sha512-q+iGUwfs8tncmFC9pcnD5IvRHAzmbwQ3GPS5/ceCyHdjXubwQWI12MKWSNSMYLJMq23/IUCvJMS76PDqXe1fxA==} - engines: {node: '>=18'} - cpu: [ia32] - os: [win32] - '@esbuild/win32-ia32@0.25.0': resolution: {integrity: sha512-eSNxISBu8XweVEWG31/JzjkIGbGIJN/TrRoiSVZwZ6pkC6VX4Im/WV2cz559/TXLcYbcrDN8JtKgd9DJVIo8GA==} engines: {node: '>=18'} @@ -850,12 +706,6 @@ packages: cpu: [x64] os: [win32] - '@esbuild/win32-x64@0.24.2': - resolution: {integrity: sha512-7VTgWzgMGvup6aSqDPLiW5zHaxYJGTO4OokMjIlrCtf+VpEL+cXKtCvg723iguPYI5oaUNdS+/V7OU2gvXVWEg==} - engines: {node: '>=18'} - cpu: [x64] - os: [win32] - '@esbuild/win32-x64@0.25.0': resolution: {integrity: sha512-ZENoHJBxA20C2zFzh6AI4fT6RraMzjYw4xKWemRTRmRVtN9c5DcH9r/f2ihEkMjOW5eGgrwCslG/+Y/3bL+DHQ==} engines: {node: '>=18'} @@ -2151,11 +2001,6 @@ packages: engines: {node: '>=12'} hasBin: true - esbuild@0.24.2: - resolution: {integrity: sha512-+9egpBW8I3CD5XPe0n6BfT5fxLzxrlDzqydF3aviG+9ni1lDC/OvMHcxqEFV0+LANZG5R1bFMWfUrjVsdwxJvA==} - engines: {node: '>=18'} - hasBin: true - esbuild@0.25.0: resolution: {integrity: sha512-BXq5mqc8ltbaN34cDqWuYKyNhX8D/Z0J1xdtdQ8UcIIIyJyz+ZMKUt58tF3SrZ85jcfN/PZYhjR5uDQAYNVbuw==} engines: {node: '>=18'} @@ -3281,6 +3126,10 @@ packages: resolution: {integrity: sha512-6oz2beyjc5VMn/KV1pPw8fliQkhBXrVn1Z3TVyqZxU8kZpzEKhBdmCFqI6ZbmGtamQvQGuU1sgPTk8ZrXDD7jQ==} engines: {node: ^10 || ^12 || >=14} + postcss@8.5.3: + resolution: {integrity: sha512-dle9A3yYxlBSrt8Fu+IpjGT8SY8hN0mlaA6GY8t0P5PjIOZemULz/E2Bnm/2dcUOena75OTNkHI76uZBNUUq3A==} + engines: {node: ^10 || ^12 || >=14} + prettier@3.5.1: resolution: {integrity: sha512-hPpFQvHwL3Qv5AdRvBFMhnKo4tYxp0ReXiPn2bxkiohEX6mBeBwEpBSQTkD458RaaDKQMYSp4hX4UtfUTA5wDw==} engines: {node: '>=14'} @@ -3859,8 +3708,8 @@ packages: terser: optional: true - vite@6.1.0: - resolution: {integrity: sha512-RjjMipCKVoR4hVfPY6GQTgveinjNuyLw+qruksLDvA5ktI1150VmcMBKmQaEWJhg/j6Uaf6dNCNA0AfdzUb/hQ==} + vite@6.2.0: + resolution: {integrity: sha512-7dPxoo+WsT/64rDcwoOjk76XHj+TqNTIvHKcuMQ1k4/SeHDaQt5GFAeLYzrimZrMpn/O6DtdI03WUjdxuPM0oQ==} engines: {node: ^18.0.0 || ^20.0.0 || >=22.0.0} hasBin: true peerDependencies: @@ -4369,18 +4218,12 @@ snapshots: transitivePeerDependencies: - supports-color - '@esbuild/aix-ppc64@0.24.2': - optional: true - '@esbuild/aix-ppc64@0.25.0': optional: true '@esbuild/android-arm64@0.18.20': optional: true - '@esbuild/android-arm64@0.24.2': - optional: true - '@esbuild/android-arm64@0.25.0': optional: true @@ -4393,81 +4236,54 @@ snapshots: '@esbuild/android-arm@0.18.20': optional: true - '@esbuild/android-arm@0.24.2': - optional: true - '@esbuild/android-arm@0.25.0': optional: true '@esbuild/android-x64@0.18.20': optional: true - '@esbuild/android-x64@0.24.2': - optional: true - '@esbuild/android-x64@0.25.0': optional: true '@esbuild/darwin-arm64@0.18.20': optional: true - '@esbuild/darwin-arm64@0.24.2': - optional: true - '@esbuild/darwin-arm64@0.25.0': optional: true '@esbuild/darwin-x64@0.18.20': optional: true - '@esbuild/darwin-x64@0.24.2': - optional: true - '@esbuild/darwin-x64@0.25.0': optional: true '@esbuild/freebsd-arm64@0.18.20': optional: true - '@esbuild/freebsd-arm64@0.24.2': - optional: true - '@esbuild/freebsd-arm64@0.25.0': optional: true '@esbuild/freebsd-x64@0.18.20': optional: true - '@esbuild/freebsd-x64@0.24.2': - optional: true - '@esbuild/freebsd-x64@0.25.0': optional: true '@esbuild/linux-arm64@0.18.20': optional: true - '@esbuild/linux-arm64@0.24.2': - optional: true - '@esbuild/linux-arm64@0.25.0': optional: true '@esbuild/linux-arm@0.18.20': optional: true - '@esbuild/linux-arm@0.24.2': - optional: true - '@esbuild/linux-arm@0.25.0': optional: true '@esbuild/linux-ia32@0.18.20': optional: true - '@esbuild/linux-ia32@0.24.2': - optional: true - '@esbuild/linux-ia32@0.25.0': optional: true @@ -4477,120 +4293,78 @@ snapshots: '@esbuild/linux-loong64@0.18.20': optional: true - '@esbuild/linux-loong64@0.24.2': - optional: true - '@esbuild/linux-loong64@0.25.0': optional: true '@esbuild/linux-mips64el@0.18.20': optional: true - '@esbuild/linux-mips64el@0.24.2': - optional: true - '@esbuild/linux-mips64el@0.25.0': optional: true '@esbuild/linux-ppc64@0.18.20': optional: true - '@esbuild/linux-ppc64@0.24.2': - optional: true - '@esbuild/linux-ppc64@0.25.0': optional: true '@esbuild/linux-riscv64@0.18.20': optional: true - '@esbuild/linux-riscv64@0.24.2': - optional: true - '@esbuild/linux-riscv64@0.25.0': optional: true '@esbuild/linux-s390x@0.18.20': optional: true - '@esbuild/linux-s390x@0.24.2': - optional: true - '@esbuild/linux-s390x@0.25.0': optional: true '@esbuild/linux-x64@0.18.20': optional: true - '@esbuild/linux-x64@0.24.2': - optional: true - '@esbuild/linux-x64@0.25.0': optional: true - '@esbuild/netbsd-arm64@0.24.2': - optional: true - '@esbuild/netbsd-arm64@0.25.0': optional: true '@esbuild/netbsd-x64@0.18.20': optional: true - '@esbuild/netbsd-x64@0.24.2': - optional: true - '@esbuild/netbsd-x64@0.25.0': optional: true - '@esbuild/openbsd-arm64@0.24.2': - optional: true - '@esbuild/openbsd-arm64@0.25.0': optional: true '@esbuild/openbsd-x64@0.18.20': optional: true - '@esbuild/openbsd-x64@0.24.2': - optional: true - '@esbuild/openbsd-x64@0.25.0': optional: true '@esbuild/sunos-x64@0.18.20': optional: true - '@esbuild/sunos-x64@0.24.2': - optional: true - '@esbuild/sunos-x64@0.25.0': optional: true '@esbuild/win32-arm64@0.18.20': optional: true - '@esbuild/win32-arm64@0.24.2': - optional: true - '@esbuild/win32-arm64@0.25.0': optional: true '@esbuild/win32-ia32@0.18.20': optional: true - '@esbuild/win32-ia32@0.24.2': - optional: true - '@esbuild/win32-ia32@0.25.0': optional: true '@esbuild/win32-x64@0.18.20': optional: true - '@esbuild/win32-x64@0.24.2': - optional: true - '@esbuild/win32-x64@0.25.0': optional: true @@ -4929,12 +4703,12 @@ snapshots: '@types/node': 22.13.5 optional: true - '@vitejs/plugin-vue-jsx@4.1.1(vite@6.1.0(@types/node@22.13.5)(yaml@2.7.0))(vue@3.5.13(typescript@5.7.3))': + '@vitejs/plugin-vue-jsx@4.1.1(vite@6.2.0(@types/node@22.13.5)(yaml@2.7.0))(vue@3.5.13(typescript@5.7.3))': dependencies: '@babel/core': 7.26.0 '@babel/plugin-transform-typescript': 7.25.9(@babel/core@7.26.0) '@vue/babel-plugin-jsx': 1.2.5(@babel/core@7.26.0) - vite: 6.1.0(@types/node@22.13.5)(yaml@2.7.0) + vite: 6.2.0(@types/node@22.13.5)(yaml@2.7.0) vue: 3.5.13(typescript@5.7.3) transitivePeerDependencies: - supports-color @@ -4944,9 +4718,9 @@ snapshots: vite: 4.5.9(@types/node@22.13.5) vue: 3.5.13(typescript@5.7.3) - '@vitejs/plugin-vue@5.2.1(vite@6.1.0(@types/node@22.13.5)(yaml@2.7.0))(vue@3.5.13(typescript@5.7.3))': + '@vitejs/plugin-vue@5.2.1(vite@6.2.0(@types/node@22.13.5)(yaml@2.7.0))(vue@3.5.13(typescript@5.7.3))': dependencies: - vite: 6.1.0(@types/node@22.13.5)(yaml@2.7.0) + vite: 6.2.0(@types/node@22.13.5)(yaml@2.7.0) vue: 3.5.13(typescript@5.7.3) '@vitest/expect@3.0.7': @@ -4956,13 +4730,13 @@ snapshots: chai: 5.2.0 tinyrainbow: 2.0.0 - '@vitest/mocker@3.0.7(vite@6.1.0(@types/node@22.13.5)(yaml@2.7.0))': + '@vitest/mocker@3.0.7(vite@6.2.0(@types/node@22.13.5)(yaml@2.7.0))': dependencies: '@vitest/spy': 3.0.7 estree-walker: 3.0.3 magic-string: 0.30.17 optionalDependencies: - vite: 6.1.0(@types/node@22.13.5)(yaml@2.7.0) + vite: 6.2.0(@types/node@22.13.5)(yaml@2.7.0) '@vitest/pretty-format@3.0.7': dependencies: @@ -5078,14 +4852,14 @@ snapshots: dependencies: '@vue/devtools-kit': 7.7.2 - '@vue/devtools-core@7.7.2(vite@6.1.0(@types/node@22.13.5)(yaml@2.7.0))(vue@3.5.13(typescript@5.7.3))': + '@vue/devtools-core@7.7.2(vite@6.2.0(@types/node@22.13.5)(yaml@2.7.0))(vue@3.5.13(typescript@5.7.3))': dependencies: '@vue/devtools-kit': 7.7.2 '@vue/devtools-shared': 7.7.2 mitt: 3.0.1 nanoid: 5.0.9 pathe: 2.0.2 - vite-hot-client: 0.2.4(vite@6.1.0(@types/node@22.13.5)(yaml@2.7.0)) + vite-hot-client: 0.2.4(vite@6.2.0(@types/node@22.13.5)(yaml@2.7.0)) vue: 3.5.13(typescript@5.7.3) transitivePeerDependencies: - vite @@ -5927,34 +5701,6 @@ snapshots: '@esbuild/win32-ia32': 0.18.20 '@esbuild/win32-x64': 0.18.20 - esbuild@0.24.2: - optionalDependencies: - '@esbuild/aix-ppc64': 0.24.2 - '@esbuild/android-arm': 0.24.2 - '@esbuild/android-arm64': 0.24.2 - '@esbuild/android-x64': 0.24.2 - '@esbuild/darwin-arm64': 0.24.2 - '@esbuild/darwin-x64': 0.24.2 - '@esbuild/freebsd-arm64': 0.24.2 - '@esbuild/freebsd-x64': 0.24.2 - '@esbuild/linux-arm': 0.24.2 - '@esbuild/linux-arm64': 0.24.2 - '@esbuild/linux-ia32': 0.24.2 - '@esbuild/linux-loong64': 0.24.2 - '@esbuild/linux-mips64el': 0.24.2 - '@esbuild/linux-ppc64': 0.24.2 - '@esbuild/linux-riscv64': 0.24.2 - '@esbuild/linux-s390x': 0.24.2 - '@esbuild/linux-x64': 0.24.2 - '@esbuild/netbsd-arm64': 0.24.2 - '@esbuild/netbsd-x64': 0.24.2 - '@esbuild/openbsd-arm64': 0.24.2 - '@esbuild/openbsd-x64': 0.24.2 - '@esbuild/sunos-x64': 0.24.2 - '@esbuild/win32-arm64': 0.24.2 - '@esbuild/win32-ia32': 0.24.2 - '@esbuild/win32-x64': 0.24.2 - esbuild@0.25.0: optionalDependencies: '@esbuild/aix-ppc64': 0.25.0 @@ -7141,6 +6887,12 @@ snapshots: picocolors: 1.1.1 source-map-js: 1.2.1 + postcss@8.5.3: + dependencies: + nanoid: 3.3.8 + picocolors: 1.1.1 + source-map-js: 1.2.1 + prettier@3.5.1: {} pretty-bytes@5.6.0: {} @@ -7693,9 +7445,9 @@ snapshots: core-util-is: 1.0.2 extsprintf: 1.3.0 - vite-hot-client@0.2.4(vite@6.1.0(@types/node@22.13.5)(yaml@2.7.0)): + vite-hot-client@0.2.4(vite@6.2.0(@types/node@22.13.5)(yaml@2.7.0)): dependencies: - vite: 6.1.0(@types/node@22.13.5)(yaml@2.7.0) + vite: 6.2.0(@types/node@22.13.5)(yaml@2.7.0) vite-node@3.0.7(@types/node@22.13.5)(yaml@2.7.0): dependencies: @@ -7703,7 +7455,7 @@ snapshots: debug: 4.4.0(supports-color@8.1.1) es-module-lexer: 1.6.0 pathe: 2.0.3 - vite: 6.1.0(@types/node@22.13.5)(yaml@2.7.0) + vite: 6.2.0(@types/node@22.13.5)(yaml@2.7.0) transitivePeerDependencies: - '@types/node' - jiti @@ -7718,7 +7470,7 @@ snapshots: - tsx - yaml - vite-plugin-inspect@0.8.9(rollup@4.34.6)(vite@6.1.0(@types/node@22.13.5)(yaml@2.7.0)): + vite-plugin-inspect@0.8.9(rollup@4.34.6)(vite@6.2.0(@types/node@22.13.5)(yaml@2.7.0)): dependencies: '@antfu/utils': 0.7.10 '@rollup/pluginutils': 5.1.3(rollup@4.34.6) @@ -7729,7 +7481,7 @@ snapshots: perfect-debounce: 1.0.0 picocolors: 1.1.1 sirv: 3.0.0 - vite: 6.1.0(@types/node@22.13.5)(yaml@2.7.0) + vite: 6.2.0(@types/node@22.13.5)(yaml@2.7.0) transitivePeerDependencies: - rollup - supports-color @@ -7748,23 +7500,23 @@ snapshots: - supports-color - utf-8-validate - vite-plugin-vue-devtools@7.7.2(rollup@4.34.6)(vite@6.1.0(@types/node@22.13.5)(yaml@2.7.0))(vue@3.5.13(typescript@5.7.3)): + vite-plugin-vue-devtools@7.7.2(rollup@4.34.6)(vite@6.2.0(@types/node@22.13.5)(yaml@2.7.0))(vue@3.5.13(typescript@5.7.3)): dependencies: - '@vue/devtools-core': 7.7.2(vite@6.1.0(@types/node@22.13.5)(yaml@2.7.0))(vue@3.5.13(typescript@5.7.3)) + '@vue/devtools-core': 7.7.2(vite@6.2.0(@types/node@22.13.5)(yaml@2.7.0))(vue@3.5.13(typescript@5.7.3)) '@vue/devtools-kit': 7.7.2 '@vue/devtools-shared': 7.7.2 execa: 9.5.1 sirv: 3.0.0 - vite: 6.1.0(@types/node@22.13.5)(yaml@2.7.0) - vite-plugin-inspect: 0.8.9(rollup@4.34.6)(vite@6.1.0(@types/node@22.13.5)(yaml@2.7.0)) - vite-plugin-vue-inspector: 5.3.1(vite@6.1.0(@types/node@22.13.5)(yaml@2.7.0)) + vite: 6.2.0(@types/node@22.13.5)(yaml@2.7.0) + vite-plugin-inspect: 0.8.9(rollup@4.34.6)(vite@6.2.0(@types/node@22.13.5)(yaml@2.7.0)) + vite-plugin-vue-inspector: 5.3.1(vite@6.2.0(@types/node@22.13.5)(yaml@2.7.0)) transitivePeerDependencies: - '@nuxt/kit' - rollup - supports-color - vue - vite-plugin-vue-inspector@5.3.1(vite@6.1.0(@types/node@22.13.5)(yaml@2.7.0)): + vite-plugin-vue-inspector@5.3.1(vite@6.2.0(@types/node@22.13.5)(yaml@2.7.0)): dependencies: '@babel/core': 7.26.0 '@babel/plugin-proposal-decorators': 7.25.7(@babel/core@7.26.0) @@ -7775,7 +7527,7 @@ snapshots: '@vue/compiler-dom': 3.5.13 kolorist: 1.8.0 magic-string: 0.30.17 - vite: 6.1.0(@types/node@22.13.5)(yaml@2.7.0) + vite: 6.2.0(@types/node@22.13.5)(yaml@2.7.0) transitivePeerDependencies: - supports-color @@ -7788,10 +7540,10 @@ snapshots: '@types/node': 22.13.5 fsevents: 2.3.3 - vite@6.1.0(@types/node@22.13.5)(yaml@2.7.0): + vite@6.2.0(@types/node@22.13.5)(yaml@2.7.0): dependencies: - esbuild: 0.24.2 - postcss: 8.5.1 + esbuild: 0.25.0 + postcss: 8.5.3 rollup: 4.34.6 optionalDependencies: '@types/node': 22.13.5 @@ -7801,7 +7553,7 @@ snapshots: vitest@3.0.7(@types/node@22.13.5)(jsdom@26.0.0)(yaml@2.7.0): dependencies: '@vitest/expect': 3.0.7 - '@vitest/mocker': 3.0.7(vite@6.1.0(@types/node@22.13.5)(yaml@2.7.0)) + '@vitest/mocker': 3.0.7(vite@6.2.0(@types/node@22.13.5)(yaml@2.7.0)) '@vitest/pretty-format': 3.0.7 '@vitest/runner': 3.0.7 '@vitest/snapshot': 3.0.7 @@ -7817,7 +7569,7 @@ snapshots: tinyexec: 0.3.2 tinypool: 1.0.2 tinyrainbow: 2.0.0 - vite: 6.1.0(@types/node@22.13.5)(yaml@2.7.0) + vite: 6.2.0(@types/node@22.13.5)(yaml@2.7.0) vite-node: 3.0.7(@types/node@22.13.5)(yaml@2.7.0) why-is-node-running: 2.3.0 optionalDependencies: diff --git a/template/base/package.json b/template/base/package.json index 1bc5754a..fb5b0a14 100644 --- a/template/base/package.json +++ b/template/base/package.json @@ -11,7 +11,7 @@ }, "devDependencies": { "@vitejs/plugin-vue": "^5.2.1", - "vite": "^6.1.0", + "vite": "^6.2.0", "vite-plugin-vue-devtools": "^7.7.2" } } diff --git a/template/config/jsx/package.json b/template/config/jsx/package.json index 48102bb0..a61653ff 100644 --- a/template/config/jsx/package.json +++ b/template/config/jsx/package.json @@ -4,6 +4,6 @@ }, "devDependencies": { "@vitejs/plugin-vue-jsx": "^4.1.1", - "vite": "^6.1.0" + "vite": "^6.2.0" } } diff --git a/template/config/nightwatch/package.json b/template/config/nightwatch/package.json index 0652eb80..ce7f3586 100644 --- a/template/config/nightwatch/package.json +++ b/template/config/nightwatch/package.json @@ -9,7 +9,7 @@ "geckodriver": "^5.0.0", "nightwatch": "^3.11.1", "ts-node": "^10.9.2", - "vite": "^6.1.0", + "vite": "^6.2.0", "vite-plugin-nightwatch": "^0.4.6" } } From 313847dd05ae5c17bd14581ae1084ec4a91be690 Mon Sep 17 00:00:00 2001 From: btea <2356281422@qq.com> Date: Fri, 28 Feb 2025 18:07:02 +0800 Subject: [PATCH 08/20] fix: correctly set the package name value (#699) --- index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.ts b/index.ts index 744a6670..44ca81c4 100755 --- a/index.ts +++ b/index.ts @@ -386,7 +386,7 @@ async function init() { // so we still have to assign the default values here const { projectName, - packageName = projectName ?? defaultProjectName, + packageName = projectName.trim() || defaultProjectName, shouldOverwrite = argv.force as boolean, needsJsx = argv.jsx as boolean, needsTypeScript = (argv.ts || argv.typescript) as boolean, From 0b5d6a05466bf4fe08172978210109bcfe52fd17 Mon Sep 17 00:00:00 2001 From: Haoqun Jiang Date: Fri, 28 Feb 2025 18:55:59 +0800 Subject: [PATCH 09/20] fix: should throw error when an internal error is encountered Also fix the bug that no interactive prompt is provided, result.projectName would be undefined and cause an error. --- index.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/index.ts b/index.ts index 44ca81c4..0f0e6087 100755 --- a/index.ts +++ b/index.ts @@ -386,7 +386,7 @@ async function init() { // so we still have to assign the default values here const { projectName, - packageName = projectName.trim() || defaultProjectName, + packageName = projectName?.trim() || defaultProjectName, shouldOverwrite = argv.force as boolean, needsJsx = argv.jsx as boolean, needsTypeScript = (argv.ts || argv.typescript) as boolean, @@ -707,4 +707,5 @@ async function init() { init().catch((e) => { console.error(e) + process.exit(1) }) From b2a93862cfebd44259b90f43f5e714cb3bf595b4 Mon Sep 17 00:00:00 2001 From: tommyhu <129492208+hiTommyhu@users.noreply.github.com> Date: Fri, 28 Feb 2025 22:50:12 +0800 Subject: [PATCH 10/20] chore(postversion): use `const` instead of `let` (#700) --- scripts/postversion.mjs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/postversion.mjs b/scripts/postversion.mjs index e253475d..4d569fb0 100644 --- a/scripts/postversion.mjs +++ b/scripts/postversion.mjs @@ -6,7 +6,7 @@ $.verbose = true await $`pnpm build` await $`pnpm snapshot` -let { version } = JSON.parse(await fs.readFile('./package.json')) +const { version } = JSON.parse(await fs.readFile('./package.json')) const playgroundDir = path.resolve(__dirname, '../playground/') cd(playgroundDir) From 12a7b40ac2020d636fa41be1e4e1af62ccaf6b5f Mon Sep 17 00:00:00 2001 From: Haoqun Jiang Date: Sat, 1 Mar 2025 16:35:35 +0800 Subject: [PATCH 11/20] docs: mention `--bare` option in README [skip ci] --- README.md | 15 +++++++++++---- 1 file changed, 11 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 7e4131c4..56cebbc4 100644 --- a/README.md +++ b/README.md @@ -14,13 +14,20 @@ To create a new Vue project using `create-vue`, simply run the following command npm create vue@latest ``` -> [!NOTE] +> [!IMPORTANT] > (`@latest` or `@legacy`) MUST NOT be omitted, otherwise `npm` may resolve to a cached and outdated version of the package. -By default the command will run in interactive mode, but you can also provide feature flags in the CLI arguments to skip the prompts. Run `npm create vue@latest -- --help` to see all available options. +By default, the command runs in interactive mode with prompts. You can skip these prompts by providing feature flags as CLI arguments. To see all available feature flags and options: -> [!NOTE] -> If you're using PowerShell, you'll need to quote the `--`, that is, run `npm create vue@latest '--' --help`. +```sh +npm create vue@latest -- --help +``` + +This will show you various feature flags (like `--typescript`, `--router`) and options (like `--bare` for creating a project with minimal boilerplate). + +**PowerShell users:** You'll need to quote the double dashes: `npm create vue@latest '--' --help` + +### Creating Vue 2 Projects If you need to support IE11, you can create a Vue 2 project with: From 3aaddc6b4ef40fe1291cc5ce2d16c7bdbb5a6b1f Mon Sep 17 00:00:00 2001 From: Haoqun Jiang Date: Fri, 7 Mar 2025 13:56:50 +0800 Subject: [PATCH 12/20] feat!: use a giant multiselect instead of individual toggles for features (#695) As we are adding more features, the number of toggles is getting out of hand. A multiselect could save a few keystrokes for most users. I also take this opportunity to change the prompts library to `@clack/prompts`. (For context: `create-astro`, `sv`, `create-preact`, `create-solid`, `create-qwik` all use `@clack/prompts`, `create-vite` recently switched to `@clack/prompts` too, while `create-next-app` uses `prompts`) The color library is changed to `picocolors`. IMO `kleur` is still the smaller library because of treeshaking. But `@clack/prompts` already comes with `picocolors` as a dependency, so by not adding `kleur`, we save a few bytes. --- This is a proof-of-concept PR. I haven't put much consideration into the code style yet. Nor have I updated the i18n messages. I will do that if this change is accepted. See the result in a screen recording: [![asciicast](https://asciinema.org/a/Aq334bHe0tJBpuxLNQyVAyzXb.svg)](https://asciinema.org/a/Aq334bHe0tJBpuxLNQyVAyzXb) --- TODOs: - [x] Clean up the code (wrap the `isCancel` condition; update the `needsEslint` type, etc.) - [ ] I think we should remove the `packageName` related logic but it can be postponed into another PR - [ ] Get the message translations reviewed * chore: small formatting improvements to the intro/outro message [skip ci] Still much work to do. But it's acceptable for now. * chore: unselect -> deselect * refactor: update English prompts * docs: update all the locales with the new prompts * refactor: remove some duplicated or redundant code * refactor: further cleanup of codebase * build: remove alias for `prompts` package * docs: Update fr-FR.json [skip ci] * i18n: add translations for the "should not be empty" message --- LICENSE | 103 +++++----- index.ts | 467 +++++++++++++++++++------------------------ locales/en-US.json | 60 +++--- locales/fr-FR.json | 58 +++--- locales/tr-TR.json | 58 +++--- locales/zh-Hans.json | 58 +++--- locales/zh-Hant.json | 64 +++--- package.json | 4 +- pnpm-lock.yaml | 44 ++-- scripts/build.mjs | 15 -- utils/getLanguage.ts | 8 + 11 files changed, 450 insertions(+), 489 deletions(-) diff --git a/LICENSE b/LICENSE index 636ecdd3..27ac08fe 100644 --- a/LICENSE +++ b/LICENSE @@ -128,10 +128,44 @@ For more information, please see ## Licenses of bundled dependencies The published create-vue artifact additionally contains code with the following licenses: -MIT, Apache-2.0 +MIT, Apache-2.0, ISC ## Bundled dependencies +## @clack/core + +License: MIT +By: Nate Moore +Repository: git+https://github.com/natemoo-re/clack.git + +> MIT License +> +> Copyright (c) Nate Moore +> +> Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: +> +> The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. +> +> THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. +> + +## @clack/prompts + +License: MIT +By: Nate Moore +Repository: git+https://github.com/natemoo-re/clack.git + +> MIT License +> +> Copyright (c) Nate Moore +> +> Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: +> +> The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. +> +> THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. +> + ## @vue/create-eslint-config License: MIT @@ -371,62 +405,27 @@ Repository: git://github.com/mde/ejs.git > limitations under the License. > -## kleur - -License: MIT -By: Luke Edwards -Repository: git+https://github.com/lukeed/kleur.git - -> The MIT License (MIT) -> -> Copyright (c) Luke Edwards (lukeed.com) -> -> Permission is hereby granted, free of charge, to any person obtaining a copy -> of this software and associated documentation files (the "Software"), to deal -> in the Software without restriction, including without limitation the rights -> to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -> copies of the Software, and to permit persons to whom the Software is -> furnished to do so, subject to the following conditions: -> -> The above copyright notice and this permission notice shall be included in -> all copies or substantial portions of the Software. -> -> THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -> IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -> FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -> AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -> LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -> OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -> THE SOFTWARE. -> - -## prompts +## picocolors -License: MIT -By: Terkel Gjervig -Repository: git+https://github.com/terkelg/prompts.git +License: ISC +By: Alexey Raspopov +Repository: git+https://github.com/alexeyraspopov/picocolors.git -> MIT License -> -> Copyright (c) 2018 Terkel Gjervig Nielsen +> ISC License > -> Permission is hereby granted, free of charge, to any person obtaining a copy -> of this software and associated documentation files (the "Software"), to deal -> in the Software without restriction, including without limitation the rights -> to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -> copies of the Software, and to permit persons to whom the Software is -> furnished to do so, subject to the following conditions: +> Copyright (c) 2021-2024 Oleksii Raspopov, Kostiantyn Denysov, Anton Verinov > -> The above copyright notice and this permission notice shall be included in all -> copies or substantial portions of the Software. +> Permission to use, copy, modify, and/or distribute this software for any +> purpose with or without fee is hereby granted, provided that the above +> copyright notice and this permission notice appear in all copies. > -> THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -> IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -> FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -> AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -> LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -> OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -> SOFTWARE. +> THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES +> WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF +> MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR +> ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES +> WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN +> ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF +> OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. > ## sisteransi diff --git a/index.ts b/index.ts index 0f0e6087..6ef6c51d 100755 --- a/index.ts +++ b/index.ts @@ -4,9 +4,8 @@ import * as fs from 'node:fs' import * as path from 'node:path' import { parseArgs } from 'node:util' - -import prompts from 'prompts' -import { red, green, cyan, bold } from 'kleur/colors' +import { intro, outro, text, confirm, multiselect, select, isCancel, cancel } from '@clack/prompts' +import { red, green, cyan, bold, dim } from 'picocolors' import ejs from 'ejs' @@ -22,6 +21,72 @@ import { trimBoilerplate, removeCSSImport, emptyRouterConfig } from './utils/tri import cliPackageJson from './package.json' +const language = getLanguage() + +const FEATURE_FLAGS = [ + 'default', + 'ts', + 'typescript', + 'jsx', + 'router', + 'vue-router', + 'pinia', + 'tests', + 'with-tests', + 'vitest', + 'cypress', + 'nightwatch', + 'playwright', + 'eslint', + 'prettier', + 'eslint-with-oxlint', + 'eslint-with-prettier', +] as const + +const FEATURE_OPTIONS = [ + { + value: 'typescript', + label: language.needsTypeScript.message, + }, + { + value: 'jsx', + label: language.needsJsx.message, + }, + { + value: 'router', + label: language.needsRouter.message, + }, + { + value: 'pinia', + label: language.needsPinia.message, + }, + { + value: 'vitest', + label: language.needsVitest.message, + }, + { + value: 'e2e', + label: language.needsE2eTesting.message, + }, + { + value: 'eslint', + label: language.needsEslint.message, + }, + { + value: 'prettier', + label: language.needsPrettier.message, + }, +] as const + +type PromptResult = { + projectName?: string + shouldOverwrite?: boolean + packageName?: string + features?: (typeof FEATURE_OPTIONS)[number]['value'][] + e2eFramework?: 'cypress' | 'nightwatch' | 'playwright' + experimentOxlint?: boolean +} + function isValidPackageName(projectName) { return /^(?:@[a-z0-9-*~][a-z0-9-*._~]*\/)?[a-z0-9-~][a-z0-9-._~]*$/.test(projectName) } @@ -63,6 +128,16 @@ function emptyDir(dir) { ) } +async function unwrapPrompt(maybeCancelPromise: Promise): Promise { + const result = await maybeCancelPromise + + if (isCancel(result)) { + cancel(red('✖') + ` ${language.errors.operationCancelled}`) + process.exit(0) + } + return result +} + const helpMessage = `\ Usage: create-vue [FEATURE_FLAGS...] [OPTIONS...] [DIRECTORY] @@ -120,29 +195,7 @@ async function init() { const args = process.argv.slice(2) // // alias is not supported by parseArgs so we declare all the flags altogether - const flags = [ - 'default', - 'typescript', - 'ts', - 'jsx', - 'router', - 'vue-router', - 'pinia', - 'vitest', - 'cypress', - 'playwright', - 'nightwatch', - 'eslint', - 'eslint-with-oxlint', - 'eslint-with-prettier', - 'prettier', - 'tests', - 'with-tests', - 'force', - 'bare', - 'help', - 'version', - ] as const + const flags = [...FEATURE_FLAGS, 'force', 'bare', 'help', 'version'] as const type CLIOptions = { [key in (typeof flags)[number]]: { readonly type: 'boolean' } } @@ -166,253 +219,147 @@ async function init() { } // if any of the feature flags is set, we would skip the feature prompts - const isFeatureFlagsUsed = - typeof ( - argv.default ?? - argv.ts ?? - argv.typescript ?? - argv.jsx ?? - argv.router ?? - argv['vue-router'] ?? - argv.pinia ?? - argv.tests ?? - argv['with-tests'] ?? - argv.vitest ?? - argv.cypress ?? - argv.nightwatch ?? - argv.playwright ?? - argv.eslint ?? - argv.prettier ?? - argv['eslint-with-oxlint'] ?? - argv['eslint-with-prettier'] - ) === 'boolean' + const isFeatureFlagsUsed = FEATURE_FLAGS.some((flag) => typeof argv[flag] === 'boolean') let targetDir = positionals[0] - const defaultProjectName = !targetDir ? 'vue-project' : targetDir + const defaultProjectName = targetDir || 'vue-project' const forceOverwrite = argv.force - const language = getLanguage() - - let result: { - projectName?: string - shouldOverwrite?: boolean - packageName?: string - needsTypeScript?: boolean - needsJsx?: boolean - needsRouter?: boolean - needsPinia?: boolean - needsVitest?: boolean - needsE2eTesting?: false | 'cypress' | 'nightwatch' | 'playwright' - needsEslint?: false | 'eslintOnly' | 'speedUpWithOxlint' - needsOxlint?: boolean - needsPrettier?: boolean - } = {} - - console.log() - console.log( + const result: PromptResult = { + projectName: defaultProjectName, + shouldOverwrite: forceOverwrite, + packageName: defaultProjectName, + features: [], + e2eFramework: undefined, + experimentOxlint: false, + } + + intro( process.stdout.isTTY && process.stdout.getColorDepth() > 8 ? banners.gradientBanner : banners.defaultBanner, ) - console.log() - - try { - // Prompts: - // - Project name: - // - whether to overwrite the existing directory or not? - // - enter a valid package name for package.json - // - Project language: JavaScript / TypeScript - // - Add JSX Support? - // - Install Vue Router for SPA development? - // - Install Pinia for state management? - // - Add Cypress for testing? - // - Add Nightwatch for testing? - // - Add Playwright for end-to-end testing? - // - Add ESLint for code quality? - // - Add Prettier for code formatting? - result = await prompts( - [ - { - name: 'projectName', - type: targetDir ? null : 'text', - message: language.projectName.message, - initial: defaultProjectName, - onState: (state) => (targetDir = String(state.value).trim() || defaultProjectName), - }, - { - name: 'shouldOverwrite', - type: () => (canSkipEmptying(targetDir) || forceOverwrite ? null : 'toggle'), - message: () => { - const dirForPrompt = - targetDir === '.' - ? language.shouldOverwrite.dirForPrompts.current - : `${language.shouldOverwrite.dirForPrompts.target} "${targetDir}"` - - return `${dirForPrompt} ${language.shouldOverwrite.message}` - }, - initial: true, - active: language.defaultToggleOptions.active, - inactive: language.defaultToggleOptions.inactive, - }, - { - name: 'overwriteChecker', - type: (prev, values) => { - if (values.shouldOverwrite === false) { - throw new Error(red('✖') + ` ${language.errors.operationCancelled}`) - } - return null - }, - }, - { - name: 'packageName', - type: () => (isValidPackageName(targetDir) ? null : 'text'), - message: language.packageName.message, - initial: () => toValidPackageName(targetDir), - validate: (dir) => isValidPackageName(dir) || language.packageName.invalidMessage, - }, - { - name: 'needsTypeScript', - type: () => (isFeatureFlagsUsed ? null : 'toggle'), - message: language.needsTypeScript.message, - initial: false, - active: language.defaultToggleOptions.active, - inactive: language.defaultToggleOptions.inactive, - }, - { - name: 'needsJsx', - type: () => (isFeatureFlagsUsed ? null : 'toggle'), - message: language.needsJsx.message, - initial: false, - active: language.defaultToggleOptions.active, - inactive: language.defaultToggleOptions.inactive, - }, - { - name: 'needsRouter', - type: () => (isFeatureFlagsUsed ? null : 'toggle'), - message: language.needsRouter.message, - initial: false, - active: language.defaultToggleOptions.active, - inactive: language.defaultToggleOptions.inactive, - }, - { - name: 'needsPinia', - type: () => (isFeatureFlagsUsed ? null : 'toggle'), - message: language.needsPinia.message, - initial: false, - active: language.defaultToggleOptions.active, - inactive: language.defaultToggleOptions.inactive, - }, - { - name: 'needsVitest', - type: () => (isFeatureFlagsUsed ? null : 'toggle'), - message: language.needsVitest.message, - initial: false, - active: language.defaultToggleOptions.active, - inactive: language.defaultToggleOptions.inactive, - }, - { - name: 'needsE2eTesting', - type: () => (isFeatureFlagsUsed ? null : 'select'), - hint: language.needsE2eTesting.hint, - message: language.needsE2eTesting.message, - initial: 0, - choices: (prev, answers) => [ + + if (!targetDir) { + targetDir = + result.projectName = + result.packageName = + await unwrapPrompt( + text({ + message: language.projectName.message, + placeholder: defaultProjectName, + validate: (value) => + value.trim().length > 0 ? undefined : language.projectName.invalidMessage, + }), + ) + } + + if (!canSkipEmptying(targetDir) && !forceOverwrite) { + result.shouldOverwrite = await unwrapPrompt( + confirm({ + message: `${ + targetDir === '.' + ? language.shouldOverwrite.dirForPrompts.current + : `${language.shouldOverwrite.dirForPrompts.target} "${targetDir}"` + } ${language.shouldOverwrite.message}`, + initialValue: false, + }), + ) + + if (!result.shouldOverwrite) { + cancel(red('✖') + ` ${language.errors.operationCancelled}`) + process.exit(0) + } + } + + if (!isValidPackageName(targetDir)) { + result.packageName = await unwrapPrompt( + text({ + message: language.packageName.message, + initialValue: toValidPackageName(targetDir), + validate: (value) => + isValidPackageName(value) ? undefined : language.packageName.invalidMessage, + }), + ) + } + + if (!isFeatureFlagsUsed) { + result.features = await unwrapPrompt( + multiselect({ + message: `${language.featureSelection.message} ${dim(language.featureSelection.hint)}`, + // @ts-expect-error @clack/prompt's type doesn't support readonly array yet + options: FEATURE_OPTIONS, + required: false, + }), + ) + + if (result.features.includes('e2e')) { + const hasVitest = result.features.includes('vitest') + result.e2eFramework = await unwrapPrompt( + select({ + message: `${language.e2eSelection.message} ${dim(language.e2eSelection.hint)}`, + options: [ { - title: language.needsE2eTesting.selectOptions.negative.title, - value: false, + value: 'playwright', + label: language.e2eSelection.selectOptions.playwright.title, + hint: language.e2eSelection.selectOptions.playwright.desc, }, { - title: language.needsE2eTesting.selectOptions.cypress.title, - description: answers.needsVitest - ? undefined - : language.needsE2eTesting.selectOptions.cypress.desc, value: 'cypress', + label: language.e2eSelection.selectOptions.cypress.title, + hint: hasVitest + ? language.e2eSelection.selectOptions.cypress.desc + : language.e2eSelection.selectOptions.cypress.hintOnComponentTesting!, }, { - title: language.needsE2eTesting.selectOptions.nightwatch.title, - description: answers.needsVitest - ? undefined - : language.needsE2eTesting.selectOptions.nightwatch.desc, value: 'nightwatch', - }, - { - title: language.needsE2eTesting.selectOptions.playwright.title, - value: 'playwright', + label: language.e2eSelection.selectOptions.nightwatch.title, + hint: hasVitest + ? language.e2eSelection.selectOptions.nightwatch.desc + : language.e2eSelection.selectOptions.nightwatch.hintOnComponentTesting!, }, ], - }, - { - name: 'needsEslint', - type: () => (isFeatureFlagsUsed ? null : 'select'), - message: language.needsEslint.message, - initial: 0, - choices: [ - { - title: language.needsEslint.selectOptions.negative.title, - value: false, - }, - { - title: language.needsEslint.selectOptions.eslintOnly.title, - value: 'eslintOnly', - }, - { - title: language.needsEslint.selectOptions.speedUpWithOxlint.title, - value: 'speedUpWithOxlint', - }, - ], - }, - { - name: 'needsPrettier', - type: () => (isFeatureFlagsUsed ? null : 'toggle'), - message: language.needsPrettier.message, - initial: false, - active: language.defaultToggleOptions.active, - inactive: language.defaultToggleOptions.inactive, - }, - ], - { - onCancel: () => { - throw new Error(red('✖') + ` ${language.errors.operationCancelled}`) - }, - }, - ) - } catch (cancelled) { - console.log(cancelled.message) - process.exit(1) - } - - // `initial` won't take effect if the prompt type is null - // so we still have to assign the default values here - const { - projectName, - packageName = projectName?.trim() || defaultProjectName, - shouldOverwrite = argv.force as boolean, - needsJsx = argv.jsx as boolean, - needsTypeScript = (argv.ts || argv.typescript) as boolean, - needsRouter = (argv.router || argv['vue-router']) as boolean, - needsPinia = argv.pinia as boolean, - needsVitest = (argv.vitest || argv.tests) as boolean, - needsPrettier = (argv.prettier || argv['eslint-with-prettier']) as boolean, - } = result - - const needsEslint = Boolean( - argv.eslint || argv['eslint-with-oxlint'] || argv['eslint-with-prettier'] || result.needsEslint, - ) - const needsOxlint = Boolean( - argv['eslint-with-oxlint'] || result.needsEslint === 'speedUpWithOxlint', - ) + }), + ) + } + + if (result.features.includes('eslint')) { + result.experimentOxlint = await unwrapPrompt( + confirm({ + message: language.needsOxlint.message, + initialValue: false, + }), + ) + } + } - const { needsE2eTesting } = result - const needsCypress = argv.cypress || argv.tests || needsE2eTesting === 'cypress' + const { features } = result + + const needsTypeScript = argv.ts || argv.typescript || features.includes('typescript') + const needsJsx = argv.jsx || features.includes('jsx') + const needsRouter = argv.router || argv['vue-router'] || features.includes('router') + const needsPinia = argv.pinia || features.includes('pinia') + const needsVitest = argv.vitest || argv.tests || features.includes('vitest') + const needsEslint = + argv.eslint || + argv['eslint-with-oxlint'] || + argv['eslint-with-prettier'] || + features.includes('eslint') + const needsPrettier = + argv.prettier || argv['eslint-with-prettier'] || features.includes('prettier') + const needsOxlint = argv['eslint-with-oxlint'] || result.experimentOxlint + + const { e2eFramework } = result + const needsCypress = argv.cypress || argv.tests || e2eFramework === 'cypress' const needsCypressCT = needsCypress && !needsVitest - const needsNightwatch = argv.nightwatch || needsE2eTesting === 'nightwatch' + const needsNightwatch = argv.nightwatch || e2eFramework === 'nightwatch' const needsNightwatchCT = needsNightwatch && !needsVitest - const needsPlaywright = argv.playwright || needsE2eTesting === 'playwright' + const needsPlaywright = argv.playwright || e2eFramework === 'playwright' const root = path.join(cwd, targetDir) - if (fs.existsSync(root) && shouldOverwrite) { + if (fs.existsSync(root) && result.shouldOverwrite) { emptyDir(root) } else if (!fs.existsSync(root)) { fs.mkdirSync(root) @@ -420,7 +367,7 @@ async function init() { console.log(`\n${language.infos.scaffolding} ${root}...`) - const pkg = { name: packageName, version: '0.0.0' } + const pkg = { name: result.packageName, version: '0.0.0' } fs.writeFileSync(path.resolve(root, 'package.json'), JSON.stringify(pkg, null, 2)) // todo: @@ -690,19 +637,23 @@ async function init() { }), ) - console.log(`\n${language.infos.done}\n`) + let outroMessage = `${language.infos.done}\n\n` if (root !== cwd) { const cdProjectName = path.relative(cwd, root) - console.log( - ` ${bold(green(`cd ${cdProjectName.includes(' ') ? `"${cdProjectName}"` : cdProjectName}`))}`, - ) + outroMessage += ` ${bold(green(`cd ${cdProjectName.includes(' ') ? `"${cdProjectName}"` : cdProjectName}`))}\n` } - console.log(` ${bold(green(getCommand(packageManager, 'install')))}`) + outroMessage += ` ${bold(green(getCommand(packageManager, 'install')))}\n` if (needsPrettier) { - console.log(` ${bold(green(getCommand(packageManager, 'format')))}`) + outroMessage += ` ${bold(green(getCommand(packageManager, 'format')))}\n` } - console.log(` ${bold(green(getCommand(packageManager, 'dev')))}`) - console.log() + outroMessage += ` ${bold(green(getCommand(packageManager, 'dev')))}\n` + + outroMessage += ` +${dim('|')} ${language.infos.optionalGitCommand} + + ${bold(green('git init && git add -A && git commit -m "initial commit"'))}` + + outro(outroMessage) } init().catch((e) => { diff --git a/locales/en-US.json b/locales/en-US.json index d1f8a169..24c335dc 100644 --- a/locales/en-US.json +++ b/locales/en-US.json @@ -1,63 +1,66 @@ { "projectName": { - "message": "Project name:" + "message": "Project name (target directory):", + "invalidMessage": "Should not be empty" }, "shouldOverwrite": { "dirForPrompts": { "current": "Current directory", "target": "Target directory" }, - "message": "is not empty. Remove existing files and continue?" + "message": "is not empty. Remove existing files and continue" }, "packageName": { "message": "Package name:", "invalidMessage": "Invalid package.json name" }, + "featureSelection": { + "message": "Select features to include in your project:", + "hint": "(↑/↓ to navigate, space to select, a to toggle all, enter to confirm)" + }, "needsTypeScript": { - "message": "Add TypeScript?" + "message": "TypeScript" }, "needsJsx": { - "message": "Add JSX Support?" + "message": "JSX Support" }, "needsRouter": { - "message": "Add Vue Router for Single Page Application development?" + "message": "Router (SPA development)" }, "needsPinia": { - "message": "Add Pinia for state management?" + "message": "Pinia (state management)" }, "needsVitest": { - "message": "Add Vitest for Unit Testing?" + "message": "Vitest (unit testing)" }, "needsE2eTesting": { - "message": "Add an End-to-End Testing Solution?", - "hint": "- Use arrow-keys. Return to submit.", + "message": "End-to-End Testing" + }, + "needsEslint": { + "message": "ESLint (error prevention)" + }, + "needsPrettier": { + "message": "Prettier (code formatting)" + }, + "e2eSelection": { + "message": "Select an End-to-End testing framework:", + "hint": "(↑/↓ to navigate, enter to confirm)", "selectOptions": { - "negative": { "title": "No" }, + "playwright": { "title": "Playwright", "desc": "https://playwright.dev/" }, "cypress": { "title": "Cypress", - "desc": "also supports unit testing with Cypress Component Testing" + "desc": "https://www.cypress.io/", + "hintOnComponentTesting": "also supports unit testing with Cypress Component Testing - https://www.cypress.io/" }, "nightwatch": { "title": "Nightwatch", - "desc": "also supports unit testing with Nightwatch Component Testing" - }, - "playwright": { "title": "Playwright" } - } - }, - "needsEslint": { - "message": "Add ESLint for code quality?", - "selectOptions": { - "negative": { "title": "No" }, - "eslintOnly": { - "title": "Yes" - }, - "speedUpWithOxlint": { - "title": "Yes, and speed up with Oxlint (experimental)" + "desc": "https://nightwatchjs.org/", + "hintOnComponentTesting": "also supports unit testing with Nightwatch Component Testing - https://nightwatchjs.org/" } } }, - "needsPrettier": { - "message": "Add Prettier for code formatting?" + "needsOxlint": { + "message": "Install Oxlint for faster linting? (experimental)" }, "errors": { "operationCancelled": "Operation cancelled" @@ -68,6 +71,7 @@ }, "infos": { "scaffolding": "Scaffolding project in", - "done": "Done. Now run:" + "done": "Done. Now run:", + "optionalGitCommand": "Optional: Initialize Git in your project directory with:" } } diff --git a/locales/fr-FR.json b/locales/fr-FR.json index 9ff6d131..480df305 100644 --- a/locales/fr-FR.json +++ b/locales/fr-FR.json @@ -1,6 +1,7 @@ { "projectName": { - "message": "Nom du projet\u00a0:" + "message": "Nom du projet\u00a0:", + "invalidMessage": "Ne doit pas être vide" }, "shouldOverwrite": { "dirForPrompts": { @@ -13,51 +14,53 @@ "message": "Nom du package\u00a0:", "invalidMessage": "Le nom du package.json est invalide" }, + "featureSelection": { + "message": "Sélectionnez les fonctionnalités à inclure dans votre projet\u00a0:", + "hint": "(↑/↓ pour naviguer, espace pour sélectionner, a pour tout sélectionner, entrée pour confirmer)" + }, "needsTypeScript": { - "message": "Ajouter TypeScript\u00a0?" + "message": "TypeScript" }, "needsJsx": { - "message": "Ajouter le support de JSX\u00a0?" + "message": "Support de JSX" }, "needsRouter": { - "message": "Ajouter Vue Router pour le développement d'applications _single page_\u00a0?" + "message": "Router (développement SPA)" }, "needsPinia": { - "message": "Ajouter Pinia pour la gestion de l'état\u00a0?" + "message": "Pinia (gestion de l'état)" }, "needsVitest": { - "message": "Ajouter Vitest pour les tests unitaires\u00a0?" + "message": "Vitest (tests unitaires)" }, "needsE2eTesting": { - "message": "Ajouter une solution de test de bout en bout (e2e)\u00a0?", - "hint": "- Utilisez les flèches et appuyez sur la touche Entrée pour valider", + "message": "Tests de bout en bout" + }, + "needsEslint": { + "message": "ESLint (prévention des erreurs)" + }, + "needsPrettier": { + "message": "Prettier (formatage du code)" + }, + "e2eSelection": { + "message": "Sélectionnez un framework de test de bout en bout\u00a0:", + "hint": "(↑/↓ pour naviguer, entrée pour confirmer)", "selectOptions": { - "negative": { "title": "Non" }, + "playwright": { "title": "Playwright", "desc": "https://playwright.dev/" }, "cypress": { "title": "Cypress", - "desc": "prend également en charge les tests unitaires avec Cypress Component Testing" + "desc": "https://www.cypress.io/", + "hintOnComponentTesting": "prend également en charge les tests unitaires avec Cypress Component Testing - https://www.cypress.io/" }, "nightwatch": { "title": "Nightwatch", - "desc": "prend également en charge les tests unitaires avec Nightwatch Component Testing" - }, - "playwright": { "title": "Playwright" } - } - }, - "needsEslint": { - "message": "Ajouter ESLint pour la qualité du code\u00a0?", - "selectOptions": { - "negative": { "title": "Non" }, - "eslintOnly": { - "title": "Oui" - }, - "speedUpWithOxlint": { - "title": "Oui, et accélérer avec Oxlint (expérimental)" + "desc": "https://nightwatchjs.org/", + "hintOnComponentTesting": "prend également en charge les tests unitaires avec Nightwatch Component Testing - https://nightwatchjs.org/" } } }, - "needsPrettier": { - "message": "Ajouter Prettier pour le formatage du code\u00a0?" + "needsOxlint": { + "message": "Installer Oxlint pour un linting plus rapide\u00a0? (expérimental)" }, "errors": { "operationCancelled": "Operation annulée" @@ -68,6 +71,7 @@ }, "infos": { "scaffolding": "Génération du projet dans", - "done": "Terminé. Exécutez maintenant\u00a0:" + "done": "Terminé. Exécutez maintenant\u00a0:", + "optionalGitCommand": "Optionnel\u00a0: Initialisez Git dans votre répertoire de projet avec\u00a0:" } } diff --git a/locales/tr-TR.json b/locales/tr-TR.json index 323acac1..60c71a2c 100644 --- a/locales/tr-TR.json +++ b/locales/tr-TR.json @@ -1,6 +1,7 @@ { "projectName": { - "message": "Proje adı:" + "message": "Proje adı:", + "invalidMessage": "Boş bırakılamaz" }, "shouldOverwrite": { "dirForPrompts": { @@ -13,51 +14,53 @@ "message": "Paket adı:", "invalidMessage": "Geçersiz package.json adı" }, + "featureSelection": { + "message": "Projenize eklenecek özellikleri seçin:", + "hint": "(↑/↓ gezinmek için, boşluk seçmek için, a tümünü seçmek için, enter onaylamak için)" + }, "needsTypeScript": { - "message": "TypeScript Eklensin mi?" + "message": "TypeScript" }, "needsJsx": { - "message": "JSX Desteği Eklensin mi?" + "message": "JSX Desteği" }, "needsRouter": { - "message": "Tek Sayfa Uygulama geliştirilmesi için Vue Router eklensin mi?" + "message": "Router (SPA geliştirme)" }, "needsPinia": { - "message": "Durum yönetimi için Pinia eklensin mi?" + "message": "Pinia (durum yönetimi)" }, "needsVitest": { - "message": "Birim Testi için Vitest eklensin mi?" + "message": "Vitest (birim testi)" }, "needsE2eTesting": { - "message": "Uçtan Uca Test Çözümü Eklensin mi?", - "hint": "- Ok tuşlarını kullan. Gönderime geri dön.", + "message": "Uçtan Uca Test" + }, + "needsEslint": { + "message": "ESLint (hata önleme)" + }, + "needsPrettier": { + "message": "Prettier (kod formatlama)" + }, + "e2eSelection": { + "message": "Bir Uçtan Uca test çerçevesi seçin:", + "hint": "(↑/↓ gezinmek için, enter onaylamak için)", "selectOptions": { - "negative": { "title": "Hayır" }, + "playwright": { "title": "Playwright", "desc": "https://playwright.dev/" }, "cypress": { "title": "Cypress", - "desc": "ayrıca Cypress Bileşen Testi ile birim testini de destekler" + "desc": "https://www.cypress.io/", + "hintOnComponentTesting": "ayrıca Cypress Bileşen Testi ile birim testini de destekler - https://www.cypress.io/" }, "nightwatch": { "title": "Nightwatch", - "desc": "ayrıca Nightwatch Bileşen Testi ile birim testini de destekler" - }, - "playwright": { "title": "Playwright" } - } - }, - "needsEslint": { - "message": "Kod kalitesi için ESLint eklensin mi?", - "selectOptions": { - "negative": { "title": "Hayır" }, - "eslintOnly": { - "title": "Evet" - }, - "speedUpWithOxlint": { - "title": "Evet ve Oxlint ile hızlanın (deneysel)" + "desc": "https://nightwatchjs.org/", + "hintOnComponentTesting": "ayrıca Nightwatch Bileşen Testi ile birim testini de destekler - https://nightwatchjs.org/" } } }, - "needsPrettier": { - "message": "Kod formatlama için Prettier eklensin mi?" + "needsOxlint": { + "message": "Daha hızlı linting için Oxlint eklensin mi? (deneysel)" }, "errors": { "operationCancelled": "İşlem iptal edildi" @@ -68,6 +71,7 @@ }, "infos": { "scaffolding": "İskele projesi", - "done": "Tamamlandı. Şimdi bunu çalıştır:" + "done": "Tamamlandı. Şimdi bunu çalıştır:", + "optionalGitCommand": "İsteğe bağlı: Proje dizininizde Git'i şununla başlatın:" } } diff --git a/locales/zh-Hans.json b/locales/zh-Hans.json index c74002f0..92e367ad 100644 --- a/locales/zh-Hans.json +++ b/locales/zh-Hans.json @@ -1,6 +1,7 @@ { "projectName": { - "message": "请输入项目名称:" + "message": "请输入项目名称:", + "invalidMessage": "不能为空" }, "shouldOverwrite": { "dirForPrompts": { @@ -13,51 +14,53 @@ "message": "请输入包名称:", "invalidMessage": "无效的 package.json 名称" }, + "featureSelection": { + "message": "请选择要包含的功能:", + "hint": "(↑/↓ 切换,空格选择,a 全选,回车确认)" + }, "needsTypeScript": { - "message": "是否使用 TypeScript 语法?" + "message": "TypeScript" }, "needsJsx": { - "message": "是否启用 JSX 支持?" + "message": "JSX 支持" }, "needsRouter": { - "message": "是否引入 Vue Router 进行单页面应用开发?" + "message": "Router(单页面应用开发)" }, "needsPinia": { - "message": "是否引入 Pinia 用于状态管理?" + "message": "Pinia(状态管理)" }, "needsVitest": { - "message": "是否引入 Vitest 用于单元测试?" + "message": "Vitest(单元测试)" }, "needsE2eTesting": { - "message": "是否要引入一款端到端(End to End)测试工具?", - "hint": "- 使用箭头切换按Enter确认。", + "message": "端到端测试" + }, + "needsEslint": { + "message": "ESLint(错误预防)" + }, + "needsPrettier": { + "message": "Prettier(代码格式化)" + }, + "e2eSelection": { + "message": "选择一个端到端测试框架:", + "hint": "(↑/↓ 切换,回车确认)", "selectOptions": { - "negative": { "title": "不需要" }, + "playwright": { "title": "Playwright", "desc": "https://playwright.dev/" }, "cypress": { "title": "Cypress", - "desc": "同时支持基于 Cypress Component Testing 的单元测试" + "desc": "https://www.cypress.io/", + "hintOnComponentTesting": "同时支持基于 Cypress Component Testing 的单元测试 - https://www.cypress.io/" }, "nightwatch": { "title": "Nightwatch", - "desc": "同时支持基于 Nightwatch Component Testing 的单元测试" - }, - "playwright": { "title": "Playwright" } - } - }, - "needsEslint": { - "message": "是否引入 ESLint 用于代码质量检测?", - "selectOptions": { - "negative": { "title": "否" }, - "eslintOnly": { - "title": "是" - }, - "speedUpWithOxlint": { - "title": "是,并同时引入 Oxlint 以加快检测(试验阶段)" + "desc": "https://nightwatchjs.org/", + "hintOnComponentTesting": "同时支持基于 Nightwatch Component Testing 的单元测试 - https://nightwatchjs.org/" } } }, - "needsPrettier": { - "message": "是否引入 Prettier 用于代码格式化?" + "needsOxlint": { + "message": "是否引入 Oxlint 以加快检测?(试验阶段)" }, "errors": { "operationCancelled": "操作取消" @@ -68,6 +71,7 @@ }, "infos": { "scaffolding": "正在初始化项目", - "done": "项目初始化完成,可执行以下命令:" + "done": "项目初始化完成,可执行以下命令:", + "optionalGitCommand": "可选:使用以下命令在项目目录中初始化 Git:" } } diff --git a/locales/zh-Hant.json b/locales/zh-Hant.json index 4837230e..d7b80b95 100644 --- a/locales/zh-Hant.json +++ b/locales/zh-Hant.json @@ -1,11 +1,12 @@ { "projectName": { - "message": "請輸入專案名稱:" + "message": "請輸入專案名稱:", + "invalidMessage": "不能為空" }, "shouldOverwrite": { "dirForPrompts": { "current": "當前資料夾", - "target": "目標資料夾:" + "target": "目標資料夾" }, "message": "非空,是否覆蓋?" }, @@ -13,55 +14,53 @@ "message": "請輸入套件名稱:", "invalidMessage": "無效的 package.json 名稱" }, + "featureSelection": { + "message": "請選擇要包含的功能:", + "hint": "(↑/↓ 切換,空格選擇,a 全選,enter 確認)" + }, "needsTypeScript": { - "message": "是否使用 TypeScript?" + "message": "TypeScript" }, "needsJsx": { - "message": "是否啟用 JSX 支援?" + "message": "JSX 支援" }, "needsRouter": { - "message": "是否引入 Vue Router 進行單頁應用程式開發?" + "message": "Router(單頁應用程式開發)" }, "needsPinia": { - "message": "是否引入 Pinia 用於狀態管理?" + "message": "Pinia(狀態管理)" }, "needsVitest": { - "message": "是否引入 Vitest 用於單元測試" + "message": "Vitest(單元測試)" }, "needsE2eTesting": { - "message": "是否要引入一款端對端(End to End)測試工具?", - "hint": "- 使用箭頭切換按 Enter 確認。", + "message": "端對端測試" + }, + "needsEslint": { + "message": "ESLint(錯誤預防)" + }, + "needsPrettier": { + "message": "Prettier(程式碼格式化)" + }, + "e2eSelection": { + "message": "選擇一個端對端測試框架:", + "hint": "(↑/↓ 切換,enter 確認)", "selectOptions": { - "negative": { - "title": "不需要" - }, + "playwright": { "title": "Playwright", "desc": "https://playwright.dev/" }, "cypress": { "title": "Cypress", - "desc": "同時支援基於 Cypress Component Testing 的單元測試" + "desc": "https://www.cypress.io/", + "hintOnComponentTesting": "同時支援基於 Cypress Component Testing 的單元測試 - https://www.cypress.io/" }, "nightwatch": { "title": "Nightwatch", - "desc": "同時支援基於 Nightwatch Component Testing 的單元測試" - }, - "playwright": { - "title": "Playwright" + "desc": "https://nightwatchjs.org/", + "hintOnComponentTesting": "同時支援基於 Nightwatch Component Testing 的單元測試 - https://nightwatchjs.org/" } } }, - "needsEslint": { - "message": "是否引入 ESLint 用於程式碼品質檢測?", - "selectOptions": { - "negative": { "title": "否" }, - "eslintOnly": { - "title": "是" - }, - "speedUpWithOxlint": { - "title": "是,並同時引入 Oxlint 以加快檢測(試驗性功能)" - } - } - }, - "needsPrettier": { - "message": "是否引入 Prettier 用於程式碼格式化?" + "needsOxlint": { + "message": "是否引入 Oxlint 以加快檢測?(試驗性功能)" }, "errors": { "operationCancelled": "操作取消" @@ -72,6 +71,7 @@ }, "infos": { "scaffolding": "正在建置專案", - "done": "專案建置完成,可執行以下命令:" + "done": "專案建置完成,可執行以下命令:", + "optionalGitCommand": "可選:使用以下命令在專案目錄中初始化 Git:" } } diff --git a/package.json b/package.json index 0e2d523d..e009326d 100644 --- a/package.json +++ b/package.json @@ -39,6 +39,7 @@ }, "homepage": "https://github.com/vuejs/create-vue#readme", "devDependencies": { + "@clack/prompts": "^0.10.0", "@tsconfig/node22": "^22.0.0", "@types/eslint": "^9.6.1", "@types/node": "^22.13.5", @@ -49,10 +50,9 @@ "esbuild": "^0.25.0", "esbuild-plugin-license": "^1.2.3", "husky": "^9.1.7", - "kleur": "^4.1.5", "lint-staged": "^15.4.3", + "picocolors": "^1.1.1", "prettier": "3.5.1", - "prompts": "^2.4.2", "vitest": "^3.0.7", "zx": "^8.3.2" }, diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 05e0b953..73c6a888 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -8,6 +8,9 @@ importers: .: devDependencies: + '@clack/prompts': + specifier: ^0.10.0 + version: 0.10.0 '@tsconfig/node22': specifier: ^22.0.0 version: 22.0.0 @@ -38,18 +41,15 @@ importers: husky: specifier: ^9.1.7 version: 9.1.7 - kleur: - specifier: ^4.1.5 - version: 4.1.5 lint-staged: specifier: ^15.4.3 version: 15.4.3 + picocolors: + specifier: ^1.1.1 + version: 1.1.1 prettier: specifier: 3.5.1 version: 3.5.1 - prompts: - specifier: ^2.4.2 - version: 2.4.2 vitest: specifier: ^3.0.7 version: 3.0.7(@types/node@22.13.5)(jsdom@26.0.0)(yaml@2.7.0) @@ -369,6 +369,12 @@ packages: '@bazel/runfiles@6.3.1': resolution: {integrity: sha512-1uLNT5NZsUVIGS4syuHwTzZ8HycMPyr6POA3FCE4GbMtc4rhoJk8aZKtNIRthJYfL+iioppi+rTfH3olMPr9nA==} + '@clack/core@0.4.1': + resolution: {integrity: sha512-Pxhij4UXg8KSr7rPek6Zowm+5M22rbd2g1nfojHJkxp5YkFqiZ2+YLEM/XGVIzvGOcM0nqjIFxrpDwWRZYWYjA==} + + '@clack/prompts@0.10.0': + resolution: {integrity: sha512-H3rCl6CwW1NdQt9rE3n373t7o5cthPv7yUoxF2ytZvyvlJv89C5RYMJu83Hed8ODgys5vpBU0GKxIRG83jd8NQ==} + '@colors/colors@1.5.0': resolution: {integrity: sha512-ooWCrlZP11i8GImSjTHYHLkvFDP48nS4+204nGb1RiX/WXYHmJA2III9/e2DWVabCESdW7hBAEzHRqUn9OUVvQ==} engines: {node: '>=0.1.90'} @@ -2650,10 +2656,6 @@ packages: resolution: {integrity: sha512-eTIzlVOSUR+JxdDFepEYcBMtZ9Qqdef+rnzWdRZuMbOywu5tO2w2N7rqjoANZ5k9vywhL6Br1VRjUIgTQx4E8w==} engines: {node: '>=6'} - kleur@4.1.5: - resolution: {integrity: sha512-o+NO+8WrRiQEE4/7nwRJhN1HWpVmJm511pBHUxPLtp0BUISzlBplORYSmTclCnJvQq2tKu/sgl3xVpkc7ZWuQQ==} - engines: {node: '>=6'} - kolorist@1.8.0: resolution: {integrity: sha512-Y+60/zizpJ3HRH8DCss+q95yr6145JXZo46OTpFvDZWLfRCE4qChOyk1b26nMaNpfHHgxagk9dXT5OP0Tfe+dQ==} @@ -3150,10 +3152,6 @@ packages: resolution: {integrity: sha512-cdGef/drWFoydD1JsMzuFf8100nZl+GT+yacc2bEced5f9Rjk4z+WtFUTBu9PhOi9j/jfmBPu0mMEY4wIdAF8A==} engines: {node: '>= 0.6.0'} - prompts@2.4.2: - resolution: {integrity: sha512-NxNv/kLguCA7p3jE8oL2aEBsrJWgAakBpgmgK6lpPWV+WuOmY6r2/zbAVnP+T8bQlA0nzHXSJSJW0Hq7ylaD2Q==} - engines: {node: '>= 6'} - proto-list@1.2.4: resolution: {integrity: sha512-vtK/94akxsTMhe0/cbfpR+syPuszcuwhqVjJq26CuNDgFGj682oRBXOP5MJpv2r7JtE8MsiepGIqvvOTBwn2vA==} @@ -4163,6 +4161,17 @@ snapshots: '@bazel/runfiles@6.3.1': {} + '@clack/core@0.4.1': + dependencies: + picocolors: 1.1.1 + sisteransi: 1.0.5 + + '@clack/prompts@0.10.0': + dependencies: + '@clack/core': 0.4.1 + picocolors: 1.1.1 + sisteransi: 1.0.5 + '@colors/colors@1.5.0': optional: true @@ -6396,8 +6405,6 @@ snapshots: kleur@3.0.3: {} - kleur@4.1.5: {} - kolorist@1.8.0: {} lazy-ass@1.6.0: {} @@ -6905,11 +6912,6 @@ snapshots: process@0.11.10: {} - prompts@2.4.2: - dependencies: - kleur: 3.0.3 - sisteransi: 1.0.5 - proto-list@1.2.4: {} proxy-agent@6.4.0: diff --git a/scripts/build.mjs b/scripts/build.mjs index 6238a31b..6f1805f0 100644 --- a/scripts/build.mjs +++ b/scripts/build.mjs @@ -135,21 +135,6 @@ await esbuild.build({ target: 'node14', plugins: [ - { - name: 'alias', - setup({ onResolve, resolve }) { - onResolve({ filter: /^prompts$/, namespace: 'file' }, async ({ importer, resolveDir }) => { - // we can always use non-transpiled code since we support 14.16.0+ - const result = await resolve('prompts/lib/index.js', { - importer, - resolveDir, - kind: 'import-statement', - }) - return result - }) - }, - }, - { name: '@vue/create-eslint-config fix', setup(build) { diff --git a/utils/getLanguage.ts b/utils/getLanguage.ts index 6a1e12d7..ee130843 100644 --- a/utils/getLanguage.ts +++ b/utils/getLanguage.ts @@ -22,6 +22,7 @@ interface Language { projectName: LanguageItem shouldOverwrite: LanguageItem packageName: LanguageItem + featureSelection: LanguageItem needsTypeScript: LanguageItem needsJsx: LanguageItem needsRouter: LanguageItem @@ -30,6 +31,12 @@ interface Language { needsE2eTesting: LanguageItem needsEslint: LanguageItem needsPrettier: LanguageItem + e2eSelection: LanguageItem & { + selectOptions?: { + [key: string]: { title: string; desc?: string; hintOnComponentTesting?: string } + } + } + needsOxlint: LanguageItem errors: { operationCancelled: string } @@ -40,6 +47,7 @@ interface Language { infos: { scaffolding: string done: string + optionalGitCommand: string } } From 9f16c8ee184bd7314600f6d2ae2d4436eaa11f3a Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Fri, 7 Mar 2025 05:57:56 +0000 Subject: [PATCH 13/20] chore(deps): update all non-major dependencies --- package.json | 8 +- pnpm-lock.yaml | 293 +++++++++++------------- template/config/nightwatch/package.json | 2 +- template/config/playwright/package.json | 2 +- template/config/typescript/package.json | 4 +- template/config/vitest/package.json | 2 +- template/eslint/package.json | 2 +- 7 files changed, 144 insertions(+), 169 deletions(-) diff --git a/package.json b/package.json index e009326d..ee3cc781 100644 --- a/package.json +++ b/package.json @@ -3,7 +3,7 @@ "version": "3.14.2", "description": "🛠️ The recommended way to start a Vite-powered Vue project", "type": "module", - "packageManager": "pnpm@10.5.2", + "packageManager": "pnpm@10.6.1", "bin": { "create-vue": "outfile.cjs" }, @@ -42,7 +42,7 @@ "@clack/prompts": "^0.10.0", "@tsconfig/node22": "^22.0.0", "@types/eslint": "^9.6.1", - "@types/node": "^22.13.5", + "@types/node": "^22.13.9", "@types/prompts": "^2.4.9", "@vue/create-eslint-config": "^0.7.3", "@vue/tsconfig": "^0.7.0", @@ -53,8 +53,8 @@ "lint-staged": "^15.4.3", "picocolors": "^1.1.1", "prettier": "3.5.1", - "vitest": "^3.0.7", - "zx": "^8.3.2" + "vitest": "^3.0.8", + "zx": "^8.4.0" }, "lint-staged": { "*.{js,ts,vue,json}": [ diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 73c6a888..0d342a37 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -18,8 +18,8 @@ importers: specifier: ^9.6.1 version: 9.6.1 '@types/node': - specifier: ^22.13.5 - version: 22.13.5 + specifier: ^22.13.9 + version: 22.13.9 '@types/prompts': specifier: ^2.4.9 version: 2.4.9 @@ -51,11 +51,11 @@ importers: specifier: 3.5.1 version: 3.5.1 vitest: - specifier: ^3.0.7 - version: 3.0.7(@types/node@22.13.5)(jsdom@26.0.0)(yaml@2.7.0) + specifier: ^3.0.8 + version: 3.0.8(@types/node@22.13.9)(jsdom@26.0.0)(yaml@2.7.0) zx: - specifier: ^8.3.2 - version: 8.3.2 + specifier: ^8.4.0 + version: 8.4.0 template/base: dependencies: @@ -65,13 +65,13 @@ importers: devDependencies: '@vitejs/plugin-vue': specifier: ^5.2.1 - version: 5.2.1(vite@6.2.0(@types/node@22.13.5)(yaml@2.7.0))(vue@3.5.13(typescript@5.7.3)) + version: 5.2.1(vite@6.2.0(@types/node@22.13.9)(yaml@2.7.0))(vue@3.5.13(typescript@5.7.3)) vite: specifier: ^6.2.0 - version: 6.2.0(@types/node@22.13.5)(yaml@2.7.0) + version: 6.2.0(@types/node@22.13.9)(yaml@2.7.0) vite-plugin-vue-devtools: specifier: ^7.7.2 - version: 7.7.2(rollup@4.34.6)(vite@6.2.0(@types/node@22.13.5)(yaml@2.7.0))(vue@3.5.13(typescript@5.7.3)) + version: 7.7.2(rollup@4.34.6)(vite@6.2.0(@types/node@22.13.9)(yaml@2.7.0))(vue@3.5.13(typescript@5.7.3)) template/config/cypress: devDependencies: @@ -100,19 +100,19 @@ importers: devDependencies: '@vitejs/plugin-vue-jsx': specifier: ^4.1.1 - version: 4.1.1(vite@6.2.0(@types/node@22.13.5)(yaml@2.7.0))(vue@3.5.13(typescript@5.7.3)) + version: 4.1.1(vite@6.2.0(@types/node@22.13.9)(yaml@2.7.0))(vue@3.5.13(typescript@5.7.3)) vite: specifier: ^6.2.0 - version: 6.2.0(@types/node@22.13.5)(yaml@2.7.0) + version: 6.2.0(@types/node@22.13.9)(yaml@2.7.0) template/config/nightwatch: devDependencies: '@nightwatch/vue': specifier: ^3.1.2 - version: 3.1.2(@types/node@22.13.5)(vue@3.5.13(typescript@5.7.3)) + version: 3.1.2(@types/node@22.13.9)(vue@3.5.13(typescript@5.7.3)) '@vitejs/plugin-vue': specifier: ^5.2.1 - version: 5.2.1(vite@6.2.0(@types/node@22.13.5)(yaml@2.7.0))(vue@3.5.13(typescript@5.7.3)) + version: 5.2.1(vite@6.2.0(@types/node@22.13.9)(yaml@2.7.0))(vue@3.5.13(typescript@5.7.3)) chromedriver: specifier: ^133.0.3 version: 133.0.3 @@ -120,14 +120,14 @@ importers: specifier: ^5.0.0 version: 5.0.0 nightwatch: - specifier: ^3.11.1 - version: 3.11.1(chromedriver@133.0.3)(geckodriver@5.0.0) + specifier: ^3.12.0 + version: 3.12.0(chromedriver@133.0.3)(geckodriver@5.0.0) ts-node: specifier: ^10.9.2 - version: 10.9.2(@types/node@22.13.5)(typescript@5.7.3) + version: 10.9.2(@types/node@22.13.9)(typescript@5.7.3) vite: specifier: ^6.2.0 - version: 6.2.0(@types/node@22.13.5)(yaml@2.7.0) + version: 6.2.0(@types/node@22.13.9)(yaml@2.7.0) vite-plugin-nightwatch: specifier: ^0.4.6 version: 0.4.6 @@ -154,8 +154,8 @@ importers: template/config/playwright: devDependencies: '@playwright/test': - specifier: ^1.50.1 - version: 1.50.1 + specifier: ^1.51.0 + version: 1.51.0 template/config/prettier: devDependencies: @@ -175,8 +175,8 @@ importers: template/config/typescript: devDependencies: '@types/node': - specifier: ^22.13.5 - version: 22.13.5 + specifier: ^22.13.9 + version: 22.13.9 npm-run-all2: specifier: ^7.0.2 version: 7.0.2 @@ -184,8 +184,8 @@ importers: specifier: ~5.7.3 version: 5.7.3 vue-tsc: - specifier: ^2.2.4 - version: 2.2.4(typescript@5.7.3) + specifier: ^2.2.8 + version: 2.2.8(typescript@5.7.3) template/config/vitest: dependencies: @@ -200,8 +200,8 @@ importers: specifier: ^26.0.0 version: 26.0.0 vitest: - specifier: ^3.0.7 - version: 3.0.7(@types/node@22.13.5)(jsdom@26.0.0)(yaml@2.7.0) + specifier: ^3.0.8 + version: 3.0.8(@types/node@22.13.9)(jsdom@26.0.0)(yaml@2.7.0) template/tsconfig/base: devDependencies: @@ -872,8 +872,8 @@ packages: resolution: {integrity: sha512-+1VkjdD0QBLPodGrJUeqarH8VAIvQODIbwh9XpP5Syisf7YoQgsJKPNFoqqLQlu+VQ/tVSshMR6loPMn8U+dPg==} engines: {node: '>=14'} - '@playwright/test@1.50.1': - resolution: {integrity: sha512-Jii3aBg+CEDpgnuDxEp/h7BimHcUTDlpEtce89xEumlJ5ef2hqepZ+PWp1DDpYC/VO9fmWVI1IlEaoI5fK9FXQ==} + '@playwright/test@1.51.0': + resolution: {integrity: sha512-dJ0dMbZeHhI+wb77+ljx/FeC8VBP6j/rj9OAojO08JI80wTZy6vRk9KvHKiDCUh4iMpEiseMgqRBIeW+eKX6RA==} engines: {node: '>=18'} hasBin: true @@ -1045,23 +1045,17 @@ packages: '@types/estree@1.0.6': resolution: {integrity: sha512-AYnb1nQyY49te+VRAVgmzfcgjYS91mY5P0TKUDCLEM+gNnA+3T6rWITXRLYCpahpqSQbN5cE+gHpnPyXjHWxcw==} - '@types/fs-extra@11.0.4': - resolution: {integrity: sha512-yTbItCNreRooED33qjunPthRcSjERP1r4MqCZc7wv0u2sUkzTFp45tgUfS5+r7FrZPdmCCNflLhVSP/o+SemsQ==} - '@types/jsdom@21.1.7': resolution: {integrity: sha512-yOriVnggzrnQ3a9OKOCxaVuSug3w3/SbOj5i7VwXWZEyUNl3bLF9V3MfxGbZKuwqJOQyRfqXyROBB1CoZLFWzA==} '@types/json-schema@7.0.15': resolution: {integrity: sha512-5+fP8P8MFNC+AyZCDxrB2pkZFPGzqQWUzpSeuuVLvm8VMcorNYavBqoFcxK8bQz4Qsbn4oUEEem4wDLfcysGHA==} - '@types/jsonfile@6.1.4': - resolution: {integrity: sha512-D5qGUYwjvnNNextdU59/+fI+spnwtTFmyQP0h+PfIOSkNfpU6AOICUOkm4i0OnSk+NyjdPJrxCDro0sJsWlRpQ==} - '@types/nightwatch@2.3.32': resolution: {integrity: sha512-RXAWpe83AERF0MbRHXaEJlMQGDtA6BW5sgbn2jO0z04yzbxc4gUvzaJwHpGULBSa2QKUHfBZoLwe/tuQx0PWLg==} - '@types/node@22.13.5': - resolution: {integrity: sha512-+lTU0PxZXn0Dr1NBtC7Y8cR21AJr87dLLU953CWA6pMxxv/UDc7jYAY90upcrie1nRcD6XNG5HOYEDtgW5TxAg==} + '@types/node@22.13.9': + resolution: {integrity: sha512-acBjXdRJ3A6Pb3tqnw9HZmyR3Fiol3aGxRCK1x3d+6CDAMjl7I649wpSd+yNURCjbOUGu9tqtLKnTGxmK6CyGw==} '@types/prompts@2.4.9': resolution: {integrity: sha512-qTxFi6Buiu8+50/+3DGIWLHM6QuWsEKugJnnP6iv2Mc4ncxE4A/OJkjuVOA+5X0X1S/nq5VJRa8Lu+nwcvbrKA==} @@ -1105,11 +1099,11 @@ packages: vite: ^5.0.0 || ^6.0.0 vue: ^3.2.25 - '@vitest/expect@3.0.7': - resolution: {integrity: sha512-QP25f+YJhzPfHrHfYHtvRn+uvkCFCqFtW9CktfBxmB+25QqWsx7VB2As6f4GmwllHLDhXNHvqedwhvMmSnNmjw==} + '@vitest/expect@3.0.8': + resolution: {integrity: sha512-Xu6TTIavTvSSS6LZaA3EebWFr6tsoXPetOWNMOlc7LO88QVVBwq2oQWBoDiLCN6YTvNYsGSjqOO8CAdjom5DCQ==} - '@vitest/mocker@3.0.7': - resolution: {integrity: sha512-qui+3BLz9Eonx4EAuR/i+QlCX6AUZ35taDQgwGkK/Tw6/WgwodSrjN1X2xf69IA/643ZX5zNKIn2svvtZDrs4w==} + '@vitest/mocker@3.0.8': + resolution: {integrity: sha512-n3LjS7fcW1BCoF+zWZxG7/5XvuYH+lsFg+BDwwAz0arIwHQJFUEsKBQ0BLU49fCxuM/2HSeBPHQD8WjgrxMfow==} peerDependencies: msw: ^2.4.9 vite: ^5.0.0 || ^6.0.0 @@ -1119,20 +1113,20 @@ packages: vite: optional: true - '@vitest/pretty-format@3.0.7': - resolution: {integrity: sha512-CiRY0BViD/V8uwuEzz9Yapyao+M9M008/9oMOSQydwbwb+CMokEq3XVaF3XK/VWaOK0Jm9z7ENhybg70Gtxsmg==} + '@vitest/pretty-format@3.0.8': + resolution: {integrity: sha512-BNqwbEyitFhzYMYHUVbIvepOyeQOSFA/NeJMIP9enMntkkxLgOcgABH6fjyXG85ipTgvero6noreavGIqfJcIg==} - '@vitest/runner@3.0.7': - resolution: {integrity: sha512-WeEl38Z0S2ZcuRTeyYqaZtm4e26tq6ZFqh5y8YD9YxfWuu0OFiGFUbnxNynwLjNRHPsXyee2M9tV7YxOTPZl2g==} + '@vitest/runner@3.0.8': + resolution: {integrity: sha512-c7UUw6gEcOzI8fih+uaAXS5DwjlBaCJUo7KJ4VvJcjL95+DSR1kova2hFuRt3w41KZEFcOEiq098KkyrjXeM5w==} - '@vitest/snapshot@3.0.7': - resolution: {integrity: sha512-eqTUryJWQN0Rtf5yqCGTQWsCFOQe4eNz5Twsu21xYEcnFJtMU5XvmG0vgebhdLlrHQTSq5p8vWHJIeJQV8ovsA==} + '@vitest/snapshot@3.0.8': + resolution: {integrity: sha512-x8IlMGSEMugakInj44nUrLSILh/zy1f2/BgH0UeHpNyOocG18M9CWVIFBaXPt8TrqVZWmcPjwfG/ht5tnpba8A==} - '@vitest/spy@3.0.7': - resolution: {integrity: sha512-4T4WcsibB0B6hrKdAZTM37ekuyFZt2cGbEGd2+L0P8ov15J1/HUsUaqkXEQPNAWr4BtPPe1gI+FYfMHhEKfR8w==} + '@vitest/spy@3.0.8': + resolution: {integrity: sha512-MR+PzJa+22vFKYb934CejhR4BeRpMSoxkvNoDit68GQxRLSf11aT6CTj3XaqUU9rxgWJFnqicN/wxw6yBRkI1Q==} - '@vitest/utils@3.0.7': - resolution: {integrity: sha512-xePVpCRfooFX3rANQjwoditoXgWb1MaFbzmGuPP59MK6i13mrnDw/yEIyJudLeW6/38mCNcwCiJIGmpDPibAIg==} + '@vitest/utils@3.0.8': + resolution: {integrity: sha512-nkBC3aEhfX2PdtQI/QwAWp8qZWwzASsU4Npbcd5RdMPBSSLCpkZp52P3xku3s3uA0HIEhGvEcF8rNkBsz9dQ4Q==} '@volar/language-core@2.4.11': resolution: {integrity: sha512-lN2C1+ByfW9/JRPpqScuZt/4OrUUse57GLI6TbLgTIqBVemdl1wNcZ1qYGEo2+Gw8coYLgCy7SuKqn6IrQcQgg==} @@ -1196,8 +1190,8 @@ packages: '@vue/devtools-shared@7.7.2': resolution: {integrity: sha512-uBFxnp8gwW2vD6FrJB8JZLUzVb6PNRG0B0jBnHsOH8uKyva2qINY8PTF5Te4QlTbMDqU5K6qtJDr6cNsKWhbOA==} - '@vue/language-core@2.2.4': - resolution: {integrity: sha512-eGGdw7eWUwdIn9Fy/irJ7uavCGfgemuHQABgJ/hU1UgZFnbTg9VWeXvHQdhY+2SPQZWJqWXvRWIg67t4iWEa+Q==} + '@vue/language-core@2.2.8': + resolution: {integrity: sha512-rrzB0wPGBvcwaSNRriVWdNAbHQWSf0NlGqgKHK5mEkXpefjUlVRP62u03KvwZpvKVjRnBIQ/Lwre+Mx9N6juUQ==} peerDependencies: typescript: '*' peerDependenciesMeta: @@ -2749,9 +2743,6 @@ packages: loupe@2.3.7: resolution: {integrity: sha512-zSMINGVYkdpYSOBmLi0D1Uo7JU9nVdQKrHxC8eYlV+9YKK9WePqAlL7lSlorG/U2Fw1w0hTBmaa/jrQ3UbPHtA==} - loupe@3.1.2: - resolution: {integrity: sha512-23I4pFZHmAemUnz8WZXbYRSKYj801VDaNv9ETuMh7IrMc7VuVVSo+Z9iLE3ni30+U48iDWfi30d3twAXBYmnCg==} - loupe@3.1.3: resolution: {integrity: sha512-kkIp7XSkP78ZxJEsSxW3712C6teJVoeHHwgo9zJ380de7IYyJ2ISlxojcH2pC5OFLewESmnRi/+XCDIEEVyoug==} @@ -2885,8 +2876,8 @@ packages: nightwatch-axe-verbose@2.3.1: resolution: {integrity: sha512-C6N95bwPHsRnv04eVIwJ6w5m6X1+Pddvo6nzpzOHQlO0j+pYRVU7zaQmFUJ0L4cqeUxReNEXyTUg/R9WWfHk7w==} - nightwatch@3.11.1: - resolution: {integrity: sha512-CNVDXpy38RzVxM3Nmb/H56os9LrU9tGfpTjFbnbeZW6SWEggMT+ScbbedowUbPw2IPuNfGP8/a1vXD5sYrtdeA==} + nightwatch@3.12.0: + resolution: {integrity: sha512-0AVxqz3O6ziNaZn+1b/jK5gV3YtQPNshD5sQhZkwbQtYsPQdZ+D7QFC8CkoceuTTkgzC16Mck/mTaSI+11b57w==} engines: {node: '>= 16'} hasBin: true peerDependencies: @@ -3110,13 +3101,13 @@ packages: piscina@4.7.0: resolution: {integrity: sha512-b8hvkpp9zS0zsfa939b/jXbe64Z2gZv0Ha7FYPNUiDIB1y2AtxcOZdfP8xN8HFjUaqQiT9gRlfjAsoL8vdJ1Iw==} - playwright-core@1.50.1: - resolution: {integrity: sha512-ra9fsNWayuYumt+NiM069M6OkcRb1FZSK8bgi66AtpFoWkg2+y0bJSNmkFrWhMbEBbVKC/EruAHH3g0zmtwGmQ==} + playwright-core@1.51.0: + resolution: {integrity: sha512-x47yPE3Zwhlil7wlNU/iktF7t2r/URR3VLbH6EknJd/04Qc/PSJ0EY3CMXipmglLG+zyRxW6HNo2EGbKLHPWMg==} engines: {node: '>=18'} hasBin: true - playwright@1.50.1: - resolution: {integrity: sha512-G8rwsOQJ63XG6BbKj2w5rHeavFjy5zynBA9zsJMMtBoe/Uf757oG12NXz6e6OirF7RCrTVAKFXbLmn1RbL7Qaw==} + playwright@1.51.0: + resolution: {integrity: sha512-442pTfGM0xxfCYxuBa/Pu6B2OqxqqaYq39JS8QDMGThUvIOCd6s0ANDog3uwA0cHavVlnTQzGCN7Id2YekDSXA==} engines: {node: '>=18'} hasBin: true @@ -3649,8 +3640,8 @@ packages: peerDependencies: vite: ^2.6.0 || ^3.0.0 || ^4.0.0 || ^5.0.0-0 || ^6.0.0-0 - vite-node@3.0.7: - resolution: {integrity: sha512-2fX0QwX4GkkkpULXdT1Pf4q0tC1i1lFOyseKoonavXUNlQ77KpW2XqBGGNIm/J4Ows4KxgGJzDguYVPKwG/n5A==} + vite-node@3.0.8: + resolution: {integrity: sha512-6PhR4H9VGlcwXZ+KWCdMqbtG649xCPZqfI9j2PsK1FcXgEzro5bGHcVKFCTqPLaNKZES8Evqv4LwvZARsq5qlg==} engines: {node: ^18.0.0 || ^20.0.0 || >=22.0.0} hasBin: true @@ -3746,16 +3737,16 @@ packages: yaml: optional: true - vitest@3.0.7: - resolution: {integrity: sha512-IP7gPK3LS3Fvn44x30X1dM9vtawm0aesAa2yBIZ9vQf+qB69NXC5776+Qmcr7ohUXIQuLhk7xQR0aSUIDPqavg==} + vitest@3.0.8: + resolution: {integrity: sha512-dfqAsNqRGUc8hB9OVR2P0w8PZPEckti2+5rdZip0WIz9WW0MnImJ8XiR61QhqLa92EQzKP2uPkzenKOAHyEIbA==} engines: {node: ^18.0.0 || ^20.0.0 || >=22.0.0} hasBin: true peerDependencies: '@edge-runtime/vm': '*' '@types/debug': ^4.1.12 '@types/node': ^18.0.0 || ^20.0.0 || >=22.0.0 - '@vitest/browser': 3.0.7 - '@vitest/ui': 3.0.7 + '@vitest/browser': 3.0.8 + '@vitest/ui': 3.0.8 happy-dom: '*' jsdom: '*' peerDependenciesMeta: @@ -3785,8 +3776,8 @@ packages: peerDependencies: vue: ^3.2.0 - vue-tsc@2.2.4: - resolution: {integrity: sha512-3EVHlxtpMXcb5bCaK7QDFTbEkMusDfVk0HVRrkv5hEb+Clpu9a96lKUXJAeD/akRlkoA4H8MCHgBDN19S6FnzA==} + vue-tsc@2.2.8: + resolution: {integrity: sha512-jBYKBNFADTN+L+MdesNX/TB3XuDSyaWynKMDgR+yCSln0GQ9Tfb7JS2lr46s2LiFUT1WsmfWsSvIElyxzOPqcQ==} hasBin: true peerDependencies: typescript: '>=5.0.0' @@ -3948,8 +3939,8 @@ packages: resolution: {integrity: sha512-9qv4rlDiopXg4E69k+vMHjNN63YFMe9sZMrdlvKnCjlCRWeCBswPPMPUfx+ipsAWq1LXHe70RcbaHdJJpS6hyQ==} engines: {node: '>= 10'} - zx@8.3.2: - resolution: {integrity: sha512-qjTunv1NClO05jDaUjrNZfpqC9yvNCchge/bzOcQevsh1aM5qE3TG6MY24kuQKlOWx+7vNuhqO2wa9nQCIGvZA==} + zx@8.4.0: + resolution: {integrity: sha512-b5+gbUT0akQ5vVuBuHgp0viQx2ZYCuooVD41Z7g47sN0diLsAvB2XteHcp5lec90CNEQ9o7TkXsE3ksaJrZHGw==} engines: {node: '>= 12.17.0'} hasBin: true @@ -4506,12 +4497,12 @@ snapshots: dependencies: archiver: 5.3.2 - '@nightwatch/vue@3.1.2(@types/node@22.13.5)(vue@3.5.13(typescript@5.7.3))': + '@nightwatch/vue@3.1.2(@types/node@22.13.9)(vue@3.5.13(typescript@5.7.3))': dependencies: '@nightwatch/esbuild-utils': 0.2.1 - '@vitejs/plugin-vue': 4.6.2(vite@4.5.9(@types/node@22.13.5))(vue@3.5.13(typescript@5.7.3)) + '@vitejs/plugin-vue': 4.6.2(vite@4.5.9(@types/node@22.13.9))(vue@3.5.13(typescript@5.7.3)) get-port: 5.1.1 - vite: 4.5.9(@types/node@22.13.5) + vite: 4.5.9(@types/node@22.13.9) vite-plugin-nightwatch: 0.4.6 optionalDependencies: '@esbuild/android-arm': 0.17.19 @@ -4533,9 +4524,9 @@ snapshots: '@pkgjs/parseargs@0.11.0': optional: true - '@playwright/test@1.50.1': + '@playwright/test@1.51.0': dependencies: - playwright: 1.50.1 + playwright: 1.51.0 '@polka/url@1.0.0-next.28': {} @@ -4657,44 +4648,33 @@ snapshots: '@types/estree@1.0.6': {} - '@types/fs-extra@11.0.4': - dependencies: - '@types/jsonfile': 6.1.4 - '@types/node': 22.13.5 - optional: true - '@types/jsdom@21.1.7': dependencies: - '@types/node': 22.13.5 + '@types/node': 22.13.9 '@types/tough-cookie': 4.0.5 parse5: 7.2.1 '@types/json-schema@7.0.15': {} - '@types/jsonfile@6.1.4': - dependencies: - '@types/node': 22.13.5 - optional: true - '@types/nightwatch@2.3.32': dependencies: '@types/chai': 5.0.0 - '@types/node': 22.13.5 + '@types/node': 22.13.9 '@types/selenium-webdriver': 4.1.26 devtools-protocol: 0.0.1025565 - '@types/node@22.13.5': + '@types/node@22.13.9': dependencies: undici-types: 6.20.0 '@types/prompts@2.4.9': dependencies: - '@types/node': 22.13.5 + '@types/node': 22.13.9 kleur: 3.0.3 '@types/selenium-webdriver@4.1.26': dependencies: - '@types/node': 22.13.5 + '@types/node': 22.13.9 '@types/ws': 8.5.12 '@types/sinonjs__fake-timers@8.1.1': {} @@ -4705,70 +4685,70 @@ snapshots: '@types/ws@8.5.12': dependencies: - '@types/node': 22.13.5 + '@types/node': 22.13.9 '@types/yauzl@2.10.3': dependencies: - '@types/node': 22.13.5 + '@types/node': 22.13.9 optional: true - '@vitejs/plugin-vue-jsx@4.1.1(vite@6.2.0(@types/node@22.13.5)(yaml@2.7.0))(vue@3.5.13(typescript@5.7.3))': + '@vitejs/plugin-vue-jsx@4.1.1(vite@6.2.0(@types/node@22.13.9)(yaml@2.7.0))(vue@3.5.13(typescript@5.7.3))': dependencies: '@babel/core': 7.26.0 '@babel/plugin-transform-typescript': 7.25.9(@babel/core@7.26.0) '@vue/babel-plugin-jsx': 1.2.5(@babel/core@7.26.0) - vite: 6.2.0(@types/node@22.13.5)(yaml@2.7.0) + vite: 6.2.0(@types/node@22.13.9)(yaml@2.7.0) vue: 3.5.13(typescript@5.7.3) transitivePeerDependencies: - supports-color - '@vitejs/plugin-vue@4.6.2(vite@4.5.9(@types/node@22.13.5))(vue@3.5.13(typescript@5.7.3))': + '@vitejs/plugin-vue@4.6.2(vite@4.5.9(@types/node@22.13.9))(vue@3.5.13(typescript@5.7.3))': dependencies: - vite: 4.5.9(@types/node@22.13.5) + vite: 4.5.9(@types/node@22.13.9) vue: 3.5.13(typescript@5.7.3) - '@vitejs/plugin-vue@5.2.1(vite@6.2.0(@types/node@22.13.5)(yaml@2.7.0))(vue@3.5.13(typescript@5.7.3))': + '@vitejs/plugin-vue@5.2.1(vite@6.2.0(@types/node@22.13.9)(yaml@2.7.0))(vue@3.5.13(typescript@5.7.3))': dependencies: - vite: 6.2.0(@types/node@22.13.5)(yaml@2.7.0) + vite: 6.2.0(@types/node@22.13.9)(yaml@2.7.0) vue: 3.5.13(typescript@5.7.3) - '@vitest/expect@3.0.7': + '@vitest/expect@3.0.8': dependencies: - '@vitest/spy': 3.0.7 - '@vitest/utils': 3.0.7 + '@vitest/spy': 3.0.8 + '@vitest/utils': 3.0.8 chai: 5.2.0 tinyrainbow: 2.0.0 - '@vitest/mocker@3.0.7(vite@6.2.0(@types/node@22.13.5)(yaml@2.7.0))': + '@vitest/mocker@3.0.8(vite@6.2.0(@types/node@22.13.9)(yaml@2.7.0))': dependencies: - '@vitest/spy': 3.0.7 + '@vitest/spy': 3.0.8 estree-walker: 3.0.3 magic-string: 0.30.17 optionalDependencies: - vite: 6.2.0(@types/node@22.13.5)(yaml@2.7.0) + vite: 6.2.0(@types/node@22.13.9)(yaml@2.7.0) - '@vitest/pretty-format@3.0.7': + '@vitest/pretty-format@3.0.8': dependencies: tinyrainbow: 2.0.0 - '@vitest/runner@3.0.7': + '@vitest/runner@3.0.8': dependencies: - '@vitest/utils': 3.0.7 + '@vitest/utils': 3.0.8 pathe: 2.0.3 - '@vitest/snapshot@3.0.7': + '@vitest/snapshot@3.0.8': dependencies: - '@vitest/pretty-format': 3.0.7 + '@vitest/pretty-format': 3.0.8 magic-string: 0.30.17 pathe: 2.0.3 - '@vitest/spy@3.0.7': + '@vitest/spy@3.0.8': dependencies: tinyspy: 3.0.2 - '@vitest/utils@3.0.7': + '@vitest/utils@3.0.8': dependencies: - '@vitest/pretty-format': 3.0.7 + '@vitest/pretty-format': 3.0.8 loupe: 3.1.3 tinyrainbow: 2.0.0 @@ -4861,14 +4841,14 @@ snapshots: dependencies: '@vue/devtools-kit': 7.7.2 - '@vue/devtools-core@7.7.2(vite@6.2.0(@types/node@22.13.5)(yaml@2.7.0))(vue@3.5.13(typescript@5.7.3))': + '@vue/devtools-core@7.7.2(vite@6.2.0(@types/node@22.13.9)(yaml@2.7.0))(vue@3.5.13(typescript@5.7.3))': dependencies: '@vue/devtools-kit': 7.7.2 '@vue/devtools-shared': 7.7.2 mitt: 3.0.1 nanoid: 5.0.9 pathe: 2.0.2 - vite-hot-client: 0.2.4(vite@6.2.0(@types/node@22.13.5)(yaml@2.7.0)) + vite-hot-client: 0.2.4(vite@6.2.0(@types/node@22.13.9)(yaml@2.7.0)) vue: 3.5.13(typescript@5.7.3) transitivePeerDependencies: - vite @@ -4887,7 +4867,7 @@ snapshots: dependencies: rfdc: 1.4.1 - '@vue/language-core@2.2.4(typescript@5.7.3)': + '@vue/language-core@2.2.8(typescript@5.7.3)': dependencies: '@volar/language-core': 2.4.11 '@vue/compiler-dom': 3.5.13 @@ -5209,7 +5189,7 @@ snapshots: assertion-error: 2.0.1 check-error: 2.1.1 deep-eql: 5.0.2 - loupe: 3.1.2 + loupe: 3.1.3 pathval: 2.0.0 chalk@4.1.2: @@ -6508,8 +6488,6 @@ snapshots: dependencies: get-func-name: 2.0.2 - loupe@3.1.2: {} - loupe@3.1.3: {} lru-cache@10.4.3: {} @@ -6626,7 +6604,7 @@ snapshots: dependencies: axe-core: 4.10.0 - nightwatch@3.11.1(chromedriver@133.0.3)(geckodriver@5.0.0): + nightwatch@3.12.0(chromedriver@133.0.3)(geckodriver@5.0.0): dependencies: '@nightwatch/chai': 5.0.3 '@nightwatch/html-reporter-template': 0.3.0 @@ -6878,11 +6856,11 @@ snapshots: optionalDependencies: '@napi-rs/nice': 1.0.1 - playwright-core@1.50.1: {} + playwright-core@1.51.0: {} - playwright@1.50.1: + playwright@1.51.0: dependencies: - playwright-core: 1.50.1 + playwright-core: 1.51.0 optionalDependencies: fsevents: 2.3.2 @@ -7376,14 +7354,14 @@ snapshots: tree-kill@1.2.2: {} - ts-node@10.9.2(@types/node@22.13.5)(typescript@5.7.3): + ts-node@10.9.2(@types/node@22.13.9)(typescript@5.7.3): dependencies: '@cspotcode/source-map-support': 0.8.1 '@tsconfig/node10': 1.0.11 '@tsconfig/node12': 1.0.11 '@tsconfig/node14': 1.0.3 '@tsconfig/node16': 1.0.4 - '@types/node': 22.13.5 + '@types/node': 22.13.9 acorn: 8.12.1 acorn-walk: 8.3.4 arg: 4.1.3 @@ -7447,17 +7425,17 @@ snapshots: core-util-is: 1.0.2 extsprintf: 1.3.0 - vite-hot-client@0.2.4(vite@6.2.0(@types/node@22.13.5)(yaml@2.7.0)): + vite-hot-client@0.2.4(vite@6.2.0(@types/node@22.13.9)(yaml@2.7.0)): dependencies: - vite: 6.2.0(@types/node@22.13.5)(yaml@2.7.0) + vite: 6.2.0(@types/node@22.13.9)(yaml@2.7.0) - vite-node@3.0.7(@types/node@22.13.5)(yaml@2.7.0): + vite-node@3.0.8(@types/node@22.13.9)(yaml@2.7.0): dependencies: cac: 6.7.14 debug: 4.4.0(supports-color@8.1.1) es-module-lexer: 1.6.0 pathe: 2.0.3 - vite: 6.2.0(@types/node@22.13.5)(yaml@2.7.0) + vite: 6.2.0(@types/node@22.13.9)(yaml@2.7.0) transitivePeerDependencies: - '@types/node' - jiti @@ -7472,7 +7450,7 @@ snapshots: - tsx - yaml - vite-plugin-inspect@0.8.9(rollup@4.34.6)(vite@6.2.0(@types/node@22.13.5)(yaml@2.7.0)): + vite-plugin-inspect@0.8.9(rollup@4.34.6)(vite@6.2.0(@types/node@22.13.9)(yaml@2.7.0)): dependencies: '@antfu/utils': 0.7.10 '@rollup/pluginutils': 5.1.3(rollup@4.34.6) @@ -7483,7 +7461,7 @@ snapshots: perfect-debounce: 1.0.0 picocolors: 1.1.1 sirv: 3.0.0 - vite: 6.2.0(@types/node@22.13.5)(yaml@2.7.0) + vite: 6.2.0(@types/node@22.13.9)(yaml@2.7.0) transitivePeerDependencies: - rollup - supports-color @@ -7502,23 +7480,23 @@ snapshots: - supports-color - utf-8-validate - vite-plugin-vue-devtools@7.7.2(rollup@4.34.6)(vite@6.2.0(@types/node@22.13.5)(yaml@2.7.0))(vue@3.5.13(typescript@5.7.3)): + vite-plugin-vue-devtools@7.7.2(rollup@4.34.6)(vite@6.2.0(@types/node@22.13.9)(yaml@2.7.0))(vue@3.5.13(typescript@5.7.3)): dependencies: - '@vue/devtools-core': 7.7.2(vite@6.2.0(@types/node@22.13.5)(yaml@2.7.0))(vue@3.5.13(typescript@5.7.3)) + '@vue/devtools-core': 7.7.2(vite@6.2.0(@types/node@22.13.9)(yaml@2.7.0))(vue@3.5.13(typescript@5.7.3)) '@vue/devtools-kit': 7.7.2 '@vue/devtools-shared': 7.7.2 execa: 9.5.1 sirv: 3.0.0 - vite: 6.2.0(@types/node@22.13.5)(yaml@2.7.0) - vite-plugin-inspect: 0.8.9(rollup@4.34.6)(vite@6.2.0(@types/node@22.13.5)(yaml@2.7.0)) - vite-plugin-vue-inspector: 5.3.1(vite@6.2.0(@types/node@22.13.5)(yaml@2.7.0)) + vite: 6.2.0(@types/node@22.13.9)(yaml@2.7.0) + vite-plugin-inspect: 0.8.9(rollup@4.34.6)(vite@6.2.0(@types/node@22.13.9)(yaml@2.7.0)) + vite-plugin-vue-inspector: 5.3.1(vite@6.2.0(@types/node@22.13.9)(yaml@2.7.0)) transitivePeerDependencies: - '@nuxt/kit' - rollup - supports-color - vue - vite-plugin-vue-inspector@5.3.1(vite@6.2.0(@types/node@22.13.5)(yaml@2.7.0)): + vite-plugin-vue-inspector@5.3.1(vite@6.2.0(@types/node@22.13.9)(yaml@2.7.0)): dependencies: '@babel/core': 7.26.0 '@babel/plugin-proposal-decorators': 7.25.7(@babel/core@7.26.0) @@ -7529,38 +7507,38 @@ snapshots: '@vue/compiler-dom': 3.5.13 kolorist: 1.8.0 magic-string: 0.30.17 - vite: 6.2.0(@types/node@22.13.5)(yaml@2.7.0) + vite: 6.2.0(@types/node@22.13.9)(yaml@2.7.0) transitivePeerDependencies: - supports-color - vite@4.5.9(@types/node@22.13.5): + vite@4.5.9(@types/node@22.13.9): dependencies: esbuild: 0.18.20 postcss: 8.5.1 rollup: 3.29.5 optionalDependencies: - '@types/node': 22.13.5 + '@types/node': 22.13.9 fsevents: 2.3.3 - vite@6.2.0(@types/node@22.13.5)(yaml@2.7.0): + vite@6.2.0(@types/node@22.13.9)(yaml@2.7.0): dependencies: esbuild: 0.25.0 postcss: 8.5.3 rollup: 4.34.6 optionalDependencies: - '@types/node': 22.13.5 + '@types/node': 22.13.9 fsevents: 2.3.3 yaml: 2.7.0 - vitest@3.0.7(@types/node@22.13.5)(jsdom@26.0.0)(yaml@2.7.0): + vitest@3.0.8(@types/node@22.13.9)(jsdom@26.0.0)(yaml@2.7.0): dependencies: - '@vitest/expect': 3.0.7 - '@vitest/mocker': 3.0.7(vite@6.2.0(@types/node@22.13.5)(yaml@2.7.0)) - '@vitest/pretty-format': 3.0.7 - '@vitest/runner': 3.0.7 - '@vitest/snapshot': 3.0.7 - '@vitest/spy': 3.0.7 - '@vitest/utils': 3.0.7 + '@vitest/expect': 3.0.8 + '@vitest/mocker': 3.0.8(vite@6.2.0(@types/node@22.13.9)(yaml@2.7.0)) + '@vitest/pretty-format': 3.0.8 + '@vitest/runner': 3.0.8 + '@vitest/snapshot': 3.0.8 + '@vitest/spy': 3.0.8 + '@vitest/utils': 3.0.8 chai: 5.2.0 debug: 4.4.0(supports-color@8.1.1) expect-type: 1.1.0 @@ -7571,11 +7549,11 @@ snapshots: tinyexec: 0.3.2 tinypool: 1.0.2 tinyrainbow: 2.0.0 - vite: 6.2.0(@types/node@22.13.5)(yaml@2.7.0) - vite-node: 3.0.7(@types/node@22.13.5)(yaml@2.7.0) + vite: 6.2.0(@types/node@22.13.9)(yaml@2.7.0) + vite-node: 3.0.8(@types/node@22.13.9)(yaml@2.7.0) why-is-node-running: 2.3.0 optionalDependencies: - '@types/node': 22.13.5 + '@types/node': 22.13.9 jsdom: 26.0.0 transitivePeerDependencies: - jiti @@ -7600,10 +7578,10 @@ snapshots: '@vue/devtools-api': 6.6.4 vue: 3.5.13(typescript@5.7.3) - vue-tsc@2.2.4(typescript@5.7.3): + vue-tsc@2.2.8(typescript@5.7.3): dependencies: '@volar/typescript': 2.4.11 - '@vue/language-core': 2.2.4(typescript@5.7.3) + '@vue/language-core': 2.2.8(typescript@5.7.3) typescript: 5.7.3 vue@3.5.13(typescript@5.7.3): @@ -7767,7 +7745,4 @@ snapshots: compress-commons: 4.1.2 readable-stream: 3.6.2 - zx@8.3.2: - optionalDependencies: - '@types/fs-extra': 11.0.4 - '@types/node': 22.13.5 + zx@8.4.0: {} diff --git a/template/config/nightwatch/package.json b/template/config/nightwatch/package.json index ce7f3586..4c0302df 100644 --- a/template/config/nightwatch/package.json +++ b/template/config/nightwatch/package.json @@ -7,7 +7,7 @@ "@vitejs/plugin-vue": "^5.2.1", "chromedriver": "^133.0.3", "geckodriver": "^5.0.0", - "nightwatch": "^3.11.1", + "nightwatch": "^3.12.0", "ts-node": "^10.9.2", "vite": "^6.2.0", "vite-plugin-nightwatch": "^0.4.6" diff --git a/template/config/playwright/package.json b/template/config/playwright/package.json index ce1382f8..0e5d9b22 100644 --- a/template/config/playwright/package.json +++ b/template/config/playwright/package.json @@ -3,6 +3,6 @@ "test:e2e": "playwright test" }, "devDependencies": { - "@playwright/test": "^1.50.1" + "@playwright/test": "^1.51.0" } } diff --git a/template/config/typescript/package.json b/template/config/typescript/package.json index 9830097b..748922f7 100644 --- a/template/config/typescript/package.json +++ b/template/config/typescript/package.json @@ -5,9 +5,9 @@ "type-check": "vue-tsc --build" }, "devDependencies": { - "@types/node": "^22.13.5", + "@types/node": "^22.13.9", "npm-run-all2": "^7.0.2", "typescript": "~5.7.3", - "vue-tsc": "^2.2.4" + "vue-tsc": "^2.2.8" } } diff --git a/template/config/vitest/package.json b/template/config/vitest/package.json index 38cf0343..eabd0490 100644 --- a/template/config/vitest/package.json +++ b/template/config/vitest/package.json @@ -8,6 +8,6 @@ "devDependencies": { "@vue/test-utils": "^2.4.6", "jsdom": "^26.0.0", - "vitest": "^3.0.7" + "vitest": "^3.0.8" } } diff --git a/template/eslint/package.json b/template/eslint/package.json index 801515a8..2cb306df 100644 --- a/template/eslint/package.json +++ b/template/eslint/package.json @@ -1,6 +1,6 @@ { "devDependencies": { - "@vitest/eslint-plugin": "^1.1.35", + "@vitest/eslint-plugin": "^1.1.36", "eslint-plugin-cypress": "^4.1.0", "eslint-plugin-playwright": "^2.2.0" } From cd26bb036e87cd297ea786a25889f2b27b4d00f0 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Fri, 7 Mar 2025 08:59:09 +0000 Subject: [PATCH 14/20] chore(deps): update dependency prettier to v3.5.3 --- package.json | 2 +- pnpm-lock.yaml | 14 +++++++------- template/config/prettier/package.json | 2 +- 3 files changed, 9 insertions(+), 9 deletions(-) diff --git a/package.json b/package.json index ee3cc781..0848ce72 100644 --- a/package.json +++ b/package.json @@ -52,7 +52,7 @@ "husky": "^9.1.7", "lint-staged": "^15.4.3", "picocolors": "^1.1.1", - "prettier": "3.5.1", + "prettier": "3.5.3", "vitest": "^3.0.8", "zx": "^8.4.0" }, diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 0d342a37..aca8bfc0 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -48,8 +48,8 @@ importers: specifier: ^1.1.1 version: 1.1.1 prettier: - specifier: 3.5.1 - version: 3.5.1 + specifier: 3.5.3 + version: 3.5.3 vitest: specifier: ^3.0.8 version: 3.0.8(@types/node@22.13.9)(jsdom@26.0.0)(yaml@2.7.0) @@ -160,8 +160,8 @@ importers: template/config/prettier: devDependencies: prettier: - specifier: 3.5.1 - version: 3.5.1 + specifier: 3.5.3 + version: 3.5.3 template/config/router: dependencies: @@ -3123,8 +3123,8 @@ packages: resolution: {integrity: sha512-dle9A3yYxlBSrt8Fu+IpjGT8SY8hN0mlaA6GY8t0P5PjIOZemULz/E2Bnm/2dcUOena75OTNkHI76uZBNUUq3A==} engines: {node: ^10 || ^12 || >=14} - prettier@3.5.1: - resolution: {integrity: sha512-hPpFQvHwL3Qv5AdRvBFMhnKo4tYxp0ReXiPn2bxkiohEX6mBeBwEpBSQTkD458RaaDKQMYSp4hX4UtfUTA5wDw==} + prettier@3.5.3: + resolution: {integrity: sha512-QQtaxnoDJeAkDvDKWCLiwIXkTgRhwYDEQCghU9Z6q03iyek/rxRh/2lC3HB7P8sWT2xC/y5JDctPLBIGzHKbhw==} engines: {node: '>=14'} hasBin: true @@ -6878,7 +6878,7 @@ snapshots: picocolors: 1.1.1 source-map-js: 1.2.1 - prettier@3.5.1: {} + prettier@3.5.3: {} pretty-bytes@5.6.0: {} diff --git a/template/config/prettier/package.json b/template/config/prettier/package.json index cde568bc..a000e098 100644 --- a/template/config/prettier/package.json +++ b/template/config/prettier/package.json @@ -1,6 +1,6 @@ { "format": "prettier --write src/", "devDependencies": { - "prettier": "3.5.1" + "prettier": "3.5.3" } } From d242abf1c04bf42f3b52a8d8085d76725e8aafce Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Fri, 7 Mar 2025 23:18:06 +0800 Subject: [PATCH 15/20] chore(deps): update dependency @vue/create-eslint-config to ^0.9.1 (#704) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> --- package.json | 2 +- pnpm-lock.yaml | 10 +++++----- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/package.json b/package.json index 0848ce72..71e9b2ce 100644 --- a/package.json +++ b/package.json @@ -44,7 +44,7 @@ "@types/eslint": "^9.6.1", "@types/node": "^22.13.9", "@types/prompts": "^2.4.9", - "@vue/create-eslint-config": "^0.7.3", + "@vue/create-eslint-config": "^0.9.1", "@vue/tsconfig": "^0.7.0", "ejs": "^3.1.10", "esbuild": "^0.25.0", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index aca8bfc0..0b9212bf 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -24,8 +24,8 @@ importers: specifier: ^2.4.9 version: 2.4.9 '@vue/create-eslint-config': - specifier: ^0.7.3 - version: 0.7.3 + specifier: ^0.9.1 + version: 0.9.1 '@vue/tsconfig': specifier: ^0.7.0 version: 0.7.0(typescript@5.7.3)(vue@3.5.13(typescript@5.7.3)) @@ -1168,8 +1168,8 @@ packages: '@vue/compiler-vue2@2.7.16': resolution: {integrity: sha512-qYC3Psj9S/mfu9uVi5WvNZIzq+xnXMhOwbTFKKDD7b1lhpnn71jXSFdTQ+WsIEk0ONCd7VV2IMm7ONl6tbQ86A==} - '@vue/create-eslint-config@0.7.3': - resolution: {integrity: sha512-5/S0lb21bqpoOGN+hbuPKng0+/OI5wHCjYcdSE03S4ceVFU28UwNSYRf2KOBk9sks5q1i4X3a2xHHMm9+/PLWQ==} + '@vue/create-eslint-config@0.9.1': + resolution: {integrity: sha512-AmHoX4VsF/T3ew9ESypSJexzhfVaLRgbAm0kjYb4/VVSzlR99Zz/wNN69fNh39MVIdvEFrHYK9c5Za3CoHseUQ==} engines: {node: ^16.14.0 || >= 18.0.0} hasBin: true @@ -4829,7 +4829,7 @@ snapshots: de-indent: 1.0.2 he: 1.2.0 - '@vue/create-eslint-config@0.7.3': + '@vue/create-eslint-config@0.9.1': dependencies: ejs: 3.1.10 enquirer: 2.4.1 From 301c5b9f525caf8931adcbc66b5197e2475f58ab Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Sat, 8 Mar 2025 13:53:07 +0800 Subject: [PATCH 16/20] chore(deps): update dependency typescript to ~5.8.0 (#705) --- pnpm-lock.yaml | 110 ++++++++++++------------ template/config/typescript/package.json | 2 +- 2 files changed, 56 insertions(+), 56 deletions(-) diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 0b9212bf..d6a8dddc 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -28,7 +28,7 @@ importers: version: 0.9.1 '@vue/tsconfig': specifier: ^0.7.0 - version: 0.7.0(typescript@5.7.3)(vue@3.5.13(typescript@5.7.3)) + version: 0.7.0(typescript@5.8.2)(vue@3.5.13(typescript@5.8.2)) ejs: specifier: ^3.1.10 version: 3.1.10 @@ -61,17 +61,17 @@ importers: dependencies: vue: specifier: ^3.5.13 - version: 3.5.13(typescript@5.7.3) + version: 3.5.13(typescript@5.8.2) devDependencies: '@vitejs/plugin-vue': specifier: ^5.2.1 - version: 5.2.1(vite@6.2.0(@types/node@22.13.9)(yaml@2.7.0))(vue@3.5.13(typescript@5.7.3)) + version: 5.2.1(vite@6.2.0(@types/node@22.13.9)(yaml@2.7.0))(vue@3.5.13(typescript@5.8.2)) vite: specifier: ^6.2.0 version: 6.2.0(@types/node@22.13.9)(yaml@2.7.0) vite-plugin-vue-devtools: specifier: ^7.7.2 - version: 7.7.2(rollup@4.34.6)(vite@6.2.0(@types/node@22.13.9)(yaml@2.7.0))(vue@3.5.13(typescript@5.7.3)) + version: 7.7.2(rollup@4.34.6)(vite@6.2.0(@types/node@22.13.9)(yaml@2.7.0))(vue@3.5.13(typescript@5.8.2)) template/config/cypress: devDependencies: @@ -86,7 +86,7 @@ importers: dependencies: vue: specifier: ^3.5.13 - version: 3.5.13(typescript@5.7.3) + version: 3.5.13(typescript@5.8.2) devDependencies: cypress: specifier: ^14.1.0 @@ -96,11 +96,11 @@ importers: dependencies: vue: specifier: ^3.5.13 - version: 3.5.13(typescript@5.7.3) + version: 3.5.13(typescript@5.8.2) devDependencies: '@vitejs/plugin-vue-jsx': specifier: ^4.1.1 - version: 4.1.1(vite@6.2.0(@types/node@22.13.9)(yaml@2.7.0))(vue@3.5.13(typescript@5.7.3)) + version: 4.1.1(vite@6.2.0(@types/node@22.13.9)(yaml@2.7.0))(vue@3.5.13(typescript@5.8.2)) vite: specifier: ^6.2.0 version: 6.2.0(@types/node@22.13.9)(yaml@2.7.0) @@ -109,10 +109,10 @@ importers: devDependencies: '@nightwatch/vue': specifier: ^3.1.2 - version: 3.1.2(@types/node@22.13.9)(vue@3.5.13(typescript@5.7.3)) + version: 3.1.2(@types/node@22.13.9)(vue@3.5.13(typescript@5.8.2)) '@vitejs/plugin-vue': specifier: ^5.2.1 - version: 5.2.1(vite@6.2.0(@types/node@22.13.9)(yaml@2.7.0))(vue@3.5.13(typescript@5.7.3)) + version: 5.2.1(vite@6.2.0(@types/node@22.13.9)(yaml@2.7.0))(vue@3.5.13(typescript@5.8.2)) chromedriver: specifier: ^133.0.3 version: 133.0.3 @@ -124,7 +124,7 @@ importers: version: 3.12.0(chromedriver@133.0.3)(geckodriver@5.0.0) ts-node: specifier: ^10.9.2 - version: 10.9.2(@types/node@22.13.9)(typescript@5.7.3) + version: 10.9.2(@types/node@22.13.9)(typescript@5.8.2) vite: specifier: ^6.2.0 version: 6.2.0(@types/node@22.13.9)(yaml@2.7.0) @@ -136,7 +136,7 @@ importers: dependencies: vue: specifier: ^3.5.13 - version: 3.5.13(typescript@5.7.3) + version: 3.5.13(typescript@5.8.2) devDependencies: '@vue/test-utils': specifier: ^2.4.6 @@ -146,10 +146,10 @@ importers: dependencies: pinia: specifier: ^3.0.1 - version: 3.0.1(typescript@5.7.3)(vue@3.5.13(typescript@5.7.3)) + version: 3.0.1(typescript@5.8.2)(vue@3.5.13(typescript@5.8.2)) vue: specifier: ^3.5.13 - version: 3.5.13(typescript@5.7.3) + version: 3.5.13(typescript@5.8.2) template/config/playwright: devDependencies: @@ -167,10 +167,10 @@ importers: dependencies: vue: specifier: ^3.5.13 - version: 3.5.13(typescript@5.7.3) + version: 3.5.13(typescript@5.8.2) vue-router: specifier: ^4.5.0 - version: 4.5.0(vue@3.5.13(typescript@5.7.3)) + version: 4.5.0(vue@3.5.13(typescript@5.8.2)) template/config/typescript: devDependencies: @@ -181,17 +181,17 @@ importers: specifier: ^7.0.2 version: 7.0.2 typescript: - specifier: ~5.7.3 - version: 5.7.3 + specifier: ~5.8.0 + version: 5.8.2 vue-tsc: specifier: ^2.2.8 - version: 2.2.8(typescript@5.7.3) + version: 2.2.8(typescript@5.8.2) template/config/vitest: dependencies: vue: specifier: ^3.5.13 - version: 3.5.13(typescript@5.7.3) + version: 3.5.13(typescript@5.8.2) devDependencies: '@vue/test-utils': specifier: ^2.4.6 @@ -210,7 +210,7 @@ importers: version: 22.0.0 '@vue/tsconfig': specifier: ^0.7.0 - version: 0.7.0(typescript@5.7.3)(vue@3.5.13(typescript@5.7.3)) + version: 0.7.0(typescript@5.8.2)(vue@3.5.13(typescript@5.8.2)) template/tsconfig/vitest: devDependencies: @@ -3588,8 +3588,8 @@ packages: resolution: {integrity: sha512-Ne2YiiGN8bmrmJJEuTWTLJR32nh/JdL1+PSicowtNb0WFpn59GK8/lfD61bVtzguz7b3PBt74nxpv/Pw5po5Rg==} engines: {node: '>=8'} - typescript@5.7.3: - resolution: {integrity: sha512-84MVSjMEHP+FQRPy3pX9sTVV/INIex71s9TL2Gm5FG/WG1SqXeKyZ0k7/blY/4FdOzI12CBy1vGc4og/eus0fw==} + typescript@5.8.2: + resolution: {integrity: sha512-aJn6wq13/afZp/jT9QZmwEjDqqvSGp1VT5GVg+f/t6/oVyrgXM6BY1h9BRh/O5p3PlUPAe+WuiEZOmb/49RqoQ==} engines: {node: '>=14.17'} hasBin: true @@ -4497,10 +4497,10 @@ snapshots: dependencies: archiver: 5.3.2 - '@nightwatch/vue@3.1.2(@types/node@22.13.9)(vue@3.5.13(typescript@5.7.3))': + '@nightwatch/vue@3.1.2(@types/node@22.13.9)(vue@3.5.13(typescript@5.8.2))': dependencies: '@nightwatch/esbuild-utils': 0.2.1 - '@vitejs/plugin-vue': 4.6.2(vite@4.5.9(@types/node@22.13.9))(vue@3.5.13(typescript@5.7.3)) + '@vitejs/plugin-vue': 4.6.2(vite@4.5.9(@types/node@22.13.9))(vue@3.5.13(typescript@5.8.2)) get-port: 5.1.1 vite: 4.5.9(@types/node@22.13.9) vite-plugin-nightwatch: 0.4.6 @@ -4692,25 +4692,25 @@ snapshots: '@types/node': 22.13.9 optional: true - '@vitejs/plugin-vue-jsx@4.1.1(vite@6.2.0(@types/node@22.13.9)(yaml@2.7.0))(vue@3.5.13(typescript@5.7.3))': + '@vitejs/plugin-vue-jsx@4.1.1(vite@6.2.0(@types/node@22.13.9)(yaml@2.7.0))(vue@3.5.13(typescript@5.8.2))': dependencies: '@babel/core': 7.26.0 '@babel/plugin-transform-typescript': 7.25.9(@babel/core@7.26.0) '@vue/babel-plugin-jsx': 1.2.5(@babel/core@7.26.0) vite: 6.2.0(@types/node@22.13.9)(yaml@2.7.0) - vue: 3.5.13(typescript@5.7.3) + vue: 3.5.13(typescript@5.8.2) transitivePeerDependencies: - supports-color - '@vitejs/plugin-vue@4.6.2(vite@4.5.9(@types/node@22.13.9))(vue@3.5.13(typescript@5.7.3))': + '@vitejs/plugin-vue@4.6.2(vite@4.5.9(@types/node@22.13.9))(vue@3.5.13(typescript@5.8.2))': dependencies: vite: 4.5.9(@types/node@22.13.9) - vue: 3.5.13(typescript@5.7.3) + vue: 3.5.13(typescript@5.8.2) - '@vitejs/plugin-vue@5.2.1(vite@6.2.0(@types/node@22.13.9)(yaml@2.7.0))(vue@3.5.13(typescript@5.7.3))': + '@vitejs/plugin-vue@5.2.1(vite@6.2.0(@types/node@22.13.9)(yaml@2.7.0))(vue@3.5.13(typescript@5.8.2))': dependencies: vite: 6.2.0(@types/node@22.13.9)(yaml@2.7.0) - vue: 3.5.13(typescript@5.7.3) + vue: 3.5.13(typescript@5.8.2) '@vitest/expect@3.0.8': dependencies: @@ -4841,7 +4841,7 @@ snapshots: dependencies: '@vue/devtools-kit': 7.7.2 - '@vue/devtools-core@7.7.2(vite@6.2.0(@types/node@22.13.9)(yaml@2.7.0))(vue@3.5.13(typescript@5.7.3))': + '@vue/devtools-core@7.7.2(vite@6.2.0(@types/node@22.13.9)(yaml@2.7.0))(vue@3.5.13(typescript@5.8.2))': dependencies: '@vue/devtools-kit': 7.7.2 '@vue/devtools-shared': 7.7.2 @@ -4849,7 +4849,7 @@ snapshots: nanoid: 5.0.9 pathe: 2.0.2 vite-hot-client: 0.2.4(vite@6.2.0(@types/node@22.13.9)(yaml@2.7.0)) - vue: 3.5.13(typescript@5.7.3) + vue: 3.5.13(typescript@5.8.2) transitivePeerDependencies: - vite @@ -4867,7 +4867,7 @@ snapshots: dependencies: rfdc: 1.4.1 - '@vue/language-core@2.2.8(typescript@5.7.3)': + '@vue/language-core@2.2.8(typescript@5.8.2)': dependencies: '@volar/language-core': 2.4.11 '@vue/compiler-dom': 3.5.13 @@ -4878,7 +4878,7 @@ snapshots: muggle-string: 0.4.1 path-browserify: 1.0.1 optionalDependencies: - typescript: 5.7.3 + typescript: 5.8.2 '@vue/reactivity@3.5.13': dependencies: @@ -4896,11 +4896,11 @@ snapshots: '@vue/shared': 3.5.13 csstype: 3.1.3 - '@vue/server-renderer@3.5.13(vue@3.5.13(typescript@5.7.3))': + '@vue/server-renderer@3.5.13(vue@3.5.13(typescript@5.8.2))': dependencies: '@vue/compiler-ssr': 3.5.13 '@vue/shared': 3.5.13 - vue: 3.5.13(typescript@5.7.3) + vue: 3.5.13(typescript@5.8.2) '@vue/shared@3.5.13': {} @@ -4909,10 +4909,10 @@ snapshots: js-beautify: 1.15.1 vue-component-type-helpers: 2.1.6 - '@vue/tsconfig@0.7.0(typescript@5.7.3)(vue@3.5.13(typescript@5.7.3))': + '@vue/tsconfig@0.7.0(typescript@5.8.2)(vue@3.5.13(typescript@5.8.2))': optionalDependencies: - typescript: 5.7.3 - vue: 3.5.13(typescript@5.7.3) + typescript: 5.8.2 + vue: 3.5.13(typescript@5.8.2) '@wdio/logger@9.1.3': dependencies: @@ -6845,12 +6845,12 @@ snapshots: pify@2.3.0: {} - pinia@3.0.1(typescript@5.7.3)(vue@3.5.13(typescript@5.7.3)): + pinia@3.0.1(typescript@5.8.2)(vue@3.5.13(typescript@5.8.2)): dependencies: '@vue/devtools-api': 7.7.2 - vue: 3.5.13(typescript@5.7.3) + vue: 3.5.13(typescript@5.8.2) optionalDependencies: - typescript: 5.7.3 + typescript: 5.8.2 piscina@4.7.0: optionalDependencies: @@ -7354,7 +7354,7 @@ snapshots: tree-kill@1.2.2: {} - ts-node@10.9.2(@types/node@22.13.9)(typescript@5.7.3): + ts-node@10.9.2(@types/node@22.13.9)(typescript@5.8.2): dependencies: '@cspotcode/source-map-support': 0.8.1 '@tsconfig/node10': 1.0.11 @@ -7368,7 +7368,7 @@ snapshots: create-require: 1.1.1 diff: 4.0.2 make-error: 1.3.6 - typescript: 5.7.3 + typescript: 5.8.2 v8-compile-cache-lib: 3.0.1 yn: 3.1.1 @@ -7390,7 +7390,7 @@ snapshots: type-fest@0.7.1: {} - typescript@5.7.3: {} + typescript@5.8.2: {} undici-types@6.20.0: {} @@ -7480,9 +7480,9 @@ snapshots: - supports-color - utf-8-validate - vite-plugin-vue-devtools@7.7.2(rollup@4.34.6)(vite@6.2.0(@types/node@22.13.9)(yaml@2.7.0))(vue@3.5.13(typescript@5.7.3)): + vite-plugin-vue-devtools@7.7.2(rollup@4.34.6)(vite@6.2.0(@types/node@22.13.9)(yaml@2.7.0))(vue@3.5.13(typescript@5.8.2)): dependencies: - '@vue/devtools-core': 7.7.2(vite@6.2.0(@types/node@22.13.9)(yaml@2.7.0))(vue@3.5.13(typescript@5.7.3)) + '@vue/devtools-core': 7.7.2(vite@6.2.0(@types/node@22.13.9)(yaml@2.7.0))(vue@3.5.13(typescript@5.8.2)) '@vue/devtools-kit': 7.7.2 '@vue/devtools-shared': 7.7.2 execa: 9.5.1 @@ -7573,26 +7573,26 @@ snapshots: vue-component-type-helpers@2.1.6: {} - vue-router@4.5.0(vue@3.5.13(typescript@5.7.3)): + vue-router@4.5.0(vue@3.5.13(typescript@5.8.2)): dependencies: '@vue/devtools-api': 6.6.4 - vue: 3.5.13(typescript@5.7.3) + vue: 3.5.13(typescript@5.8.2) - vue-tsc@2.2.8(typescript@5.7.3): + vue-tsc@2.2.8(typescript@5.8.2): dependencies: '@volar/typescript': 2.4.11 - '@vue/language-core': 2.2.8(typescript@5.7.3) - typescript: 5.7.3 + '@vue/language-core': 2.2.8(typescript@5.8.2) + typescript: 5.8.2 - vue@3.5.13(typescript@5.7.3): + vue@3.5.13(typescript@5.8.2): dependencies: '@vue/compiler-dom': 3.5.13 '@vue/compiler-sfc': 3.5.13 '@vue/runtime-dom': 3.5.13 - '@vue/server-renderer': 3.5.13(vue@3.5.13(typescript@5.7.3)) + '@vue/server-renderer': 3.5.13(vue@3.5.13(typescript@5.8.2)) '@vue/shared': 3.5.13 optionalDependencies: - typescript: 5.7.3 + typescript: 5.8.2 w3c-xmlserializer@5.0.0: dependencies: diff --git a/template/config/typescript/package.json b/template/config/typescript/package.json index 748922f7..2795731a 100644 --- a/template/config/typescript/package.json +++ b/template/config/typescript/package.json @@ -7,7 +7,7 @@ "devDependencies": { "@types/node": "^22.13.9", "npm-run-all2": "^7.0.2", - "typescript": "~5.7.3", + "typescript": "~5.8.0", "vue-tsc": "^2.2.8" } } From 9d9d46a53c39833441ddd224ee1ed1b213feedfe Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Sat, 8 Mar 2025 13:55:39 +0800 Subject: [PATCH 17/20] chore(deps): update dependency chromedriver to v134 (#706) --- pnpm-lock.yaml | 16 ++++++++-------- template/config/nightwatch/package.json | 2 +- 2 files changed, 9 insertions(+), 9 deletions(-) diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index d6a8dddc..d310e053 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -114,14 +114,14 @@ importers: specifier: ^5.2.1 version: 5.2.1(vite@6.2.0(@types/node@22.13.9)(yaml@2.7.0))(vue@3.5.13(typescript@5.8.2)) chromedriver: - specifier: ^133.0.3 - version: 133.0.3 + specifier: ^134.0.0 + version: 134.0.0 geckodriver: specifier: ^5.0.0 version: 5.0.0 nightwatch: specifier: ^3.12.0 - version: 3.12.0(chromedriver@133.0.3)(geckodriver@5.0.0) + version: 3.12.0(chromedriver@134.0.0)(geckodriver@5.0.0) ts-node: specifier: ^10.9.2 version: 10.9.2(@types/node@22.13.9)(typescript@5.8.2) @@ -1517,8 +1517,8 @@ packages: resolution: {integrity: sha512-Dr3sfKRP6oTcjf2JmUmFJfeVMvXBdegxB0iVQ5eb2V10uFJUCAS8OByZdVAyVb8xXNz3GjjTgj9kLWsZTqE6kw==} engines: {node: '>= 8.10.0'} - chromedriver@133.0.3: - resolution: {integrity: sha512-wGZUtrSdyqnbweXEDIbn+ndu7memG4SEqG6/D+mSabKUEic0hveMYepAPAhlYtvyOc0X8JbsARYtEalVD3R/Vg==} + chromedriver@134.0.0: + resolution: {integrity: sha512-zdvVh5WzoSsN6U4cUxTQEPTJrC4c9O7Kfc50RWPztQKb4DV84UHvVuLyKfCHHRPehWSA2AQU6rxni5FpBfkmGw==} engines: {node: '>=18'} hasBin: true @@ -5217,7 +5217,7 @@ snapshots: optionalDependencies: fsevents: 2.3.3 - chromedriver@133.0.3: + chromedriver@134.0.0: dependencies: '@testim/chrome-version': 1.1.4 axios: 1.7.9(debug@4.4.0) @@ -6604,7 +6604,7 @@ snapshots: dependencies: axe-core: 4.10.0 - nightwatch@3.12.0(chromedriver@133.0.3)(geckodriver@5.0.0): + nightwatch@3.12.0(chromedriver@134.0.0)(geckodriver@5.0.0): dependencies: '@nightwatch/chai': 5.0.3 '@nightwatch/html-reporter-template': 0.3.0 @@ -6641,7 +6641,7 @@ snapshots: untildify: 4.0.0 uuid: 8.3.2 optionalDependencies: - chromedriver: 133.0.3 + chromedriver: 134.0.0 geckodriver: 5.0.0 transitivePeerDependencies: - bufferutil diff --git a/template/config/nightwatch/package.json b/template/config/nightwatch/package.json index 4c0302df..0b73433b 100644 --- a/template/config/nightwatch/package.json +++ b/template/config/nightwatch/package.json @@ -5,7 +5,7 @@ "devDependencies": { "@nightwatch/vue": "^3.1.2", "@vitejs/plugin-vue": "^5.2.1", - "chromedriver": "^133.0.3", + "chromedriver": "^134.0.0", "geckodriver": "^5.0.0", "nightwatch": "^3.12.0", "ts-node": "^10.9.2", From 78d92da3fffd658230456d3b1991eb1239eec9b2 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Sat, 8 Mar 2025 18:24:20 +0800 Subject: [PATCH 18/20] chore(deps): update dependency eslint-plugin-cypress to ^4.2.0 (#708) --- template/eslint/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/template/eslint/package.json b/template/eslint/package.json index 2cb306df..03c7272b 100644 --- a/template/eslint/package.json +++ b/template/eslint/package.json @@ -1,7 +1,7 @@ { "devDependencies": { "@vitest/eslint-plugin": "^1.1.36", - "eslint-plugin-cypress": "^4.1.0", + "eslint-plugin-cypress": "^4.2.0", "eslint-plugin-playwright": "^2.2.0" } } From 8ebed377b1cc73d84d77e9ba4eddf78242cab4ec Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Sat, 8 Mar 2025 21:27:50 +0800 Subject: [PATCH 19/20] chore(deps): update dependency vite to ^6.2.1 (#707) --- pnpm-lock.yaml | 70 ++++++++++++------------- template/base/package.json | 2 +- template/config/jsx/package.json | 2 +- template/config/nightwatch/package.json | 2 +- 4 files changed, 38 insertions(+), 38 deletions(-) diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index d310e053..4a118886 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -65,13 +65,13 @@ importers: devDependencies: '@vitejs/plugin-vue': specifier: ^5.2.1 - version: 5.2.1(vite@6.2.0(@types/node@22.13.9)(yaml@2.7.0))(vue@3.5.13(typescript@5.8.2)) + version: 5.2.1(vite@6.2.1(@types/node@22.13.9)(yaml@2.7.0))(vue@3.5.13(typescript@5.8.2)) vite: - specifier: ^6.2.0 - version: 6.2.0(@types/node@22.13.9)(yaml@2.7.0) + specifier: ^6.2.1 + version: 6.2.1(@types/node@22.13.9)(yaml@2.7.0) vite-plugin-vue-devtools: specifier: ^7.7.2 - version: 7.7.2(rollup@4.34.6)(vite@6.2.0(@types/node@22.13.9)(yaml@2.7.0))(vue@3.5.13(typescript@5.8.2)) + version: 7.7.2(rollup@4.34.6)(vite@6.2.1(@types/node@22.13.9)(yaml@2.7.0))(vue@3.5.13(typescript@5.8.2)) template/config/cypress: devDependencies: @@ -100,10 +100,10 @@ importers: devDependencies: '@vitejs/plugin-vue-jsx': specifier: ^4.1.1 - version: 4.1.1(vite@6.2.0(@types/node@22.13.9)(yaml@2.7.0))(vue@3.5.13(typescript@5.8.2)) + version: 4.1.1(vite@6.2.1(@types/node@22.13.9)(yaml@2.7.0))(vue@3.5.13(typescript@5.8.2)) vite: - specifier: ^6.2.0 - version: 6.2.0(@types/node@22.13.9)(yaml@2.7.0) + specifier: ^6.2.1 + version: 6.2.1(@types/node@22.13.9)(yaml@2.7.0) template/config/nightwatch: devDependencies: @@ -112,7 +112,7 @@ importers: version: 3.1.2(@types/node@22.13.9)(vue@3.5.13(typescript@5.8.2)) '@vitejs/plugin-vue': specifier: ^5.2.1 - version: 5.2.1(vite@6.2.0(@types/node@22.13.9)(yaml@2.7.0))(vue@3.5.13(typescript@5.8.2)) + version: 5.2.1(vite@6.2.1(@types/node@22.13.9)(yaml@2.7.0))(vue@3.5.13(typescript@5.8.2)) chromedriver: specifier: ^134.0.0 version: 134.0.0 @@ -126,8 +126,8 @@ importers: specifier: ^10.9.2 version: 10.9.2(@types/node@22.13.9)(typescript@5.8.2) vite: - specifier: ^6.2.0 - version: 6.2.0(@types/node@22.13.9)(yaml@2.7.0) + specifier: ^6.2.1 + version: 6.2.1(@types/node@22.13.9)(yaml@2.7.0) vite-plugin-nightwatch: specifier: ^0.4.6 version: 0.4.6 @@ -3697,8 +3697,8 @@ packages: terser: optional: true - vite@6.2.0: - resolution: {integrity: sha512-7dPxoo+WsT/64rDcwoOjk76XHj+TqNTIvHKcuMQ1k4/SeHDaQt5GFAeLYzrimZrMpn/O6DtdI03WUjdxuPM0oQ==} + vite@6.2.1: + resolution: {integrity: sha512-n2GnqDb6XPhlt9B8olZPrgMD/es/Nd1RdChF6CBD/fHW6pUyUTt2sQW2fPRX5GiD9XEa6+8A6A4f2vT6pSsE7Q==} engines: {node: ^18.0.0 || ^20.0.0 || >=22.0.0} hasBin: true peerDependencies: @@ -4692,12 +4692,12 @@ snapshots: '@types/node': 22.13.9 optional: true - '@vitejs/plugin-vue-jsx@4.1.1(vite@6.2.0(@types/node@22.13.9)(yaml@2.7.0))(vue@3.5.13(typescript@5.8.2))': + '@vitejs/plugin-vue-jsx@4.1.1(vite@6.2.1(@types/node@22.13.9)(yaml@2.7.0))(vue@3.5.13(typescript@5.8.2))': dependencies: '@babel/core': 7.26.0 '@babel/plugin-transform-typescript': 7.25.9(@babel/core@7.26.0) '@vue/babel-plugin-jsx': 1.2.5(@babel/core@7.26.0) - vite: 6.2.0(@types/node@22.13.9)(yaml@2.7.0) + vite: 6.2.1(@types/node@22.13.9)(yaml@2.7.0) vue: 3.5.13(typescript@5.8.2) transitivePeerDependencies: - supports-color @@ -4707,9 +4707,9 @@ snapshots: vite: 4.5.9(@types/node@22.13.9) vue: 3.5.13(typescript@5.8.2) - '@vitejs/plugin-vue@5.2.1(vite@6.2.0(@types/node@22.13.9)(yaml@2.7.0))(vue@3.5.13(typescript@5.8.2))': + '@vitejs/plugin-vue@5.2.1(vite@6.2.1(@types/node@22.13.9)(yaml@2.7.0))(vue@3.5.13(typescript@5.8.2))': dependencies: - vite: 6.2.0(@types/node@22.13.9)(yaml@2.7.0) + vite: 6.2.1(@types/node@22.13.9)(yaml@2.7.0) vue: 3.5.13(typescript@5.8.2) '@vitest/expect@3.0.8': @@ -4719,13 +4719,13 @@ snapshots: chai: 5.2.0 tinyrainbow: 2.0.0 - '@vitest/mocker@3.0.8(vite@6.2.0(@types/node@22.13.9)(yaml@2.7.0))': + '@vitest/mocker@3.0.8(vite@6.2.1(@types/node@22.13.9)(yaml@2.7.0))': dependencies: '@vitest/spy': 3.0.8 estree-walker: 3.0.3 magic-string: 0.30.17 optionalDependencies: - vite: 6.2.0(@types/node@22.13.9)(yaml@2.7.0) + vite: 6.2.1(@types/node@22.13.9)(yaml@2.7.0) '@vitest/pretty-format@3.0.8': dependencies: @@ -4841,14 +4841,14 @@ snapshots: dependencies: '@vue/devtools-kit': 7.7.2 - '@vue/devtools-core@7.7.2(vite@6.2.0(@types/node@22.13.9)(yaml@2.7.0))(vue@3.5.13(typescript@5.8.2))': + '@vue/devtools-core@7.7.2(vite@6.2.1(@types/node@22.13.9)(yaml@2.7.0))(vue@3.5.13(typescript@5.8.2))': dependencies: '@vue/devtools-kit': 7.7.2 '@vue/devtools-shared': 7.7.2 mitt: 3.0.1 nanoid: 5.0.9 pathe: 2.0.2 - vite-hot-client: 0.2.4(vite@6.2.0(@types/node@22.13.9)(yaml@2.7.0)) + vite-hot-client: 0.2.4(vite@6.2.1(@types/node@22.13.9)(yaml@2.7.0)) vue: 3.5.13(typescript@5.8.2) transitivePeerDependencies: - vite @@ -7425,9 +7425,9 @@ snapshots: core-util-is: 1.0.2 extsprintf: 1.3.0 - vite-hot-client@0.2.4(vite@6.2.0(@types/node@22.13.9)(yaml@2.7.0)): + vite-hot-client@0.2.4(vite@6.2.1(@types/node@22.13.9)(yaml@2.7.0)): dependencies: - vite: 6.2.0(@types/node@22.13.9)(yaml@2.7.0) + vite: 6.2.1(@types/node@22.13.9)(yaml@2.7.0) vite-node@3.0.8(@types/node@22.13.9)(yaml@2.7.0): dependencies: @@ -7435,7 +7435,7 @@ snapshots: debug: 4.4.0(supports-color@8.1.1) es-module-lexer: 1.6.0 pathe: 2.0.3 - vite: 6.2.0(@types/node@22.13.9)(yaml@2.7.0) + vite: 6.2.1(@types/node@22.13.9)(yaml@2.7.0) transitivePeerDependencies: - '@types/node' - jiti @@ -7450,7 +7450,7 @@ snapshots: - tsx - yaml - vite-plugin-inspect@0.8.9(rollup@4.34.6)(vite@6.2.0(@types/node@22.13.9)(yaml@2.7.0)): + vite-plugin-inspect@0.8.9(rollup@4.34.6)(vite@6.2.1(@types/node@22.13.9)(yaml@2.7.0)): dependencies: '@antfu/utils': 0.7.10 '@rollup/pluginutils': 5.1.3(rollup@4.34.6) @@ -7461,7 +7461,7 @@ snapshots: perfect-debounce: 1.0.0 picocolors: 1.1.1 sirv: 3.0.0 - vite: 6.2.0(@types/node@22.13.9)(yaml@2.7.0) + vite: 6.2.1(@types/node@22.13.9)(yaml@2.7.0) transitivePeerDependencies: - rollup - supports-color @@ -7480,23 +7480,23 @@ snapshots: - supports-color - utf-8-validate - vite-plugin-vue-devtools@7.7.2(rollup@4.34.6)(vite@6.2.0(@types/node@22.13.9)(yaml@2.7.0))(vue@3.5.13(typescript@5.8.2)): + vite-plugin-vue-devtools@7.7.2(rollup@4.34.6)(vite@6.2.1(@types/node@22.13.9)(yaml@2.7.0))(vue@3.5.13(typescript@5.8.2)): dependencies: - '@vue/devtools-core': 7.7.2(vite@6.2.0(@types/node@22.13.9)(yaml@2.7.0))(vue@3.5.13(typescript@5.8.2)) + '@vue/devtools-core': 7.7.2(vite@6.2.1(@types/node@22.13.9)(yaml@2.7.0))(vue@3.5.13(typescript@5.8.2)) '@vue/devtools-kit': 7.7.2 '@vue/devtools-shared': 7.7.2 execa: 9.5.1 sirv: 3.0.0 - vite: 6.2.0(@types/node@22.13.9)(yaml@2.7.0) - vite-plugin-inspect: 0.8.9(rollup@4.34.6)(vite@6.2.0(@types/node@22.13.9)(yaml@2.7.0)) - vite-plugin-vue-inspector: 5.3.1(vite@6.2.0(@types/node@22.13.9)(yaml@2.7.0)) + vite: 6.2.1(@types/node@22.13.9)(yaml@2.7.0) + vite-plugin-inspect: 0.8.9(rollup@4.34.6)(vite@6.2.1(@types/node@22.13.9)(yaml@2.7.0)) + vite-plugin-vue-inspector: 5.3.1(vite@6.2.1(@types/node@22.13.9)(yaml@2.7.0)) transitivePeerDependencies: - '@nuxt/kit' - rollup - supports-color - vue - vite-plugin-vue-inspector@5.3.1(vite@6.2.0(@types/node@22.13.9)(yaml@2.7.0)): + vite-plugin-vue-inspector@5.3.1(vite@6.2.1(@types/node@22.13.9)(yaml@2.7.0)): dependencies: '@babel/core': 7.26.0 '@babel/plugin-proposal-decorators': 7.25.7(@babel/core@7.26.0) @@ -7507,7 +7507,7 @@ snapshots: '@vue/compiler-dom': 3.5.13 kolorist: 1.8.0 magic-string: 0.30.17 - vite: 6.2.0(@types/node@22.13.9)(yaml@2.7.0) + vite: 6.2.1(@types/node@22.13.9)(yaml@2.7.0) transitivePeerDependencies: - supports-color @@ -7520,7 +7520,7 @@ snapshots: '@types/node': 22.13.9 fsevents: 2.3.3 - vite@6.2.0(@types/node@22.13.9)(yaml@2.7.0): + vite@6.2.1(@types/node@22.13.9)(yaml@2.7.0): dependencies: esbuild: 0.25.0 postcss: 8.5.3 @@ -7533,7 +7533,7 @@ snapshots: vitest@3.0.8(@types/node@22.13.9)(jsdom@26.0.0)(yaml@2.7.0): dependencies: '@vitest/expect': 3.0.8 - '@vitest/mocker': 3.0.8(vite@6.2.0(@types/node@22.13.9)(yaml@2.7.0)) + '@vitest/mocker': 3.0.8(vite@6.2.1(@types/node@22.13.9)(yaml@2.7.0)) '@vitest/pretty-format': 3.0.8 '@vitest/runner': 3.0.8 '@vitest/snapshot': 3.0.8 @@ -7549,7 +7549,7 @@ snapshots: tinyexec: 0.3.2 tinypool: 1.0.2 tinyrainbow: 2.0.0 - vite: 6.2.0(@types/node@22.13.9)(yaml@2.7.0) + vite: 6.2.1(@types/node@22.13.9)(yaml@2.7.0) vite-node: 3.0.8(@types/node@22.13.9)(yaml@2.7.0) why-is-node-running: 2.3.0 optionalDependencies: diff --git a/template/base/package.json b/template/base/package.json index fb5b0a14..de2449ca 100644 --- a/template/base/package.json +++ b/template/base/package.json @@ -11,7 +11,7 @@ }, "devDependencies": { "@vitejs/plugin-vue": "^5.2.1", - "vite": "^6.2.0", + "vite": "^6.2.1", "vite-plugin-vue-devtools": "^7.7.2" } } diff --git a/template/config/jsx/package.json b/template/config/jsx/package.json index a61653ff..196b0f3c 100644 --- a/template/config/jsx/package.json +++ b/template/config/jsx/package.json @@ -4,6 +4,6 @@ }, "devDependencies": { "@vitejs/plugin-vue-jsx": "^4.1.1", - "vite": "^6.2.0" + "vite": "^6.2.1" } } diff --git a/template/config/nightwatch/package.json b/template/config/nightwatch/package.json index 0b73433b..b4658e4a 100644 --- a/template/config/nightwatch/package.json +++ b/template/config/nightwatch/package.json @@ -9,7 +9,7 @@ "geckodriver": "^5.0.0", "nightwatch": "^3.12.0", "ts-node": "^10.9.2", - "vite": "^6.2.0", + "vite": "^6.2.1", "vite-plugin-nightwatch": "^0.4.6" } } From 0c183c805c8204a58689f2257bc6ee39367b4b03 Mon Sep 17 00:00:00 2001 From: Haoqun Jiang Date: Sat, 8 Mar 2025 22:45:49 +0800 Subject: [PATCH 20/20] 3.15.0 --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 71e9b2ce..dc331489 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "create-vue", - "version": "3.14.2", + "version": "3.15.0", "description": "🛠️ The recommended way to start a Vite-powered Vue project", "type": "module", "packageManager": "pnpm@10.6.1",