diff --git a/docs/src/en/guide/essentials/development.md b/docs/src/en/guide/essentials/development.md index 1e8a5e5358d..5e168e479a9 100644 --- a/docs/src/en/guide/essentials/development.md +++ b/docs/src/en/guide/essentials/development.md @@ -75,7 +75,7 @@ The execution command is: `pnpm run [script]` or `npm run [script]`. // Check types "check:type": "turbo run typecheck", // Clean the project (delete node_modules, dist, .turbo, etc.) - "clean": "vsh clean", + "clean": "node ./scripts/clean.mjs", // Commit code "commit": "czg", // Start the project (by default, the dev scripts of all packages in the entire repository will run) diff --git a/docs/src/en/guide/project/cli.md b/docs/src/en/guide/project/cli.md index 7232f319f66..a9e43fff2be 100644 --- a/docs/src/en/guide/project/cli.md +++ b/docs/src/en/guide/project/cli.md @@ -42,23 +42,6 @@ Check the dependency situation of the entire project and output `unused dependen pnpm vsh check-dep ``` -### vsh clean - -Delete the project's `node_modules`, `dist`, `.turbo` directories, etc., to clean the project. - -#### Usage - -```bash -pnpm vsh clean -``` - -#### Options - -| Option | Description | -| --- | --- | -| `-r,--recursive` | Recursively delete the entire project, default `true` | -| `--del-lock` | Whether to delete the `pnpm-lock.yaml` file, default `true` | - ### vsh lint Lint checks the project to see if the code in the project conforms to standards. diff --git a/docs/src/guide/essentials/development.md b/docs/src/guide/essentials/development.md index 4b565d80d9f..2af6a3570b6 100644 --- a/docs/src/guide/essentials/development.md +++ b/docs/src/guide/essentials/development.md @@ -75,7 +75,7 @@ npm 脚本是项目常见的配置,用于执行一些常见的任务,比如 // 检查类型 "check:type": "turbo run typecheck", // 清理项目(删除node_modules、dist、.turbo)等目录 - "clean": "vsh clean", + "clean": "node ./scripts/clean.mjs", // 提交代码 "commit": "czg", // 启动项目(默认会运行整个仓库所有包的dev脚本) diff --git a/docs/src/guide/project/cli.md b/docs/src/guide/project/cli.md index 044e2b40988..3e35242c7e0 100644 --- a/docs/src/guide/project/cli.md +++ b/docs/src/guide/project/cli.md @@ -42,16 +42,6 @@ pnpm vsh check-circular pnpm vsh check-dep ``` -### vsh clean - -删除项目的`node_modules`、`dist`、`.turbo`等目录,清理项目。 - -#### 用法 - -```bash -pnpm vsh clean -``` - #### 选项 | 选项 | 说明 | diff --git a/internal/lint-configs/eslint-config/src/custom-config.ts b/internal/lint-configs/eslint-config/src/custom-config.ts index d684eb239e8..60820f69b1f 100644 --- a/internal/lint-configs/eslint-config/src/custom-config.ts +++ b/internal/lint-configs/eslint-config/src/custom-config.ts @@ -143,7 +143,7 @@ const customConfig: Linter.Config[] = [ }, }, { - files: ['internal/**/**'], + files: ['internal/**/**', 'scripts/**/**'], rules: { 'no-console': 'off', }, diff --git a/package.json b/package.json index 6636b89e6fc..03b87fcef9e 100644 --- a/package.json +++ b/package.json @@ -39,7 +39,7 @@ "check:cspell": "cspell lint **/*.ts **/README.md .changeset/*.md --no-progress", "check:dep": "vsh check-dep", "check:type": "turbo run typecheck", - "clean": "vsh clean", + "clean": "node ./scripts/clean.mjs", "commit": "czg", "dev": "turbo-run dev", "dev:antd": "pnpm -F @vben/web-antd run dev", diff --git a/packages/@core/preferences/__tests__/preferences.test.ts b/packages/@core/preferences/__tests__/preferences.test.ts index da96d1ebe23..37657d89f77 100644 --- a/packages/@core/preferences/__tests__/preferences.test.ts +++ b/packages/@core/preferences/__tests__/preferences.test.ts @@ -30,30 +30,30 @@ describe('preferences', () => { expect(preferences).toEqual(defaultPreferences); }); - // it('initializes preferences with overrides', async () => { - // const overrides: any = { - // app: { - // locale: 'en-US', - // }, - // }; - // await preferenceManager.initPreferences({ - // namespace: 'testNamespace', - // overrides, - // }); - - // // 等待防抖动操作完成 - // // await new Promise((resolve) => setTimeout(resolve, 300)); // 等待100毫秒 - - // const expected = { - // ...defaultPreferences, - // app: { - // ...defaultPreferences.app, - // ...overrides.app, - // }, - // }; - - // expect(preferenceManager.getPreferences()).toEqual(expected); - // }); + it('initializes preferences with overrides', async () => { + const overrides: any = { + app: { + locale: 'en-US', + }, + }; + await preferenceManager.initPreferences({ + namespace: 'testNamespace', + overrides, + }); + + // 等待防抖动操作完成 + // await new Promise((resolve) => setTimeout(resolve, 300)); // 等待100毫秒 + + const expected = { + ...defaultPreferences, + app: { + ...defaultPreferences.app, + ...overrides.app, + }, + }; + + expect(preferenceManager.getPreferences()).toEqual(expected); + }); it('updates theme mode correctly', () => { preferenceManager.updatePreferences({ diff --git a/packages/@core/preferences/src/preferences.ts b/packages/@core/preferences/src/preferences.ts index ef130a4a91b..7851fdbc72c 100644 --- a/packages/@core/preferences/src/preferences.ts +++ b/packages/@core/preferences/src/preferences.ts @@ -172,7 +172,7 @@ class PreferenceManager { const mergedPreference = merge( {}, // overrides, - this.loadCachedPreferences() || defaultPreferences, + this.loadCachedPreferences() || {}, this.initialPreferences, ); diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 125d7865aad..81d38cd0106 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -91,8 +91,8 @@ catalogs: specifier: ^4.5.9 version: 4.5.9 '@types/node': - specifier: ^22.7.0 - version: 22.7.0 + specifier: ^22.7.2 + version: 22.7.2 '@types/nprogress': specifier: ^0.2.3 version: 0.2.3 @@ -223,8 +223,8 @@ catalogs: specifier: ^4.3.0 version: 4.3.0 eslint-plugin-jsdoc: - specifier: ^50.2.4 - version: 50.2.4 + specifier: ^50.2.5 + version: 50.2.5 eslint-plugin-jsonc: specifier: ^2.16.0 version: 2.16.0 @@ -295,14 +295,14 @@ catalogs: specifier: ^4.5.0 version: 4.5.0 lucide-vue-next: - specifier: ^0.445.0 - version: 0.445.0 + specifier: ^0.446.0 + version: 0.446.0 medium-zoom: specifier: ^1.1.0 version: 1.1.0 naive-ui: - specifier: ^2.39.0 - version: 2.39.0 + specifier: ^2.40.0 + version: 2.40.1 nanoid: specifier: ^5.0.7 version: 5.0.7 @@ -430,7 +430,7 @@ catalogs: specifier: ^4.13.2 version: 4.13.2 vite: - specifier: ^5.4.7 + specifier: ^5.4.8 version: 5.4.8 vite-plugin-compression: specifier: ^0.5.1 @@ -472,7 +472,7 @@ catalogs: specifier: ^2.1.6 version: 2.1.6 watermark-js-plus: - specifier: ^1.5.6 + specifier: ^1.5.7 version: 1.5.7 zod: specifier: ^3.23.8 @@ -502,7 +502,7 @@ importers: version: 1.47.2 '@types/node': specifier: 'catalog:' - version: 22.7.0 + version: 22.7.2 '@vben/commitlint-config': specifier: workspace:* version: link:internal/lint-configs/commitlint-config @@ -532,10 +532,10 @@ importers: version: link:scripts/vsh '@vitejs/plugin-vue': specifier: 'catalog:' - version: 5.1.4(vite@5.4.8(@types/node@22.7.0)(less@4.2.0)(sass@1.79.3)(terser@5.33.0))(vue@3.5.8(typescript@5.6.2)) + version: 5.1.4(vite@5.4.8(@types/node@22.7.2)(less@4.2.0)(sass@1.79.3)(terser@5.33.0))(vue@3.5.8(typescript@5.6.2)) '@vitejs/plugin-vue-jsx': specifier: 'catalog:' - version: 4.0.1(vite@5.4.8(@types/node@22.7.0)(less@4.2.0)(sass@1.79.3)(terser@5.33.0))(vue@3.5.8(typescript@5.6.2)) + version: 4.0.1(vite@5.4.8(@types/node@22.7.2)(less@4.2.0)(sass@1.79.3)(terser@5.33.0))(vue@3.5.8(typescript@5.6.2)) '@vue/test-utils': specifier: 'catalog:' version: 2.4.6 @@ -580,10 +580,10 @@ importers: version: 2.0.0(sass@1.79.3)(typescript@5.6.2)(vue-tsc@2.1.6(typescript@5.6.2)) vite: specifier: 'catalog:' - version: 5.4.8(@types/node@22.7.0)(less@4.2.0)(sass@1.79.3)(terser@5.33.0) + version: 5.4.8(@types/node@22.7.2)(less@4.2.0)(sass@1.79.3)(terser@5.33.0) vitest: specifier: 'catalog:' - version: 2.1.1(@types/node@22.7.0)(happy-dom@15.7.4)(less@4.2.0)(sass@1.79.3)(terser@5.33.0) + version: 2.1.1(@types/node@22.7.2)(happy-dom@15.7.4)(less@4.2.0)(sass@1.79.3)(terser@5.33.0) vue: specifier: 3.5.8 version: 3.5.8(typescript@5.6.2) @@ -786,7 +786,7 @@ importers: version: 11.1.0(vue@3.5.8(typescript@5.6.2)) naive-ui: specifier: 'catalog:' - version: 2.39.0(vue@3.5.8(typescript@5.6.2)) + version: 2.40.1(vue@3.5.8(typescript@5.6.2)) pinia: specifier: 2.2.2 version: 2.2.2(typescript@5.6.2)(vue@3.5.8(typescript@5.6.2)) @@ -822,7 +822,7 @@ importers: version: 4.2.5(vue@3.5.8(typescript@5.6.2)) lucide-vue-next: specifier: 'catalog:' - version: 0.445.0(vue@3.5.8(typescript@5.6.2)) + version: 0.446.0(vue@3.5.8(typescript@5.6.2)) medium-zoom: specifier: 'catalog:' version: 1.1.0 @@ -835,16 +835,16 @@ importers: devDependencies: '@nolebase/vitepress-plugin-git-changelog': specifier: 'catalog:' - version: 2.5.0(@algolia/client-search@4.24.0)(@types/node@22.7.0)(async-validator@4.2.5)(axios@1.7.7)(nprogress@0.2.0)(postcss@8.4.47)(qrcode@1.5.4)(sass@1.79.3)(search-insights@2.17.2)(sortablejs@1.15.3)(terser@5.33.0)(typescript@5.6.2) + version: 2.5.0(@algolia/client-search@4.24.0)(@types/node@22.7.2)(async-validator@4.2.5)(axios@1.7.7)(nprogress@0.2.0)(postcss@8.4.47)(qrcode@1.5.4)(sass@1.79.3)(search-insights@2.17.2)(sortablejs@1.15.3)(terser@5.33.0)(typescript@5.6.2) '@vben/vite-config': specifier: workspace:* version: link:../internal/vite-config '@vite-pwa/vitepress': specifier: 'catalog:' - version: 0.5.3(vite-plugin-pwa@0.20.5(vite@5.4.8(@types/node@22.7.0)(less@4.2.0)(sass@1.79.3)(terser@5.33.0))(workbox-build@7.1.1)(workbox-window@7.1.0)) + version: 0.5.3(vite-plugin-pwa@0.20.5(vite@5.4.8(@types/node@22.7.2)(less@4.2.0)(sass@1.79.3)(terser@5.33.0))(workbox-build@7.1.1)(workbox-window@7.1.0)) vitepress: specifier: 'catalog:' - version: 1.3.4(@algolia/client-search@4.24.0)(@types/node@22.7.0)(async-validator@4.2.5)(axios@1.7.7)(less@4.2.0)(nprogress@0.2.0)(postcss@8.4.47)(qrcode@1.5.4)(sass@1.79.3)(search-insights@2.17.2)(sortablejs@1.15.3)(terser@5.33.0)(typescript@5.6.2) + version: 1.3.4(@algolia/client-search@4.24.0)(@types/node@22.7.2)(async-validator@4.2.5)(axios@1.7.7)(less@4.2.0)(nprogress@0.2.0)(postcss@8.4.47)(qrcode@1.5.4)(sass@1.79.3)(search-insights@2.17.2)(sortablejs@1.15.3)(terser@5.33.0)(typescript@5.6.2) vue: specifier: 3.5.8 version: 3.5.8(typescript@5.6.2) @@ -853,7 +853,7 @@ importers: dependencies: '@commitlint/cli': specifier: 'catalog:' - version: 19.5.0(@types/node@22.7.0)(typescript@5.6.2) + version: 19.5.0(@types/node@22.7.2)(typescript@5.6.2) '@commitlint/config-conventional': specifier: 'catalog:' version: 19.5.0 @@ -874,13 +874,13 @@ importers: dependencies: eslint-config-turbo: specifier: 'catalog:' - version: 2.1.2(eslint@9.11.1(jiti@1.21.6)) + version: 2.1.2(eslint@9.11.1(jiti@2.0.0)) eslint-plugin-command: specifier: 'catalog:' - version: 0.2.5(eslint@9.11.1(jiti@1.21.6)) + version: 0.2.5(eslint@9.11.1(jiti@2.0.0)) eslint-plugin-import-x: specifier: 'catalog:' - version: 4.3.0(eslint@9.11.1(jiti@1.21.6))(typescript@5.6.2) + version: 4.3.0(eslint@9.11.1(jiti@2.0.0))(typescript@5.6.2) devDependencies: '@eslint/js': specifier: 'catalog:' @@ -890,49 +890,49 @@ importers: version: 9.6.1 '@typescript-eslint/eslint-plugin': specifier: 'catalog:' - version: 8.7.0(@typescript-eslint/parser@8.7.0(eslint@9.11.1(jiti@1.21.6))(typescript@5.6.2))(eslint@9.11.1(jiti@1.21.6))(typescript@5.6.2) + version: 8.7.0(@typescript-eslint/parser@8.7.0(eslint@9.11.1(jiti@2.0.0))(typescript@5.6.2))(eslint@9.11.1(jiti@2.0.0))(typescript@5.6.2) '@typescript-eslint/parser': specifier: 'catalog:' - version: 8.7.0(eslint@9.11.1(jiti@1.21.6))(typescript@5.6.2) + version: 8.7.0(eslint@9.11.1(jiti@2.0.0))(typescript@5.6.2) eslint: specifier: 'catalog:' - version: 9.11.1(jiti@1.21.6) + version: 9.11.1(jiti@2.0.0) eslint-plugin-eslint-comments: specifier: 'catalog:' - version: 3.2.0(eslint@9.11.1(jiti@1.21.6)) + version: 3.2.0(eslint@9.11.1(jiti@2.0.0)) eslint-plugin-jsdoc: specifier: 'catalog:' - version: 50.2.4(eslint@9.11.1(jiti@1.21.6)) + version: 50.2.5(eslint@9.11.1(jiti@2.0.0)) eslint-plugin-jsonc: specifier: 'catalog:' - version: 2.16.0(eslint@9.11.1(jiti@1.21.6)) + version: 2.16.0(eslint@9.11.1(jiti@2.0.0)) eslint-plugin-n: specifier: 'catalog:' - version: 17.10.3(eslint@9.11.1(jiti@1.21.6)) + version: 17.10.3(eslint@9.11.1(jiti@2.0.0)) eslint-plugin-no-only-tests: specifier: 'catalog:' version: 3.3.0 eslint-plugin-perfectionist: specifier: 'catalog:' - version: 3.7.0(eslint@9.11.1(jiti@1.21.6))(typescript@5.6.2)(vue-eslint-parser@9.4.3(eslint@9.11.1(jiti@1.21.6))) + version: 3.7.0(eslint@9.11.1(jiti@2.0.0))(typescript@5.6.2)(vue-eslint-parser@9.4.3(eslint@9.11.1(jiti@2.0.0))) eslint-plugin-prettier: specifier: 'catalog:' - version: 5.2.1(@types/eslint@9.6.1)(eslint@9.11.1(jiti@1.21.6))(prettier@3.3.3) + version: 5.2.1(@types/eslint@9.6.1)(eslint@9.11.1(jiti@2.0.0))(prettier@3.3.3) eslint-plugin-regexp: specifier: 'catalog:' - version: 2.6.0(eslint@9.11.1(jiti@1.21.6)) + version: 2.6.0(eslint@9.11.1(jiti@2.0.0)) eslint-plugin-unicorn: specifier: 'catalog:' - version: 55.0.0(eslint@9.11.1(jiti@1.21.6)) + version: 55.0.0(eslint@9.11.1(jiti@2.0.0)) eslint-plugin-unused-imports: specifier: 'catalog:' - version: 4.1.4(@typescript-eslint/eslint-plugin@8.7.0(@typescript-eslint/parser@8.7.0(eslint@9.11.1(jiti@1.21.6))(typescript@5.6.2))(eslint@9.11.1(jiti@1.21.6))(typescript@5.6.2))(eslint@9.11.1(jiti@1.21.6)) + version: 4.1.4(@typescript-eslint/eslint-plugin@8.7.0(@typescript-eslint/parser@8.7.0(eslint@9.11.1(jiti@2.0.0))(typescript@5.6.2))(eslint@9.11.1(jiti@2.0.0))(typescript@5.6.2))(eslint@9.11.1(jiti@2.0.0)) eslint-plugin-vitest: specifier: 'catalog:' - version: 0.5.4(@typescript-eslint/eslint-plugin@8.7.0(@typescript-eslint/parser@8.7.0(eslint@9.11.1(jiti@1.21.6))(typescript@5.6.2))(eslint@9.11.1(jiti@1.21.6))(typescript@5.6.2))(eslint@9.11.1(jiti@1.21.6))(typescript@5.6.2)(vitest@2.1.1(@types/node@22.7.0)(happy-dom@15.7.4)(less@4.2.0)(sass@1.79.3)(terser@5.33.0)) + version: 0.5.4(@typescript-eslint/eslint-plugin@8.7.0(@typescript-eslint/parser@8.7.0(eslint@9.11.1(jiti@2.0.0))(typescript@5.6.2))(eslint@9.11.1(jiti@2.0.0))(typescript@5.6.2))(eslint@9.11.1(jiti@2.0.0))(typescript@5.6.2)(vitest@2.1.1(@types/node@22.7.2)(happy-dom@15.7.4)(less@4.2.0)(sass@1.79.3)(terser@5.33.0)) eslint-plugin-vue: specifier: 'catalog:' - version: 9.28.0(eslint@9.11.1(jiti@1.21.6)) + version: 9.28.0(eslint@9.11.1(jiti@2.0.0)) globals: specifier: 'catalog:' version: 15.9.0 @@ -941,7 +941,7 @@ importers: version: 2.4.0 vue-eslint-parser: specifier: 'catalog:' - version: 9.4.3(eslint@9.11.1(jiti@1.21.6)) + version: 9.4.3(eslint@9.11.1(jiti@2.0.0)) internal/lint-configs/prettier-config: dependencies: @@ -1094,13 +1094,13 @@ importers: version: link:../../packages/types vite: specifier: 'catalog:' - version: 5.4.8(@types/node@22.7.0)(less@4.2.0)(sass@1.79.3)(terser@5.33.0) + version: 5.4.8(@types/node@22.7.2)(less@4.2.0)(sass@1.79.3)(terser@5.33.0) internal/vite-config: dependencies: '@intlify/unplugin-vue-i18n': specifier: 'catalog:' - version: 5.2.0(@vue/compiler-dom@3.5.8)(eslint@9.11.1(jiti@1.21.6))(rollup@4.22.4)(typescript@5.6.2)(vue-i18n@10.0.3(vue@3.5.8(typescript@5.6.2)))(vue@3.5.8(typescript@5.6.2)) + version: 5.2.0(@vue/compiler-dom@3.5.8)(eslint@9.11.1(jiti@2.0.0))(rollup@4.22.4)(typescript@5.6.2)(vue-i18n@10.0.3(vue@3.5.8(typescript@5.6.2)))(vue@3.5.8(typescript@5.6.2)) '@jspm/generator': specifier: 'catalog:' version: 2.3.1 @@ -1124,13 +1124,13 @@ importers: version: 2.0.2 vite-plugin-lib-inject-css: specifier: 'catalog:' - version: 2.1.1(vite@5.4.8(@types/node@22.7.0)(less@4.2.0)(sass@1.79.3)(terser@5.33.0)) + version: 2.1.1(vite@5.4.8(@types/node@22.7.2)(less@4.2.0)(sass@1.79.3)(terser@5.33.0)) vite-plugin-pwa: specifier: 'catalog:' - version: 0.20.5(vite@5.4.8(@types/node@22.7.0)(less@4.2.0)(sass@1.79.3)(terser@5.33.0))(workbox-build@7.1.1)(workbox-window@7.1.0) + version: 0.20.5(vite@5.4.8(@types/node@22.7.2)(less@4.2.0)(sass@1.79.3)(terser@5.33.0))(workbox-build@7.1.1)(workbox-window@7.1.0) vite-plugin-vue-devtools: specifier: 'catalog:' - version: 7.4.6(rollup@4.22.4)(vite@5.4.8(@types/node@22.7.0)(less@4.2.0)(sass@1.79.3)(terser@5.33.0))(vue@3.5.8(typescript@5.6.2)) + version: 7.4.6(rollup@4.22.4)(vite@5.4.8(@types/node@22.7.2)(less@4.2.0)(sass@1.79.3)(terser@5.33.0))(vue@3.5.8(typescript@5.6.2)) devDependencies: '@types/archiver': specifier: 'catalog:' @@ -1143,10 +1143,10 @@ importers: version: link:../node-utils '@vitejs/plugin-vue': specifier: 'catalog:' - version: 5.1.4(vite@5.4.8(@types/node@22.7.0)(less@4.2.0)(sass@1.79.3)(terser@5.33.0))(vue@3.5.8(typescript@5.6.2)) + version: 5.1.4(vite@5.4.8(@types/node@22.7.2)(less@4.2.0)(sass@1.79.3)(terser@5.33.0))(vue@3.5.8(typescript@5.6.2)) '@vitejs/plugin-vue-jsx': specifier: 'catalog:' - version: 4.0.1(vite@5.4.8(@types/node@22.7.0)(less@4.2.0)(sass@1.79.3)(terser@5.33.0))(vue@3.5.8(typescript@5.6.2)) + version: 4.0.1(vite@5.4.8(@types/node@22.7.2)(less@4.2.0)(sass@1.79.3)(terser@5.33.0))(vue@3.5.8(typescript@5.6.2)) dayjs: specifier: 'catalog:' version: 1.11.13 @@ -1164,16 +1164,16 @@ importers: version: 1.79.3 vite: specifier: 'catalog:' - version: 5.4.8(@types/node@22.7.0)(less@4.2.0)(sass@1.79.3)(terser@5.33.0) + version: 5.4.8(@types/node@22.7.2)(less@4.2.0)(sass@1.79.3)(terser@5.33.0) vite-plugin-compression: specifier: 'catalog:' - version: 0.5.1(vite@5.4.8(@types/node@22.7.0)(less@4.2.0)(sass@1.79.3)(terser@5.33.0)) + version: 0.5.1(vite@5.4.8(@types/node@22.7.2)(less@4.2.0)(sass@1.79.3)(terser@5.33.0)) vite-plugin-dts: specifier: 'catalog:' - version: 4.2.1(@types/node@22.7.0)(rollup@4.22.4)(typescript@5.6.2)(vite@5.4.8(@types/node@22.7.0)(less@4.2.0)(sass@1.79.3)(terser@5.33.0)) + version: 4.2.1(@types/node@22.7.2)(rollup@4.22.4)(typescript@5.6.2)(vite@5.4.8(@types/node@22.7.2)(less@4.2.0)(sass@1.79.3)(terser@5.33.0)) vite-plugin-html: specifier: 'catalog:' - version: 3.2.2(vite@5.4.8(@types/node@22.7.0)(less@4.2.0)(sass@1.79.3)(terser@5.33.0)) + version: 3.2.2(vite@5.4.8(@types/node@22.7.2)(less@4.2.0)(sass@1.79.3)(terser@5.33.0)) packages/@core/base/design: {} @@ -1184,7 +1184,7 @@ importers: version: 4.1.2(vue@3.5.8(typescript@5.6.2)) lucide-vue-next: specifier: 'catalog:' - version: 0.445.0(vue@3.5.8(typescript@5.6.2)) + version: 0.446.0(vue@3.5.8(typescript@5.6.2)) vue: specifier: 3.5.8 version: 3.5.8(typescript@5.6.2) @@ -1396,7 +1396,7 @@ importers: version: 0.7.0 lucide-vue-next: specifier: 'catalog:' - version: 0.445.0(vue@3.5.8(typescript@5.6.2)) + version: 0.446.0(vue@3.5.8(typescript@5.6.2)) radix-vue: specifier: 'catalog:' version: 1.9.6(vue@3.5.8(typescript@5.6.2)) @@ -4606,8 +4606,8 @@ packages: '@types/node@12.20.55': resolution: {integrity: sha512-J8xLz7q2OFulZ2cyGTLE1TbbZcjpno7FaN6zdJNrgAdrJ+DZzh/uFR6YrTb4C+nXakvud8Q4+rbhoIWlYQbUFQ==} - '@types/node@22.7.0': - resolution: {integrity: sha512-MOdOibwBs6KW1vfqz2uKMlxq5xAfAZ98SZjO8e3XnAbFnTJtAspqhWk7hrdSAs9/Y14ZWMiy7/MxMUzAOadYEw==} + '@types/node@22.7.2': + resolution: {integrity: sha512-866lXSrpGpgyHBZUa2m9YNWqHDjjM0aBTJlNtYaGEw4rqY/dcD7deRVTbBBAJelfA7oaGDbNftXF/TL/A6RgoA==} '@types/normalize-package-data@2.4.4': resolution: {integrity: sha512-37i+OaWTh9qeK4LSHPsyRC7NahnGotNuZvjLSgcPzblpHB3rrCJxAOgI5gCdKm7coonsaX1Of0ILiTcnZjbfxA==} @@ -5174,8 +5174,8 @@ packages: axios@1.7.7: resolution: {integrity: sha512-S4kL7XrjgBmvdGut0sN3yJxqYzrDOnivkBiN0OFs6hLiUam3UPvswUo0kqGyhqUZGEOytHyumEdXsAkgCOUf3Q==} - b4a@1.6.6: - resolution: {integrity: sha512-5Tk1HLk6b6ctmjIkAcU/Ujv/1WqiDl0F0JdRCR80VsOcUlHcu7pWeWRlOqQLHfDEsVx9YH/aif5AG4ehoCtTmg==} + b4a@1.6.7: + resolution: {integrity: sha512-OnAYlL5b7LEkALw87fUVafQw5rVR9RjwGd4KUwNQ6DrrNmaVaUCgLipfVlzrPQ4tWOR9P0IXGNOx50jYCCdSJg==} babel-plugin-polyfill-corejs2@0.4.11: resolution: {integrity: sha512-sMEJ27L0gRHShOh5G54uAAPaiCOygY/5ratXuiyb2G46FmlSpc9eFCzYVyDiPxfNbwzA7mYahmjQc5q+CZQ09Q==} @@ -5808,14 +5808,10 @@ packages: dataloader@1.4.0: resolution: {integrity: sha512-68s5jYdlvasItOJnCuI2Q9s4q98g0pCyL3HrcKJu8KNugUl8ahgmZYg38ysLTgQjjXX3H8CJLkAvWrclWfcalw==} - date-fns-tz@2.0.1: - resolution: {integrity: sha512-fJCG3Pwx8HUoLhkepdsP7Z5RsucUi+ZBOxyM5d0ZZ6c4SdYustq0VMmOu6Wf7bli+yS/Jwp91TOCqn9jMcVrUA==} + date-fns-tz@3.1.3: + resolution: {integrity: sha512-ZfbMu+nbzW0mEzC8VZrLiSWvUIaI3aRHeq33mTe7Y38UctKukgqPR4nTDwcwS4d64Gf8GghnVsroBuMY3eiTeA==} peerDependencies: - date-fns: 2.x - - date-fns@2.30.0: - resolution: {integrity: sha512-fnULvOpxnC5/Vg3NCiWelDsLiUc9bRwAPs/+LfTLNvetFCtCTN+yQz15C/fs4AwX1R9K5GLtLfn8QW+dWisaAw==} - engines: {node: '>=0.11'} + date-fns: ^3.0.0 date-fns@3.6.0: resolution: {integrity: sha512-fRHTG8g/Gif+kSh50gaGEdToemgfj74aRX3swtiouboip5JDLAyDE9F11nHMIcvOaXeOC6D7SpNhi7uFyB7Uww==} @@ -6070,8 +6066,8 @@ packages: engines: {node: '>=0.10.0'} hasBin: true - electron-to-chromium@1.5.28: - resolution: {integrity: sha512-VufdJl+rzaKZoYVUijN13QcXVF5dWPZANeFTLNy+OSpHdDL5ynXTF35+60RSBbaQYB1ae723lQXHCrf4pyLsMw==} + electron-to-chromium@1.5.29: + resolution: {integrity: sha512-PF8n2AlIhCKXQ+gTpiJi0VhcHDb69kYX4MtCiivctc2QD3XuNZ/XIOlbGzt7WAjjEev0TtaH6Cu3arZExm5DOw==} element-plus@2.8.3: resolution: {integrity: sha512-BXQOyDf0s7JHyNEV8iaO+iaOzTZPsBXVKMzMI967vLCodUBDLrtiY5vglAn1YEebQcUOEUMhGcttTpIvEkcBjQ==} @@ -6256,8 +6252,8 @@ packages: peerDependencies: eslint: ^8.57.0 || ^9.0.0 - eslint-plugin-jsdoc@50.2.4: - resolution: {integrity: sha512-020jA+dXaXdb+TML3ZJBvpPmzwbNROjnYuTYi/g6A5QEmEjhptz4oPJDKkOGMIByNxsPpdTLzSU1HYVqebOX1w==} + eslint-plugin-jsdoc@50.2.5: + resolution: {integrity: sha512-o3pVL19dSO3et+env3uV2WjrMX8oEqZjBF8lZBpLl9/CgqaRAIx5UaSPfrbHKB/JlHldWOFFGrUeZWmpWUds6g==} engines: {node: '>=18'} peerDependencies: eslint: ^7.0.0 || ^8.0.0 || ^9.0.0 @@ -7277,6 +7273,10 @@ packages: resolution: {integrity: sha512-2yTgeWTWzMWkHu6Jp9NKgePDaYHbntiwvYuuJLbbN9vl7DC9DvXKOB2BC3ZZ92D3cvV/aflH0osDfwpHepQ53w==} hasBin: true + jiti@2.0.0: + resolution: {integrity: sha512-CJ7e7Abb779OTRv3lomfp7Mns/Sy1+U4pcAx5VbjxCZD5ZM/VJaXPpPjNKjtSvWQy/H86E49REXR34dl1JEz9w==} + hasBin: true + jju@1.4.0: resolution: {integrity: sha512-8wb9Yw966OSxApiCt0K3yNJL8pnNeIv+OEq2YMidz4FKP6nonSRoOXc80iXY4JaN2FC11B9qsNmDsm+ZOfMROA==} @@ -7436,8 +7436,8 @@ packages: engines: {node: '>=18.12.0'} hasBin: true - listhen@1.7.2: - resolution: {integrity: sha512-7/HamOm5YD9Wb7CFgAZkKgVPA96WwhcTQoqtm2VTZGVbVVn3IWKRBTgrU7cchA3Q8k9iCsG8Osoi9GX4JsGM9g==} + listhen@1.8.0: + resolution: {integrity: sha512-Wj5hk++HPDqnG/0nc9++oXf8M3GlzObC6AJJJ9VYAVhVTdeW+t3HyeiKhK6Ro0GPhVd8lOYM75zsckrtzLB2Gw==} hasBin: true listr2@8.2.4: @@ -7577,8 +7577,8 @@ packages: resolution: {integrity: sha512-Jo6dJ04CmSjuznwJSS3pUeWmd/H0ffTlkXXgwZi+eq1UCmqQwCh+eLsYOYCwY991i2Fah4h1BEMCx4qThGbsiA==} engines: {node: '>=10'} - lucide-vue-next@0.445.0: - resolution: {integrity: sha512-+JWAiyLliw+hprRsxv+Og/Vba3VoCyPLK1GHyd/1nYrVH0bySlPDdobbv2DxhMfGe+3y3yOOk0aSCligFy3Vkg==} + lucide-vue-next@0.446.0: + resolution: {integrity: sha512-ddx9NRczKulV4a2GcbY9F5l/zuUW0ARB4mRc+kOzFur9XvvrVxVmAmhqVChZUlj9Wmraopn8ujDfhxB6FlVfIw==} peerDependencies: vue: 3.5.8 @@ -7808,8 +7808,8 @@ packages: mz@2.7.0: resolution: {integrity: sha512-z81GNO7nnYMEhrGh9LeymoE4+Yr0Wn5McHIZMK5cfQCl+NDX08sCZgUc9/6MHni9IWuFLm1Z3HTCXu2z9fN62Q==} - naive-ui@2.39.0: - resolution: {integrity: sha512-5oUJzRG+rtLSH8eRU+fJvVYiQids2BxF9jp+fwGoAqHOptEINrBlgBu9uy+95RHE5FLJ7Q/z41o+qkoGnUrKxQ==} + naive-ui@2.40.1: + resolution: {integrity: sha512-3NkL+vLRQZKQxCHXa+7xiD6oM74OrQELaehDkGYRYpr6kjT+JJB+Z7h+5LC70gn8VkbgCAETv0+uRWF+6MLlgQ==} peerDependencies: vue: 3.5.8 @@ -7937,8 +7937,8 @@ packages: nth-check@2.1.1: resolution: {integrity: sha512-lqjrjmaOoAnWfMmBPL+XNnynZh2+swxiX3WUE0s4yEHI6m+AwrK2UZOimIRl3X/4QctVqS8AiZjFqyOGrMXb/w==} - nypm@0.3.11: - resolution: {integrity: sha512-E5GqaAYSnbb6n1qZyik2wjPDZON43FqOJO59+3OkWrnmQtjggrMOVnsyzfjxp/tS6nlYJBA4zRA5jSM2YaadMg==} + nypm@0.3.12: + resolution: {integrity: sha512-D3pzNDWIvgA+7IORhD/IuWzEk4uXv6GsgOxiid4UU3h9oq5IqV1KtPDi63n4sZJ/xcWlr88c0QM2RgN5VbOhFA==} engines: {node: ^14.16.0 || >=16.10.0} hasBin: true @@ -11621,11 +11621,11 @@ snapshots: dependencies: mime: 3.0.0 - '@commitlint/cli@19.5.0(@types/node@22.7.0)(typescript@5.6.2)': + '@commitlint/cli@19.5.0(@types/node@22.7.2)(typescript@5.6.2)': dependencies: '@commitlint/format': 19.5.0 '@commitlint/lint': 19.5.0 - '@commitlint/load': 19.5.0(@types/node@22.7.0)(typescript@5.6.2) + '@commitlint/load': 19.5.0(@types/node@22.7.2)(typescript@5.6.2) '@commitlint/read': 19.5.0 '@commitlint/types': 19.5.0 tinyexec: 0.3.0 @@ -11672,7 +11672,7 @@ snapshots: '@commitlint/rules': 19.5.0 '@commitlint/types': 19.5.0 - '@commitlint/load@19.5.0(@types/node@22.7.0)(typescript@5.6.2)': + '@commitlint/load@19.5.0(@types/node@22.7.2)(typescript@5.6.2)': dependencies: '@commitlint/config-validator': 19.5.0 '@commitlint/execute-rule': 19.5.0 @@ -11680,7 +11680,7 @@ snapshots: '@commitlint/types': 19.5.0 chalk: 5.3.0 cosmiconfig: 9.0.0(typescript@5.6.2) - cosmiconfig-typescript-loader: 5.0.0(@types/node@22.7.0)(cosmiconfig@9.0.0(typescript@5.6.2))(typescript@5.6.2) + cosmiconfig-typescript-loader: 5.0.0(@types/node@22.7.2)(cosmiconfig@9.0.0(typescript@5.6.2))(typescript@5.6.2) lodash.isplainobject: 4.0.6 lodash.merge: 4.6.2 lodash.uniq: 4.5.0 @@ -12490,9 +12490,9 @@ snapshots: '@esbuild/win32-x64@0.23.1': optional: true - '@eslint-community/eslint-utils@4.4.0(eslint@9.11.1(jiti@1.21.6))': + '@eslint-community/eslint-utils@4.4.0(eslint@9.11.1(jiti@2.0.0))': dependencies: - eslint: 9.11.1(jiti@1.21.6) + eslint: 9.11.1(jiti@2.0.0) eslint-visitor-keys: 3.4.3 '@eslint-community/regexpp@4.11.1': {} @@ -12638,9 +12638,9 @@ snapshots: '@intlify/shared@10.0.3': {} - '@intlify/unplugin-vue-i18n@5.2.0(@vue/compiler-dom@3.5.8)(eslint@9.11.1(jiti@1.21.6))(rollup@4.22.4)(typescript@5.6.2)(vue-i18n@10.0.3(vue@3.5.8(typescript@5.6.2)))(vue@3.5.8(typescript@5.6.2))': + '@intlify/unplugin-vue-i18n@5.2.0(@vue/compiler-dom@3.5.8)(eslint@9.11.1(jiti@2.0.0))(rollup@4.22.4)(typescript@5.6.2)(vue-i18n@10.0.3(vue@3.5.8(typescript@5.6.2)))(vue@3.5.8(typescript@5.6.2))': dependencies: - '@eslint-community/eslint-utils': 4.4.0(eslint@9.11.1(jiti@1.21.6)) + '@eslint-community/eslint-utils': 4.4.0(eslint@9.11.1(jiti@2.0.0)) '@intlify/bundle-utils': 9.0.0-beta.0(vue-i18n@10.0.3(vue@3.5.8(typescript@5.6.2))) '@intlify/shared': 10.0.0 '@intlify/vue-i18n-extensions': 7.0.0(@intlify/shared@10.0.0)(@vue/compiler-dom@3.5.8)(vue-i18n@10.0.3(vue@3.5.8(typescript@5.6.2)))(vue@3.5.8(typescript@5.6.2)) @@ -12771,23 +12771,23 @@ snapshots: - encoding - supports-color - '@microsoft/api-extractor-model@7.29.6(@types/node@22.7.0)': + '@microsoft/api-extractor-model@7.29.6(@types/node@22.7.2)': dependencies: '@microsoft/tsdoc': 0.15.0 '@microsoft/tsdoc-config': 0.17.0 - '@rushstack/node-core-library': 5.7.0(@types/node@22.7.0) + '@rushstack/node-core-library': 5.7.0(@types/node@22.7.2) transitivePeerDependencies: - '@types/node' - '@microsoft/api-extractor@7.47.7(@types/node@22.7.0)': + '@microsoft/api-extractor@7.47.7(@types/node@22.7.2)': dependencies: - '@microsoft/api-extractor-model': 7.29.6(@types/node@22.7.0) + '@microsoft/api-extractor-model': 7.29.6(@types/node@22.7.2) '@microsoft/tsdoc': 0.15.0 '@microsoft/tsdoc-config': 0.17.0 - '@rushstack/node-core-library': 5.7.0(@types/node@22.7.0) + '@rushstack/node-core-library': 5.7.0(@types/node@22.7.2) '@rushstack/rig-package': 0.5.3 - '@rushstack/terminal': 0.14.0(@types/node@22.7.0) - '@rushstack/ts-command-line': 4.22.6(@types/node@22.7.0) + '@rushstack/terminal': 0.14.0(@types/node@22.7.2) + '@rushstack/ts-command-line': 4.22.6(@types/node@22.7.2) lodash: 4.17.21 minimatch: 3.0.8 resolve: 1.22.8 @@ -12829,11 +12829,11 @@ snapshots: '@nodelib/fs.scandir': 2.1.5 fastq: 1.17.1 - '@nolebase/ui@2.5.0(@algolia/client-search@4.24.0)(@types/node@22.7.0)(async-validator@4.2.5)(axios@1.7.7)(nprogress@0.2.0)(postcss@8.4.47)(qrcode@1.5.4)(sass@1.79.3)(search-insights@2.17.2)(sortablejs@1.15.3)(terser@5.33.0)(typescript@5.6.2)': + '@nolebase/ui@2.5.0(@algolia/client-search@4.24.0)(@types/node@22.7.2)(async-validator@4.2.5)(axios@1.7.7)(nprogress@0.2.0)(postcss@8.4.47)(qrcode@1.5.4)(sass@1.79.3)(search-insights@2.17.2)(sortablejs@1.15.3)(terser@5.33.0)(typescript@5.6.2)': dependencies: '@iconify-json/octicon': 1.2.0 less: 4.2.0 - vitepress: 1.3.4(@algolia/client-search@4.24.0)(@types/node@22.7.0)(async-validator@4.2.5)(axios@1.7.7)(less@4.2.0)(nprogress@0.2.0)(postcss@8.4.47)(qrcode@1.5.4)(sass@1.79.3)(search-insights@2.17.2)(sortablejs@1.15.3)(terser@5.33.0)(typescript@5.6.2) + vitepress: 1.3.4(@algolia/client-search@4.24.0)(@types/node@22.7.2)(async-validator@4.2.5)(axios@1.7.7)(less@4.2.0)(nprogress@0.2.0)(postcss@8.4.47)(qrcode@1.5.4)(sass@1.79.3)(search-insights@2.17.2)(sortablejs@1.15.3)(terser@5.33.0)(typescript@5.6.2) vue: 3.5.8(typescript@5.6.2) transitivePeerDependencies: - '@algolia/client-search' @@ -12864,10 +12864,10 @@ snapshots: - typescript - universal-cookie - '@nolebase/vitepress-plugin-git-changelog@2.5.0(@algolia/client-search@4.24.0)(@types/node@22.7.0)(async-validator@4.2.5)(axios@1.7.7)(nprogress@0.2.0)(postcss@8.4.47)(qrcode@1.5.4)(sass@1.79.3)(search-insights@2.17.2)(sortablejs@1.15.3)(terser@5.33.0)(typescript@5.6.2)': + '@nolebase/vitepress-plugin-git-changelog@2.5.0(@algolia/client-search@4.24.0)(@types/node@22.7.2)(async-validator@4.2.5)(axios@1.7.7)(nprogress@0.2.0)(postcss@8.4.47)(qrcode@1.5.4)(sass@1.79.3)(search-insights@2.17.2)(sortablejs@1.15.3)(terser@5.33.0)(typescript@5.6.2)': dependencies: '@iconify-json/octicon': 1.2.0 - '@nolebase/ui': 2.5.0(@algolia/client-search@4.24.0)(@types/node@22.7.0)(async-validator@4.2.5)(axios@1.7.7)(nprogress@0.2.0)(postcss@8.4.47)(qrcode@1.5.4)(sass@1.79.3)(search-insights@2.17.2)(sortablejs@1.15.3)(terser@5.33.0)(typescript@5.6.2) + '@nolebase/ui': 2.5.0(@algolia/client-search@4.24.0)(@types/node@22.7.2)(async-validator@4.2.5)(axios@1.7.7)(nprogress@0.2.0)(postcss@8.4.47)(qrcode@1.5.4)(sass@1.79.3)(search-insights@2.17.2)(sortablejs@1.15.3)(terser@5.33.0)(typescript@5.6.2) colorette: 2.0.20 date-fns: 3.6.0 defu: 6.1.4 @@ -12877,7 +12877,7 @@ snapshots: gray-matter: 4.0.3 less: 4.2.0 uncrypto: 0.1.3 - vitepress: 1.3.4(@algolia/client-search@4.24.0)(@types/node@22.7.0)(async-validator@4.2.5)(axios@1.7.7)(less@4.2.0)(nprogress@0.2.0)(postcss@8.4.47)(qrcode@1.5.4)(sass@1.79.3)(search-insights@2.17.2)(sortablejs@1.15.3)(terser@5.33.0)(typescript@5.6.2) + vitepress: 1.3.4(@algolia/client-search@4.24.0)(@types/node@22.7.2)(async-validator@4.2.5)(axios@1.7.7)(less@4.2.0)(nprogress@0.2.0)(postcss@8.4.47)(qrcode@1.5.4)(sass@1.79.3)(search-insights@2.17.2)(sortablejs@1.15.3)(terser@5.33.0)(typescript@5.6.2) transitivePeerDependencies: - '@algolia/client-search' - '@types/node' @@ -13263,7 +13263,7 @@ snapshots: '@rollup/rollup-win32-x64-msvc@4.22.4': optional: true - '@rushstack/node-core-library@5.7.0(@types/node@22.7.0)': + '@rushstack/node-core-library@5.7.0(@types/node@22.7.2)': dependencies: ajv: 8.13.0 ajv-draft-04: 1.0.0(ajv@8.13.0) @@ -13274,23 +13274,23 @@ snapshots: resolve: 1.22.8 semver: 7.5.4 optionalDependencies: - '@types/node': 22.7.0 + '@types/node': 22.7.2 '@rushstack/rig-package@0.5.3': dependencies: resolve: 1.22.8 strip-json-comments: 3.1.1 - '@rushstack/terminal@0.14.0(@types/node@22.7.0)': + '@rushstack/terminal@0.14.0(@types/node@22.7.2)': dependencies: - '@rushstack/node-core-library': 5.7.0(@types/node@22.7.0) + '@rushstack/node-core-library': 5.7.0(@types/node@22.7.2) supports-color: 8.1.1 optionalDependencies: - '@types/node': 22.7.0 + '@types/node': 22.7.2 - '@rushstack/ts-command-line@4.22.6(@types/node@22.7.0)': + '@rushstack/ts-command-line@4.22.6(@types/node@22.7.2)': dependencies: - '@rushstack/terminal': 0.14.0(@types/node@22.7.0) + '@rushstack/terminal': 0.14.0(@types/node@22.7.2) '@types/argparse': 1.0.38 argparse: 1.0.10 string-argv: 0.3.2 @@ -13423,7 +13423,7 @@ snapshots: '@types/conventional-commits-parser@5.0.0': dependencies: - '@types/node': 22.7.0 + '@types/node': 22.7.2 '@types/eslint@9.6.1': dependencies: @@ -13439,7 +13439,7 @@ snapshots: '@types/fs-extra@11.0.4': dependencies: '@types/jsonfile': 6.1.4 - '@types/node': 22.7.0 + '@types/node': 22.7.2 optional: true '@types/hast@3.0.4': @@ -13450,18 +13450,18 @@ snapshots: '@types/http-proxy@1.17.15': dependencies: - '@types/node': 22.7.0 + '@types/node': 22.7.2 '@types/json-schema@7.0.15': {} '@types/jsonfile@6.1.4': dependencies: - '@types/node': 22.7.0 + '@types/node': 22.7.2 optional: true '@types/jsonwebtoken@9.0.7': dependencies: - '@types/node': 22.7.0 + '@types/node': 22.7.2 '@types/katex@0.16.7': {} @@ -13492,7 +13492,7 @@ snapshots: '@types/node@12.20.55': {} - '@types/node@22.7.0': + '@types/node@22.7.2': dependencies: undici-types: 6.19.8 @@ -13508,11 +13508,11 @@ snapshots: '@types/qrcode@1.5.5': dependencies: - '@types/node': 22.7.0 + '@types/node': 22.7.2 '@types/readdir-glob@1.1.5': dependencies: - '@types/node': 22.7.0 + '@types/node': 22.7.2 '@types/resolve@1.20.2': {} @@ -13528,15 +13528,15 @@ snapshots: '@types/web-bluetooth@0.0.20': {} - '@typescript-eslint/eslint-plugin@8.7.0(@typescript-eslint/parser@8.7.0(eslint@9.11.1(jiti@1.21.6))(typescript@5.6.2))(eslint@9.11.1(jiti@1.21.6))(typescript@5.6.2)': + '@typescript-eslint/eslint-plugin@8.7.0(@typescript-eslint/parser@8.7.0(eslint@9.11.1(jiti@2.0.0))(typescript@5.6.2))(eslint@9.11.1(jiti@2.0.0))(typescript@5.6.2)': dependencies: '@eslint-community/regexpp': 4.11.1 - '@typescript-eslint/parser': 8.7.0(eslint@9.11.1(jiti@1.21.6))(typescript@5.6.2) + '@typescript-eslint/parser': 8.7.0(eslint@9.11.1(jiti@2.0.0))(typescript@5.6.2) '@typescript-eslint/scope-manager': 8.7.0 - '@typescript-eslint/type-utils': 8.7.0(eslint@9.11.1(jiti@1.21.6))(typescript@5.6.2) - '@typescript-eslint/utils': 8.7.0(eslint@9.11.1(jiti@1.21.6))(typescript@5.6.2) + '@typescript-eslint/type-utils': 8.7.0(eslint@9.11.1(jiti@2.0.0))(typescript@5.6.2) + '@typescript-eslint/utils': 8.7.0(eslint@9.11.1(jiti@2.0.0))(typescript@5.6.2) '@typescript-eslint/visitor-keys': 8.7.0 - eslint: 9.11.1(jiti@1.21.6) + eslint: 9.11.1(jiti@2.0.0) graphemer: 1.4.0 ignore: 5.3.2 natural-compare: 1.4.0 @@ -13546,14 +13546,14 @@ snapshots: transitivePeerDependencies: - supports-color - '@typescript-eslint/parser@8.7.0(eslint@9.11.1(jiti@1.21.6))(typescript@5.6.2)': + '@typescript-eslint/parser@8.7.0(eslint@9.11.1(jiti@2.0.0))(typescript@5.6.2)': dependencies: '@typescript-eslint/scope-manager': 8.7.0 '@typescript-eslint/types': 8.7.0 '@typescript-eslint/typescript-estree': 8.7.0(typescript@5.6.2) '@typescript-eslint/visitor-keys': 8.7.0 debug: 4.3.7 - eslint: 9.11.1(jiti@1.21.6) + eslint: 9.11.1(jiti@2.0.0) optionalDependencies: typescript: 5.6.2 transitivePeerDependencies: @@ -13569,10 +13569,10 @@ snapshots: '@typescript-eslint/types': 8.7.0 '@typescript-eslint/visitor-keys': 8.7.0 - '@typescript-eslint/type-utils@8.7.0(eslint@9.11.1(jiti@1.21.6))(typescript@5.6.2)': + '@typescript-eslint/type-utils@8.7.0(eslint@9.11.1(jiti@2.0.0))(typescript@5.6.2)': dependencies: '@typescript-eslint/typescript-estree': 8.7.0(typescript@5.6.2) - '@typescript-eslint/utils': 8.7.0(eslint@9.11.1(jiti@1.21.6))(typescript@5.6.2) + '@typescript-eslint/utils': 8.7.0(eslint@9.11.1(jiti@2.0.0))(typescript@5.6.2) debug: 4.3.7 ts-api-utils: 1.3.0(typescript@5.6.2) optionalDependencies: @@ -13615,24 +13615,24 @@ snapshots: transitivePeerDependencies: - supports-color - '@typescript-eslint/utils@7.18.0(eslint@9.11.1(jiti@1.21.6))(typescript@5.6.2)': + '@typescript-eslint/utils@7.18.0(eslint@9.11.1(jiti@2.0.0))(typescript@5.6.2)': dependencies: - '@eslint-community/eslint-utils': 4.4.0(eslint@9.11.1(jiti@1.21.6)) + '@eslint-community/eslint-utils': 4.4.0(eslint@9.11.1(jiti@2.0.0)) '@typescript-eslint/scope-manager': 7.18.0 '@typescript-eslint/types': 7.18.0 '@typescript-eslint/typescript-estree': 7.18.0(typescript@5.6.2) - eslint: 9.11.1(jiti@1.21.6) + eslint: 9.11.1(jiti@2.0.0) transitivePeerDependencies: - supports-color - typescript - '@typescript-eslint/utils@8.7.0(eslint@9.11.1(jiti@1.21.6))(typescript@5.6.2)': + '@typescript-eslint/utils@8.7.0(eslint@9.11.1(jiti@2.0.0))(typescript@5.6.2)': dependencies: - '@eslint-community/eslint-utils': 4.4.0(eslint@9.11.1(jiti@1.21.6)) + '@eslint-community/eslint-utils': 4.4.0(eslint@9.11.1(jiti@2.0.0)) '@typescript-eslint/scope-manager': 8.7.0 '@typescript-eslint/types': 8.7.0 '@typescript-eslint/typescript-estree': 8.7.0(typescript@5.6.2) - eslint: 9.11.1(jiti@1.21.6) + eslint: 9.11.1(jiti@2.0.0) transitivePeerDependencies: - supports-color - typescript @@ -13675,23 +13675,23 @@ snapshots: - encoding - supports-color - '@vite-pwa/vitepress@0.5.3(vite-plugin-pwa@0.20.5(vite@5.4.8(@types/node@22.7.0)(less@4.2.0)(sass@1.79.3)(terser@5.33.0))(workbox-build@7.1.1)(workbox-window@7.1.0))': + '@vite-pwa/vitepress@0.5.3(vite-plugin-pwa@0.20.5(vite@5.4.8(@types/node@22.7.2)(less@4.2.0)(sass@1.79.3)(terser@5.33.0))(workbox-build@7.1.1)(workbox-window@7.1.0))': dependencies: - vite-plugin-pwa: 0.20.5(vite@5.4.8(@types/node@22.7.0)(less@4.2.0)(sass@1.79.3)(terser@5.33.0))(workbox-build@7.1.1)(workbox-window@7.1.0) + vite-plugin-pwa: 0.20.5(vite@5.4.8(@types/node@22.7.2)(less@4.2.0)(sass@1.79.3)(terser@5.33.0))(workbox-build@7.1.1)(workbox-window@7.1.0) - '@vitejs/plugin-vue-jsx@4.0.1(vite@5.4.8(@types/node@22.7.0)(less@4.2.0)(sass@1.79.3)(terser@5.33.0))(vue@3.5.8(typescript@5.6.2))': + '@vitejs/plugin-vue-jsx@4.0.1(vite@5.4.8(@types/node@22.7.2)(less@4.2.0)(sass@1.79.3)(terser@5.33.0))(vue@3.5.8(typescript@5.6.2))': dependencies: '@babel/core': 7.25.2 '@babel/plugin-transform-typescript': 7.25.2(@babel/core@7.25.2) '@vue/babel-plugin-jsx': 1.2.5(@babel/core@7.25.2) - vite: 5.4.8(@types/node@22.7.0)(less@4.2.0)(sass@1.79.3)(terser@5.33.0) + vite: 5.4.8(@types/node@22.7.2)(less@4.2.0)(sass@1.79.3)(terser@5.33.0) vue: 3.5.8(typescript@5.6.2) transitivePeerDependencies: - supports-color - '@vitejs/plugin-vue@5.1.4(vite@5.4.8(@types/node@22.7.0)(less@4.2.0)(sass@1.79.3)(terser@5.33.0))(vue@3.5.8(typescript@5.6.2))': + '@vitejs/plugin-vue@5.1.4(vite@5.4.8(@types/node@22.7.2)(less@4.2.0)(sass@1.79.3)(terser@5.33.0))(vue@3.5.8(typescript@5.6.2))': dependencies: - vite: 5.4.8(@types/node@22.7.0)(less@4.2.0)(sass@1.79.3)(terser@5.33.0) + vite: 5.4.8(@types/node@22.7.2)(less@4.2.0)(sass@1.79.3)(terser@5.33.0) vue: 3.5.8(typescript@5.6.2) '@vitest/expect@2.1.1': @@ -13701,13 +13701,13 @@ snapshots: chai: 5.1.1 tinyrainbow: 1.2.0 - '@vitest/mocker@2.1.1(@vitest/spy@2.1.1)(vite@5.4.8(@types/node@22.7.0)(less@4.2.0)(sass@1.79.3)(terser@5.33.0))': + '@vitest/mocker@2.1.1(@vitest/spy@2.1.1)(vite@5.4.8(@types/node@22.7.2)(less@4.2.0)(sass@1.79.3)(terser@5.33.0))': dependencies: '@vitest/spy': 2.1.1 estree-walker: 3.0.3 magic-string: 0.30.11 optionalDependencies: - vite: 5.4.8(@types/node@22.7.0)(less@4.2.0)(sass@1.79.3)(terser@5.33.0) + vite: 5.4.8(@types/node@22.7.2)(less@4.2.0)(sass@1.79.3)(terser@5.33.0) '@vitest/pretty-format@2.1.1': dependencies: @@ -13817,14 +13817,14 @@ snapshots: dependencies: '@vue/devtools-kit': 7.4.6 - '@vue/devtools-core@7.4.6(vite@5.4.8(@types/node@22.7.0)(less@4.2.0)(sass@1.79.3)(terser@5.33.0))(vue@3.5.8(typescript@5.6.2))': + '@vue/devtools-core@7.4.6(vite@5.4.8(@types/node@22.7.2)(less@4.2.0)(sass@1.79.3)(terser@5.33.0))(vue@3.5.8(typescript@5.6.2))': dependencies: '@vue/devtools-kit': 7.4.6 '@vue/devtools-shared': 7.4.6 mitt: 3.0.1 nanoid: 3.3.7 pathe: 1.1.2 - vite-hot-client: 0.2.3(vite@5.4.8(@types/node@22.7.0)(less@4.2.0)(sass@1.79.3)(terser@5.33.0)) + vite-hot-client: 0.2.3(vite@5.4.8(@types/node@22.7.2)(less@4.2.0)(sass@1.79.3)(terser@5.33.0)) vue: 3.5.8(typescript@5.6.2) transitivePeerDependencies: - vite @@ -14223,7 +14223,7 @@ snapshots: transitivePeerDependencies: - debug - b4a@1.6.6: {} + b4a@1.6.7: {} babel-plugin-polyfill-corejs2@0.4.11(@babel/core@7.25.2): dependencies: @@ -14301,7 +14301,7 @@ snapshots: browserslist@4.24.0: dependencies: caniuse-lite: 1.0.30001663 - electron-to-chromium: 1.5.28 + electron-to-chromium: 1.5.29 node-releases: 2.0.18 update-browserslist-db: 1.1.0(browserslist@4.24.0) @@ -14688,9 +14688,9 @@ snapshots: core-util-is@1.0.3: {} - cosmiconfig-typescript-loader@5.0.0(@types/node@22.7.0)(cosmiconfig@9.0.0(typescript@5.6.2))(typescript@5.6.2): + cosmiconfig-typescript-loader@5.0.0(@types/node@22.7.2)(cosmiconfig@9.0.0(typescript@5.6.2))(typescript@5.6.2): dependencies: - '@types/node': 22.7.0 + '@types/node': 22.7.2 cosmiconfig: 9.0.0(typescript@5.6.2) jiti: 1.21.6 typescript: 5.6.2 @@ -14968,13 +14968,9 @@ snapshots: dataloader@1.4.0: {} - date-fns-tz@2.0.1(date-fns@2.30.0): + date-fns-tz@3.1.3(date-fns@3.6.0): dependencies: - date-fns: 2.30.0 - - date-fns@2.30.0: - dependencies: - '@babel/runtime': 7.25.6 + date-fns: 3.6.0 date-fns@3.6.0: {} @@ -15192,7 +15188,7 @@ snapshots: dependencies: jake: 10.9.2 - electron-to-chromium@1.5.28: {} + electron-to-chromium@1.5.29: {} element-plus@2.8.3(vue@3.5.8(typescript@5.6.2)): dependencies: @@ -15468,15 +15464,15 @@ snapshots: optionalDependencies: source-map: 0.6.1 - eslint-compat-utils@0.5.1(eslint@9.11.1(jiti@1.21.6)): + eslint-compat-utils@0.5.1(eslint@9.11.1(jiti@2.0.0)): dependencies: - eslint: 9.11.1(jiti@1.21.6) + eslint: 9.11.1(jiti@2.0.0) semver: 7.6.3 - eslint-config-turbo@2.1.2(eslint@9.11.1(jiti@1.21.6)): + eslint-config-turbo@2.1.2(eslint@9.11.1(jiti@2.0.0)): dependencies: - eslint: 9.11.1(jiti@1.21.6) - eslint-plugin-turbo: 2.1.2(eslint@9.11.1(jiti@1.21.6)) + eslint: 9.11.1(jiti@2.0.0) + eslint-plugin-turbo: 2.1.2(eslint@9.11.1(jiti@2.0.0)) eslint-import-resolver-node@0.3.9: dependencies: @@ -15486,30 +15482,30 @@ snapshots: transitivePeerDependencies: - supports-color - eslint-plugin-command@0.2.5(eslint@9.11.1(jiti@1.21.6)): + eslint-plugin-command@0.2.5(eslint@9.11.1(jiti@2.0.0)): dependencies: '@es-joy/jsdoccomment': 0.48.0 - eslint: 9.11.1(jiti@1.21.6) + eslint: 9.11.1(jiti@2.0.0) - eslint-plugin-es-x@7.8.0(eslint@9.11.1(jiti@1.21.6)): + eslint-plugin-es-x@7.8.0(eslint@9.11.1(jiti@2.0.0)): dependencies: - '@eslint-community/eslint-utils': 4.4.0(eslint@9.11.1(jiti@1.21.6)) + '@eslint-community/eslint-utils': 4.4.0(eslint@9.11.1(jiti@2.0.0)) '@eslint-community/regexpp': 4.11.1 - eslint: 9.11.1(jiti@1.21.6) - eslint-compat-utils: 0.5.1(eslint@9.11.1(jiti@1.21.6)) + eslint: 9.11.1(jiti@2.0.0) + eslint-compat-utils: 0.5.1(eslint@9.11.1(jiti@2.0.0)) - eslint-plugin-eslint-comments@3.2.0(eslint@9.11.1(jiti@1.21.6)): + eslint-plugin-eslint-comments@3.2.0(eslint@9.11.1(jiti@2.0.0)): dependencies: escape-string-regexp: 1.0.5 - eslint: 9.11.1(jiti@1.21.6) + eslint: 9.11.1(jiti@2.0.0) ignore: 5.3.2 - eslint-plugin-import-x@4.3.0(eslint@9.11.1(jiti@1.21.6))(typescript@5.6.2): + eslint-plugin-import-x@4.3.0(eslint@9.11.1(jiti@2.0.0))(typescript@5.6.2): dependencies: - '@typescript-eslint/utils': 8.7.0(eslint@9.11.1(jiti@1.21.6))(typescript@5.6.2) + '@typescript-eslint/utils': 8.7.0(eslint@9.11.1(jiti@2.0.0))(typescript@5.6.2) debug: 4.3.7 doctrine: 3.0.0 - eslint: 9.11.1(jiti@1.21.6) + eslint: 9.11.1(jiti@2.0.0) eslint-import-resolver-node: 0.3.9 get-tsconfig: 4.8.1 is-glob: 4.0.3 @@ -15521,14 +15517,14 @@ snapshots: - supports-color - typescript - eslint-plugin-jsdoc@50.2.4(eslint@9.11.1(jiti@1.21.6)): + eslint-plugin-jsdoc@50.2.5(eslint@9.11.1(jiti@2.0.0)): dependencies: '@es-joy/jsdoccomment': 0.48.0 are-docs-informative: 0.0.2 comment-parser: 1.4.1 debug: 4.3.7 escape-string-regexp: 4.0.0 - eslint: 9.11.1(jiti@1.21.6) + eslint: 9.11.1(jiti@2.0.0) espree: 10.1.0 esquery: 1.6.0 parse-imports: 2.2.1 @@ -15538,23 +15534,23 @@ snapshots: transitivePeerDependencies: - supports-color - eslint-plugin-jsonc@2.16.0(eslint@9.11.1(jiti@1.21.6)): + eslint-plugin-jsonc@2.16.0(eslint@9.11.1(jiti@2.0.0)): dependencies: - '@eslint-community/eslint-utils': 4.4.0(eslint@9.11.1(jiti@1.21.6)) - eslint: 9.11.1(jiti@1.21.6) - eslint-compat-utils: 0.5.1(eslint@9.11.1(jiti@1.21.6)) + '@eslint-community/eslint-utils': 4.4.0(eslint@9.11.1(jiti@2.0.0)) + eslint: 9.11.1(jiti@2.0.0) + eslint-compat-utils: 0.5.1(eslint@9.11.1(jiti@2.0.0)) espree: 9.6.1 graphemer: 1.4.0 jsonc-eslint-parser: 2.4.0 natural-compare: 1.4.0 synckit: 0.6.2 - eslint-plugin-n@17.10.3(eslint@9.11.1(jiti@1.21.6)): + eslint-plugin-n@17.10.3(eslint@9.11.1(jiti@2.0.0)): dependencies: - '@eslint-community/eslint-utils': 4.4.0(eslint@9.11.1(jiti@1.21.6)) + '@eslint-community/eslint-utils': 4.4.0(eslint@9.11.1(jiti@2.0.0)) enhanced-resolve: 5.17.1 - eslint: 9.11.1(jiti@1.21.6) - eslint-plugin-es-x: 7.8.0(eslint@9.11.1(jiti@1.21.6)) + eslint: 9.11.1(jiti@2.0.0) + eslint-plugin-es-x: 7.8.0(eslint@9.11.1(jiti@2.0.0)) get-tsconfig: 4.8.1 globals: 15.9.0 ignore: 5.3.2 @@ -15563,52 +15559,52 @@ snapshots: eslint-plugin-no-only-tests@3.3.0: {} - eslint-plugin-perfectionist@3.7.0(eslint@9.11.1(jiti@1.21.6))(typescript@5.6.2)(vue-eslint-parser@9.4.3(eslint@9.11.1(jiti@1.21.6))): + eslint-plugin-perfectionist@3.7.0(eslint@9.11.1(jiti@2.0.0))(typescript@5.6.2)(vue-eslint-parser@9.4.3(eslint@9.11.1(jiti@2.0.0))): dependencies: '@typescript-eslint/types': 8.7.0 - '@typescript-eslint/utils': 8.7.0(eslint@9.11.1(jiti@1.21.6))(typescript@5.6.2) - eslint: 9.11.1(jiti@1.21.6) + '@typescript-eslint/utils': 8.7.0(eslint@9.11.1(jiti@2.0.0))(typescript@5.6.2) + eslint: 9.11.1(jiti@2.0.0) minimatch: 9.0.5 natural-compare-lite: 1.4.0 optionalDependencies: - vue-eslint-parser: 9.4.3(eslint@9.11.1(jiti@1.21.6)) + vue-eslint-parser: 9.4.3(eslint@9.11.1(jiti@2.0.0)) transitivePeerDependencies: - supports-color - typescript - eslint-plugin-prettier@5.2.1(@types/eslint@9.6.1)(eslint@9.11.1(jiti@1.21.6))(prettier@3.3.3): + eslint-plugin-prettier@5.2.1(@types/eslint@9.6.1)(eslint@9.11.1(jiti@2.0.0))(prettier@3.3.3): dependencies: - eslint: 9.11.1(jiti@1.21.6) + eslint: 9.11.1(jiti@2.0.0) prettier: 3.3.3 prettier-linter-helpers: 1.0.0 synckit: 0.9.1 optionalDependencies: '@types/eslint': 9.6.1 - eslint-plugin-regexp@2.6.0(eslint@9.11.1(jiti@1.21.6)): + eslint-plugin-regexp@2.6.0(eslint@9.11.1(jiti@2.0.0)): dependencies: - '@eslint-community/eslint-utils': 4.4.0(eslint@9.11.1(jiti@1.21.6)) + '@eslint-community/eslint-utils': 4.4.0(eslint@9.11.1(jiti@2.0.0)) '@eslint-community/regexpp': 4.11.1 comment-parser: 1.4.1 - eslint: 9.11.1(jiti@1.21.6) + eslint: 9.11.1(jiti@2.0.0) jsdoc-type-pratt-parser: 4.1.0 refa: 0.12.1 regexp-ast-analysis: 0.7.1 scslre: 0.3.0 - eslint-plugin-turbo@2.1.2(eslint@9.11.1(jiti@1.21.6)): + eslint-plugin-turbo@2.1.2(eslint@9.11.1(jiti@2.0.0)): dependencies: dotenv: 16.0.3 - eslint: 9.11.1(jiti@1.21.6) + eslint: 9.11.1(jiti@2.0.0) - eslint-plugin-unicorn@55.0.0(eslint@9.11.1(jiti@1.21.6)): + eslint-plugin-unicorn@55.0.0(eslint@9.11.1(jiti@2.0.0)): dependencies: '@babel/helper-validator-identifier': 7.24.7 - '@eslint-community/eslint-utils': 4.4.0(eslint@9.11.1(jiti@1.21.6)) + '@eslint-community/eslint-utils': 4.4.0(eslint@9.11.1(jiti@2.0.0)) ci-info: 4.0.0 clean-regexp: 1.0.0 core-js-compat: 3.38.1 - eslint: 9.11.1(jiti@1.21.6) + eslint: 9.11.1(jiti@2.0.0) esquery: 1.6.0 globals: 15.9.0 indent-string: 4.0.0 @@ -15621,33 +15617,33 @@ snapshots: semver: 7.6.3 strip-indent: 3.0.0 - eslint-plugin-unused-imports@4.1.4(@typescript-eslint/eslint-plugin@8.7.0(@typescript-eslint/parser@8.7.0(eslint@9.11.1(jiti@1.21.6))(typescript@5.6.2))(eslint@9.11.1(jiti@1.21.6))(typescript@5.6.2))(eslint@9.11.1(jiti@1.21.6)): + eslint-plugin-unused-imports@4.1.4(@typescript-eslint/eslint-plugin@8.7.0(@typescript-eslint/parser@8.7.0(eslint@9.11.1(jiti@2.0.0))(typescript@5.6.2))(eslint@9.11.1(jiti@2.0.0))(typescript@5.6.2))(eslint@9.11.1(jiti@2.0.0)): dependencies: - eslint: 9.11.1(jiti@1.21.6) + eslint: 9.11.1(jiti@2.0.0) optionalDependencies: - '@typescript-eslint/eslint-plugin': 8.7.0(@typescript-eslint/parser@8.7.0(eslint@9.11.1(jiti@1.21.6))(typescript@5.6.2))(eslint@9.11.1(jiti@1.21.6))(typescript@5.6.2) + '@typescript-eslint/eslint-plugin': 8.7.0(@typescript-eslint/parser@8.7.0(eslint@9.11.1(jiti@2.0.0))(typescript@5.6.2))(eslint@9.11.1(jiti@2.0.0))(typescript@5.6.2) - eslint-plugin-vitest@0.5.4(@typescript-eslint/eslint-plugin@8.7.0(@typescript-eslint/parser@8.7.0(eslint@9.11.1(jiti@1.21.6))(typescript@5.6.2))(eslint@9.11.1(jiti@1.21.6))(typescript@5.6.2))(eslint@9.11.1(jiti@1.21.6))(typescript@5.6.2)(vitest@2.1.1(@types/node@22.7.0)(happy-dom@15.7.4)(less@4.2.0)(sass@1.79.3)(terser@5.33.0)): + eslint-plugin-vitest@0.5.4(@typescript-eslint/eslint-plugin@8.7.0(@typescript-eslint/parser@8.7.0(eslint@9.11.1(jiti@2.0.0))(typescript@5.6.2))(eslint@9.11.1(jiti@2.0.0))(typescript@5.6.2))(eslint@9.11.1(jiti@2.0.0))(typescript@5.6.2)(vitest@2.1.1(@types/node@22.7.2)(happy-dom@15.7.4)(less@4.2.0)(sass@1.79.3)(terser@5.33.0)): dependencies: - '@typescript-eslint/utils': 7.18.0(eslint@9.11.1(jiti@1.21.6))(typescript@5.6.2) - eslint: 9.11.1(jiti@1.21.6) + '@typescript-eslint/utils': 7.18.0(eslint@9.11.1(jiti@2.0.0))(typescript@5.6.2) + eslint: 9.11.1(jiti@2.0.0) optionalDependencies: - '@typescript-eslint/eslint-plugin': 8.7.0(@typescript-eslint/parser@8.7.0(eslint@9.11.1(jiti@1.21.6))(typescript@5.6.2))(eslint@9.11.1(jiti@1.21.6))(typescript@5.6.2) - vitest: 2.1.1(@types/node@22.7.0)(happy-dom@15.7.4)(less@4.2.0)(sass@1.79.3)(terser@5.33.0) + '@typescript-eslint/eslint-plugin': 8.7.0(@typescript-eslint/parser@8.7.0(eslint@9.11.1(jiti@2.0.0))(typescript@5.6.2))(eslint@9.11.1(jiti@2.0.0))(typescript@5.6.2) + vitest: 2.1.1(@types/node@22.7.2)(happy-dom@15.7.4)(less@4.2.0)(sass@1.79.3)(terser@5.33.0) transitivePeerDependencies: - supports-color - typescript - eslint-plugin-vue@9.28.0(eslint@9.11.1(jiti@1.21.6)): + eslint-plugin-vue@9.28.0(eslint@9.11.1(jiti@2.0.0)): dependencies: - '@eslint-community/eslint-utils': 4.4.0(eslint@9.11.1(jiti@1.21.6)) - eslint: 9.11.1(jiti@1.21.6) + '@eslint-community/eslint-utils': 4.4.0(eslint@9.11.1(jiti@2.0.0)) + eslint: 9.11.1(jiti@2.0.0) globals: 13.24.0 natural-compare: 1.4.0 nth-check: 2.1.1 postcss-selector-parser: 6.1.2 semver: 7.6.3 - vue-eslint-parser: 9.4.3(eslint@9.11.1(jiti@1.21.6)) + vue-eslint-parser: 9.4.3(eslint@9.11.1(jiti@2.0.0)) xml-name-validator: 4.0.0 transitivePeerDependencies: - supports-color @@ -15666,9 +15662,9 @@ snapshots: eslint-visitor-keys@4.0.0: {} - eslint@9.11.1(jiti@1.21.6): + eslint@9.11.1(jiti@2.0.0): dependencies: - '@eslint-community/eslint-utils': 4.4.0(eslint@9.11.1(jiti@1.21.6)) + '@eslint-community/eslint-utils': 4.4.0(eslint@9.11.1(jiti@2.0.0)) '@eslint-community/regexpp': 4.11.1 '@eslint/config-array': 0.18.0 '@eslint/core': 0.6.0 @@ -15706,7 +15702,7 @@ snapshots: strip-ansi: 6.0.1 text-table: 0.2.0 optionalDependencies: - jiti: 1.21.6 + jiti: 2.0.0 transitivePeerDependencies: - supports-color @@ -16030,7 +16026,7 @@ snapshots: consola: 3.2.3 defu: 6.1.4 node-fetch-native: 1.6.4 - nypm: 0.3.11 + nypm: 0.3.12 ohash: 1.1.4 pathe: 1.1.2 tar: 6.2.1 @@ -16613,6 +16609,8 @@ snapshots: jiti@1.21.6: {} + jiti@2.0.0: {} + jju@1.4.0: {} js-beautify@1.15.1: @@ -16773,7 +16771,7 @@ snapshots: transitivePeerDependencies: - supports-color - listhen@1.7.2: + listhen@1.8.0: dependencies: '@parcel/watcher': 2.4.1 '@parcel/watcher-wasm': 2.4.1 @@ -16785,7 +16783,7 @@ snapshots: get-port-please: 3.1.2 h3: 1.12.0 http-shutdown: 1.2.2 - jiti: 1.21.6 + jiti: 2.0.0 mlly: 1.7.1 node-forge: 1.3.1 pathe: 1.1.2 @@ -16920,7 +16918,7 @@ snapshots: dependencies: yallist: 4.0.0 - lucide-vue-next@0.445.0(vue@3.5.8(typescript@5.6.2)): + lucide-vue-next@0.446.0(vue@3.5.8(typescript@5.6.2)): dependencies: vue: 3.5.8(typescript@5.6.2) @@ -17159,7 +17157,7 @@ snapshots: object-assign: 4.1.1 thenify-all: 1.6.0 - naive-ui@2.39.0(vue@3.5.8(typescript@5.6.2)): + naive-ui@2.40.1(vue@3.5.8(typescript@5.6.2)): dependencies: '@css-render/plugin-bem': 0.15.14(css-render@0.15.14) '@css-render/vue3-ssr': 0.15.14(vue@3.5.8(typescript@5.6.2)) @@ -17169,8 +17167,8 @@ snapshots: async-validator: 4.2.5 css-render: 0.15.14 csstype: 3.1.3 - date-fns: 2.30.0 - date-fns-tz: 2.0.1(date-fns@2.30.0) + date-fns: 3.6.0 + date-fns-tz: 3.1.3(date-fns@3.6.0) evtd: 0.2.4 highlight.js: 11.10.0 lodash: 4.17.21 @@ -17238,7 +17236,7 @@ snapshots: jiti: 1.21.6 klona: 2.0.6 knitwork: 1.1.0 - listhen: 1.7.2 + listhen: 1.8.0 magic-string: 0.30.11 mime: 4.0.4 mlly: 1.7.1 @@ -17372,7 +17370,7 @@ snapshots: dependencies: boolbase: 1.0.0 - nypm@0.3.11: + nypm@0.3.12: dependencies: citty: 0.1.6 consola: 3.2.3 @@ -19060,7 +19058,7 @@ snapshots: tar-stream@3.1.7: dependencies: - b4a: 1.6.6 + b4a: 1.6.7 fast-fifo: 1.3.2 streamx: 2.20.1 @@ -19093,7 +19091,7 @@ snapshots: text-decoder@1.2.0: dependencies: - b4a: 1.6.6 + b4a: 1.6.7 text-extensions@2.4.0: {} @@ -19404,7 +19402,7 @@ snapshots: chokidar: 3.6.0 destr: 2.0.3 h3: 1.12.0 - listhen: 1.7.2 + listhen: 1.8.0 lru-cache: 10.4.3 mri: 1.2.0 node-fetch-native: 1.6.4 @@ -19501,16 +19499,16 @@ snapshots: '@types/unist': 3.0.3 vfile-message: 4.0.2 - vite-hot-client@0.2.3(vite@5.4.8(@types/node@22.7.0)(less@4.2.0)(sass@1.79.3)(terser@5.33.0)): + vite-hot-client@0.2.3(vite@5.4.8(@types/node@22.7.2)(less@4.2.0)(sass@1.79.3)(terser@5.33.0)): dependencies: - vite: 5.4.8(@types/node@22.7.0)(less@4.2.0)(sass@1.79.3)(terser@5.33.0) + vite: 5.4.8(@types/node@22.7.2)(less@4.2.0)(sass@1.79.3)(terser@5.33.0) - vite-node@2.1.1(@types/node@22.7.0)(less@4.2.0)(sass@1.79.3)(terser@5.33.0): + vite-node@2.1.1(@types/node@22.7.2)(less@4.2.0)(sass@1.79.3)(terser@5.33.0): dependencies: cac: 6.7.14 debug: 4.3.7 pathe: 1.1.2 - vite: 5.4.8(@types/node@22.7.0)(less@4.2.0)(sass@1.79.3)(terser@5.33.0) + vite: 5.4.8(@types/node@22.7.2)(less@4.2.0)(sass@1.79.3)(terser@5.33.0) transitivePeerDependencies: - '@types/node' - less @@ -19522,18 +19520,18 @@ snapshots: - supports-color - terser - vite-plugin-compression@0.5.1(vite@5.4.8(@types/node@22.7.0)(less@4.2.0)(sass@1.79.3)(terser@5.33.0)): + vite-plugin-compression@0.5.1(vite@5.4.8(@types/node@22.7.2)(less@4.2.0)(sass@1.79.3)(terser@5.33.0)): dependencies: chalk: 4.1.2 debug: 4.3.7 fs-extra: 10.1.0 - vite: 5.4.8(@types/node@22.7.0)(less@4.2.0)(sass@1.79.3)(terser@5.33.0) + vite: 5.4.8(@types/node@22.7.2)(less@4.2.0)(sass@1.79.3)(terser@5.33.0) transitivePeerDependencies: - supports-color - vite-plugin-dts@4.2.1(@types/node@22.7.0)(rollup@4.22.4)(typescript@5.6.2)(vite@5.4.8(@types/node@22.7.0)(less@4.2.0)(sass@1.79.3)(terser@5.33.0)): + vite-plugin-dts@4.2.1(@types/node@22.7.2)(rollup@4.22.4)(typescript@5.6.2)(vite@5.4.8(@types/node@22.7.2)(less@4.2.0)(sass@1.79.3)(terser@5.33.0)): dependencies: - '@microsoft/api-extractor': 7.47.7(@types/node@22.7.0) + '@microsoft/api-extractor': 7.47.7(@types/node@22.7.2) '@rollup/pluginutils': 5.1.2(rollup@4.22.4) '@volar/typescript': 2.4.5 '@vue/language-core': 2.1.6(typescript@5.6.2) @@ -19544,13 +19542,13 @@ snapshots: magic-string: 0.30.11 typescript: 5.6.2 optionalDependencies: - vite: 5.4.8(@types/node@22.7.0)(less@4.2.0)(sass@1.79.3)(terser@5.33.0) + vite: 5.4.8(@types/node@22.7.2)(less@4.2.0)(sass@1.79.3)(terser@5.33.0) transitivePeerDependencies: - '@types/node' - rollup - supports-color - vite-plugin-html@3.2.2(vite@5.4.8(@types/node@22.7.0)(less@4.2.0)(sass@1.79.3)(terser@5.33.0)): + vite-plugin-html@3.2.2(vite@5.4.8(@types/node@22.7.2)(less@4.2.0)(sass@1.79.3)(terser@5.33.0)): dependencies: '@rollup/pluginutils': 4.2.1 colorette: 2.0.20 @@ -19564,9 +19562,9 @@ snapshots: html-minifier-terser: 6.1.0 node-html-parser: 5.4.2 pathe: 0.2.0 - vite: 5.4.8(@types/node@22.7.0)(less@4.2.0)(sass@1.79.3)(terser@5.33.0) + vite: 5.4.8(@types/node@22.7.2)(less@4.2.0)(sass@1.79.3)(terser@5.33.0) - vite-plugin-inspect@0.8.7(rollup@4.22.4)(vite@5.4.8(@types/node@22.7.0)(less@4.2.0)(sass@1.79.3)(terser@5.33.0)): + vite-plugin-inspect@0.8.7(rollup@4.22.4)(vite@5.4.8(@types/node@22.7.2)(less@4.2.0)(sass@1.79.3)(terser@5.33.0)): dependencies: '@antfu/utils': 0.7.10 '@rollup/pluginutils': 5.1.2(rollup@4.22.4) @@ -19577,46 +19575,46 @@ snapshots: perfect-debounce: 1.0.0 picocolors: 1.1.0 sirv: 2.0.4 - vite: 5.4.8(@types/node@22.7.0)(less@4.2.0)(sass@1.79.3)(terser@5.33.0) + vite: 5.4.8(@types/node@22.7.2)(less@4.2.0)(sass@1.79.3)(terser@5.33.0) transitivePeerDependencies: - rollup - supports-color - vite-plugin-lib-inject-css@2.1.1(vite@5.4.8(@types/node@22.7.0)(less@4.2.0)(sass@1.79.3)(terser@5.33.0)): + vite-plugin-lib-inject-css@2.1.1(vite@5.4.8(@types/node@22.7.2)(less@4.2.0)(sass@1.79.3)(terser@5.33.0)): dependencies: '@ast-grep/napi': 0.22.6 magic-string: 0.30.11 picocolors: 1.1.0 - vite: 5.4.8(@types/node@22.7.0)(less@4.2.0)(sass@1.79.3)(terser@5.33.0) + vite: 5.4.8(@types/node@22.7.2)(less@4.2.0)(sass@1.79.3)(terser@5.33.0) - vite-plugin-pwa@0.20.5(vite@5.4.8(@types/node@22.7.0)(less@4.2.0)(sass@1.79.3)(terser@5.33.0))(workbox-build@7.1.1)(workbox-window@7.1.0): + vite-plugin-pwa@0.20.5(vite@5.4.8(@types/node@22.7.2)(less@4.2.0)(sass@1.79.3)(terser@5.33.0))(workbox-build@7.1.1)(workbox-window@7.1.0): dependencies: debug: 4.3.7 pretty-bytes: 6.1.1 tinyglobby: 0.2.6 - vite: 5.4.8(@types/node@22.7.0)(less@4.2.0)(sass@1.79.3)(terser@5.33.0) + vite: 5.4.8(@types/node@22.7.2)(less@4.2.0)(sass@1.79.3)(terser@5.33.0) workbox-build: 7.1.1 workbox-window: 7.1.0 transitivePeerDependencies: - supports-color - vite-plugin-vue-devtools@7.4.6(rollup@4.22.4)(vite@5.4.8(@types/node@22.7.0)(less@4.2.0)(sass@1.79.3)(terser@5.33.0))(vue@3.5.8(typescript@5.6.2)): + vite-plugin-vue-devtools@7.4.6(rollup@4.22.4)(vite@5.4.8(@types/node@22.7.2)(less@4.2.0)(sass@1.79.3)(terser@5.33.0))(vue@3.5.8(typescript@5.6.2)): dependencies: - '@vue/devtools-core': 7.4.6(vite@5.4.8(@types/node@22.7.0)(less@4.2.0)(sass@1.79.3)(terser@5.33.0))(vue@3.5.8(typescript@5.6.2)) + '@vue/devtools-core': 7.4.6(vite@5.4.8(@types/node@22.7.2)(less@4.2.0)(sass@1.79.3)(terser@5.33.0))(vue@3.5.8(typescript@5.6.2)) '@vue/devtools-kit': 7.4.6 '@vue/devtools-shared': 7.4.6 execa: 8.0.1 sirv: 2.0.4 - vite: 5.4.8(@types/node@22.7.0)(less@4.2.0)(sass@1.79.3)(terser@5.33.0) - vite-plugin-inspect: 0.8.7(rollup@4.22.4)(vite@5.4.8(@types/node@22.7.0)(less@4.2.0)(sass@1.79.3)(terser@5.33.0)) - vite-plugin-vue-inspector: 5.2.0(vite@5.4.8(@types/node@22.7.0)(less@4.2.0)(sass@1.79.3)(terser@5.33.0)) + vite: 5.4.8(@types/node@22.7.2)(less@4.2.0)(sass@1.79.3)(terser@5.33.0) + vite-plugin-inspect: 0.8.7(rollup@4.22.4)(vite@5.4.8(@types/node@22.7.2)(less@4.2.0)(sass@1.79.3)(terser@5.33.0)) + vite-plugin-vue-inspector: 5.2.0(vite@5.4.8(@types/node@22.7.2)(less@4.2.0)(sass@1.79.3)(terser@5.33.0)) transitivePeerDependencies: - '@nuxt/kit' - rollup - supports-color - vue - vite-plugin-vue-inspector@5.2.0(vite@5.4.8(@types/node@22.7.0)(less@4.2.0)(sass@1.79.3)(terser@5.33.0)): + vite-plugin-vue-inspector@5.2.0(vite@5.4.8(@types/node@22.7.2)(less@4.2.0)(sass@1.79.3)(terser@5.33.0)): dependencies: '@babel/core': 7.25.2 '@babel/plugin-proposal-decorators': 7.24.7(@babel/core@7.25.2) @@ -19627,17 +19625,17 @@ snapshots: '@vue/compiler-dom': 3.5.8 kolorist: 1.8.0 magic-string: 0.30.11 - vite: 5.4.8(@types/node@22.7.0)(less@4.2.0)(sass@1.79.3)(terser@5.33.0) + vite: 5.4.8(@types/node@22.7.2)(less@4.2.0)(sass@1.79.3)(terser@5.33.0) transitivePeerDependencies: - supports-color - vite@5.4.8(@types/node@22.7.0)(less@4.2.0)(sass@1.79.3)(terser@5.33.0): + vite@5.4.8(@types/node@22.7.2)(less@4.2.0)(sass@1.79.3)(terser@5.33.0): dependencies: esbuild: 0.21.5 postcss: 8.4.47 rollup: 4.22.4 optionalDependencies: - '@types/node': 22.7.0 + '@types/node': 22.7.2 fsevents: 2.3.3 less: 4.2.0 sass: 1.79.3 @@ -19651,14 +19649,14 @@ snapshots: transitivePeerDependencies: - supports-color - vitepress@1.3.4(@algolia/client-search@4.24.0)(@types/node@22.7.0)(async-validator@4.2.5)(axios@1.7.7)(less@4.2.0)(nprogress@0.2.0)(postcss@8.4.47)(qrcode@1.5.4)(sass@1.79.3)(search-insights@2.17.2)(sortablejs@1.15.3)(terser@5.33.0)(typescript@5.6.2): + vitepress@1.3.4(@algolia/client-search@4.24.0)(@types/node@22.7.2)(async-validator@4.2.5)(axios@1.7.7)(less@4.2.0)(nprogress@0.2.0)(postcss@8.4.47)(qrcode@1.5.4)(sass@1.79.3)(search-insights@2.17.2)(sortablejs@1.15.3)(terser@5.33.0)(typescript@5.6.2): dependencies: '@docsearch/css': 3.6.1 '@docsearch/js': 3.6.1(@algolia/client-search@4.24.0)(search-insights@2.17.2) '@shikijs/core': 1.18.0 '@shikijs/transformers': 1.18.0 '@types/markdown-it': 14.1.2 - '@vitejs/plugin-vue': 5.1.4(vite@5.4.8(@types/node@22.7.0)(less@4.2.0)(sass@1.79.3)(terser@5.33.0))(vue@3.5.8(typescript@5.6.2)) + '@vitejs/plugin-vue': 5.1.4(vite@5.4.8(@types/node@22.7.2)(less@4.2.0)(sass@1.79.3)(terser@5.33.0))(vue@3.5.8(typescript@5.6.2)) '@vue/devtools-api': 7.4.6 '@vue/shared': 3.5.8 '@vueuse/core': 11.1.0(vue@3.5.8(typescript@5.6.2)) @@ -19667,7 +19665,7 @@ snapshots: mark.js: 8.11.1 minisearch: 7.1.0 shiki: 1.18.0 - vite: 5.4.8(@types/node@22.7.0)(less@4.2.0)(sass@1.79.3)(terser@5.33.0) + vite: 5.4.8(@types/node@22.7.2)(less@4.2.0)(sass@1.79.3)(terser@5.33.0) vue: 3.5.8(typescript@5.6.2) optionalDependencies: postcss: 8.4.47 @@ -19699,10 +19697,10 @@ snapshots: - typescript - universal-cookie - vitest@2.1.1(@types/node@22.7.0)(happy-dom@15.7.4)(less@4.2.0)(sass@1.79.3)(terser@5.33.0): + vitest@2.1.1(@types/node@22.7.2)(happy-dom@15.7.4)(less@4.2.0)(sass@1.79.3)(terser@5.33.0): dependencies: '@vitest/expect': 2.1.1 - '@vitest/mocker': 2.1.1(@vitest/spy@2.1.1)(vite@5.4.8(@types/node@22.7.0)(less@4.2.0)(sass@1.79.3)(terser@5.33.0)) + '@vitest/mocker': 2.1.1(@vitest/spy@2.1.1)(vite@5.4.8(@types/node@22.7.2)(less@4.2.0)(sass@1.79.3)(terser@5.33.0)) '@vitest/pretty-format': 2.1.1 '@vitest/runner': 2.1.1 '@vitest/snapshot': 2.1.1 @@ -19717,11 +19715,11 @@ snapshots: tinyexec: 0.3.0 tinypool: 1.0.1 tinyrainbow: 1.2.0 - vite: 5.4.8(@types/node@22.7.0)(less@4.2.0)(sass@1.79.3)(terser@5.33.0) - vite-node: 2.1.1(@types/node@22.7.0)(less@4.2.0)(sass@1.79.3)(terser@5.33.0) + vite: 5.4.8(@types/node@22.7.2)(less@4.2.0)(sass@1.79.3)(terser@5.33.0) + vite-node: 2.1.1(@types/node@22.7.2)(less@4.2.0)(sass@1.79.3)(terser@5.33.0) why-is-node-running: 2.3.0 optionalDependencies: - '@types/node': 22.7.0 + '@types/node': 22.7.2 happy-dom: 15.7.4 transitivePeerDependencies: - less @@ -19749,10 +19747,10 @@ snapshots: dependencies: vue: 3.5.8(typescript@5.6.2) - vue-eslint-parser@9.4.3(eslint@9.11.1(jiti@1.21.6)): + vue-eslint-parser@9.4.3(eslint@9.11.1(jiti@2.0.0)): dependencies: debug: 4.3.7 - eslint: 9.11.1(jiti@1.21.6) + eslint: 9.11.1(jiti@2.0.0) eslint-scope: 7.2.2 eslint-visitor-keys: 3.4.3 espree: 9.6.1 @@ -20121,4 +20119,4 @@ snapshots: zx@8.1.8: optionalDependencies: '@types/fs-extra': 11.0.4 - '@types/node': 22.7.0 + '@types/node': 22.7.2 diff --git a/pnpm-workspace.yaml b/pnpm-workspace.yaml index 8eea2b3e6ad..8739fc4d1ab 100644 --- a/pnpm-workspace.yaml +++ b/pnpm-workspace.yaml @@ -42,7 +42,7 @@ catalog: '@types/html-minifier-terser': ^7.0.2 '@types/jsonwebtoken': ^9.0.7 '@types/lodash.clonedeep': ^4.5.9 - '@types/node': ^22.7.0 + '@types/node': ^22.7.2 '@types/nprogress': ^0.2.3 '@types/postcss-import': ^14.0.3 '@types/qrcode': ^1.5.5 @@ -87,7 +87,7 @@ catalog: eslint-plugin-command: ^0.2.5 eslint-plugin-eslint-comments: ^3.2.0 eslint-plugin-import-x: ^4.3.0 - eslint-plugin-jsdoc: ^50.2.4 + eslint-plugin-jsdoc: ^50.2.5 eslint-plugin-jsonc: ^2.16.0 eslint-plugin-n: ^17.10.3 eslint-plugin-no-only-tests: ^3.3.0 @@ -111,9 +111,9 @@ catalog: jsonwebtoken: ^9.0.2 lint-staged: ^15.2.10 lodash.clonedeep: ^4.5.0 - lucide-vue-next: ^0.445.0 + lucide-vue-next: ^0.446.0 medium-zoom: ^1.1.0 - naive-ui: ^2.39.0 + naive-ui: ^2.40.0 nanoid: ^5.0.7 nitropack: ^2.9.7 nprogress: ^0.2.0 @@ -157,7 +157,7 @@ catalog: unbuild: ^2.0.0 unplugin-element-plus: ^0.8.0 vee-validate: ^4.13.2 - vite: ^5.4.7 + vite: ^5.4.8 vite-plugin-compression: ^0.5.1 vite-plugin-dts: 4.2.1 vite-plugin-html: ^3.2.2 @@ -172,6 +172,6 @@ catalog: vue-i18n: ^10.0.3 vue-router: ^4.4.5 vue-tsc: ^2.1.6 - watermark-js-plus: ^1.5.6 + watermark-js-plus: ^1.5.7 zod: ^3.23.8 zod-defaults: ^0.1.3 diff --git a/scripts/clean.mjs b/scripts/clean.mjs new file mode 100644 index 00000000000..e2840d3809b --- /dev/null +++ b/scripts/clean.mjs @@ -0,0 +1,53 @@ +import { promises as fs } from 'node:fs'; +import { join } from 'node:path'; + +const rootDir = process.cwd(); + +/** + * 递归查找并删除目标目录 + * @param {string} currentDir - 当前遍历的目录路径 + */ +async function cleanTargetsRecursively(currentDir, targets) { + const items = await fs.readdir(currentDir); + + for (const item of items) { + try { + const itemPath = join(currentDir, item); + if (targets.includes(item)) { + // 匹配到目标目录或文件时直接删除 + await fs.rm(itemPath, { force: true, recursive: true }); + console.log(`Deleted: ${itemPath}`); + } + const stat = await fs.lstat(itemPath); + if (stat.isDirectory()) { + await cleanTargetsRecursively(itemPath, targets); + } + } catch { + // console.error( + // `Error handling item ${item} in ${currentDir}: ${error.message}`, + // ); + } + } +} + +(async function startCleanup() { + // 要删除的目录及文件名称 + const targets = ['node_modules', 'dist', '.turbo', 'dist.zip']; + + const deleteLockFile = process.argv.includes('--del-lock'); + const cleanupTargets = [...targets]; + if (deleteLockFile) { + cleanupTargets.push('pnpm-lock.yaml'); + } + + console.log( + `Starting cleanup of targets: ${cleanupTargets.join(', ')} from root: ${rootDir}`, + ); + + try { + await cleanTargetsRecursively(rootDir, cleanupTargets); + console.log('Cleanup process completed.'); + } catch (error) { + console.error(`Unexpected error during cleanup: ${error.message}`); + } +})(); diff --git a/scripts/vsh/src/clean/index.ts b/scripts/vsh/src/clean/index.ts deleted file mode 100644 index eba5b9f213e..00000000000 --- a/scripts/vsh/src/clean/index.ts +++ /dev/null @@ -1,88 +0,0 @@ -import type { CAC } from 'cac'; - -import { join } from 'node:path'; - -import { colors, getPackages, rimraf, spinner } from '@vben/node-utils'; - -const CLEAN_DIRS = ['dist', 'node_modules', '.turbo']; - -interface CleanCommandOptions { - /** - * Whether to delete the project pnpm-lock.yaml file. - * @default true - */ - delLock?: boolean; - /** - * Files that need to be cleared. - */ - dirs?: string[]; - /** - * recursive clear. - * @default true - */ - recursive?: boolean; -} - -async function runClean({ - delLock = false, - dirs = [], - recursive, -}: CleanCommandOptions) { - const cleanDirs = dirs.length === 0 ? CLEAN_DIRS : dirs; - - const cleanDirsText = JSON.stringify(cleanDirs); - - spinner( - { - successText: colors.green(`clean up all \`${cleanDirsText}\` success.`), - title: `${colors.dim(cleanDirsText)} cleaning in progress...`, - }, - async () => { - await clean({ delLock, dirs: cleanDirs, recursive }); - }, - ); -} - -async function clean({ delLock, dirs = [], recursive }: CleanCommandOptions) { - const { packages, rootDir } = await getPackages(); - - // Delete the project pnpm-lock.yaml file - if (delLock) { - await rimraf(join(rootDir, 'pnpm-lock.yaml')); - } - - // Recursively delete the specified folders under all package directories - if (recursive) { - await Promise.all( - packages.map((pkg) => { - const pkgRoot = dirs.map((dir) => join(pkg.dir, dir)); - return rimraf(pkgRoot, { preserveRoot: true }); - }), - ); - } - - // Only delete the specified folders in the root directory - await Promise.all( - dirs.map((dir) => rimraf(join(process.cwd(), dir), { preserveRoot: true })), - ); -} - -function defineCleanCommand(cac: CAC) { - cac - .command('clean [dirs...]') - .usage( - `Delete all ['dist', 'node_modules', '.turbo'] directories under the project.`, - ) - .option('-r,--recursive', 'Recursively clean all packages in a monorepo.', { - default: true, - }) - .option('--del-lock', 'Delete the project pnpm-lock.yaml file.', { - default: true, - }) - .action( - async (dirs, { delLock, recursive }) => - await runClean({ delLock, dirs, recursive }), - ); -} - -export { defineCleanCommand }; diff --git a/scripts/vsh/src/index.ts b/scripts/vsh/src/index.ts index 0e3c092fcbe..2b00448c3a3 100644 --- a/scripts/vsh/src/index.ts +++ b/scripts/vsh/src/index.ts @@ -4,7 +4,6 @@ import { cac } from 'cac'; import { defineCheckCircularCommand } from './check-circular'; import { defineDepcheckCommand } from './check-dep'; -import { defineCleanCommand } from './clean'; import { defineCodeWorkspaceCommand } from './code-workspace'; import { defineLintCommand } from './lint'; import { definePubLintCommand } from './publint'; @@ -18,9 +17,6 @@ try { // vsh publint definePubLintCommand(vsh); - // vsh clean - defineCleanCommand(vsh); - // vsh code-workspace defineCodeWorkspaceCommand(vsh);