@nuxt/cli-nightly 3.28.0-20250725-163612-67b9dab → 3.28.0-20250808-112711-864c247
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/dist/chunks/add.mjs +3 -3
- package/dist/chunks/add2.mjs +1 -1
- package/dist/chunks/analyze.mjs +1 -1
- package/dist/chunks/build.mjs +1 -1
- package/dist/chunks/cleanup.mjs +1 -1
- package/dist/chunks/dev-child.mjs +1 -1
- package/dist/chunks/dev.mjs +1 -1
- package/dist/chunks/devtools.mjs +1 -1
- package/dist/chunks/generate.mjs +1 -1
- package/dist/chunks/index.mjs +2 -1
- package/dist/chunks/info.mjs +2 -2
- package/dist/chunks/init.mjs +89 -30
- package/dist/chunks/prepare.mjs +1 -1
- package/dist/chunks/preview.mjs +1 -1
- package/dist/chunks/search.mjs +1 -1
- package/dist/chunks/test.mjs +1 -1
- package/dist/chunks/typecheck.mjs +1 -1
- package/dist/chunks/upgrade.mjs +1 -1
- package/dist/index.mjs +1 -1
- package/dist/shared/{cli-nightly.BjF19xny.mjs → cli-nightly.BDNHTl1_.mjs} +2 -2
- package/dist/shared/{cli-nightly.DyxcUIOy.mjs → cli-nightly.C45ZRQ0J.mjs} +1 -1
- package/dist/shared/{cli-nightly.D4Wzz9ry.mjs → cli-nightly.DD0i-IK1.mjs} +1 -1
- package/package.json +13 -13
package/dist/chunks/add.mjs
CHANGED
|
@@ -11,14 +11,14 @@ import { resolve } from 'pathe';
|
|
|
11
11
|
import { readPackageJSON } from 'pkg-types';
|
|
12
12
|
import { satisfies } from 'semver';
|
|
13
13
|
import { joinURL } from 'ufo';
|
|
14
|
-
import { r as runCommand } from '../shared/cli-nightly.
|
|
14
|
+
import { r as runCommand } from '../shared/cli-nightly.BDNHTl1_.mjs';
|
|
15
15
|
import { l as logger } from '../shared/cli-nightly.B9AmABr3.mjs';
|
|
16
|
-
import { a as logLevelArgs, c as cwdArgs } from '../shared/cli-nightly.
|
|
16
|
+
import { a as logLevelArgs, c as cwdArgs } from '../shared/cli-nightly.DD0i-IK1.mjs';
|
|
17
17
|
import { f as fetchModules, g as getNuxtVersion, c as checkNuxtCompatibility, a as getRegistryFromContent } from '../shared/cli-nightly.jA1DRKbi.mjs';
|
|
18
18
|
import 'node:url';
|
|
19
19
|
import 'node:crypto';
|
|
20
20
|
import 'std-env';
|
|
21
|
-
import '../shared/cli-nightly.
|
|
21
|
+
import '../shared/cli-nightly.C45ZRQ0J.mjs';
|
|
22
22
|
import 'consola';
|
|
23
23
|
import 'confbox';
|
|
24
24
|
|
package/dist/chunks/add2.mjs
CHANGED
|
@@ -5,7 +5,7 @@ import { resolve, extname, dirname } from 'pathe';
|
|
|
5
5
|
import { l as loadKit } from '../shared/cli-nightly.qKvs7FJ2.mjs';
|
|
6
6
|
import { l as logger } from '../shared/cli-nightly.B9AmABr3.mjs';
|
|
7
7
|
import { pascalCase, camelCase } from 'scule';
|
|
8
|
-
import { a as logLevelArgs, c as cwdArgs } from '../shared/cli-nightly.
|
|
8
|
+
import { a as logLevelArgs, c as cwdArgs } from '../shared/cli-nightly.DD0i-IK1.mjs';
|
|
9
9
|
import 'node:url';
|
|
10
10
|
import 'exsolve';
|
|
11
11
|
import 'consola';
|
package/dist/chunks/analyze.mjs
CHANGED
|
@@ -9,7 +9,7 @@ import { o as overrideEnv } from '../shared/cli-nightly.DkO5RR_e.mjs';
|
|
|
9
9
|
import { c as clearDir } from '../shared/cli-nightly.DPmMxQ6h.mjs';
|
|
10
10
|
import { l as loadKit } from '../shared/cli-nightly.qKvs7FJ2.mjs';
|
|
11
11
|
import { l as logger } from '../shared/cli-nightly.B9AmABr3.mjs';
|
|
12
|
-
import { e as extendsArgs, d as dotEnvArgs, l as legacyRootDirArgs, a as logLevelArgs, c as cwdArgs } from '../shared/cli-nightly.
|
|
12
|
+
import { e as extendsArgs, d as dotEnvArgs, l as legacyRootDirArgs, a as logLevelArgs, c as cwdArgs } from '../shared/cli-nightly.DD0i-IK1.mjs';
|
|
13
13
|
import 'node:url';
|
|
14
14
|
import 'exsolve';
|
|
15
15
|
import 'consola';
|
package/dist/chunks/build.mjs
CHANGED
|
@@ -6,7 +6,7 @@ import { o as overrideEnv } from '../shared/cli-nightly.DkO5RR_e.mjs';
|
|
|
6
6
|
import { a as clearBuildDir } from '../shared/cli-nightly.DPmMxQ6h.mjs';
|
|
7
7
|
import { l as loadKit } from '../shared/cli-nightly.qKvs7FJ2.mjs';
|
|
8
8
|
import { l as logger } from '../shared/cli-nightly.B9AmABr3.mjs';
|
|
9
|
-
import { l as legacyRootDirArgs, e as extendsArgs, b as envNameArgs, d as dotEnvArgs, a as logLevelArgs, c as cwdArgs } from '../shared/cli-nightly.
|
|
9
|
+
import { l as legacyRootDirArgs, e as extendsArgs, b as envNameArgs, d as dotEnvArgs, a as logLevelArgs, c as cwdArgs } from '../shared/cli-nightly.DD0i-IK1.mjs';
|
|
10
10
|
import 'node:fs';
|
|
11
11
|
import 'consola/utils';
|
|
12
12
|
import 'exsolve';
|
package/dist/chunks/cleanup.mjs
CHANGED
|
@@ -2,7 +2,7 @@ import { defineCommand } from 'citty';
|
|
|
2
2
|
import { resolve } from 'pathe';
|
|
3
3
|
import { l as loadKit } from '../shared/cli-nightly.qKvs7FJ2.mjs';
|
|
4
4
|
import { c as cleanupNuxtDirs } from '../shared/cli-nightly.Bu_9IHj2.mjs';
|
|
5
|
-
import { l as legacyRootDirArgs, c as cwdArgs } from '../shared/cli-nightly.
|
|
5
|
+
import { l as legacyRootDirArgs, c as cwdArgs } from '../shared/cli-nightly.DD0i-IK1.mjs';
|
|
6
6
|
import 'node:url';
|
|
7
7
|
import 'exsolve';
|
|
8
8
|
import 'node:fs';
|
|
@@ -2,7 +2,7 @@ import process from 'node:process';
|
|
|
2
2
|
import { defineCommand } from 'citty';
|
|
3
3
|
import { resolve } from 'pathe';
|
|
4
4
|
import { isTest } from 'std-env';
|
|
5
|
-
import { l as legacyRootDirArgs, d as dotEnvArgs, b as envNameArgs, a as logLevelArgs, c as cwdArgs } from '../shared/cli-nightly.
|
|
5
|
+
import { l as legacyRootDirArgs, d as dotEnvArgs, b as envNameArgs, a as logLevelArgs, c as cwdArgs } from '../shared/cli-nightly.DD0i-IK1.mjs';
|
|
6
6
|
import 'node:path';
|
|
7
7
|
import 'consola';
|
|
8
8
|
import '../shared/cli-nightly.B9AmABr3.mjs';
|
package/dist/chunks/dev.mjs
CHANGED
|
@@ -13,7 +13,7 @@ import { s as showVersions } from '../shared/cli-nightly.DltNmcvh.mjs';
|
|
|
13
13
|
import { o as overrideEnv } from '../shared/cli-nightly.DkO5RR_e.mjs';
|
|
14
14
|
import { l as loadKit } from '../shared/cli-nightly.qKvs7FJ2.mjs';
|
|
15
15
|
import { l as logger } from '../shared/cli-nightly.B9AmABr3.mjs';
|
|
16
|
-
import { e as extendsArgs, b as envNameArgs, l as legacyRootDirArgs, d as dotEnvArgs, a as logLevelArgs, c as cwdArgs } from '../shared/cli-nightly.
|
|
16
|
+
import { e as extendsArgs, b as envNameArgs, l as legacyRootDirArgs, d as dotEnvArgs, a as logLevelArgs, c as cwdArgs } from '../shared/cli-nightly.DD0i-IK1.mjs';
|
|
17
17
|
import 'defu';
|
|
18
18
|
import 'node:http';
|
|
19
19
|
import 'node:events';
|
package/dist/chunks/devtools.mjs
CHANGED
|
@@ -3,7 +3,7 @@ import { defineCommand } from 'citty';
|
|
|
3
3
|
import { resolve } from 'pathe';
|
|
4
4
|
import { x } from 'tinyexec';
|
|
5
5
|
import { l as logger } from '../shared/cli-nightly.B9AmABr3.mjs';
|
|
6
|
-
import { l as legacyRootDirArgs, c as cwdArgs } from '../shared/cli-nightly.
|
|
6
|
+
import { l as legacyRootDirArgs, c as cwdArgs } from '../shared/cli-nightly.DD0i-IK1.mjs';
|
|
7
7
|
import 'consola';
|
|
8
8
|
import 'node:path';
|
|
9
9
|
import 'std-env';
|
package/dist/chunks/generate.mjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineCommand } from 'citty';
|
|
2
|
-
import { l as legacyRootDirArgs, e as extendsArgs, b as envNameArgs, d as dotEnvArgs, a as logLevelArgs, c as cwdArgs } from '../shared/cli-nightly.
|
|
2
|
+
import { l as legacyRootDirArgs, e as extendsArgs, b as envNameArgs, d as dotEnvArgs, a as logLevelArgs, c as cwdArgs } from '../shared/cli-nightly.DD0i-IK1.mjs';
|
|
3
3
|
import buildCommand from './build.mjs';
|
|
4
4
|
import 'node:path';
|
|
5
5
|
import 'node:process';
|
package/dist/chunks/index.mjs
CHANGED
|
@@ -303,8 +303,9 @@ function resolveDevServerDefaults(listenOptions, urls = []) {
|
|
|
303
303
|
function createConfigWatcher(cwd, dotenvFileName = ".env", onRestart, onReload) {
|
|
304
304
|
const configWatcher = watch(cwd);
|
|
305
305
|
let configDirWatcher = existsSync(resolve(cwd, ".config")) ? createConfigDirWatcher(cwd, onReload) : void 0;
|
|
306
|
+
const dotenvFileNames = new Set(Array.isArray(dotenvFileName) ? dotenvFileName : [dotenvFileName]);
|
|
306
307
|
configWatcher.on("change", (_event, file) => {
|
|
307
|
-
if (file
|
|
308
|
+
if (dotenvFileNames.has(file)) {
|
|
308
309
|
onRestart();
|
|
309
310
|
}
|
|
310
311
|
if (RESTART_RE.test(file)) {
|
package/dist/chunks/info.mjs
CHANGED
|
@@ -7,11 +7,11 @@ import { resolve } from 'pathe';
|
|
|
7
7
|
import { readPackageJSON } from 'pkg-types';
|
|
8
8
|
import { splitByCase } from 'scule';
|
|
9
9
|
import { isMinimal } from 'std-env';
|
|
10
|
-
import { v as version } from '../shared/cli-nightly.
|
|
10
|
+
import { v as version } from '../shared/cli-nightly.C45ZRQ0J.mjs';
|
|
11
11
|
import { t as tryResolveNuxt } from '../shared/cli-nightly.qKvs7FJ2.mjs';
|
|
12
12
|
import { l as logger } from '../shared/cli-nightly.B9AmABr3.mjs';
|
|
13
13
|
import { g as getPackageManagerVersion } from '../shared/cli-nightly.BSm0_9Hr.mjs';
|
|
14
|
-
import { l as legacyRootDirArgs, c as cwdArgs } from '../shared/cli-nightly.
|
|
14
|
+
import { l as legacyRootDirArgs, c as cwdArgs } from '../shared/cli-nightly.DD0i-IK1.mjs';
|
|
15
15
|
import 'node:url';
|
|
16
16
|
import 'exsolve';
|
|
17
17
|
import 'consola';
|
package/dist/chunks/init.mjs
CHANGED
|
@@ -6,15 +6,16 @@ import { downloadTemplate, startShell } from 'giget';
|
|
|
6
6
|
import { installDependencies } from 'nypm';
|
|
7
7
|
import { $fetch } from 'ofetch';
|
|
8
8
|
import { resolve, relative, join } from 'pathe';
|
|
9
|
+
import { readPackageJSON, writePackageJSON } from 'pkg-types';
|
|
9
10
|
import { hasTTY } from 'std-env';
|
|
10
11
|
import { x } from 'tinyexec';
|
|
11
|
-
import { r as runCommand } from '../shared/cli-nightly.
|
|
12
|
+
import { r as runCommand } from '../shared/cli-nightly.BDNHTl1_.mjs';
|
|
12
13
|
import { l as logger } from '../shared/cli-nightly.B9AmABr3.mjs';
|
|
13
|
-
import { a as logLevelArgs, c as cwdArgs } from '../shared/cli-nightly.
|
|
14
|
+
import { a as logLevelArgs, c as cwdArgs } from '../shared/cli-nightly.DD0i-IK1.mjs';
|
|
14
15
|
import 'node:url';
|
|
15
16
|
import 'node:crypto';
|
|
16
17
|
import 'node:path';
|
|
17
|
-
import '../shared/cli-nightly.
|
|
18
|
+
import '../shared/cli-nightly.C45ZRQ0J.mjs';
|
|
18
19
|
import 'consola';
|
|
19
20
|
|
|
20
21
|
const themeColor = "\x1B[38;2;0;220;130m";
|
|
@@ -70,6 +71,31 @@ function filterModules(modules, allDependencies) {
|
|
|
70
71
|
}
|
|
71
72
|
return result;
|
|
72
73
|
}
|
|
74
|
+
async function getTemplateDependencies(templateDir) {
|
|
75
|
+
try {
|
|
76
|
+
const packageJsonPath = join(templateDir, "package.json");
|
|
77
|
+
if (!existsSync(packageJsonPath)) {
|
|
78
|
+
return [];
|
|
79
|
+
}
|
|
80
|
+
const packageJson = await import(packageJsonPath);
|
|
81
|
+
const directDeps = {
|
|
82
|
+
...packageJson.dependencies,
|
|
83
|
+
...packageJson.devDependencies
|
|
84
|
+
};
|
|
85
|
+
const directDepNames = Object.keys(directDeps);
|
|
86
|
+
const allDeps = new Set(directDepNames);
|
|
87
|
+
const transitiveDepsResults = await Promise.all(
|
|
88
|
+
directDepNames.map((dep) => getModuleDependencies(dep))
|
|
89
|
+
);
|
|
90
|
+
transitiveDepsResults.forEach((deps) => {
|
|
91
|
+
deps.forEach((dep) => allDeps.add(dep));
|
|
92
|
+
});
|
|
93
|
+
return Array.from(allDeps);
|
|
94
|
+
} catch (err) {
|
|
95
|
+
logger.warn(`Could not read template dependencies: ${err}`);
|
|
96
|
+
return [];
|
|
97
|
+
}
|
|
98
|
+
}
|
|
73
99
|
const init = defineCommand({
|
|
74
100
|
meta: {
|
|
75
101
|
name: "init",
|
|
@@ -124,6 +150,10 @@ const init = defineCommand({
|
|
|
124
150
|
description: "Nuxt modules to install (comma separated without spaces)",
|
|
125
151
|
negativeDescription: "Skip module installation prompt",
|
|
126
152
|
alias: "M"
|
|
153
|
+
},
|
|
154
|
+
nightly: {
|
|
155
|
+
type: "string",
|
|
156
|
+
description: "Use Nuxt nightly release channel (3x or latest)"
|
|
127
157
|
}
|
|
128
158
|
},
|
|
129
159
|
async run(ctx) {
|
|
@@ -192,6 +222,28 @@ ${nuxtIcon}
|
|
|
192
222
|
logger.error(err.toString());
|
|
193
223
|
process.exit(1);
|
|
194
224
|
}
|
|
225
|
+
if (ctx.args.nightly !== void 0 && !ctx.args.offline && !ctx.args.preferOffline) {
|
|
226
|
+
const response = await $fetch("https://registry.npmjs.org/nuxt-nightly");
|
|
227
|
+
const nightlyChannelTag = ctx.args.nightly || Object.keys(response["dist-tags"]).filter((key) => /^\d+x$/.test(key)).sort().reverse()[0];
|
|
228
|
+
if (!nightlyChannelTag) {
|
|
229
|
+
logger.error(`Error getting nightly channel tag.`);
|
|
230
|
+
process.exit(1);
|
|
231
|
+
}
|
|
232
|
+
const nightlyChannelVersion = response["dist-tags"][nightlyChannelTag];
|
|
233
|
+
if (!nightlyChannelVersion) {
|
|
234
|
+
logger.error(`Nightly channel version for tag '${nightlyChannelTag}' not found.`);
|
|
235
|
+
process.exit(1);
|
|
236
|
+
}
|
|
237
|
+
const nightlyNuxtPackageJsonVersion = `npm:nuxt-nightly@${nightlyChannelVersion}`;
|
|
238
|
+
const packageJsonPath = resolve(cwd, ctx.args.dir);
|
|
239
|
+
const packageJson = await readPackageJSON(packageJsonPath);
|
|
240
|
+
if (packageJson.dependencies && "nuxt" in packageJson.dependencies) {
|
|
241
|
+
packageJson.dependencies.nuxt = nightlyNuxtPackageJsonVersion;
|
|
242
|
+
} else if (packageJson.devDependencies && "nuxt" in packageJson.devDependencies) {
|
|
243
|
+
packageJson.devDependencies.nuxt = nightlyNuxtPackageJsonVersion;
|
|
244
|
+
}
|
|
245
|
+
await writePackageJSON(join(packageJsonPath, "package.json"), packageJson);
|
|
246
|
+
}
|
|
195
247
|
function detectCurrentPackageManager() {
|
|
196
248
|
const userAgent = process.env.npm_config_user_agent;
|
|
197
249
|
if (!userAgent) {
|
|
@@ -270,34 +322,41 @@ ${nuxtIcon}
|
|
|
270
322
|
}
|
|
271
323
|
).catch(() => process.exit(1));
|
|
272
324
|
if (wantsUserModules) {
|
|
273
|
-
const response = await
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
const allDependencies = Object.fromEntries(
|
|
292
|
-
await Promise.all(modules.map(
|
|
293
|
-
async (module) => [module, await getModuleDependencies(module)]
|
|
294
|
-
))
|
|
325
|
+
const [response, templateDeps] = await Promise.all([
|
|
326
|
+
modulesPromise,
|
|
327
|
+
getTemplateDependencies(template.dir)
|
|
328
|
+
]);
|
|
329
|
+
const officialModules = response.modules.filter((module) => module.type === "official" && module.npm !== "@nuxt/devtools").filter((module) => !templateDeps.includes(module.npm));
|
|
330
|
+
if (officialModules.length === 0) {
|
|
331
|
+
logger.info("All official modules are already included in this template.");
|
|
332
|
+
} else {
|
|
333
|
+
const selectedOfficialModules = await logger.prompt(
|
|
334
|
+
"Pick the modules to install:",
|
|
335
|
+
{
|
|
336
|
+
type: "multiselect",
|
|
337
|
+
options: officialModules.map((module) => ({
|
|
338
|
+
label: `${colors.bold(colors.greenBright(module.npm))} \u2013 ${module.description.replace(/\.$/, "")}`,
|
|
339
|
+
value: module.npm
|
|
340
|
+
})),
|
|
341
|
+
required: false
|
|
342
|
+
}
|
|
295
343
|
);
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
|
|
344
|
+
if (selectedOfficialModules === void 0) {
|
|
345
|
+
process.exit(1);
|
|
346
|
+
}
|
|
347
|
+
if (selectedOfficialModules.length > 0) {
|
|
348
|
+
const modules = selectedOfficialModules;
|
|
349
|
+
const allDependencies = Object.fromEntries(
|
|
350
|
+
await Promise.all(modules.map(
|
|
351
|
+
async (module) => [module, await getModuleDependencies(module)]
|
|
352
|
+
))
|
|
353
|
+
);
|
|
354
|
+
const { toInstall, skipped } = filterModules(modules, allDependencies);
|
|
355
|
+
if (skipped.length) {
|
|
356
|
+
logger.info(`The following modules are already included as dependencies of another module and will not be installed: ${skipped.map((m) => colors.cyan(m)).join(", ")}`);
|
|
357
|
+
}
|
|
358
|
+
modulesToAdd.push(...toInstall);
|
|
299
359
|
}
|
|
300
|
-
modulesToAdd.push(...toInstall);
|
|
301
360
|
}
|
|
302
361
|
}
|
|
303
362
|
}
|
|
@@ -305,7 +364,7 @@ ${nuxtIcon}
|
|
|
305
364
|
const args = [
|
|
306
365
|
"add",
|
|
307
366
|
...modulesToAdd,
|
|
308
|
-
`--cwd=${
|
|
367
|
+
`--cwd=${templateDownloadPath}`,
|
|
309
368
|
ctx.args.install ? "" : "--skipInstall",
|
|
310
369
|
ctx.args.logLevel ? `--logLevel=${ctx.args.logLevel}` : ""
|
|
311
370
|
].filter(Boolean);
|
package/dist/chunks/prepare.mjs
CHANGED
|
@@ -4,7 +4,7 @@ import { resolve, relative } from 'pathe';
|
|
|
4
4
|
import { a as clearBuildDir } from '../shared/cli-nightly.DPmMxQ6h.mjs';
|
|
5
5
|
import { l as loadKit } from '../shared/cli-nightly.qKvs7FJ2.mjs';
|
|
6
6
|
import { l as logger } from '../shared/cli-nightly.B9AmABr3.mjs';
|
|
7
|
-
import { l as legacyRootDirArgs, e as extendsArgs, b as envNameArgs, a as logLevelArgs, c as cwdArgs, d as dotEnvArgs } from '../shared/cli-nightly.
|
|
7
|
+
import { l as legacyRootDirArgs, e as extendsArgs, b as envNameArgs, a as logLevelArgs, c as cwdArgs, d as dotEnvArgs } from '../shared/cli-nightly.DD0i-IK1.mjs';
|
|
8
8
|
import 'node:fs';
|
|
9
9
|
import 'node:url';
|
|
10
10
|
import 'exsolve';
|
package/dist/chunks/preview.mjs
CHANGED
|
@@ -9,7 +9,7 @@ import { resolve } from 'pathe';
|
|
|
9
9
|
import { x } from 'tinyexec';
|
|
10
10
|
import { l as loadKit } from '../shared/cli-nightly.qKvs7FJ2.mjs';
|
|
11
11
|
import { l as logger } from '../shared/cli-nightly.B9AmABr3.mjs';
|
|
12
|
-
import { d as dotEnvArgs, l as legacyRootDirArgs, e as extendsArgs, b as envNameArgs, a as logLevelArgs, c as cwdArgs } from '../shared/cli-nightly.
|
|
12
|
+
import { d as dotEnvArgs, l as legacyRootDirArgs, e as extendsArgs, b as envNameArgs, a as logLevelArgs, c as cwdArgs } from '../shared/cli-nightly.DD0i-IK1.mjs';
|
|
13
13
|
import 'node:url';
|
|
14
14
|
import 'exsolve';
|
|
15
15
|
import 'consola';
|
package/dist/chunks/search.mjs
CHANGED
|
@@ -3,7 +3,7 @@ import { colors } from 'consola/utils';
|
|
|
3
3
|
import Fuse from 'fuse.js';
|
|
4
4
|
import { upperFirst, kebabCase } from 'scule';
|
|
5
5
|
import { l as logger } from '../shared/cli-nightly.B9AmABr3.mjs';
|
|
6
|
-
import { c as cwdArgs } from '../shared/cli-nightly.
|
|
6
|
+
import { c as cwdArgs } from '../shared/cli-nightly.DD0i-IK1.mjs';
|
|
7
7
|
import { g as getNuxtVersion, f as fetchModules, c as checkNuxtCompatibility } from '../shared/cli-nightly.jA1DRKbi.mjs';
|
|
8
8
|
import 'consola';
|
|
9
9
|
import 'node:path';
|
package/dist/chunks/test.mjs
CHANGED
|
@@ -2,7 +2,7 @@ import process from 'node:process';
|
|
|
2
2
|
import { defineCommand } from 'citty';
|
|
3
3
|
import { resolve } from 'pathe';
|
|
4
4
|
import { l as logger } from '../shared/cli-nightly.B9AmABr3.mjs';
|
|
5
|
-
import { l as legacyRootDirArgs, a as logLevelArgs, c as cwdArgs } from '../shared/cli-nightly.
|
|
5
|
+
import { l as legacyRootDirArgs, a as logLevelArgs, c as cwdArgs } from '../shared/cli-nightly.DD0i-IK1.mjs';
|
|
6
6
|
import 'consola';
|
|
7
7
|
import 'node:path';
|
|
8
8
|
import 'std-env';
|
|
@@ -6,7 +6,7 @@ import { readTSConfig } from 'pkg-types';
|
|
|
6
6
|
import { isBun } from 'std-env';
|
|
7
7
|
import { x } from 'tinyexec';
|
|
8
8
|
import { l as loadKit } from '../shared/cli-nightly.qKvs7FJ2.mjs';
|
|
9
|
-
import { l as legacyRootDirArgs, e as extendsArgs, d as dotEnvArgs, a as logLevelArgs, c as cwdArgs } from '../shared/cli-nightly.
|
|
9
|
+
import { l as legacyRootDirArgs, e as extendsArgs, d as dotEnvArgs, a as logLevelArgs, c as cwdArgs } from '../shared/cli-nightly.DD0i-IK1.mjs';
|
|
10
10
|
import 'node:url';
|
|
11
11
|
import 'node:path';
|
|
12
12
|
import 'consola';
|
package/dist/chunks/upgrade.mjs
CHANGED
|
@@ -9,7 +9,7 @@ import { l as loadKit } from '../shared/cli-nightly.qKvs7FJ2.mjs';
|
|
|
9
9
|
import { l as logger } from '../shared/cli-nightly.B9AmABr3.mjs';
|
|
10
10
|
import { c as cleanupNuxtDirs, n as nuxtVersionToGitIdentifier } from '../shared/cli-nightly.Bu_9IHj2.mjs';
|
|
11
11
|
import { g as getPackageManagerVersion } from '../shared/cli-nightly.BSm0_9Hr.mjs';
|
|
12
|
-
import { l as legacyRootDirArgs, a as logLevelArgs, c as cwdArgs } from '../shared/cli-nightly.
|
|
12
|
+
import { l as legacyRootDirArgs, a as logLevelArgs, c as cwdArgs } from '../shared/cli-nightly.DD0i-IK1.mjs';
|
|
13
13
|
import 'node:url';
|
|
14
14
|
import 'exsolve';
|
|
15
15
|
import 'consola';
|
package/dist/index.mjs
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import process from 'node:process';
|
|
2
2
|
import { fileURLToPath } from 'node:url';
|
|
3
3
|
import { defineCommand, runCommand as runCommand$1 } from 'citty';
|
|
4
|
-
import { f as commands, c as cwdArgs, s as setupGlobalConsole, g as checkEngines } from './cli-nightly.
|
|
4
|
+
import { f as commands, c as cwdArgs, s as setupGlobalConsole, g as checkEngines } from './cli-nightly.DD0i-IK1.mjs';
|
|
5
5
|
import nodeCrypto from 'node:crypto';
|
|
6
6
|
import { resolve } from 'node:path';
|
|
7
7
|
import { provider } from 'std-env';
|
|
8
|
-
import { d as description, v as version, n as name } from './cli-nightly.
|
|
8
|
+
import { d as description, v as version, n as name } from './cli-nightly.C45ZRQ0J.mjs';
|
|
9
9
|
import { l as logger } from './cli-nightly.B9AmABr3.mjs';
|
|
10
10
|
|
|
11
11
|
if (!globalThis.crypto) {
|
|
@@ -129,7 +129,7 @@ async function checkEngines() {
|
|
|
129
129
|
}
|
|
130
130
|
|
|
131
131
|
const name = "@nuxt/cli-nightly";
|
|
132
|
-
const version = "3.28.0-
|
|
132
|
+
const version = "3.28.0-20250808-112711-864c247";
|
|
133
133
|
const description = "Nuxt CLI";
|
|
134
134
|
|
|
135
135
|
const main = defineCommand({
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nuxt/cli-nightly",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "3.28.0-
|
|
4
|
+
"version": "3.28.0-20250808-112711-864c247",
|
|
5
5
|
"description": "Nuxt CLI",
|
|
6
6
|
"license": "MIT",
|
|
7
7
|
"repository": {
|
|
@@ -33,7 +33,7 @@
|
|
|
33
33
|
"prepack": "unbuild"
|
|
34
34
|
},
|
|
35
35
|
"dependencies": {
|
|
36
|
-
"c12": "^3.
|
|
36
|
+
"c12": "^3.2.0",
|
|
37
37
|
"citty": "^0.1.6",
|
|
38
38
|
"clipboardy": "^4.0.0",
|
|
39
39
|
"confbox": "^0.2.2",
|
|
@@ -43,11 +43,11 @@
|
|
|
43
43
|
"fuse.js": "^7.1.0",
|
|
44
44
|
"get-port-please": "^3.2.0",
|
|
45
45
|
"giget": "^2.0.0",
|
|
46
|
-
"h3": "^1.15.
|
|
46
|
+
"h3": "^1.15.4",
|
|
47
47
|
"httpxy": "^0.1.7",
|
|
48
|
-
"jiti": "^2.
|
|
48
|
+
"jiti": "^2.5.1",
|
|
49
49
|
"listhen": "^1.9.0",
|
|
50
|
-
"nypm": "^0.6.
|
|
50
|
+
"nypm": "^0.6.1",
|
|
51
51
|
"ofetch": "^1.4.1",
|
|
52
52
|
"ohash": "^2.0.11",
|
|
53
53
|
"pathe": "^2.0.3",
|
|
@@ -58,18 +58,18 @@
|
|
|
58
58
|
"std-env": "^3.9.0",
|
|
59
59
|
"tinyexec": "^1.0.1",
|
|
60
60
|
"ufo": "^1.6.1",
|
|
61
|
-
"youch": "^4.1.0-beta.
|
|
61
|
+
"youch": "^4.1.0-beta.11"
|
|
62
62
|
},
|
|
63
63
|
"devDependencies": {
|
|
64
|
-
"@nuxt/kit": "^4.0.
|
|
65
|
-
"@nuxt/schema": "^4.0.
|
|
66
|
-
"@types/node": "^22.
|
|
67
|
-
"rollup": "^4.
|
|
64
|
+
"@nuxt/kit": "^4.0.3",
|
|
65
|
+
"@nuxt/schema": "^4.0.3",
|
|
66
|
+
"@types/node": "^22.17.0",
|
|
67
|
+
"rollup": "^4.46.2",
|
|
68
68
|
"rollup-plugin-visualizer": "^6.0.3",
|
|
69
|
-
"typescript": "^5.
|
|
70
|
-
"unbuild": "^3.
|
|
69
|
+
"typescript": "^5.9.2",
|
|
70
|
+
"unbuild": "^3.6.0",
|
|
71
71
|
"unplugin-purge-polyfills": "^0.1.0",
|
|
72
72
|
"vitest": "^3.2.4",
|
|
73
|
-
"youch": "^4.1.0-beta.
|
|
73
|
+
"youch": "^4.1.0-beta.11"
|
|
74
74
|
}
|
|
75
75
|
}
|