@nuxt/kit 3.16.2 → 3.17.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -1
- package/dist/index.d.mts +8 -1
- package/dist/index.d.ts +8 -1
- package/dist/index.mjs +64 -33
- package/package.json +17 -16
package/README.md
CHANGED
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
<a href="https://www.npmjs.com/package/nuxt"><img src="https://img.shields.io/npm/v/nuxt.svg?style=flat&colorA=18181B&colorB=28CF8D" alt="Version"></a>
|
|
7
7
|
<a href="https://www.npmjs.com/package/nuxt"><img src="https://img.shields.io/npm/dm/nuxt.svg?style=flat&colorA=18181B&colorB=28CF8D" alt="Downloads"></a>
|
|
8
8
|
<a href="https://github.com/nuxt/nuxt/tree/main/LICENSE"><img src="https://img.shields.io/github/license/nuxt/nuxt.svg?style=flat&colorA=18181B&colorB=28CF8D" alt="License"></a>
|
|
9
|
-
<a href="https://nuxt.com"><img src="https://img.shields.io/badge/Nuxt%20Docs-18181B?logo=nuxt
|
|
9
|
+
<a href="https://nuxt.com"><img src="https://img.shields.io/badge/Nuxt%20Docs-18181B?logo=nuxt" alt="Website"></a>
|
|
10
10
|
<a href="https://chat.nuxt.dev"><img src="https://img.shields.io/badge/Nuxt%20Discord-18181B?logo=discord" alt="Discord"></a>
|
|
11
11
|
<a href="https://securityscorecards.dev/"><img src="https://api.securityscorecards.dev/projects/github.com/nuxt/nuxt/badge" alt="Nuxt openssf scorecard score"></a>
|
|
12
12
|
</p>
|
package/dist/index.d.mts
CHANGED
|
@@ -194,6 +194,12 @@ type AddComponentOptions = {
|
|
|
194
194
|
name: string;
|
|
195
195
|
filePath: string;
|
|
196
196
|
} & Partial<Exclude<Component, 'shortPath' | 'async' | 'level' | 'import' | 'asyncImport'>>;
|
|
197
|
+
/**
|
|
198
|
+
* This utility takes a file path or npm package that is scanned for named exports, which are get added automatically
|
|
199
|
+
*/
|
|
200
|
+
declare function addComponentExports(opts: Omit<AddComponentOptions, 'name'> & {
|
|
201
|
+
prefix?: string;
|
|
202
|
+
}): void;
|
|
197
203
|
/**
|
|
198
204
|
* Register a component by its name and filePath.
|
|
199
205
|
*
|
|
@@ -469,4 +475,5 @@ declare const templateUtils: {
|
|
|
469
475
|
}) => string;
|
|
470
476
|
};
|
|
471
477
|
|
|
472
|
-
export {
|
|
478
|
+
export { addBuildPlugin, addComponent, addComponentExports, addComponentsDir, addDevServerHandler, addImports, addImportsDir, addImportsSources, addLayout, addPlugin, addPluginTemplate, addPrerenderRoutes, addRouteMiddleware, addRspackPlugin, addServerHandler, addServerImports, addServerImportsDir, addServerPlugin, addServerScanDir, addServerTemplate, addTemplate, addTypeTemplate, addVitePlugin, addWebpackPlugin, assertNuxtCompatibility, buildNuxt, checkNuxtCompatibility, compileTemplate, createIsIgnored, createResolver, defineNuxtModule, directoryToURL, extendNuxtSchema, extendPages, extendRouteRules, extendRspackConfig, extendViteConfig, extendWebpackConfig, findPath, getDirectory, getNuxtCtx, getNuxtModuleVersion, getNuxtVersion, hasNuxtCompatibility, hasNuxtModule, hasNuxtModuleCompatibility, importModule, installModule, isIgnored, isNuxt2, isNuxt3, isNuxtMajorVersion, loadNuxt, loadNuxtConfig, loadNuxtModuleInstance, logger, normalizeModuleTranspilePath, normalizePlugin, normalizeSemanticVersion, normalizeTemplate, nuxtCtx, requireModule, resolveAlias, resolveFiles, resolveIgnorePatterns, resolveModule, resolveNuxtModule, resolvePath, runWithNuxtContext, templateUtils, tryImportModule, tryRequireModule, tryResolveModule, tryUseNuxt, updateRuntimeConfig, updateTemplates, useLogger, useNitro, useNuxt, useRuntimeConfig, writeTypes };
|
|
479
|
+
export type { AddComponentOptions, AddPluginOptions, AddRouteMiddlewareOptions, ExtendConfigOptions, ExtendRouteRulesOptions, ExtendViteConfigOptions, ExtendWebpackConfigOptions, ImportModuleOptions, LoadNuxtConfigOptions, LoadNuxtOptions, ResolveModuleOptions, ResolvePathOptions, Resolver };
|
package/dist/index.d.ts
CHANGED
|
@@ -194,6 +194,12 @@ type AddComponentOptions = {
|
|
|
194
194
|
name: string;
|
|
195
195
|
filePath: string;
|
|
196
196
|
} & Partial<Exclude<Component, 'shortPath' | 'async' | 'level' | 'import' | 'asyncImport'>>;
|
|
197
|
+
/**
|
|
198
|
+
* This utility takes a file path or npm package that is scanned for named exports, which are get added automatically
|
|
199
|
+
*/
|
|
200
|
+
declare function addComponentExports(opts: Omit<AddComponentOptions, 'name'> & {
|
|
201
|
+
prefix?: string;
|
|
202
|
+
}): void;
|
|
197
203
|
/**
|
|
198
204
|
* Register a component by its name and filePath.
|
|
199
205
|
*
|
|
@@ -469,4 +475,5 @@ declare const templateUtils: {
|
|
|
469
475
|
}) => string;
|
|
470
476
|
};
|
|
471
477
|
|
|
472
|
-
export {
|
|
478
|
+
export { addBuildPlugin, addComponent, addComponentExports, addComponentsDir, addDevServerHandler, addImports, addImportsDir, addImportsSources, addLayout, addPlugin, addPluginTemplate, addPrerenderRoutes, addRouteMiddleware, addRspackPlugin, addServerHandler, addServerImports, addServerImportsDir, addServerPlugin, addServerScanDir, addServerTemplate, addTemplate, addTypeTemplate, addVitePlugin, addWebpackPlugin, assertNuxtCompatibility, buildNuxt, checkNuxtCompatibility, compileTemplate, createIsIgnored, createResolver, defineNuxtModule, directoryToURL, extendNuxtSchema, extendPages, extendRouteRules, extendRspackConfig, extendViteConfig, extendWebpackConfig, findPath, getDirectory, getNuxtCtx, getNuxtModuleVersion, getNuxtVersion, hasNuxtCompatibility, hasNuxtModule, hasNuxtModuleCompatibility, importModule, installModule, isIgnored, isNuxt2, isNuxt3, isNuxtMajorVersion, loadNuxt, loadNuxtConfig, loadNuxtModuleInstance, logger, normalizeModuleTranspilePath, normalizePlugin, normalizeSemanticVersion, normalizeTemplate, nuxtCtx, requireModule, resolveAlias, resolveFiles, resolveIgnorePatterns, resolveModule, resolveNuxtModule, resolvePath, runWithNuxtContext, templateUtils, tryImportModule, tryRequireModule, tryResolveModule, tryUseNuxt, updateRuntimeConfig, updateTemplates, useLogger, useNitro, useNuxt, useRuntimeConfig, writeTypes };
|
|
479
|
+
export type { AddComponentOptions, AddPluginOptions, AddRouteMiddlewareOptions, ExtendConfigOptions, ExtendRouteRulesOptions, ExtendViteConfigOptions, ExtendWebpackConfigOptions, ImportModuleOptions, LoadNuxtConfigOptions, LoadNuxtOptions, ResolveModuleOptions, ResolvePathOptions, Resolver };
|
package/dist/index.mjs
CHANGED
|
@@ -7,14 +7,14 @@ import { consola } from 'consola';
|
|
|
7
7
|
import { AsyncLocalStorage } from 'node:async_hooks';
|
|
8
8
|
import { getContext, createContext } from 'unctx';
|
|
9
9
|
import satisfies from 'semver/functions/satisfies.js';
|
|
10
|
-
import { readPackageJSON } from 'pkg-types';
|
|
10
|
+
import { readPackageJSON, resolvePackageJSON } from 'pkg-types';
|
|
11
11
|
import { genSafeVariableName, genDynamicImport, genImport } from 'knitwork';
|
|
12
12
|
import { pathToFileURL, fileURLToPath } from 'node:url';
|
|
13
13
|
import { createJiti } from 'jiti';
|
|
14
|
-
import { interopDefault, parseNodeModulePath } from 'mlly';
|
|
14
|
+
import { interopDefault, parseNodeModulePath, resolveModuleExportNames } from 'mlly';
|
|
15
15
|
import { resolveModulePath, resolveModuleURL } from 'exsolve';
|
|
16
16
|
import { isRelative, withTrailingSlash } from 'ufo';
|
|
17
|
-
import {
|
|
17
|
+
import { glob } from 'tinyglobby';
|
|
18
18
|
import { resolveAlias as resolveAlias$1 } from 'pathe/utils';
|
|
19
19
|
import ignore from 'ignore';
|
|
20
20
|
import { loadConfig } from 'c12';
|
|
@@ -2149,8 +2149,14 @@ function _defineNuxtModule(definition) {
|
|
|
2149
2149
|
if (module.meta.compatibility) {
|
|
2150
2150
|
const issues = await checkNuxtCompatibility(module.meta.compatibility, nuxt);
|
|
2151
2151
|
if (issues.length) {
|
|
2152
|
-
|
|
2153
|
-
${issues.toString()}
|
|
2152
|
+
const errorMessage = `Module \`${module.meta.name}\` is disabled due to incompatibility issues:
|
|
2153
|
+
${issues.toString()}`;
|
|
2154
|
+
if (nuxt.options.experimental.enforceModuleCompatibility) {
|
|
2155
|
+
const error = new Error(errorMessage);
|
|
2156
|
+
error.name = "ModuleCompatibilityError";
|
|
2157
|
+
throw error;
|
|
2158
|
+
}
|
|
2159
|
+
logger.warn(errorMessage);
|
|
2154
2160
|
return;
|
|
2155
2161
|
}
|
|
2156
2162
|
}
|
|
@@ -2466,7 +2472,7 @@ function existsInVFS(path, nuxt = tryUseNuxt()) {
|
|
|
2466
2472
|
}
|
|
2467
2473
|
async function resolveFiles(path, pattern, opts = {}) {
|
|
2468
2474
|
const files = [];
|
|
2469
|
-
for (const file of await
|
|
2475
|
+
for (const file of await glob(pattern, { cwd: path, followSymbolicLinks: opts.followSymbolicLinks ?? true })) {
|
|
2470
2476
|
const p = resolve(path, file);
|
|
2471
2477
|
if (!isIgnored(p)) {
|
|
2472
2478
|
files.push(p);
|
|
@@ -2492,11 +2498,11 @@ async function installModule(moduleToInstall, inlineOptions, nuxt = useNuxt()) {
|
|
|
2492
2498
|
const modulePath = resolvedModulePath || moduleToInstall;
|
|
2493
2499
|
if (typeof modulePath === "string") {
|
|
2494
2500
|
const parsed = parseNodeModulePath(modulePath);
|
|
2495
|
-
const moduleRoot = parsed.dir ? parsed.dir + parsed.name : modulePath;
|
|
2501
|
+
const moduleRoot = parsed.dir ? parsed.dir + parsed.name : await resolvePackageJSON(modulePath, { try: true }).then((r) => r ? dirname(r) : modulePath);
|
|
2496
2502
|
nuxt.options.build.transpile.push(normalizeModuleTranspilePath(moduleRoot));
|
|
2497
|
-
const directory =
|
|
2498
|
-
if (
|
|
2499
|
-
nuxt.options.modulesDir.push(
|
|
2503
|
+
const directory = moduleRoot.replace(/\/?$/, "/");
|
|
2504
|
+
if (moduleRoot !== moduleToInstall && !localLayerModuleDirs.some((dir) => directory.startsWith(dir))) {
|
|
2505
|
+
nuxt.options.modulesDir.push(join(moduleRoot, "node_modules"));
|
|
2500
2506
|
}
|
|
2501
2507
|
}
|
|
2502
2508
|
nuxt.options._installedModules ||= [];
|
|
@@ -2612,7 +2618,7 @@ async function getNuxtModuleVersion(module, nuxt = useNuxt()) {
|
|
|
2612
2618
|
}
|
|
2613
2619
|
|
|
2614
2620
|
async function loadNuxtConfig(opts) {
|
|
2615
|
-
const localLayers = await
|
|
2621
|
+
const localLayers = (await glob("layers/*", { onlyDirectories: true, cwd: opts.cwd || process.cwd() })).map((d) => d.endsWith("/") ? d.substring(0, d.length - 1) : d);
|
|
2616
2622
|
opts.overrides = defu$1(opts.overrides, { _extends: localLayers });
|
|
2617
2623
|
globalThis.defineNuxtConfig = (c) => c;
|
|
2618
2624
|
const { configFile, layers = [], cwd, config: nuxtConfig, meta } = await loadConfig({
|
|
@@ -2628,6 +2634,7 @@ async function loadNuxtConfig(opts) {
|
|
|
2628
2634
|
nuxtConfig.rootDir ||= cwd;
|
|
2629
2635
|
nuxtConfig._nuxtConfigFile = configFile;
|
|
2630
2636
|
nuxtConfig._nuxtConfigFiles = [configFile];
|
|
2637
|
+
nuxtConfig._loadOptions = opts;
|
|
2631
2638
|
nuxtConfig.alias ||= {};
|
|
2632
2639
|
if (meta?.name) {
|
|
2633
2640
|
const alias = `#layers/${meta.name}`;
|
|
@@ -2980,12 +2987,51 @@ function addComponentsDir(dir, opts = {}) {
|
|
|
2980
2987
|
dirs[opts.prepend ? "unshift" : "push"](dir);
|
|
2981
2988
|
});
|
|
2982
2989
|
}
|
|
2990
|
+
function addComponentExports(opts) {
|
|
2991
|
+
const nuxt = useNuxt();
|
|
2992
|
+
const components = [];
|
|
2993
|
+
nuxt.hook("components:dirs", async () => {
|
|
2994
|
+
const filePath = await resolvePath(opts.filePath);
|
|
2995
|
+
const names = await resolveModuleExportNames(filePath, { extensions: nuxt.options.extensions });
|
|
2996
|
+
components.length = 0;
|
|
2997
|
+
for (const name of names) {
|
|
2998
|
+
components.push(normalizeComponent({ name: pascalCase([opts.prefix || "", name === "default" ? "" : name]), export: name, ...opts }));
|
|
2999
|
+
}
|
|
3000
|
+
});
|
|
3001
|
+
addComponents(components);
|
|
3002
|
+
}
|
|
2983
3003
|
function addComponent(opts) {
|
|
3004
|
+
const component = normalizeComponent(opts);
|
|
3005
|
+
addComponents([component]);
|
|
3006
|
+
}
|
|
3007
|
+
function addComponents(addedComponents) {
|
|
2984
3008
|
const nuxt = useNuxt();
|
|
2985
3009
|
if (!checkNuxtVersion(">=2.13", nuxt)) {
|
|
2986
3010
|
throw new Error(`\`addComponent\` requires Nuxt 2.13 or higher.`);
|
|
2987
3011
|
}
|
|
2988
3012
|
nuxt.options.components ||= [];
|
|
3013
|
+
nuxt.hook("components:extend", (components) => {
|
|
3014
|
+
for (const component of addedComponents) {
|
|
3015
|
+
const existingComponentIndex = components.findIndex((c) => (c.pascalName === component.pascalName || c.kebabName === component.kebabName) && c.mode === component.mode);
|
|
3016
|
+
if (existingComponentIndex !== -1) {
|
|
3017
|
+
const existingComponent = components[existingComponentIndex];
|
|
3018
|
+
const existingPriority = existingComponent.priority ?? 0;
|
|
3019
|
+
const newPriority = component.priority ?? 0;
|
|
3020
|
+
if (newPriority < existingPriority) {
|
|
3021
|
+
return;
|
|
3022
|
+
}
|
|
3023
|
+
if (newPriority === existingPriority) {
|
|
3024
|
+
const name = existingComponent.pascalName || existingComponent.kebabName;
|
|
3025
|
+
logger.warn(`Overriding ${name} component. You can specify a \`priority\` option when calling \`addComponent\` to avoid this warning.`);
|
|
3026
|
+
}
|
|
3027
|
+
components.splice(existingComponentIndex, 1, component);
|
|
3028
|
+
} else {
|
|
3029
|
+
components.push(component);
|
|
3030
|
+
}
|
|
3031
|
+
}
|
|
3032
|
+
});
|
|
3033
|
+
}
|
|
3034
|
+
function normalizeComponent(opts) {
|
|
2989
3035
|
if (!opts.mode) {
|
|
2990
3036
|
const [, mode = "all"] = opts.filePath.match(MODE_RE) || [];
|
|
2991
3037
|
opts.mode = mode;
|
|
@@ -3004,24 +3050,7 @@ function addComponent(opts) {
|
|
|
3004
3050
|
meta: {},
|
|
3005
3051
|
...opts
|
|
3006
3052
|
};
|
|
3007
|
-
|
|
3008
|
-
const existingComponentIndex = components.findIndex((c) => (c.pascalName === component.pascalName || c.kebabName === component.kebabName) && c.mode === component.mode);
|
|
3009
|
-
if (existingComponentIndex !== -1) {
|
|
3010
|
-
const existingComponent = components[existingComponentIndex];
|
|
3011
|
-
const existingPriority = existingComponent.priority ?? 0;
|
|
3012
|
-
const newPriority = component.priority ?? 0;
|
|
3013
|
-
if (newPriority < existingPriority) {
|
|
3014
|
-
return;
|
|
3015
|
-
}
|
|
3016
|
-
if (newPriority === existingPriority) {
|
|
3017
|
-
const name = existingComponent.pascalName || existingComponent.kebabName;
|
|
3018
|
-
logger.warn(`Overriding ${name} component. You can specify a \`priority\` option when calling \`addComponent\` to avoid this warning.`);
|
|
3019
|
-
}
|
|
3020
|
-
components.splice(existingComponentIndex, 1, component);
|
|
3021
|
-
} else {
|
|
3022
|
-
components.push(component);
|
|
3023
|
-
}
|
|
3024
|
-
});
|
|
3053
|
+
return component;
|
|
3025
3054
|
}
|
|
3026
3055
|
|
|
3027
3056
|
function addTemplate(_template) {
|
|
@@ -3105,9 +3134,9 @@ async function _generateTypes(nuxt) {
|
|
|
3105
3134
|
const rootDirWithSlash = withTrailingSlash(nuxt.options.rootDir);
|
|
3106
3135
|
const relativeRootDir = relativeWithDot(nuxt.options.buildDir, nuxt.options.rootDir);
|
|
3107
3136
|
const include = /* @__PURE__ */ new Set([
|
|
3108
|
-
"
|
|
3137
|
+
join(relativeRootDir, "**/*"),
|
|
3109
3138
|
join(relativeRootDir, ".config/nuxt.*"),
|
|
3110
|
-
|
|
3139
|
+
"./nuxt.d.ts"
|
|
3111
3140
|
]);
|
|
3112
3141
|
if (nuxt.options.srcDir !== nuxt.options.rootDir) {
|
|
3113
3142
|
include.add(join(relative(nuxt.options.buildDir, nuxt.options.srcDir), "**/*"));
|
|
@@ -3123,7 +3152,9 @@ async function _generateTypes(nuxt) {
|
|
|
3123
3152
|
}
|
|
3124
3153
|
const exclude = /* @__PURE__ */ new Set([
|
|
3125
3154
|
// nitro generate output: https://github.com/nuxt/nuxt/blob/main/packages/nuxt/src/core/nitro.ts#L186
|
|
3126
|
-
relativeWithDot(nuxt.options.buildDir, resolve(nuxt.options.rootDir, "dist"))
|
|
3155
|
+
relativeWithDot(nuxt.options.buildDir, resolve(nuxt.options.rootDir, "dist")),
|
|
3156
|
+
// nitro generate .data in development when kv storage is used
|
|
3157
|
+
relativeWithDot(nuxt.options.buildDir, resolve(nuxt.options.rootDir, ".data"))
|
|
3127
3158
|
]);
|
|
3128
3159
|
for (const dir of nuxt.options.modulesDir) {
|
|
3129
3160
|
exclude.add(relativeWithDot(nuxt.options.buildDir, dir));
|
|
@@ -3449,4 +3480,4 @@ function addPluginTemplate(plugin, opts = {}) {
|
|
|
3449
3480
|
return addPlugin(normalizedPlugin, opts);
|
|
3450
3481
|
}
|
|
3451
3482
|
|
|
3452
|
-
export { addBuildPlugin, addComponent, addComponentsDir, addDevServerHandler, addImports, addImportsDir, addImportsSources, addLayout, addPlugin, addPluginTemplate, addPrerenderRoutes, addRouteMiddleware, addRspackPlugin, addServerHandler, addServerImports, addServerImportsDir, addServerPlugin, addServerScanDir, addServerTemplate, addTemplate, addTypeTemplate, addVitePlugin, addWebpackPlugin, assertNuxtCompatibility, buildNuxt, checkNuxtCompatibility, compileTemplate, createIsIgnored, createResolver, defineNuxtModule, directoryToURL, extendNuxtSchema, extendPages, extendRouteRules, extendRspackConfig, extendViteConfig, extendWebpackConfig, findPath, getDirectory, getNuxtCtx, getNuxtModuleVersion, getNuxtVersion, hasNuxtCompatibility, hasNuxtModule, hasNuxtModuleCompatibility, importModule, installModule, isIgnored, isNuxt2, isNuxt3, isNuxtMajorVersion, loadNuxt, loadNuxtConfig, loadNuxtModuleInstance, logger, normalizeModuleTranspilePath, normalizePlugin, normalizeSemanticVersion, normalizeTemplate, nuxtCtx, requireModule, resolveAlias, resolveFiles, resolveIgnorePatterns, resolveModule, resolveNuxtModule, resolvePath, runWithNuxtContext, templateUtils, tryImportModule, tryRequireModule, tryResolveModule, tryUseNuxt, updateRuntimeConfig, updateTemplates, useLogger, useNitro, useNuxt, useRuntimeConfig, writeTypes };
|
|
3483
|
+
export { addBuildPlugin, addComponent, addComponentExports, addComponentsDir, addDevServerHandler, addImports, addImportsDir, addImportsSources, addLayout, addPlugin, addPluginTemplate, addPrerenderRoutes, addRouteMiddleware, addRspackPlugin, addServerHandler, addServerImports, addServerImportsDir, addServerPlugin, addServerScanDir, addServerTemplate, addTemplate, addTypeTemplate, addVitePlugin, addWebpackPlugin, assertNuxtCompatibility, buildNuxt, checkNuxtCompatibility, compileTemplate, createIsIgnored, createResolver, defineNuxtModule, directoryToURL, extendNuxtSchema, extendPages, extendRouteRules, extendRspackConfig, extendViteConfig, extendWebpackConfig, findPath, getDirectory, getNuxtCtx, getNuxtModuleVersion, getNuxtVersion, hasNuxtCompatibility, hasNuxtModule, hasNuxtModuleCompatibility, importModule, installModule, isIgnored, isNuxt2, isNuxt3, isNuxtMajorVersion, loadNuxt, loadNuxtConfig, loadNuxtModuleInstance, logger, normalizeModuleTranspilePath, normalizePlugin, normalizeSemanticVersion, normalizeTemplate, nuxtCtx, requireModule, resolveAlias, resolveFiles, resolveIgnorePatterns, resolveModule, resolveNuxtModule, resolvePath, runWithNuxtContext, templateUtils, tryImportModule, tryRequireModule, tryResolveModule, tryUseNuxt, updateRuntimeConfig, updateTemplates, useLogger, useNitro, useNuxt, useRuntimeConfig, writeTypes };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nuxt/kit",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.17.0",
|
|
4
4
|
"repository": {
|
|
5
5
|
"type": "git",
|
|
6
6
|
"url": "git+https://github.com/nuxt/nuxt.git",
|
|
@@ -23,14 +23,13 @@
|
|
|
23
23
|
"dist"
|
|
24
24
|
],
|
|
25
25
|
"dependencies": {
|
|
26
|
-
"c12": "^3.0.
|
|
26
|
+
"c12": "^3.0.3",
|
|
27
27
|
"consola": "^3.4.2",
|
|
28
28
|
"defu": "^6.1.4",
|
|
29
|
-
"destr": "^2.0.
|
|
29
|
+
"destr": "^2.0.5",
|
|
30
30
|
"errx": "^0.1.0",
|
|
31
|
-
"exsolve": "^1.0.
|
|
32
|
-
"
|
|
33
|
-
"ignore": "^7.0.3",
|
|
31
|
+
"exsolve": "^1.0.5",
|
|
32
|
+
"ignore": "^7.0.4",
|
|
34
33
|
"jiti": "^2.4.2",
|
|
35
34
|
"klona": "^2.0.6",
|
|
36
35
|
"knitwork": "^1.2.0",
|
|
@@ -40,23 +39,25 @@
|
|
|
40
39
|
"pkg-types": "^2.1.0",
|
|
41
40
|
"scule": "^1.3.0",
|
|
42
41
|
"semver": "^7.7.1",
|
|
43
|
-
"std-env": "^3.
|
|
44
|
-
"
|
|
42
|
+
"std-env": "^3.9.0",
|
|
43
|
+
"tinyglobby": "^0.2.13",
|
|
44
|
+
"ufo": "^1.6.1",
|
|
45
45
|
"unctx": "^2.4.1",
|
|
46
|
-
"unimport": "^
|
|
46
|
+
"unimport": "^5.0.0",
|
|
47
47
|
"untyped": "^2.0.0"
|
|
48
48
|
},
|
|
49
49
|
"devDependencies": {
|
|
50
|
-
"@rspack/core": "1.3.
|
|
50
|
+
"@rspack/core": "1.3.7",
|
|
51
51
|
"@types/lodash-es": "4.17.12",
|
|
52
52
|
"@types/semver": "7.7.0",
|
|
53
|
+
"hookable": "5.5.3",
|
|
53
54
|
"lodash-es": "4.17.21",
|
|
54
|
-
"nitropack": "2.11.
|
|
55
|
-
"unbuild": "
|
|
56
|
-
"vite": "6.
|
|
57
|
-
"vitest": "3.1.
|
|
58
|
-
"webpack": "5.
|
|
59
|
-
"@nuxt/schema": "3.
|
|
55
|
+
"nitropack": "2.11.10",
|
|
56
|
+
"unbuild": "3.5.0",
|
|
57
|
+
"vite": "6.3.3",
|
|
58
|
+
"vitest": "3.1.2",
|
|
59
|
+
"webpack": "5.99.5",
|
|
60
|
+
"@nuxt/schema": "3.17.0"
|
|
60
61
|
},
|
|
61
62
|
"engines": {
|
|
62
63
|
"node": ">=18.12.0"
|