From bcf79a63ba44d912b0835c9caa778058ec34a0e4 Mon Sep 17 00:00:00 2001 From: Daniel Roe Date: Tue, 26 Nov 2024 13:01:38 +0000 Subject: [PATCH] fix: remove unused dependencies and tidy project (#30043) --- knip.json | 43 ++++- nuxt.config.ts | 5 +- package.json | 8 +- packages/kit/package.json | 3 +- packages/kit/src/template.ts | 2 +- packages/nuxt/package.json | 1 - packages/rspack/package.json | 5 - packages/schema/build.config.ts | 2 - packages/schema/package.json | 3 - packages/ui-templates/package.json | 4 +- packages/vite/package.json | 5 - packages/vite/src/vite-node.ts | 17 +- packages/webpack/package.json | 4 - pnpm-lock.yaml | 288 ++++++++++++++++++----------- test/fixtures/basic/package.json | 1 + 15 files changed, 235 insertions(+), 156 deletions(-) diff --git a/knip.json b/knip.json index dd2512b5cd..5bb5831739 100644 --- a/knip.json +++ b/knip.json @@ -1,27 +1,60 @@ { "$schema": "https://unpkg.com/knip@5/schema.json", + "ignoreBinaries": [ + "prepack" + ], + "ignoreWorkspaces": ["test/fixtures/basic"], + "ignoreDependencies": [ + "bing", + "uno.css" + ], "workspaces": { ".": { "entry": [ - "scripts/*", - "test/*", - "test/fixtures/*" + "scripts/*" + ] + }, + "test/fixtures/*": { + "entry": [ + "nuxt.config.{js,ts}", + "modules/*.ts", + "types.ts" ] }, "packages/*": { "entry": [ "src/index.ts", - "src/runtime/**/*.ts" + "src/runtime/**/*.{js,ts,mjs}" ] }, "packages/nuxt": { "entry": [ "src/app/**/*.ts", "src/app/*.ts", - "src/*/runtime/**/*.ts", + "src/*/runtime/**/*.{ts,js}", "src/core/templates.ts", "src/index.ts" ] + }, + "packages/rspack": { + "entry": [ + "../webpack/src/index.ts", + "../webpack/src/runtime/**/*.{js,ts,mjs}", + "builder.mjs" + ] + }, + "packages/ui-templates": { + "entry": [ + "lib/*.ts", + "styles.ts" + ] + }, + "packages/webpack": { + "entry": [ + "src/index.ts", + "src/runtime/**/*.{js,ts,mjs}", + "builder.mjs" + ] } } } diff --git a/nuxt.config.ts b/nuxt.config.ts index b6777a9d28..9763e21d43 100644 --- a/nuxt.config.ts +++ b/nuxt.config.ts @@ -17,5 +17,8 @@ export default defineNuxtConfig({ }, ], pages: process.env.DOCS_TYPECHECK === 'true', - typescript: { shim: process.env.DOCS_TYPECHECK === 'true' }, + typescript: { + shim: process.env.DOCS_TYPECHECK === 'true', + hoist: ['@vitejs/plugin-vue', 'vue-router'], + }, }) diff --git a/package.json b/package.json index 641a560132..6ebdf5c7f8 100644 --- a/package.json +++ b/package.json @@ -17,7 +17,7 @@ "lint:fix": "eslint . --cache --fix", "lint:docs": "markdownlint ./docs && case-police 'docs/**/*.md' *.md", "lint:docs:fix": "markdownlint ./docs --fix && case-police 'docs/**/*.md' *.md --fix", - "lint:knip": "pnpx knip", + "lint:knip": "knip", "play": "nuxi dev playground", "play:build": "nuxi build playground", "play:generate": "nuxi generate playground", @@ -37,7 +37,6 @@ "@nuxt/kit": "workspace:*", "@nuxt/rspack-builder": "workspace:*", "@nuxt/schema": "workspace:*", - "@nuxt/ui-templates": "workspace:*", "@nuxt/vite-builder": "workspace:*", "@nuxt/webpack-builder": "workspace:*", "@types/node": "22.9.1", @@ -67,19 +66,16 @@ "vue": "3.5.13" }, "devDependencies": { - "@eslint/js": "9.15.0", "@nuxt/eslint-config": "0.7.1", "@nuxt/kit": "workspace:*", "@nuxt/rspack-builder": "workspace:*", "@nuxt/test-utils": "3.14.4", "@nuxt/webpack-builder": "workspace:*", "@testing-library/vue": "8.1.0", - "@types/eslint__js": "8.42.3", "@types/node": "22.9.1", "@types/semver": "7.5.8", "@unhead/schema": "1.11.11", "@unhead/vue": "1.11.11", - "@vitejs/plugin-vue": "5.2.0", "@vitest/coverage-v8": "2.1.5", "@vue/test-utils": "2.4.6", "autoprefixer": "10.4.20", @@ -96,6 +92,7 @@ "h3": "npm:h3-nightly@2.0.0-1718872656.6765a6e", "happy-dom": "15.11.6", "jiti": "2.4.0", + "knip": "5.37.2", "markdownlint-cli": "0.42.0", "nitro": "npm:nitro-nightly@3.0.0-beta-28796231.359af68d", "nuxi": "3.15.0", @@ -115,7 +112,6 @@ "vitest": "2.1.5", "vitest-environment-nuxt": "1.0.1", "vue": "3.5.13", - "vue-router": "4.4.5", "vue-tsc": "2.1.10" }, "packageManager": "pnpm@9.14.2", diff --git a/packages/kit/package.json b/packages/kit/package.json index 47789dffa0..945a0f77d2 100644 --- a/packages/kit/package.json +++ b/packages/kit/package.json @@ -33,11 +33,11 @@ "destr": "^2.0.3", "errx": "^0.1.0", "globby": "^14.0.2", - "hash-sum": "^2.0.0", "ignore": "^6.0.2", "jiti": "^2.4.0", "klona": "^2.0.6", "mlly": "^1.7.3", + "ohash": "^1.1.4", "pathe": "^1.1.2", "pkg-types": "^1.2.1", "scule": "^1.3.0", @@ -49,7 +49,6 @@ }, "devDependencies": { "@rspack/core": "1.1.3", - "@types/hash-sum": "1.0.2", "@types/semver": "7.5.8", "nitro": "npm:nitro-nightly@3.0.0-beta-28796231.359af68d", "unbuild": "3.0.0-rc.11", diff --git a/packages/kit/src/template.ts b/packages/kit/src/template.ts index 2e6aed9339..dcccc878e8 100644 --- a/packages/kit/src/template.ts +++ b/packages/kit/src/template.ts @@ -1,6 +1,6 @@ import { existsSync, promises as fsp } from 'node:fs' import { basename, isAbsolute, join, parse, relative, resolve } from 'pathe' -import hash from 'hash-sum' +import { hash } from 'ohash' import type { Nuxt, NuxtServerTemplate, NuxtTemplate, NuxtTypeTemplate, ResolvedNuxtTemplate, TSReference } from '@nuxt/schema' import { withTrailingSlash } from 'ufo' import { defu } from 'defu' diff --git a/packages/nuxt/package.json b/packages/nuxt/package.json index 5542308f25..c20882fc81 100644 --- a/packages/nuxt/package.json +++ b/packages/nuxt/package.json @@ -126,7 +126,6 @@ }, "devDependencies": { "@nuxt/scripts": "0.9.5", - "@nuxt/ui-templates": "1.3.4", "@parcel/watcher": "2.5.0", "@types/estree": "1.0.6", "@vitejs/plugin-vue": "5.2.0", diff --git a/packages/rspack/package.json b/packages/rspack/package.json index f1eecf8f2d..e10a96f07a 100644 --- a/packages/rspack/package.json +++ b/packages/rspack/package.json @@ -39,18 +39,15 @@ "defu": "^6.1.4", "esbuild-loader": "^4.2.2", "escape-string-regexp": "^5.0.0", - "estree-walker": "^3.0.3", "file-loader": "^6.2.0", "fork-ts-checker-webpack-plugin": "^9.0.2", "globby": "^14.0.2", "h3": "npm:h3-nightly@2.0.0-1718872656.6765a6e", - "hash-sum": "^2.0.0", "jiti": "^2.4.0", "knitwork": "^1.1.0", "lodash-es": "4.17.21", "magic-string": "^0.30.13", "memfs": "^4.14.0", - "mlly": "^1.7.3", "ohash": "^1.1.4", "pathe": "^1.1.2", "pify": "^6.1.0", @@ -71,12 +68,10 @@ "webpack-bundle-analyzer": "^4.10.2", "webpack-dev-middleware": "^7.4.2", "webpack-hot-middleware": "^2.26.1", - "webpack-virtual-modules": "^0.6.2", "webpackbar": "^7.0.0" }, "devDependencies": { "@nuxt/schema": "workspace:*", - "@types/hash-sum": "1.0.2", "@types/lodash-es": "4.17.12", "@types/pify": "5.0.4", "@types/webpack-bundle-analyzer": "4.7.0", diff --git a/packages/schema/build.config.ts b/packages/schema/build.config.ts index 22f17cbef8..a78a962773 100644 --- a/packages/schema/build.config.ts +++ b/packages/schema/build.config.ts @@ -27,7 +27,6 @@ export default defineBuildConfig({ 'autoprefixer', 'ofetch', 'vue-router', - '@nuxt/telemetry', 'vue-bundle-renderer', '@unhead/schema', 'vue', @@ -55,7 +54,6 @@ export default defineBuildConfig({ 'pug', 'sass-loader', 'c12', - 'unenv', '@vue/language-core', // Implicit '@vue/compiler-core', diff --git a/packages/schema/package.json b/packages/schema/package.json index e0da7f72a8..36c0e48e12 100644 --- a/packages/schema/package.json +++ b/packages/schema/package.json @@ -34,8 +34,6 @@ "prepack": "unbuild" }, "devDependencies": { - "@nuxt/telemetry": "2.6.0", - "@nuxt/ui-templates": "1.3.4", "@types/file-loader": "5.0.4", "@types/pug": "2.0.10", "@types/sass-loader": "8.0.9", @@ -52,7 +50,6 @@ "ofetch": "1.4.1", "unbuild": "3.0.0-rc.11", "unctx": "2.3.1", - "unenv": "1.10.0", "vite": "5.4.11", "vue": "3.5.13", "vue-bundle-renderer": "2.1.1", diff --git a/packages/ui-templates/package.json b/packages/ui-templates/package.json index 1bb405041c..613254d3a7 100644 --- a/packages/ui-templates/package.json +++ b/packages/ui-templates/package.json @@ -14,8 +14,7 @@ "dev": "vite", "optimize-assets": "npx svgo public/assets/**/*.svg", "postinstall": "pnpm build", - "prerender": "pnpm build && jiti ./lib/prerender", - "test": "pnpm lint && pnpm build" + "prerender": "pnpm build && jiti ./lib/prerender" }, "devDependencies": { "@unocss/reset": "0.64.1", @@ -27,6 +26,7 @@ "pathe": "1.1.2", "prettier": "3.3.3", "scule": "1.3.0", + "svgo": "^3.3.2", "tinyexec": "0.3.1", "tinyglobby": "0.2.10", "unocss": "0.64.1", diff --git a/packages/vite/package.json b/packages/vite/package.json index ea104fc0e2..21994f89aa 100644 --- a/packages/vite/package.json +++ b/packages/vite/package.json @@ -26,7 +26,6 @@ "devDependencies": { "@nuxt/schema": "workspace:*", "@types/clear": "0.1.4", - "@types/estree": "1.0.6", "rollup": "4.27.3", "unbuild": "3.0.0-rc.11", "vue": "3.5.13" @@ -43,7 +42,6 @@ "defu": "^6.1.4", "esbuild": "^0.24.0", "escape-string-regexp": "^5.0.0", - "estree-walker": "^3.0.3", "externality": "^1.0.2", "get-port-please": "^3.1.2", "h3": "npm:h3-nightly@2.0.0-1718872656.6765a6e", @@ -51,14 +49,11 @@ "knitwork": "^1.1.0", "magic-string": "^0.30.13", "mlly": "^1.7.3", - "ohash": "^1.1.4", "pathe": "^1.1.2", - "perfect-debounce": "^1.0.0", "pkg-types": "^1.2.1", "postcss": "^8.4.49", "rollup-plugin-visualizer": "^5.12.0", "std-env": "^3.8.0", - "strip-literal": "^2.1.0", "ufo": "^1.5.4", "unenv": "^1.10.0", "unplugin": "^1.16.0", diff --git a/packages/vite/src/vite-node.ts b/packages/vite/src/vite-node.ts index 5b3e1f2a8f..5652d0c313 100644 --- a/packages/vite/src/vite-node.ts +++ b/packages/vite/src/vite-node.ts @@ -3,7 +3,7 @@ import { pathToFileURL } from 'node:url' import { createApp, createError, defineEventHandler, defineLazyEventHandler, eventHandler, toNodeListener } from 'h3' import { ViteNodeServer } from 'vite-node/server' import { isAbsolute, join, normalize, resolve } from 'pathe' -import { addDevServerHandler } from '@nuxt/kit' +// import { addDevServerHandler } from '@nuxt/kit' import { isFileServingAllowed } from 'vite' import type { ModuleNode, Plugin as VitePlugin } from 'vite' import { getQuery } from 'ufo' @@ -16,7 +16,7 @@ import { createIsExternal } from './utils/external' import { transpile } from './utils/transpile' // TODO: Remove this in favor of registerViteNodeMiddleware -// after Nitropack or h3 fixed for adding middlewares after setup +// after Nitropack or h3 allows adding middleware after setup export function viteNodePlugin (ctx: ViteBuildContext): VitePlugin { // Store the invalidates for the next rendering const invalidates = new Set() @@ -71,12 +71,13 @@ export function viteNodePlugin (ctx: ViteBuildContext): VitePlugin { } } -export function registerViteNodeMiddleware (ctx: ViteBuildContext) { - addDevServerHandler({ - route: '/__nuxt_vite_node__/', - handler: createViteNodeApp(ctx).handler, - }) -} +// TODO: Use this when Nitropack or h3 allows adding middleware after setup +// export function registerViteNodeMiddleware (ctx: ViteBuildContext) { +// addDevServerHandler({ +// route: '/__nuxt_vite_node__/', +// handler: createViteNodeApp(ctx).handler, +// }) +// } function getManifest (ctx: ViteBuildContext) { const css = new Set() diff --git a/packages/webpack/package.json b/packages/webpack/package.json index cdcc3710c4..4097706fb4 100644 --- a/packages/webpack/package.json +++ b/packages/webpack/package.json @@ -38,19 +38,16 @@ "defu": "^6.1.4", "esbuild-loader": "^4.2.2", "escape-string-regexp": "^5.0.0", - "estree-walker": "^3.0.3", "file-loader": "^6.2.0", "fork-ts-checker-webpack-plugin": "^9.0.2", "globby": "^14.0.2", "h3": "npm:h3-nightly@2.0.0-1718872656.6765a6e", - "hash-sum": "^2.0.0", "jiti": "^2.4.0", "knitwork": "^1.1.0", "lodash-es": "4.17.21", "magic-string": "^0.30.13", "memfs": "^4.14.0", "mini-css-extract-plugin": "^2.9.2", - "mlly": "^1.7.3", "ohash": "^1.1.4", "pathe": "^1.1.2", "pify": "^6.1.0", @@ -77,7 +74,6 @@ "devDependencies": { "@nuxt/schema": "workspace:*", "@rspack/core": "1.1.3", - "@types/hash-sum": "1.0.2", "@types/lodash-es": "4.17.12", "@types/pify": "5.0.4", "@types/webpack-bundle-analyzer": "4.7.0", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 09bcf6f293..10e6df08e9 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -8,7 +8,6 @@ overrides: '@nuxt/kit': workspace:* '@nuxt/rspack-builder': workspace:* '@nuxt/schema': workspace:* - '@nuxt/ui-templates': workspace:* '@nuxt/vite-builder': workspace:* '@nuxt/webpack-builder': workspace:* '@types/node': 22.9.1 @@ -41,9 +40,6 @@ importers: .: devDependencies: - '@eslint/js': - specifier: 9.15.0 - version: 9.15.0 '@nuxt/eslint-config': specifier: 0.7.1 version: 0.7.1(@vue/compiler-sfc@3.5.13)(eslint@9.15.0(jiti@2.4.0))(typescript@5.6.3) @@ -55,16 +51,13 @@ importers: version: link:packages/rspack '@nuxt/test-utils': specifier: 3.14.4 - version: 3.14.4(@testing-library/vue@8.1.0(@vue/compiler-sfc@3.5.13)(vue@3.5.13(typescript@5.6.3)))(@vue/test-utils@2.4.6)(h3-nightly@2.0.0-1718872656.6765a6e)(happy-dom@15.11.6)(magicast@0.3.5)(nitropack@2.9.7(magicast@0.3.5))(playwright-core@1.49.0)(vite@5.4.11(@types/node@22.9.1)(sass@1.78.0)(terser@5.32.0))(vitest@2.1.5(@types/node@22.9.1)(happy-dom@15.11.6)(sass@1.78.0)(terser@5.32.0))(vue-router@4.4.5(vue@3.5.13(typescript@5.6.3)))(vue@3.5.13(typescript@5.6.3)) + version: 3.14.4(@testing-library/vue@8.1.0(@vue/compiler-sfc@3.5.13)(vue@3.5.13(typescript@5.6.3)))(@vue/test-utils@2.4.6)(h3-nightly@2.0.0-1718872656.6765a6e)(happy-dom@15.11.6)(magicast@0.3.5)(nitropack@2.9.7(magicast@0.3.5))(playwright-core@1.49.0)(vite@5.4.11(@types/node@22.9.1)(sass@1.78.0)(terser@5.32.0))(vitest@2.1.5(@types/node@22.9.1)(happy-dom@15.11.6)(sass@1.78.0)(terser@5.32.0))(vue-router@4.5.0(vue@3.5.13(typescript@5.6.3)))(vue@3.5.13(typescript@5.6.3)) '@nuxt/webpack-builder': specifier: workspace:* version: link:packages/webpack '@testing-library/vue': specifier: 8.1.0 version: 8.1.0(@vue/compiler-sfc@3.5.13)(vue@3.5.13(typescript@5.6.3)) - '@types/eslint__js': - specifier: 8.42.3 - version: 8.42.3 '@types/node': specifier: 22.9.1 version: 22.9.1 @@ -77,9 +70,6 @@ importers: '@unhead/vue': specifier: 1.11.11 version: 1.11.11(vue@3.5.13(typescript@5.6.3)) - '@vitejs/plugin-vue': - specifier: 5.2.0 - version: 5.2.0(vite@5.4.11(@types/node@22.9.1)(sass@1.78.0)(terser@5.32.0))(vue@3.5.13(typescript@5.6.3)) '@vitest/coverage-v8': specifier: 2.1.5 version: 2.1.5(vitest@2.1.5(@types/node@22.9.1)(happy-dom@15.11.6)(sass@1.78.0)(terser@5.32.0)) @@ -128,6 +118,9 @@ importers: jiti: specifier: 2.4.0 version: 2.4.0 + knip: + specifier: 5.37.2 + version: 5.37.2(@types/node@22.9.1)(typescript@5.6.3) markdownlint-cli: specifier: 0.42.0 version: 0.42.0 @@ -181,13 +174,10 @@ importers: version: 2.1.5(@types/node@22.9.1)(happy-dom@15.11.6)(sass@1.78.0)(terser@5.32.0) vitest-environment-nuxt: specifier: 1.0.1 - version: 1.0.1(@testing-library/vue@8.1.0(@vue/compiler-sfc@3.5.13)(vue@3.5.13(typescript@5.6.3)))(@vue/test-utils@2.4.6)(h3-nightly@2.0.0-1718872656.6765a6e)(happy-dom@15.11.6)(magicast@0.3.5)(nitropack@2.9.7(magicast@0.3.5))(playwright-core@1.49.0)(vite@5.4.11(@types/node@22.9.1)(sass@1.78.0)(terser@5.32.0))(vitest@2.1.5(@types/node@22.9.1)(happy-dom@15.11.6)(sass@1.78.0)(terser@5.32.0))(vue-router@4.4.5(vue@3.5.13(typescript@5.6.3)))(vue@3.5.13(typescript@5.6.3)) + version: 1.0.1(@testing-library/vue@8.1.0(@vue/compiler-sfc@3.5.13)(vue@3.5.13(typescript@5.6.3)))(@vue/test-utils@2.4.6)(h3-nightly@2.0.0-1718872656.6765a6e)(happy-dom@15.11.6)(magicast@0.3.5)(nitropack@2.9.7(magicast@0.3.5))(playwright-core@1.49.0)(vite@5.4.11(@types/node@22.9.1)(sass@1.78.0)(terser@5.32.0))(vitest@2.1.5(@types/node@22.9.1)(happy-dom@15.11.6)(sass@1.78.0)(terser@5.32.0))(vue-router@4.5.0(vue@3.5.13(typescript@5.6.3)))(vue@3.5.13(typescript@5.6.3)) vue: specifier: 3.5.13 version: 3.5.13(typescript@5.6.3) - vue-router: - specifier: 4.4.5 - version: 4.4.5(vue@3.5.13(typescript@5.6.3)) vue-tsc: specifier: 2.1.10 version: 2.1.10(typescript@5.6.3) @@ -215,9 +205,6 @@ importers: globby: specifier: ^14.0.2 version: 14.0.2 - hash-sum: - specifier: ^2.0.0 - version: 2.0.0 ignore: specifier: ^6.0.2 version: 6.0.2 @@ -230,6 +217,9 @@ importers: mlly: specifier: ^1.7.3 version: 1.7.3 + ohash: + specifier: 1.1.4 + version: 1.1.4 pathe: specifier: ^1.1.2 version: 1.1.2 @@ -258,9 +248,6 @@ importers: '@rspack/core': specifier: 1.1.3 version: 1.1.3 - '@types/hash-sum': - specifier: 1.0.2 - version: 1.0.2 '@types/semver': specifier: 7.5.8 version: 7.5.8 @@ -458,7 +445,7 @@ importers: version: 1.16.0 unplugin-vue-router: specifier: ^0.10.8 - version: 0.10.8(rollup@4.27.3)(vue-router@4.4.5(vue@3.5.13(typescript@5.6.3)))(vue@3.5.13(typescript@5.6.3)) + version: 0.10.8(rollup@4.27.3)(vue-router@4.5.0(vue@3.5.13(typescript@5.6.3)))(vue@3.5.13(typescript@5.6.3)) unstorage: specifier: ^1.13.1 version: 1.13.1(ioredis@5.4.1) @@ -476,14 +463,11 @@ importers: version: 0.1.0 vue-router: specifier: ^4.4.5 - version: 4.4.5(vue@3.5.13(typescript@5.6.3)) + version: 4.5.0(vue@3.5.13(typescript@5.6.3)) devDependencies: '@nuxt/scripts': specifier: 0.9.5 version: 0.9.5(@nuxt/devtools@1.6.1(rollup@4.27.3)(vite@5.4.11(@types/node@22.9.1)(sass@1.78.0)(terser@5.32.0))(vue@3.5.13(typescript@5.6.3)))(@unocss/webpack@0.62.4(rollup@4.27.3)(webpack@5.96.1(esbuild@0.24.0)))(@vue/compiler-core@3.5.13)(change-case@5.4.4)(ioredis@5.4.1)(nuxt@packages+nuxt)(postcss@8.4.49)(rollup@4.27.3)(typescript@5.6.3)(vite@5.4.11(@types/node@22.9.1)(sass@1.78.0)(terser@5.32.0))(vue@3.5.13(typescript@5.6.3))(webpack@5.96.1(esbuild@0.24.0)) - '@nuxt/ui-templates': - specifier: workspace:* - version: link:../ui-templates '@parcel/watcher': specifier: 2.5.0 version: 2.5.0 @@ -538,9 +522,6 @@ importers: escape-string-regexp: specifier: ^5.0.0 version: 5.0.0 - estree-walker: - specifier: ^3.0.3 - version: 3.0.3 file-loader: specifier: ^6.2.0 version: 6.2.0(webpack@5.96.1) @@ -553,9 +534,6 @@ importers: h3: specifier: npm:h3-nightly@2.0.0-1718872656.6765a6e version: h3-nightly@2.0.0-1718872656.6765a6e - hash-sum: - specifier: ^2.0.0 - version: 2.0.0 jiti: specifier: 2.4.0 version: 2.4.0 @@ -571,9 +549,6 @@ importers: memfs: specifier: ^4.14.0 version: 4.14.0 - mlly: - specifier: ^1.7.3 - version: 1.7.3 ohash: specifier: 1.1.4 version: 1.1.4 @@ -634,9 +609,6 @@ importers: webpack-hot-middleware: specifier: ^2.26.1 version: 2.26.1 - webpack-virtual-modules: - specifier: ^0.6.2 - version: 0.6.2 webpackbar: specifier: ^7.0.0 version: 7.0.0(@rspack/core@1.1.3)(webpack@5.96.1) @@ -644,9 +616,6 @@ importers: '@nuxt/schema': specifier: workspace:* version: link:../schema - '@types/hash-sum': - specifier: 1.0.2 - version: 1.0.2 '@types/lodash-es': specifier: 4.17.12 version: 4.17.12 @@ -711,12 +680,6 @@ importers: specifier: ^1.5.1 version: 1.5.1 devDependencies: - '@nuxt/telemetry': - specifier: 2.6.0 - version: 2.6.0 - '@nuxt/ui-templates': - specifier: workspace:* - version: link:../ui-templates '@types/file-loader': specifier: 5.0.4 version: 5.0.4 @@ -765,9 +728,6 @@ importers: unctx: specifier: 2.3.1 version: 2.3.1 - unenv: - specifier: 1.10.0 - version: 1.10.0 vite: specifier: 5.4.11 version: 5.4.11(@types/node@22.9.1)(sass@1.78.0)(terser@5.32.0) @@ -819,6 +779,9 @@ importers: scule: specifier: 1.3.0 version: 1.3.0 + svgo: + specifier: ^3.3.2 + version: 3.3.2 tinyexec: specifier: 0.3.1 version: 0.3.1 @@ -867,9 +830,6 @@ importers: escape-string-regexp: specifier: ^5.0.0 version: 5.0.0 - estree-walker: - specifier: ^3.0.3 - version: 3.0.3 externality: specifier: ^1.0.2 version: 1.0.2 @@ -891,15 +851,9 @@ importers: mlly: specifier: ^1.7.3 version: 1.7.3 - ohash: - specifier: 1.1.4 - version: 1.1.4 pathe: specifier: ^1.1.2 version: 1.1.2 - perfect-debounce: - specifier: ^1.0.0 - version: 1.0.0 pkg-types: specifier: ^1.2.1 version: 1.2.1 @@ -912,9 +866,6 @@ importers: std-env: specifier: ^3.8.0 version: 3.8.0 - strip-literal: - specifier: ^2.1.0 - version: 2.1.0 ufo: specifier: 1.5.4 version: 1.5.4 @@ -943,9 +894,6 @@ importers: '@types/clear': specifier: 0.1.4 version: 0.1.4 - '@types/estree': - specifier: 1.0.6 - version: 1.0.6 rollup: specifier: 4.27.3 version: 4.27.3 @@ -985,9 +933,6 @@ importers: escape-string-regexp: specifier: ^5.0.0 version: 5.0.0 - estree-walker: - specifier: ^3.0.3 - version: 3.0.3 file-loader: specifier: ^6.2.0 version: 6.2.0(webpack@5.96.1) @@ -1000,9 +945,6 @@ importers: h3: specifier: npm:h3-nightly@2.0.0-1718872656.6765a6e version: h3-nightly@2.0.0-1718872656.6765a6e - hash-sum: - specifier: ^2.0.0 - version: 2.0.0 jiti: specifier: 2.4.0 version: 2.4.0 @@ -1021,9 +963,6 @@ importers: mini-css-extract-plugin: specifier: ^2.9.2 version: 2.9.2(webpack@5.96.1) - mlly: - specifier: ^1.7.3 - version: 1.7.3 ohash: specifier: 1.1.4 version: 1.1.4 @@ -1097,9 +1036,6 @@ importers: '@rspack/core': specifier: 1.1.3 version: 1.1.3 - '@types/hash-sum': - specifier: 1.0.2 - version: 1.0.2 '@types/lodash-es': specifier: 4.17.12 version: 4.17.12 @@ -1143,6 +1079,9 @@ importers: '@vue/devtools-api': specifier: latest version: 7.6.4 + defu: + specifier: latest + version: 6.1.4 ufo: specifier: 1.5.4 version: 1.5.4 @@ -1164,7 +1103,7 @@ importers: version: 1.4.1 unplugin-vue-router: specifier: ^0.10.7 - version: 0.10.8(rollup@4.27.3)(vue-router@4.4.5(vue@3.5.13(typescript@5.6.3)))(vue@3.5.13(typescript@5.6.3)) + version: 0.10.8(rollup@4.27.3)(vue-router@4.5.0(vue@3.5.13(typescript@5.6.3)))(vue@3.5.13(typescript@5.6.3)) vitest: specifier: 1.6.0 version: 1.6.0(@types/node@22.9.1)(happy-dom@15.11.6)(sass@1.78.0)(terser@5.32.0) @@ -1173,7 +1112,7 @@ importers: version: 3.5.13(typescript@5.6.3) vue-router: specifier: latest - version: 4.4.5(vue@3.5.13(typescript@5.6.3)) + version: 4.5.0(vue@3.5.13(typescript@5.6.3)) test/fixtures/minimal: dependencies: @@ -2160,11 +2099,6 @@ packages: peerDependencies: vite: 5.4.11 - '@nuxt/devtools-kit@1.6.0': - resolution: {integrity: sha512-kJ8mVKwTSN3tdEVNy7mxKCiQk9wsG5t3oOrRMWk6IEbTSov+5sOULqQSM/+OWxWsEDmDfA7QlS5sM3Ti9uMRqQ==} - peerDependencies: - vite: 5.4.11 - '@nuxt/devtools-kit@1.6.1': resolution: {integrity: sha512-6pvK5ih4XONVMSABlDbq6q7/TrZ++hyXGn5zdROVU780aYX3EjU8F0sq+1Lmc6ieiJg4tNe/EA+zV1onKRPsrQ==} peerDependencies: @@ -2699,6 +2633,11 @@ packages: resolution: {integrity: sha512-LtoMMhxAlorcGhmFYI+LhPgbPZCkgP6ra1YL604EeF6U98pLlQ3iWIGMdWSC+vWmPBWBNgmDBAhnAobLROJmwg==} engines: {node: '>=18'} + '@snyk/github-codeowners@1.1.0': + resolution: {integrity: sha512-lGFf08pbkEac0NYgVf4hdANpAgApRjNByLXB+WBip3qj1iendOIyAwP2GKkKbQMNVy2r1xxDf0ssfWscoiC+Vw==} + engines: {node: '>=8.10'} + hasBin: true + '@stripe/stripe-js@4.8.0': resolution: {integrity: sha512-+4Cb0bVHlV4BJXxkJ3cCLSLuWxm3pXKtgcRacox146EuugjCzRRII5T5gUMgL4HpzrBLVwVxjKaZqntNWAXawQ==} engines: {node: '>=12.16'} @@ -2745,9 +2684,6 @@ packages: '@types/eslint@9.6.1': resolution: {integrity: sha512-FXx2pKgId/WyYo2jXw63kk7/+TY7u7AziEJxJAnSFzHlqTAS3Ync6SvgYAN/k4/PQpnnVuzoMuVnByKK2qp0ag==} - '@types/eslint__js@8.42.3': - resolution: {integrity: sha512-alfG737uhmPdnvkrLdZLcEKJ/B8s9Y4hrZ+YAdzUeoArBlSUERA2E87ROfOaS4jd/C45fzOoZzidLc1IPwLqOw==} - '@types/estree@1.0.6': resolution: {integrity: sha512-AYnb1nQyY49te+VRAVgmzfcgjYS91mY5P0TKUDCLEM+gNnA+3T6rWITXRLYCpahpqSQbN5cE+gHpnPyXjHWxcw==} @@ -2757,9 +2693,6 @@ packages: '@types/google.maps@3.58.1': resolution: {integrity: sha512-X9QTSvGJ0nCfMzYOnaVs/k6/4L+7F5uCS+4iUmkLEls6J9S/Phv+m/i3mDeyc49ZBgwab3EFO1HEoBY7k98EGQ==} - '@types/hash-sum@1.0.2': - resolution: {integrity: sha512-UP28RddqY8xcU0SCEp9YKutQICXpaAq9N8U2klqF5hegGha7KzTOL8EdhIIV3bOSGBzjEpN9bU/d+nNZBdJYVw==} - '@types/hast@3.0.4': resolution: {integrity: sha512-WPs+bbQw5aCj+x6laNGWLH3wviHtoCv/P3+otBhbOhJgG8qtpdAMlTCxLtsTWA7LH1Oh/bFCHsBn0TPS5m30EQ==} @@ -3431,6 +3364,10 @@ packages: resolution: {integrity: sha512-H0TSyFNDMomMNJQBn8wFV5YC/2eJ+VXECwOadZJT554xP6cODZHPX3H9QMQECxvrgiSOP1pHjy1sMWQVYJOUOA==} engines: {node: '>= 14'} + aggregate-error@3.1.0: + resolution: {integrity: sha512-4I7Td01quW/RpocfNayFdFVk1qSuoh0E7JrbRJ16nH01HhKFQ88INq9Sd+nd72zqRySlr9BmDA8xlEJ6vJMrYA==} + engines: {node: '>=8'} + ajv-formats@2.1.1: resolution: {integrity: sha512-Wx0Kx52hxE7C18hkMEggYlEifqWZtYaRgouJor+WMdPnQyEK13vgEWyVNup7SoeeoLMsr4kf5h6dOW11I15MUA==} peerDependencies: @@ -3765,6 +3702,10 @@ packages: resolution: {integrity: sha512-GfisEZEJvzKrmGWkvfhgzcz/BllN1USeqD2V6tg14OAOgaCD2Z/PUEuxnAZ/nPvmaHRG7a8y77p1T/IRQ4D1Hw==} engines: {node: '>=4'} + clean-stack@2.2.0: + resolution: {integrity: sha512-4diC9HaTE+KRAMWhDhrGOECgWZxoevMc5TlkObMqNSsVU62PYzXZ/SMTjzyGAFF1YusgxGcSWTEXBhp0CPwQ1A==} + engines: {node: '>=6'} + clear@0.1.0: resolution: {integrity: sha512-qMjRnoL+JDPJHeLePZJuao6+8orzHMGP04A8CdwCNsKhRbOnKRjefxONR7bwILT3MHecxKBjHkKL/tkZ8r4Uzw==} @@ -3776,6 +3717,10 @@ packages: resolution: {integrity: sha512-BSeNnyus75C4//NQ9gQt1/csTXyo/8Sb+afLAkzAptFuMsod9HFokGNudZpi/oQV73hnVK+sR+5PVRMd+Dr7YQ==} engines: {node: '>=12'} + clone@1.0.4: + resolution: {integrity: sha512-JQHZ2QMW6l3aH/j6xCqQThY/9OH4D/9ls34cgkUBiEeocRTU04tHfKPBsUK1PqZCUQM7GiA0IIXJSuXHI64Kbg==} + engines: {node: '>=0.8'} + cluster-key-slot@1.1.2: resolution: {integrity: sha512-RMr0FhtfXemyinomL4hrWcYJxmX6deFdCxpJzhDttxgO1+bcCnkk+9drydLVDmAMG7NE6aN/fl4F7ucU/90gAA==} engines: {node: '>=0.10.0'} @@ -3820,6 +3765,10 @@ packages: commander@2.20.3: resolution: {integrity: sha512-GpVkmM8vF2vQUkj2LvZmD35JxeJOLCwJ9cUkugyk2nuhbv3+mJvpLYYt+0+USMxE+oj+ey/lJEnhZw75x/OMcQ==} + commander@4.1.1: + resolution: {integrity: sha512-NOKm8xhkzAjzFx8B2v5OAHT+u5pRQc2UCa2Vq9jYL/31o2wi9mxBA7LIFs3sV5VSC49z6pEhfbMULvShKj26WA==} + engines: {node: '>= 6'} + commander@7.2.0: resolution: {integrity: sha512-QrWXB+ZQSVPmIWIhtEO9H+gwHaMGYiF5ChvoJ+K9ZGHG/sVsa6yiesAD1GC/x46sET00Xlwo1u49RVVVzvcSkw==} engines: {node: '>= 10'} @@ -4096,6 +4045,9 @@ packages: resolution: {integrity: sha512-WY/3TUME0x3KPYdRRxEJJvXRHV4PyPoUsxtZa78lwItwRQRHhd2U9xOscaT/YTf8uCXIAjeJOFBVEh/7FtD8Xg==} engines: {node: '>=18'} + defaults@1.0.4: + resolution: {integrity: sha512-eFuaLoy/Rxalv2kr+lqMlUnrDWV+3j4pljOIJgLIhI058IQfWJ7vXhyEIHu+HtC738klGALYxOKDO0bQP3tg8A==} + define-data-property@1.1.4: resolution: {integrity: sha512-rBMvIzlpA8v6E+SJZoo++HAYqsLrkg7MSfIinMPFhmkorw7X+dOXVJQs+QT69zGkzMyfDnIMN2Wid1+NbL3T+A==} engines: {node: '>= 0.4'} @@ -4214,6 +4166,9 @@ packages: eastasianwidth@0.2.0: resolution: {integrity: sha512-I88TYZWc9XiYHRQ4/3c5rjjfgkjhLyW2luGIheGERbNQ6OY7yTybanSpDXZa8y7VUP9YmDcYa+eyq4ca7iLqWA==} + easy-table@1.2.0: + resolution: {integrity: sha512-OFzVOv03YpvtcWGe5AayU5G2hgybsg3iqA6drU8UaoZyB9jLGMTrz9+asnLp/E+6qPh88yEI1gvyZFZ41dmgww==} + editorconfig@1.0.4: resolution: {integrity: sha512-L9Qe08KWTlqYMVvMcTIvMAdl1cDUubzRNYL+WfA4bLDMHe4nemKkpmYzkznE1FwLKu0EEmy6obgQKzMJrg4x9Q==} engines: {node: '>=14'} @@ -5345,6 +5300,14 @@ packages: resolution: {integrity: sha512-dhG34DXATL5hSxJbIexCft8FChFXtmskoZYnoPWjXQuebWYCNkVeV3KkGegCK9CP1oswI/vQibS2GY7Em/sJJA==} engines: {node: '>= 8'} + knip@5.37.2: + resolution: {integrity: sha512-Rs9HHTgmUacyKxchP4kRwG8idi0tzVHVpSyo4EM9sNGDSrPq20lhKXOWMFmShGCV6CH2352393Ok/qG1NblCMw==} + engines: {node: '>=18.6.0'} + hasBin: true + peerDependencies: + '@types/node': 22.9.1 + typescript: 5.6.3 + knitwork@1.1.0: resolution: {integrity: sha512-oHnmiBUVHz1V+URE77PNot2lv3QiYU2zQf1JjOVkMt3YDKGbu8NAFr+c4mcNOhdsGrB/VpVbRwPwhiXrPhxQbw==} @@ -5982,6 +5945,10 @@ packages: resolution: {integrity: sha512-LaNjtRWUBY++zB5nE/NwcaoMylSPk+S+ZHNB1TzdbMJMny6dynpAGt7X/tl/QYq3TIeE6nxHppbo2LGymrG5Pw==} engines: {node: '>=10'} + p-map@4.0.0: + resolution: {integrity: sha512-/bjOqmgETBYB5BoEeGVea8dmvHb2m9GLy1E9W43yeyfP6QQCZGFNa+XRceJEuDB6zqr+gKpIAmlLebMpykw/MQ==} + engines: {node: '>=10'} + p-try@2.2.0: resolution: {integrity: sha512-R4nPAVTAU0B9D35/Gk3uJf/7XYbQcyohSKdvAxIRSNghFl4e71hVoGnBNQz9cWaXxO2I10KTC+3jMdvvoKw6dQ==} engines: {node: '>=6'} @@ -6015,6 +5982,10 @@ packages: resolution: {integrity: sha512-rum1bPifK5SSar35Z6EKZuYPJx85pkNaFrxBK3mwdfSJ1/WKbYrjoW/zTPSjRRamfmVX1ACBIdFAO0VRErW/EA==} engines: {node: '>=18'} + parse-ms@4.0.0: + resolution: {integrity: sha512-TXfryirbmq34y8QBwgqCVLi+8oA3oWx2eAnSn62ITyEhEYaWRlVZ2DvMM9eZbMs/RfxPu/PK/aBLyGj4IrqMHw==} + engines: {node: '>=18'} + parse-path@7.0.0: resolution: {integrity: sha512-Euf9GG8WT9CdqwuWJGdf3RkUcTBArppHABkO7Lm8IzRQp0e2r/kkFnmhu4TSK30Wcu5rVAZLmfPKSBBi9tWFog==} @@ -6381,6 +6352,10 @@ packages: resolution: {integrity: sha512-Pdlw/oPxN+aXdmM9R00JVC9WVFoCLTKJvDVLgmJ+qAffBMxsV85l/Lu7sNx4zSzPyoL2euImuEwHhOXdEgNFZQ==} engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} + pretty-ms@9.2.0: + resolution: {integrity: sha512-4yf0QO/sllf/1zbZWYnvWw3NxCQwLXKzIj0G849LSufP15BXKM0rbD2Z3wVnkMfjdn/CB0Dpp444gYAACdsplg==} + engines: {node: '>=18'} + pretty-time@1.1.0: resolution: {integrity: sha512-28iF6xPQrP8Oa6uxE6a1biz+lWeTOAPKggvjB8HAs6nVMKZwf5bG++632Dx614hIWgUPkgivRfG+a8uAXGTIbA==} engines: {node: '>=4'} @@ -6948,6 +6923,10 @@ packages: resolution: {integrity: sha512-6fPc+R4ihwqP6N/aIv2f1gMH8lOVtWQHoqC4yK6oSDVVocumAsfCqjkXnqiYMhmMwS/mEHLp7Vehlt3ql6lEig==} engines: {node: '>=8'} + strip-json-comments@5.0.1: + resolution: {integrity: sha512-0fk9zBqO67Nq5M/m45qHCJxylV/DhBlIOVExqgOMiCCrzrhU6tCibRXNqE3jwJLftzE9SNuZtYbpzcO+i9FiKw==} + engines: {node: '>=14.16'} + strip-literal@2.1.0: resolution: {integrity: sha512-Op+UycaUt/8FbN/Z2TWPBLge3jWrP3xj10f3fnYxf052bKuS3EKs1ZQcVGjnEMdsNVAM+plXRdmjrZ/KgG3Skw==} @@ -6957,6 +6936,9 @@ packages: peerDependencies: postcss: 8.4.49 + summary@2.1.0: + resolution: {integrity: sha512-nMIjMrd5Z2nuB2RZCKJfFMjgS3fygbeyGk9PxPPaJR1RIcyN9yn4A63Isovzm3ZtQuEkLBVgMdPup8UeLH7aQw==} + superjson@2.2.1: resolution: {integrity: sha512-8iGv75BYOa0xRJHK5vRLEjE2H/i4lulTjzpUXic3Eg8akftYjkmQDa8JARQ42rlczXyFR3IeRoeFCc7RxHsYZA==} engines: {node: '>=16'} @@ -7647,6 +7629,11 @@ packages: peerDependencies: vue: 3.5.13 + vue-router@4.5.0: + resolution: {integrity: sha512-HDuk+PuH5monfNuY+ct49mNmkCRK4xJAV9Ts4z9UFc4rzdDnxQLyCMGGc8pKhZhHTVzfanpNwB/lwqevcBwI4w==} + peerDependencies: + vue: 3.5.13 + vue-tsc@2.1.10: resolution: {integrity: sha512-RBNSfaaRHcN5uqVqJSZh++Gy/YUzryuv9u1aFWhsammDJXNtUiJMNoJ747lZcQ68wUQFx6E73y4FY3D8E7FGMA==} hasBin: true @@ -7665,6 +7652,9 @@ packages: resolution: {integrity: sha512-TnbFSbcOCcDgjZ4piURLCbJ3nJhznVh9kw6F6iokjiFPl8ONxe9A6nMDVXDiNbrSfLILs6vB07F7wLBrwPYzJw==} engines: {node: '>=10.13.0'} + wcwidth@1.0.1: + resolution: {integrity: sha512-XHPEwS0q6TaxcvG85+8EYkbiCux2XtWG2mkc47Ng2A77BQu9+DqIOJldST4HgPkuea7dvKSj5VgX3P1d4rW8Tg==} + web-namespaces@2.0.1: resolution: {integrity: sha512-bKr1DkiNa2krS7qxNtdrtHAmzuYGFQLiQ13TsorsdT6ULTkPLKuu5+GsFpDlg6JFjUTwX2DyhMPG2be8uPrqsQ==} @@ -7851,6 +7841,15 @@ packages: resolution: {integrity: sha512-zK7YHHz4ZXpW89AHXUPbQVGKI7uvkd3hzusTdotCg1UxyaVtg0zFJSTfW/Dq5f7OBBVnq6cZIaC8Ti4hb6dtCA==} engines: {node: '>= 14'} + zod-validation-error@3.4.0: + resolution: {integrity: sha512-ZOPR9SVY6Pb2qqO5XHt+MkkTRxGXb4EVtnjc9JpXUOtUB1T9Ru7mZOT361AN3MsetVe7R0a1KZshJDZdgp9miQ==} + engines: {node: '>=18.0.0'} + peerDependencies: + zod: ^3.18.0 + + zod@3.23.8: + resolution: {integrity: sha512-XBx9AXhXktjUqnepgTiE5flcKIYWi/rme0Eaj+5Y0lftuGBq+jyRu/md4WnuxqgP1ubdpNCsYEYPxrzVHD8d6g==} + zwitch@2.0.4: resolution: {integrity: sha512-bXE4cR/kVZhKZX/RjPEflHaKVhUVl85noU3v6b8apfQEc1x4A+zBxjZ4lN8LqGd6WZ3dl98pY4o717VFmoPp+A==} @@ -8613,13 +8612,6 @@ snapshots: execa: 7.2.0 vite: 5.4.11(@types/node@22.9.1)(sass@1.78.0)(terser@5.32.0) - '@nuxt/devtools-kit@1.6.0(vite@5.4.11(@types/node@22.9.1)(sass@1.78.0)(terser@5.32.0))': - dependencies: - '@nuxt/kit': link:packages/kit - '@nuxt/schema': link:packages/schema - execa: 7.2.0 - vite: 5.4.11(@types/node@22.9.1)(sass@1.78.0)(terser@5.32.0) - '@nuxt/devtools-kit@1.6.1(vite@5.4.11(@types/node@22.9.1)(sass@1.78.0)(terser@5.32.0))': dependencies: '@nuxt/kit': link:packages/kit @@ -8780,7 +8772,7 @@ snapshots: '@nuxt/scripts@0.9.5(@nuxt/devtools@1.6.1(rollup@4.27.3)(vite@5.4.11(@types/node@22.9.1)(sass@1.78.0)(terser@5.32.0))(vue@3.5.13(typescript@5.6.3)))(@unocss/webpack@0.62.4(rollup@4.27.3)(webpack@5.96.1(esbuild@0.24.0)))(@vue/compiler-core@3.5.13)(change-case@5.4.4)(ioredis@5.4.1)(nuxt@packages+nuxt)(postcss@8.4.49)(rollup@4.27.3)(typescript@5.6.3)(vite@5.4.11(@types/node@22.9.1)(sass@1.78.0)(terser@5.32.0))(vue@3.5.13(typescript@5.6.3))(webpack@5.96.1(esbuild@0.24.0))': dependencies: - '@nuxt/devtools-kit': 1.6.0(vite@5.4.11(@types/node@22.9.1)(sass@1.78.0)(terser@5.32.0)) + '@nuxt/devtools-kit': 1.6.1(vite@5.4.11(@types/node@22.9.1)(sass@1.78.0)(terser@5.32.0)) '@nuxt/devtools-ui-kit': 1.5.1(@nuxt/devtools@1.6.1(rollup@4.27.3)(vite@5.4.11(@types/node@22.9.1)(sass@1.78.0)(terser@5.32.0))(vue@3.5.13(typescript@5.6.3)))(@unocss/webpack@0.62.4(rollup@4.27.3)(webpack@5.96.1(esbuild@0.24.0)))(@vue/compiler-core@3.5.13)(change-case@5.4.4)(nuxt@packages+nuxt)(postcss@8.4.49)(rollup@4.27.3)(vite@5.4.11(@types/node@22.9.1)(sass@1.78.0)(terser@5.32.0))(vue@3.5.13(typescript@5.6.3))(webpack@5.96.1(esbuild@0.24.0)) '@nuxt/kit': link:packages/kit '@stripe/stripe-js': 4.8.0 @@ -8867,7 +8859,7 @@ snapshots: rc9: 2.1.2 std-env: 3.8.0 - '@nuxt/test-utils@3.14.4(@testing-library/vue@8.1.0(@vue/compiler-sfc@3.5.13)(vue@3.5.13(typescript@5.6.3)))(@vue/test-utils@2.4.6)(h3-nightly@2.0.0-1718872656.6765a6e)(happy-dom@15.11.6)(magicast@0.3.5)(nitropack@2.9.7(magicast@0.3.5))(playwright-core@1.49.0)(vite@5.4.11(@types/node@22.9.1)(sass@1.78.0)(terser@5.32.0))(vitest@2.1.5(@types/node@22.9.1)(happy-dom@15.11.6)(sass@1.78.0)(terser@5.32.0))(vue-router@4.4.5(vue@3.5.13(typescript@5.6.3)))(vue@3.5.13(typescript@5.6.3))': + '@nuxt/test-utils@3.14.4(@testing-library/vue@8.1.0(@vue/compiler-sfc@3.5.13)(vue@3.5.13(typescript@5.6.3)))(@vue/test-utils@2.4.6)(h3-nightly@2.0.0-1718872656.6765a6e)(happy-dom@15.11.6)(magicast@0.3.5)(nitropack@2.9.7(magicast@0.3.5))(playwright-core@1.49.0)(vite@5.4.11(@types/node@22.9.1)(sass@1.78.0)(terser@5.32.0))(vitest@2.1.5(@types/node@22.9.1)(happy-dom@15.11.6)(sass@1.78.0)(terser@5.32.0))(vue-router@4.5.0(vue@3.5.13(typescript@5.6.3)))(vue@3.5.13(typescript@5.6.3))': dependencies: '@nuxt/kit': link:packages/kit '@nuxt/schema': link:packages/schema @@ -8894,9 +8886,9 @@ snapshots: unenv: 1.10.0 unplugin: 1.16.0 vite: 5.4.11(@types/node@22.9.1)(sass@1.78.0)(terser@5.32.0) - vitest-environment-nuxt: 1.0.1(@testing-library/vue@8.1.0(@vue/compiler-sfc@3.5.13)(vue@3.5.13(typescript@5.6.3)))(@vue/test-utils@2.4.6)(h3-nightly@2.0.0-1718872656.6765a6e)(happy-dom@15.11.6)(magicast@0.3.5)(nitropack@2.9.7(magicast@0.3.5))(playwright-core@1.49.0)(vite@5.4.11(@types/node@22.9.1)(sass@1.78.0)(terser@5.32.0))(vitest@2.1.5(@types/node@22.9.1)(happy-dom@15.11.6)(sass@1.78.0)(terser@5.32.0))(vue-router@4.4.5(vue@3.5.13(typescript@5.6.3)))(vue@3.5.13(typescript@5.6.3)) + vitest-environment-nuxt: 1.0.1(@testing-library/vue@8.1.0(@vue/compiler-sfc@3.5.13)(vue@3.5.13(typescript@5.6.3)))(@vue/test-utils@2.4.6)(h3-nightly@2.0.0-1718872656.6765a6e)(happy-dom@15.11.6)(magicast@0.3.5)(nitropack@2.9.7(magicast@0.3.5))(playwright-core@1.49.0)(vite@5.4.11(@types/node@22.9.1)(sass@1.78.0)(terser@5.32.0))(vitest@2.1.5(@types/node@22.9.1)(happy-dom@15.11.6)(sass@1.78.0)(terser@5.32.0))(vue-router@4.5.0(vue@3.5.13(typescript@5.6.3)))(vue@3.5.13(typescript@5.6.3)) vue: 3.5.13(typescript@5.6.3) - vue-router: 4.4.5(vue@3.5.13(typescript@5.6.3)) + vue-router: 4.5.0(vue@3.5.13(typescript@5.6.3)) optionalDependencies: '@testing-library/vue': 8.1.0(@vue/compiler-sfc@3.5.13)(vue@3.5.13(typescript@5.6.3)) '@vue/test-utils': 2.4.6 @@ -9387,6 +9379,12 @@ snapshots: '@sindresorhus/merge-streams@2.3.0': {} + '@snyk/github-codeowners@1.1.0': + dependencies: + commander: 4.1.1 + ignore: 5.3.2 + p-map: 4.0.0 + '@stripe/stripe-js@4.8.0': {} '@stylistic/eslint-plugin@2.10.1(eslint@9.15.0(jiti@2.4.0))(typescript@5.6.3)': @@ -9445,10 +9443,6 @@ snapshots: '@types/estree': 1.0.6 '@types/json-schema': 7.0.15 - '@types/eslint__js@8.42.3': - dependencies: - '@types/eslint': 9.6.1 - '@types/estree@1.0.6': {} '@types/file-loader@5.0.4': @@ -9457,8 +9451,6 @@ snapshots: '@types/google.maps@3.58.1': {} - '@types/hash-sum@1.0.2': {} - '@types/hast@3.0.4': dependencies: '@types/unist': 3.0.3 @@ -10493,6 +10485,11 @@ snapshots: transitivePeerDependencies: - supports-color + aggregate-error@3.1.0: + dependencies: + clean-stack: 2.2.0 + indent-string: 4.0.0 + ajv-formats@2.1.1(ajv@8.17.1): optionalDependencies: ajv: 8.17.1 @@ -10853,6 +10850,8 @@ snapshots: dependencies: escape-string-regexp: 1.0.5 + clean-stack@2.2.0: {} + clear@0.1.0: {} clipboardy@4.0.0: @@ -10867,6 +10866,9 @@ snapshots: strip-ansi: 6.0.1 wrap-ansi: 7.0.0 + clone@1.0.4: + optional: true + cluster-key-slot@1.1.2: {} color-convert@1.9.3: @@ -10897,6 +10899,8 @@ snapshots: commander@2.20.3: {} + commander@4.1.1: {} + commander@7.2.0: {} commander@8.3.0: {} @@ -11155,6 +11159,11 @@ snapshots: bundle-name: 4.1.0 default-browser-id: 5.0.0 + defaults@1.0.4: + dependencies: + clone: 1.0.4 + optional: true + define-data-property@1.1.4: dependencies: es-define-property: 1.0.0 @@ -11257,6 +11266,12 @@ snapshots: eastasianwidth@0.2.0: {} + easy-table@1.2.0: + dependencies: + ansi-regex: 5.0.1 + optionalDependencies: + wcwidth: 1.0.1 + editorconfig@1.0.4: dependencies: '@one-ini/wasm': 0.1.1 @@ -12587,6 +12602,27 @@ snapshots: klona@2.0.6: {} + knip@5.37.2(@types/node@22.9.1)(typescript@5.6.3): + dependencies: + '@nodelib/fs.walk': 1.2.8 + '@snyk/github-codeowners': 1.1.0 + '@types/node': 22.9.1 + easy-table: 1.2.0 + enhanced-resolve: 5.17.1 + fast-glob: 3.3.2 + jiti: 2.4.0 + js-yaml: 4.1.0 + minimist: 1.2.8 + picocolors: 1.1.1 + picomatch: 4.0.2 + pretty-ms: 9.2.0 + smol-toml: 1.3.0 + strip-json-comments: 5.0.1 + summary: 2.1.0 + typescript: 5.6.3 + zod: 3.23.8 + zod-validation-error: 3.4.0(zod@3.23.8) + knitwork@1.1.0: {} kolorist@1.8.0: {} @@ -13592,6 +13628,10 @@ snapshots: dependencies: p-limit: 3.1.0 + p-map@4.0.0: + dependencies: + aggregate-error: 3.1.0 + p-try@2.2.0: {} package-json-from-dist@1.0.0: {} @@ -13636,6 +13676,8 @@ snapshots: index-to-position: 0.1.2 type-fest: 4.26.1 + parse-ms@4.0.0: {} + parse-path@7.0.0: dependencies: protocols: 2.0.1 @@ -13958,6 +14000,10 @@ snapshots: ansi-styles: 5.2.0 react-is: 18.3.1 + pretty-ms@9.2.0: + dependencies: + parse-ms: 4.0.0 + pretty-time@1.1.0: {} process-nextick-args@2.0.1: {} @@ -14659,6 +14705,8 @@ snapshots: strip-json-comments@3.1.1: {} + strip-json-comments@5.0.1: {} + strip-literal@2.1.0: dependencies: js-tokens: 9.0.0 @@ -14669,6 +14717,8 @@ snapshots: postcss: 8.4.49 postcss-selector-parser: 6.1.2 + summary@2.1.0: {} + superjson@2.2.1: dependencies: copy-anything: 3.0.5 @@ -15075,7 +15125,7 @@ snapshots: - supports-color - vue - unplugin-vue-router@0.10.8(rollup@4.27.3)(vue-router@4.4.5(vue@3.5.13(typescript@5.6.3)))(vue@3.5.13(typescript@5.6.3)): + unplugin-vue-router@0.10.8(rollup@4.27.3)(vue-router@4.5.0(vue@3.5.13(typescript@5.6.3)))(vue@3.5.13(typescript@5.6.3)): dependencies: '@babel/types': 7.26.0 '@rollup/pluginutils': 5.1.3(rollup@4.27.3) @@ -15092,7 +15142,7 @@ snapshots: unplugin: 1.16.0 yaml: 2.5.1 optionalDependencies: - vue-router: 4.4.5(vue@3.5.13(typescript@5.6.3)) + vue-router: 4.5.0(vue@3.5.13(typescript@5.6.3)) transitivePeerDependencies: - rollup - vue @@ -15308,9 +15358,9 @@ snapshots: sass: 1.78.0 terser: 5.32.0 - vitest-environment-nuxt@1.0.1(@testing-library/vue@8.1.0(@vue/compiler-sfc@3.5.13)(vue@3.5.13(typescript@5.6.3)))(@vue/test-utils@2.4.6)(h3-nightly@2.0.0-1718872656.6765a6e)(happy-dom@15.11.6)(magicast@0.3.5)(nitropack@2.9.7(magicast@0.3.5))(playwright-core@1.49.0)(vite@5.4.11(@types/node@22.9.1)(sass@1.78.0)(terser@5.32.0))(vitest@2.1.5(@types/node@22.9.1)(happy-dom@15.11.6)(sass@1.78.0)(terser@5.32.0))(vue-router@4.4.5(vue@3.5.13(typescript@5.6.3)))(vue@3.5.13(typescript@5.6.3)): + vitest-environment-nuxt@1.0.1(@testing-library/vue@8.1.0(@vue/compiler-sfc@3.5.13)(vue@3.5.13(typescript@5.6.3)))(@vue/test-utils@2.4.6)(h3-nightly@2.0.0-1718872656.6765a6e)(happy-dom@15.11.6)(magicast@0.3.5)(nitropack@2.9.7(magicast@0.3.5))(playwright-core@1.49.0)(vite@5.4.11(@types/node@22.9.1)(sass@1.78.0)(terser@5.32.0))(vitest@2.1.5(@types/node@22.9.1)(happy-dom@15.11.6)(sass@1.78.0)(terser@5.32.0))(vue-router@4.5.0(vue@3.5.13(typescript@5.6.3)))(vue@3.5.13(typescript@5.6.3)): dependencies: - '@nuxt/test-utils': 3.14.4(@testing-library/vue@8.1.0(@vue/compiler-sfc@3.5.13)(vue@3.5.13(typescript@5.6.3)))(@vue/test-utils@2.4.6)(h3-nightly@2.0.0-1718872656.6765a6e)(happy-dom@15.11.6)(magicast@0.3.5)(nitropack@2.9.7(magicast@0.3.5))(playwright-core@1.49.0)(vite@5.4.11(@types/node@22.9.1)(sass@1.78.0)(terser@5.32.0))(vitest@2.1.5(@types/node@22.9.1)(happy-dom@15.11.6)(sass@1.78.0)(terser@5.32.0))(vue-router@4.4.5(vue@3.5.13(typescript@5.6.3)))(vue@3.5.13(typescript@5.6.3)) + '@nuxt/test-utils': 3.14.4(@testing-library/vue@8.1.0(@vue/compiler-sfc@3.5.13)(vue@3.5.13(typescript@5.6.3)))(@vue/test-utils@2.4.6)(h3-nightly@2.0.0-1718872656.6765a6e)(happy-dom@15.11.6)(magicast@0.3.5)(nitropack@2.9.7(magicast@0.3.5))(playwright-core@1.49.0)(vite@5.4.11(@types/node@22.9.1)(sass@1.78.0)(terser@5.32.0))(vitest@2.1.5(@types/node@22.9.1)(happy-dom@15.11.6)(sass@1.78.0)(terser@5.32.0))(vue-router@4.5.0(vue@3.5.13(typescript@5.6.3)))(vue@3.5.13(typescript@5.6.3)) transitivePeerDependencies: - '@cucumber/cucumber' - '@jest/globals' @@ -15473,6 +15523,11 @@ snapshots: '@vue/devtools-api': 6.6.4 vue: 3.5.13(typescript@5.6.3) + vue-router@4.5.0(vue@3.5.13(typescript@5.6.3)): + dependencies: + '@vue/devtools-api': 6.6.4 + vue: 3.5.13(typescript@5.6.3) + vue-tsc@2.1.10(typescript@5.6.3): dependencies: '@volar/typescript': 2.4.8 @@ -15495,6 +15550,11 @@ snapshots: glob-to-regexp: 0.4.1 graceful-fs: 4.2.11 + wcwidth@1.0.1: + dependencies: + defaults: 1.0.4 + optional: true + web-namespaces@2.0.1: {} webidl-conversions@3.0.1: {} @@ -15729,4 +15789,10 @@ snapshots: compress-commons: 6.0.2 readable-stream: 4.5.2 + zod-validation-error@3.4.0(zod@3.23.8): + dependencies: + zod: 3.23.8 + + zod@3.23.8: {} + zwitch@2.0.4: {} diff --git a/test/fixtures/basic/package.json b/test/fixtures/basic/package.json index b4103147af..6fc71522ff 100644 --- a/test/fixtures/basic/package.json +++ b/test/fixtures/basic/package.json @@ -11,6 +11,7 @@ }, "devDependencies": { "@vue/devtools-api": "latest", + "defu": "latest", "ufo": "latest", "unplugin": "latest", "vue": "latest"