@nuxt/cli-nightly 3.31.0-20251204-092002-02d37f0 → 3.31.0-20251204-144004-2eb32d2
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/{add-k1Nn1cL6.mjs → add-BRBkCPhK.mjs} +1 -1
- package/dist/add-CHNLu2Nh.mjs +10 -0
- package/dist/{add-BDLJqyyz.mjs → add-DLobtPIm.mjs} +3 -3
- package/dist/{analyze-DVTE10Og.mjs → analyze-C5qqTkhe.mjs} +3 -3
- package/dist/{banner-Brd8qg0_.mjs → banner-drlfl0J-.mjs} +1 -1
- package/dist/{build-KUVpCAx8.mjs → build-ChMzq018.mjs} +4 -4
- package/dist/build-Dx1VGivC.mjs +10 -0
- package/dist/{cleanup-B6ZYJtxX.mjs → cleanup-CD3OpT9X.mjs} +3 -3
- package/dist/dev/index.mjs +6 -6
- package/dist/dev-CV0MMLTC.mjs +9 -0
- package/dist/{dev-JltooV9B.mjs → dev-DauHVvcO.mjs} +7 -7
- package/dist/{dev-DYv298gM.mjs → dev-DtQo0jDZ.mjs} +4 -4
- package/dist/{dev-child-BMQAV2Jm.mjs → dev-child-CJE2iuic.mjs} +1 -1
- package/dist/{generate-DD8qcTxo.mjs → generate-DSEHRPYE.mjs} +6 -6
- package/dist/index.mjs +21 -35
- package/dist/{info-xsjPNXb7.mjs → info-JVNgKNd2.mjs} +6 -6
- package/dist/{init-D6EjQYoM.mjs → init--rim7tGt.mjs} +148 -64
- package/dist/{module-JzL-mWJT.mjs → module-dUoKC1O2.mjs} +2 -2
- package/dist/{nuxt-tDl7zzU6.mjs → nuxt-Bkosdz43.mjs} +1 -1
- package/dist/prepare-DCVINTk-.mjs +7 -0
- package/dist/{prepare-lA11pstb.mjs → prepare-DU15fbIh.mjs} +2 -2
- package/dist/{preview-DdpTx3Cc.mjs → preview-C1FS88L4.mjs} +1 -1
- package/dist/{search-2grvqtyw.mjs → search-JRE-pvWm.mjs} +3 -3
- package/dist/templates-C0gAD--n.mjs +34 -0
- package/dist/templates-FddTjK4U.mjs +3 -0
- package/dist/{typecheck-D7yiYtYz.mjs → typecheck-CLdIBKcn.mjs} +1 -1
- package/dist/{upgrade-B8j7psHx.mjs → upgrade-fEGIXDnO.mjs} +5 -5
- package/dist/{versions-CfGmudYQ.mjs → versions-CTlxnxbH.mjs} +1 -1
- package/package.json +1 -1
- package/dist/add-DK-do0tH.mjs +0 -10
- package/dist/build-BXaUqCgz.mjs +0 -10
- package/dist/dev-7iAIxGot.mjs +0 -9
- package/dist/prepare-D3poicWu.mjs +0 -7
- /package/dist/{devtools-BOw17GFK.mjs → devtools-BTYlIJMv.mjs} +0 -0
- /package/dist/{env-DNvSuiMW.mjs → env-kdrdHqLf.mjs} +0 -0
- /package/dist/{formatting-CAvhu26Q.mjs → formatting-PESozNtr.mjs} +0 -0
- /package/dist/{fs-DXG4022E.mjs → fs-B_hD5MnA.mjs} +0 -0
- /package/dist/{kit-CWALD0uf.mjs → kit-CPEUdXTm.mjs} +0 -0
- /package/dist/{packageManagers-Dd1BN02x.mjs → packageManagers-BX7-V04a.mjs} +0 -0
- /package/dist/{test-EN3r-qAH.mjs → test-D9z67EJZ.mjs} +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { o as logLevelArgs, t as cwdArgs } from "./_shared-BCYCnX0T.mjs";
|
|
2
2
|
import { n as logger } from "./logger-B4ge7MhP.mjs";
|
|
3
|
-
import { r as relativeToProcess, t as loadKit } from "./kit-
|
|
3
|
+
import { r as relativeToProcess, t as loadKit } from "./kit-CPEUdXTm.mjs";
|
|
4
4
|
import process from "node:process";
|
|
5
5
|
import { defineCommand } from "citty";
|
|
6
6
|
import { colors } from "consola/utils";
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import "./_shared-BCYCnX0T.mjs";
|
|
2
|
+
import "./logger-B4ge7MhP.mjs";
|
|
3
|
+
import "./kit-CPEUdXTm.mjs";
|
|
4
|
+
import "./versions-CTlxnxbH.mjs";
|
|
5
|
+
import "./fs-B_hD5MnA.mjs";
|
|
6
|
+
import { t as add_default } from "./add-DLobtPIm.mjs";
|
|
7
|
+
import "./_utils-B8YNEdpq.mjs";
|
|
8
|
+
import "./prepare-DU15fbIh.mjs";
|
|
9
|
+
|
|
10
|
+
export { add_default as default };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { o as logLevelArgs, t as cwdArgs } from "./_shared-BCYCnX0T.mjs";
|
|
2
2
|
import { n as logger } from "./logger-B4ge7MhP.mjs";
|
|
3
|
-
import { r as relativeToProcess } from "./kit-
|
|
4
|
-
import { t as getNuxtVersion } from "./versions-
|
|
5
|
-
import { t as prepare_default } from "./prepare-lA11pstb.mjs";
|
|
3
|
+
import { r as relativeToProcess } from "./kit-CPEUdXTm.mjs";
|
|
4
|
+
import { t as getNuxtVersion } from "./versions-CTlxnxbH.mjs";
|
|
6
5
|
import { n as fetchModules, r as getRegistryFromContent, t as checkNuxtCompatibility } from "./_utils-B8YNEdpq.mjs";
|
|
6
|
+
import { t as prepare_default } from "./prepare-DU15fbIh.mjs";
|
|
7
7
|
import { join } from "node:path";
|
|
8
8
|
import process from "node:process";
|
|
9
9
|
import { defineCommand, runCommand } from "citty";
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { a as legacyRootDirArgs, i as extendsArgs, n as dotEnvArgs, o as logLevelArgs, t as cwdArgs } from "./_shared-BCYCnX0T.mjs";
|
|
2
2
|
import { n as logger } from "./logger-B4ge7MhP.mjs";
|
|
3
|
-
import { r as relativeToProcess, t as loadKit } from "./kit-
|
|
4
|
-
import { n as clearDir } from "./fs-
|
|
5
|
-
import { t as overrideEnv } from "./env-
|
|
3
|
+
import { r as relativeToProcess, t as loadKit } from "./kit-CPEUdXTm.mjs";
|
|
4
|
+
import { n as clearDir } from "./fs-B_hD5MnA.mjs";
|
|
5
|
+
import { t as overrideEnv } from "./env-kdrdHqLf.mjs";
|
|
6
6
|
import process from "node:process";
|
|
7
7
|
import { defineCommand } from "citty";
|
|
8
8
|
import { colors } from "consola/utils";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { n as logger } from "./logger-B4ge7MhP.mjs";
|
|
2
|
-
import { n as getPkgJSON, r as getPkgVersion } from "./versions-
|
|
2
|
+
import { n as getPkgJSON, r as getPkgVersion } from "./versions-CTlxnxbH.mjs";
|
|
3
3
|
import { colors } from "consola/utils";
|
|
4
4
|
|
|
5
5
|
//#region ../nuxi/src/utils/banner.ts
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { a as legacyRootDirArgs, i as extendsArgs, n as dotEnvArgs, o as logLevelArgs, r as envNameArgs, t as cwdArgs } from "./_shared-BCYCnX0T.mjs";
|
|
2
2
|
import { n as logger } from "./logger-B4ge7MhP.mjs";
|
|
3
|
-
import { t as loadKit } from "./kit-
|
|
4
|
-
import { n as showVersions } from "./banner-
|
|
5
|
-
import { t as clearBuildDir } from "./fs-
|
|
6
|
-
import { t as overrideEnv } from "./env-
|
|
3
|
+
import { t as loadKit } from "./kit-CPEUdXTm.mjs";
|
|
4
|
+
import { n as showVersions } from "./banner-drlfl0J-.mjs";
|
|
5
|
+
import { t as clearBuildDir } from "./fs-B_hD5MnA.mjs";
|
|
6
|
+
import { t as overrideEnv } from "./env-kdrdHqLf.mjs";
|
|
7
7
|
import process from "node:process";
|
|
8
8
|
import { defineCommand } from "citty";
|
|
9
9
|
import { colors } from "consola/utils";
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import "./_shared-BCYCnX0T.mjs";
|
|
2
|
+
import "./logger-B4ge7MhP.mjs";
|
|
3
|
+
import "./kit-CPEUdXTm.mjs";
|
|
4
|
+
import "./versions-CTlxnxbH.mjs";
|
|
5
|
+
import "./banner-drlfl0J-.mjs";
|
|
6
|
+
import "./fs-B_hD5MnA.mjs";
|
|
7
|
+
import "./env-kdrdHqLf.mjs";
|
|
8
|
+
import { t as build_default } from "./build-ChMzq018.mjs";
|
|
9
|
+
|
|
10
|
+
export { build_default as default };
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { a as legacyRootDirArgs, t as cwdArgs } from "./_shared-BCYCnX0T.mjs";
|
|
2
2
|
import { n as logger } from "./logger-B4ge7MhP.mjs";
|
|
3
|
-
import { t as loadKit } from "./kit-
|
|
4
|
-
import "./fs-
|
|
5
|
-
import { t as cleanupNuxtDirs } from "./nuxt-
|
|
3
|
+
import { t as loadKit } from "./kit-CPEUdXTm.mjs";
|
|
4
|
+
import "./fs-B_hD5MnA.mjs";
|
|
5
|
+
import { t as cleanupNuxtDirs } from "./nuxt-Bkosdz43.mjs";
|
|
6
6
|
import { defineCommand } from "citty";
|
|
7
7
|
import { resolve } from "pathe";
|
|
8
8
|
|
package/dist/dev/index.mjs
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import "../logger-B4ge7MhP.mjs";
|
|
2
|
-
import { t as initialize } from "../dev-
|
|
3
|
-
import "../kit-
|
|
4
|
-
import "../versions-
|
|
5
|
-
import "../banner-
|
|
6
|
-
import "../fs-
|
|
7
|
-
import "../nuxt-
|
|
2
|
+
import { t as initialize } from "../dev-DtQo0jDZ.mjs";
|
|
3
|
+
import "../kit-CPEUdXTm.mjs";
|
|
4
|
+
import "../versions-CTlxnxbH.mjs";
|
|
5
|
+
import "../banner-drlfl0J-.mjs";
|
|
6
|
+
import "../fs-B_hD5MnA.mjs";
|
|
7
|
+
import "../nuxt-Bkosdz43.mjs";
|
|
8
8
|
|
|
9
9
|
export { initialize };
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import "./logger-B4ge7MhP.mjs";
|
|
2
|
+
import { t as initialize } from "./dev-DtQo0jDZ.mjs";
|
|
3
|
+
import "./kit-CPEUdXTm.mjs";
|
|
4
|
+
import "./versions-CTlxnxbH.mjs";
|
|
5
|
+
import "./banner-drlfl0J-.mjs";
|
|
6
|
+
import "./fs-B_hD5MnA.mjs";
|
|
7
|
+
import "./nuxt-Bkosdz43.mjs";
|
|
8
|
+
|
|
9
|
+
export { initialize };
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { a as legacyRootDirArgs, i as extendsArgs, n as dotEnvArgs, o as logLevelArgs, r as envNameArgs, t as cwdArgs } from "./_shared-BCYCnX0T.mjs";
|
|
2
2
|
import { n as logger, t as debug } from "./logger-B4ge7MhP.mjs";
|
|
3
|
-
import { t as initialize } from "./dev-
|
|
4
|
-
import "./kit-
|
|
5
|
-
import "./versions-
|
|
6
|
-
import "./banner-
|
|
7
|
-
import "./fs-
|
|
8
|
-
import "./nuxt-
|
|
9
|
-
import { t as overrideEnv } from "./env-
|
|
3
|
+
import { t as initialize } from "./dev-DtQo0jDZ.mjs";
|
|
4
|
+
import "./kit-CPEUdXTm.mjs";
|
|
5
|
+
import "./versions-CTlxnxbH.mjs";
|
|
6
|
+
import "./banner-drlfl0J-.mjs";
|
|
7
|
+
import "./fs-B_hD5MnA.mjs";
|
|
8
|
+
import "./nuxt-Bkosdz43.mjs";
|
|
9
|
+
import { t as overrideEnv } from "./env-kdrdHqLf.mjs";
|
|
10
10
|
import process from "node:process";
|
|
11
11
|
import { defineCommand } from "citty";
|
|
12
12
|
import { isBun, isDeno, isTest } from "std-env";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { i as withNodePath, t as loadKit } from "./kit-
|
|
2
|
-
import { r as showVersionsFromConfig } from "./banner-
|
|
3
|
-
import { t as clearBuildDir } from "./fs-
|
|
4
|
-
import { a as writeNuxtManifest, i as resolveNuxtManifest, n as loadNuxtManifest } from "./nuxt-
|
|
1
|
+
import { i as withNodePath, t as loadKit } from "./kit-CPEUdXTm.mjs";
|
|
2
|
+
import { r as showVersionsFromConfig } from "./banner-drlfl0J-.mjs";
|
|
3
|
+
import { t as clearBuildDir } from "./fs-B_hD5MnA.mjs";
|
|
4
|
+
import { a as writeNuxtManifest, i as resolveNuxtManifest, n as loadNuxtManifest } from "./nuxt-Bkosdz43.mjs";
|
|
5
5
|
import process from "node:process";
|
|
6
6
|
import { provider } from "std-env";
|
|
7
7
|
import { pathToFileURL } from "node:url";
|
|
@@ -25,7 +25,7 @@ var dev_child_default = defineCommand({
|
|
|
25
25
|
async run(ctx) {
|
|
26
26
|
if (!process.send && !isTest) console.warn("`nuxi _dev` is an internal command and should not be used directly. Please use `nuxi dev` instead.");
|
|
27
27
|
const cwd = resolve(ctx.args.cwd || ctx.args.rootDir);
|
|
28
|
-
const { initialize } = await import("./dev-
|
|
28
|
+
const { initialize } = await import("./dev-CV0MMLTC.mjs");
|
|
29
29
|
await initialize({
|
|
30
30
|
cwd,
|
|
31
31
|
args: ctx.args
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { a as legacyRootDirArgs, i as extendsArgs, n as dotEnvArgs, o as logLevelArgs, r as envNameArgs, t as cwdArgs } from "./_shared-BCYCnX0T.mjs";
|
|
2
2
|
import "./logger-B4ge7MhP.mjs";
|
|
3
|
-
import "./kit-
|
|
4
|
-
import "./versions-
|
|
5
|
-
import "./banner-
|
|
6
|
-
import "./fs-
|
|
7
|
-
import "./env-
|
|
8
|
-
import { t as build_default } from "./build-
|
|
3
|
+
import "./kit-CPEUdXTm.mjs";
|
|
4
|
+
import "./versions-CTlxnxbH.mjs";
|
|
5
|
+
import "./banner-drlfl0J-.mjs";
|
|
6
|
+
import "./fs-B_hD5MnA.mjs";
|
|
7
|
+
import "./env-kdrdHqLf.mjs";
|
|
8
|
+
import { t as build_default } from "./build-ChMzq018.mjs";
|
|
9
9
|
import { defineCommand } from "citty";
|
|
10
10
|
|
|
11
11
|
//#region ../nuxi/src/commands/generate.ts
|
package/dist/index.mjs
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { t as cwdArgs } from "./_shared-BCYCnX0T.mjs";
|
|
2
2
|
import { n as logger } from "./logger-B4ge7MhP.mjs";
|
|
3
|
+
import { t as templates } from "./templates-C0gAD--n.mjs";
|
|
3
4
|
import { resolve } from "node:path";
|
|
4
5
|
import process from "node:process";
|
|
5
6
|
import { defineCommand, runCommand as runCommand$1, runMain as runMain$1 } from "citty";
|
|
@@ -12,23 +13,23 @@ import tab from "@bomb.sh/tab/citty";
|
|
|
12
13
|
//#region ../nuxi/src/commands/index.ts
|
|
13
14
|
const _rDefault = (r) => r.default || r;
|
|
14
15
|
const commands = {
|
|
15
|
-
add: () => import("./add-
|
|
16
|
-
analyze: () => import("./analyze-
|
|
17
|
-
build: () => import("./build-
|
|
18
|
-
cleanup: () => import("./cleanup-
|
|
19
|
-
_dev: () => import("./dev-child-
|
|
20
|
-
dev: () => import("./dev-
|
|
21
|
-
devtools: () => import("./devtools-
|
|
22
|
-
generate: () => import("./generate-
|
|
23
|
-
info: () => import("./info-
|
|
24
|
-
init: () => import("./init
|
|
25
|
-
module: () => import("./module-
|
|
26
|
-
prepare: () => import("./prepare-
|
|
27
|
-
preview: () => import("./preview-
|
|
28
|
-
start: () => import("./preview-
|
|
29
|
-
test: () => import("./test-
|
|
30
|
-
typecheck: () => import("./typecheck-
|
|
31
|
-
upgrade: () => import("./upgrade-
|
|
16
|
+
add: () => import("./add-BRBkCPhK.mjs").then(_rDefault),
|
|
17
|
+
analyze: () => import("./analyze-C5qqTkhe.mjs").then(_rDefault),
|
|
18
|
+
build: () => import("./build-Dx1VGivC.mjs").then(_rDefault),
|
|
19
|
+
cleanup: () => import("./cleanup-CD3OpT9X.mjs").then(_rDefault),
|
|
20
|
+
_dev: () => import("./dev-child-CJE2iuic.mjs").then(_rDefault),
|
|
21
|
+
dev: () => import("./dev-DauHVvcO.mjs").then(_rDefault),
|
|
22
|
+
devtools: () => import("./devtools-BTYlIJMv.mjs").then(_rDefault),
|
|
23
|
+
generate: () => import("./generate-DSEHRPYE.mjs").then(_rDefault),
|
|
24
|
+
info: () => import("./info-JVNgKNd2.mjs").then(_rDefault),
|
|
25
|
+
init: () => import("./init--rim7tGt.mjs").then(_rDefault),
|
|
26
|
+
module: () => import("./module-dUoKC1O2.mjs").then(_rDefault),
|
|
27
|
+
prepare: () => import("./prepare-DCVINTk-.mjs").then(_rDefault),
|
|
28
|
+
preview: () => import("./preview-C1FS88L4.mjs").then(_rDefault),
|
|
29
|
+
start: () => import("./preview-C1FS88L4.mjs").then(_rDefault),
|
|
30
|
+
test: () => import("./test-D9z67EJZ.mjs").then(_rDefault),
|
|
31
|
+
typecheck: () => import("./typecheck-CLdIBKcn.mjs").then(_rDefault),
|
|
32
|
+
upgrade: () => import("./upgrade-fEGIXDnO.mjs").then(_rDefault)
|
|
32
33
|
};
|
|
33
34
|
|
|
34
35
|
//#endregion
|
|
@@ -65,7 +66,7 @@ async function checkEngines() {
|
|
|
65
66
|
//#endregion
|
|
66
67
|
//#region package.json
|
|
67
68
|
var name = "@nuxt/cli-nightly";
|
|
68
|
-
var version = "3.31.0-20251204-
|
|
69
|
+
var version = "3.31.0-20251204-144004-2eb32d2";
|
|
69
70
|
var description = "Nuxt CLI";
|
|
70
71
|
|
|
71
72
|
//#endregion
|
|
@@ -111,8 +112,7 @@ const _main = defineCommand({
|
|
|
111
112
|
const main = _main;
|
|
112
113
|
|
|
113
114
|
//#endregion
|
|
114
|
-
//#region ../nuxi/src/
|
|
115
|
-
/** Auto-generated file */
|
|
115
|
+
//#region ../nuxi/src/data/nitro-presets.ts
|
|
116
116
|
const nitroPresets = [
|
|
117
117
|
"alwaysdata",
|
|
118
118
|
"aws-amplify",
|
|
@@ -166,20 +166,6 @@ const nitroPresets = [
|
|
|
166
166
|
"zerops",
|
|
167
167
|
"zerops-static"
|
|
168
168
|
];
|
|
169
|
-
const templates = [
|
|
170
|
-
"doc-driven",
|
|
171
|
-
"hub",
|
|
172
|
-
"layer",
|
|
173
|
-
"minimal",
|
|
174
|
-
"module",
|
|
175
|
-
"module-devtools",
|
|
176
|
-
"ui",
|
|
177
|
-
"ui-vue",
|
|
178
|
-
"v2-bridge",
|
|
179
|
-
"v3",
|
|
180
|
-
"v4",
|
|
181
|
-
"v4-compat"
|
|
182
|
-
];
|
|
183
169
|
|
|
184
170
|
//#endregion
|
|
185
171
|
//#region ../nuxi/src/completions.ts
|
|
@@ -211,7 +197,7 @@ async function initCompletions(command) {
|
|
|
211
197
|
if (initCommand) {
|
|
212
198
|
const templateOption = initCommand.options.get("template");
|
|
213
199
|
if (templateOption) templateOption.handler = (complete) => {
|
|
214
|
-
for (const template
|
|
200
|
+
for (const template in templates) complete(template, templates[template]?.description || "");
|
|
215
201
|
};
|
|
216
202
|
}
|
|
217
203
|
const addCommand = completion.commands.get("add");
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { a as legacyRootDirArgs, t as cwdArgs } from "./_shared-BCYCnX0T.mjs";
|
|
2
2
|
import { n as logger } from "./logger-B4ge7MhP.mjs";
|
|
3
|
-
import { n as tryResolveNuxt } from "./kit-
|
|
4
|
-
import "./versions-
|
|
5
|
-
import { t as getBuilder } from "./banner-
|
|
6
|
-
import { t as formatInfoBox } from "./formatting-
|
|
7
|
-
import { t as getPackageManagerVersion } from "./packageManagers-
|
|
3
|
+
import { n as tryResolveNuxt } from "./kit-CPEUdXTm.mjs";
|
|
4
|
+
import "./versions-CTlxnxbH.mjs";
|
|
5
|
+
import { t as getBuilder } from "./banner-drlfl0J-.mjs";
|
|
6
|
+
import { t as formatInfoBox } from "./formatting-PESozNtr.mjs";
|
|
7
|
+
import { t as getPackageManagerVersion } from "./packageManagers-BX7-V04a.mjs";
|
|
8
8
|
import process from "node:process";
|
|
9
9
|
import { defineCommand } from "citty";
|
|
10
10
|
import { isBun, isDeno, isMinimal } from "std-env";
|
|
@@ -17,7 +17,7 @@ import { copy } from "copy-paste";
|
|
|
17
17
|
import { detectPackageManager } from "nypm";
|
|
18
18
|
|
|
19
19
|
//#region ../nuxi/package.json
|
|
20
|
-
var version = "3.31.0-20251204-
|
|
20
|
+
var version = "3.31.0-20251204-143952-2eb32d2";
|
|
21
21
|
|
|
22
22
|
//#endregion
|
|
23
23
|
//#region ../nuxi/src/commands/info.ts
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { o as logLevelArgs, t as cwdArgs } from "./_shared-BCYCnX0T.mjs";
|
|
2
2
|
import { n as logger } from "./logger-B4ge7MhP.mjs";
|
|
3
|
-
import { r as relativeToProcess } from "./kit-
|
|
4
|
-
import "./versions-
|
|
5
|
-
import "./fs-
|
|
6
|
-
import { n as runCommand$1, t as add_default } from "./add-
|
|
7
|
-
import "./
|
|
8
|
-
import "./
|
|
3
|
+
import { r as relativeToProcess } from "./kit-CPEUdXTm.mjs";
|
|
4
|
+
import "./versions-CTlxnxbH.mjs";
|
|
5
|
+
import "./fs-B_hD5MnA.mjs";
|
|
6
|
+
import { n as runCommand$1, t as add_default } from "./add-DLobtPIm.mjs";
|
|
7
|
+
import { n as fetchModules } from "./_utils-B8YNEdpq.mjs";
|
|
8
|
+
import "./prepare-DU15fbIh.mjs";
|
|
9
9
|
import process from "node:process";
|
|
10
10
|
import { defineCommand } from "citty";
|
|
11
11
|
import { hasTTY } from "std-env";
|
|
@@ -37,10 +37,46 @@ const icon = [
|
|
|
37
37
|
];
|
|
38
38
|
const nuxtIcon = icon.map((line) => line.split("").join(themeColor)).join("\n");
|
|
39
39
|
|
|
40
|
+
//#endregion
|
|
41
|
+
//#region ../nuxi/src/utils/starter-templates.ts
|
|
42
|
+
const hiddenTemplates = [
|
|
43
|
+
"doc-driven",
|
|
44
|
+
"v4",
|
|
45
|
+
"v4-compat",
|
|
46
|
+
"v2-bridge",
|
|
47
|
+
"v3",
|
|
48
|
+
"ui-vue",
|
|
49
|
+
"module-devtools",
|
|
50
|
+
"layer",
|
|
51
|
+
"hub"
|
|
52
|
+
];
|
|
53
|
+
const fetchOptions = {
|
|
54
|
+
timeout: 3e3,
|
|
55
|
+
responseType: "json",
|
|
56
|
+
headers: { "user-agent": "@nuxt/cli" }
|
|
57
|
+
};
|
|
58
|
+
let templatesCache = null;
|
|
59
|
+
async function getTemplates() {
|
|
60
|
+
templatesCache ||= fetchTemplates();
|
|
61
|
+
return templatesCache;
|
|
62
|
+
}
|
|
63
|
+
async function fetchTemplates() {
|
|
64
|
+
const templates = {};
|
|
65
|
+
const files = await $fetch("https://api.github.com/repos/nuxt/starter/contents/templates?ref=templates", fetchOptions);
|
|
66
|
+
await Promise.all(files.map(async (file) => {
|
|
67
|
+
if (!file.download_url || file.type !== "file" || !file.name.endsWith(".json")) return;
|
|
68
|
+
const templateName = file.name.replace(".json", "");
|
|
69
|
+
if (hiddenTemplates.includes(templateName)) return;
|
|
70
|
+
templates[templateName] = void 0;
|
|
71
|
+
templates[templateName] = await $fetch(file.download_url, fetchOptions);
|
|
72
|
+
}));
|
|
73
|
+
return templates;
|
|
74
|
+
}
|
|
75
|
+
|
|
40
76
|
//#endregion
|
|
41
77
|
//#region ../nuxi/src/commands/init.ts
|
|
42
78
|
const DEFAULT_REGISTRY = "https://raw.githubusercontent.com/nuxt/starter/templates/templates";
|
|
43
|
-
const DEFAULT_TEMPLATE_NAME = "
|
|
79
|
+
const DEFAULT_TEMPLATE_NAME = "minimal";
|
|
44
80
|
const packageManagerOptions = Object.keys({
|
|
45
81
|
npm: void 0,
|
|
46
82
|
pnpm: void 0,
|
|
@@ -48,47 +84,6 @@ const packageManagerOptions = Object.keys({
|
|
|
48
84
|
bun: void 0,
|
|
49
85
|
deno: void 0
|
|
50
86
|
});
|
|
51
|
-
async function getModuleDependencies(moduleName) {
|
|
52
|
-
try {
|
|
53
|
-
const dependencies = (await $fetch(`https://registry.npmjs.org/${moduleName}/latest`)).dependencies || {};
|
|
54
|
-
return Object.keys(dependencies);
|
|
55
|
-
} catch (err) {
|
|
56
|
-
logger.warn(`Could not get dependencies for ${colors.cyan(moduleName)}: ${err}`);
|
|
57
|
-
return [];
|
|
58
|
-
}
|
|
59
|
-
}
|
|
60
|
-
function filterModules(modules, allDependencies) {
|
|
61
|
-
const result = {
|
|
62
|
-
toInstall: [],
|
|
63
|
-
skipped: []
|
|
64
|
-
};
|
|
65
|
-
for (const module of modules) if (modules.some((otherModule) => {
|
|
66
|
-
if (otherModule === module) return false;
|
|
67
|
-
return (allDependencies[otherModule] || []).includes(module);
|
|
68
|
-
})) result.skipped.push(module);
|
|
69
|
-
else result.toInstall.push(module);
|
|
70
|
-
return result;
|
|
71
|
-
}
|
|
72
|
-
async function getTemplateDependencies(templateDir) {
|
|
73
|
-
try {
|
|
74
|
-
const packageJsonPath = join(templateDir, "package.json");
|
|
75
|
-
if (!existsSync(packageJsonPath)) return [];
|
|
76
|
-
const packageJson = await readPackageJSON(packageJsonPath);
|
|
77
|
-
const directDeps = {
|
|
78
|
-
...packageJson.dependencies,
|
|
79
|
-
...packageJson.devDependencies
|
|
80
|
-
};
|
|
81
|
-
const directDepNames = Object.keys(directDeps);
|
|
82
|
-
const allDeps = new Set(directDepNames);
|
|
83
|
-
(await Promise.all(directDepNames.map((dep) => getModuleDependencies(dep)))).forEach((deps) => {
|
|
84
|
-
deps.forEach((dep) => allDeps.add(dep));
|
|
85
|
-
});
|
|
86
|
-
return Array.from(allDeps);
|
|
87
|
-
} catch (err) {
|
|
88
|
-
logger.warn(`Could not read template dependencies: ${err}`);
|
|
89
|
-
return [];
|
|
90
|
-
}
|
|
91
|
-
}
|
|
92
87
|
var init_default = defineCommand({
|
|
93
88
|
meta: {
|
|
94
89
|
name: "init",
|
|
@@ -150,13 +145,55 @@ var init_default = defineCommand({
|
|
|
150
145
|
}
|
|
151
146
|
},
|
|
152
147
|
async run(ctx) {
|
|
148
|
+
if (!ctx.args.offline && !ctx.args.preferOffline && !ctx.args.template) getTemplates().catch(() => null);
|
|
153
149
|
if (hasTTY) process.stdout.write(`\n${nuxtIcon}\n\n`);
|
|
154
150
|
intro(colors.bold(`Welcome to Nuxt!`.split("").map((m) => `${themeColor}${m}`).join("")));
|
|
151
|
+
let availableTemplates = {};
|
|
152
|
+
if (!ctx.args.template || !ctx.args.dir) {
|
|
153
|
+
const defaultTemplates = await import("./templates-FddTjK4U.mjs").then((r) => r.templates);
|
|
154
|
+
if (ctx.args.offline || ctx.args.preferOffline) availableTemplates = defaultTemplates;
|
|
155
|
+
else {
|
|
156
|
+
const templatesSpinner = spinner();
|
|
157
|
+
templatesSpinner.start("Loading available templates");
|
|
158
|
+
try {
|
|
159
|
+
availableTemplates = await getTemplates();
|
|
160
|
+
templatesSpinner.stop("Templates loaded");
|
|
161
|
+
} catch {
|
|
162
|
+
availableTemplates = defaultTemplates;
|
|
163
|
+
templatesSpinner.stop("Templates loaded from cache");
|
|
164
|
+
}
|
|
165
|
+
}
|
|
166
|
+
}
|
|
167
|
+
let templateName = ctx.args.template;
|
|
168
|
+
if (!templateName) {
|
|
169
|
+
const result = await select({
|
|
170
|
+
message: "Which template would you like to use?",
|
|
171
|
+
options: Object.entries(availableTemplates).map(([name, data]) => {
|
|
172
|
+
return {
|
|
173
|
+
value: name,
|
|
174
|
+
label: data ? `${colors.whiteBright(name)} – ${data.description}` : name,
|
|
175
|
+
hint: name === DEFAULT_TEMPLATE_NAME ? "recommended" : void 0
|
|
176
|
+
};
|
|
177
|
+
}),
|
|
178
|
+
initialValue: DEFAULT_TEMPLATE_NAME
|
|
179
|
+
});
|
|
180
|
+
if (isCancel(result)) {
|
|
181
|
+
cancel("Operation cancelled.");
|
|
182
|
+
process.exit(1);
|
|
183
|
+
}
|
|
184
|
+
templateName = result;
|
|
185
|
+
}
|
|
186
|
+
templateName ||= DEFAULT_TEMPLATE_NAME;
|
|
187
|
+
if (typeof templateName !== "string") {
|
|
188
|
+
logger.error("Please specify a template!");
|
|
189
|
+
process.exit(1);
|
|
190
|
+
}
|
|
155
191
|
if (ctx.args.dir === "") {
|
|
192
|
+
const defaultDir = availableTemplates[templateName]?.defaultDir || "nuxt-app";
|
|
156
193
|
const result = await text({
|
|
157
194
|
message: "Where would you like to create your project?",
|
|
158
|
-
placeholder:
|
|
159
|
-
defaultValue:
|
|
195
|
+
placeholder: `./${defaultDir}`,
|
|
196
|
+
defaultValue: defaultDir
|
|
160
197
|
});
|
|
161
198
|
if (isCancel(result)) {
|
|
162
199
|
cancel("Operation cancelled.");
|
|
@@ -167,11 +204,6 @@ var init_default = defineCommand({
|
|
|
167
204
|
const cwd = resolve(ctx.args.cwd);
|
|
168
205
|
let templateDownloadPath = resolve(cwd, ctx.args.dir);
|
|
169
206
|
logger.step(`Creating project in ${colors.cyan(relativeToProcess(templateDownloadPath))}`);
|
|
170
|
-
const templateName = ctx.args.template || DEFAULT_TEMPLATE_NAME;
|
|
171
|
-
if (typeof templateName !== "string") {
|
|
172
|
-
logger.error("Please specify a template!");
|
|
173
|
-
process.exit(1);
|
|
174
|
-
}
|
|
175
207
|
let shouldForce = Boolean(ctx.args.force);
|
|
176
208
|
if (!shouldForce && existsSync(templateDownloadPath)) {
|
|
177
209
|
const selectedAction = await select({
|
|
@@ -247,14 +279,18 @@ var init_default = defineCommand({
|
|
|
247
279
|
process.exit(1);
|
|
248
280
|
}
|
|
249
281
|
if (ctx.args.nightly !== void 0 && !ctx.args.offline && !ctx.args.preferOffline) {
|
|
282
|
+
const nightlySpinner = spinner();
|
|
283
|
+
nightlySpinner.start("Fetching nightly version info");
|
|
250
284
|
const response = await $fetch("https://registry.npmjs.org/nuxt-nightly");
|
|
251
285
|
const nightlyChannelTag = ctx.args.nightly || "latest";
|
|
252
286
|
if (!nightlyChannelTag) {
|
|
287
|
+
nightlySpinner.stop("Failed to get nightly channel tag", 1);
|
|
253
288
|
logger.error(`Error getting nightly channel tag.`);
|
|
254
289
|
process.exit(1);
|
|
255
290
|
}
|
|
256
291
|
const nightlyChannelVersion = response["dist-tags"][nightlyChannelTag];
|
|
257
292
|
if (!nightlyChannelVersion) {
|
|
293
|
+
nightlySpinner.stop("Nightly version not found", 1);
|
|
258
294
|
logger.error(`Nightly channel version for tag ${colors.cyan(nightlyChannelTag)} not found.`);
|
|
259
295
|
process.exit(1);
|
|
260
296
|
}
|
|
@@ -264,12 +300,7 @@ var init_default = defineCommand({
|
|
|
264
300
|
if (packageJson.dependencies && "nuxt" in packageJson.dependencies) packageJson.dependencies.nuxt = nightlyNuxtPackageJsonVersion;
|
|
265
301
|
else if (packageJson.devDependencies && "nuxt" in packageJson.devDependencies) packageJson.devDependencies.nuxt = nightlyNuxtPackageJsonVersion;
|
|
266
302
|
await writePackageJSON(join(packageJsonPath, "package.json"), packageJson);
|
|
267
|
-
|
|
268
|
-
function detectCurrentPackageManager() {
|
|
269
|
-
const userAgent = process.env.npm_config_user_agent;
|
|
270
|
-
if (!userAgent) return;
|
|
271
|
-
const [name] = userAgent.split("/");
|
|
272
|
-
if (packageManagerOptions.includes(name)) return name;
|
|
303
|
+
nightlySpinner.stop(`Updated to nightly version ${colors.cyan(nightlyChannelVersion)}`);
|
|
273
304
|
}
|
|
274
305
|
const currentPackageManager = detectCurrentPackageManager();
|
|
275
306
|
const packageManagerArg = ctx.args.packageManager;
|
|
@@ -338,9 +369,12 @@ var init_default = defineCommand({
|
|
|
338
369
|
}
|
|
339
370
|
}
|
|
340
371
|
const modulesToAdd = [];
|
|
341
|
-
if (ctx.args.modules !== void 0)
|
|
372
|
+
if (ctx.args.modules !== void 0) for (const segment of (ctx.args.modules || "").split(",")) {
|
|
373
|
+
const mod = segment.trim();
|
|
374
|
+
if (mod) modulesToAdd.push(mod);
|
|
375
|
+
}
|
|
342
376
|
else if (!ctx.args.offline && !ctx.args.preferOffline) {
|
|
343
|
-
const modulesPromise =
|
|
377
|
+
const modulesPromise = fetchModules();
|
|
344
378
|
const wantsUserModules = await confirm({
|
|
345
379
|
message: `Would you like to install any of the official modules?`,
|
|
346
380
|
initialValue: false
|
|
@@ -350,8 +384,11 @@ var init_default = defineCommand({
|
|
|
350
384
|
process.exit(1);
|
|
351
385
|
}
|
|
352
386
|
if (wantsUserModules) {
|
|
387
|
+
const modulesSpinner = spinner();
|
|
388
|
+
modulesSpinner.start("Fetching available modules");
|
|
353
389
|
const [response, templateDeps] = await Promise.all([modulesPromise, getTemplateDependencies(template.dir)]);
|
|
354
|
-
|
|
390
|
+
modulesSpinner.stop("Modules loaded");
|
|
391
|
+
const officialModules = response.filter((module) => module.type === "official" && module.npm !== "@nuxt/devtools" && !templateDeps.includes(module.npm));
|
|
355
392
|
if (officialModules.length === 0) logger.info("All official modules are already included in this template.");
|
|
356
393
|
else {
|
|
357
394
|
const selectedOfficialModules = await multiselect({
|
|
@@ -394,6 +431,53 @@ var init_default = defineCommand({
|
|
|
394
431
|
if (ctx.args.shell) startShell(template.dir);
|
|
395
432
|
}
|
|
396
433
|
});
|
|
434
|
+
async function getModuleDependencies(moduleName) {
|
|
435
|
+
try {
|
|
436
|
+
const dependencies = (await $fetch(`https://registry.npmjs.org/${moduleName}/latest`)).dependencies || {};
|
|
437
|
+
return Object.keys(dependencies);
|
|
438
|
+
} catch (err) {
|
|
439
|
+
logger.warn(`Could not get dependencies for ${colors.cyan(moduleName)}: ${err}`);
|
|
440
|
+
return [];
|
|
441
|
+
}
|
|
442
|
+
}
|
|
443
|
+
function filterModules(modules, allDependencies) {
|
|
444
|
+
const result = {
|
|
445
|
+
toInstall: [],
|
|
446
|
+
skipped: []
|
|
447
|
+
};
|
|
448
|
+
for (const module of modules) if (modules.some((otherModule) => {
|
|
449
|
+
if (otherModule === module) return false;
|
|
450
|
+
return (allDependencies[otherModule] || []).includes(module);
|
|
451
|
+
})) result.skipped.push(module);
|
|
452
|
+
else result.toInstall.push(module);
|
|
453
|
+
return result;
|
|
454
|
+
}
|
|
455
|
+
async function getTemplateDependencies(templateDir) {
|
|
456
|
+
try {
|
|
457
|
+
const packageJsonPath = join(templateDir, "package.json");
|
|
458
|
+
if (!existsSync(packageJsonPath)) return [];
|
|
459
|
+
const packageJson = await readPackageJSON(packageJsonPath);
|
|
460
|
+
const directDeps = {
|
|
461
|
+
...packageJson.dependencies,
|
|
462
|
+
...packageJson.devDependencies
|
|
463
|
+
};
|
|
464
|
+
const directDepNames = Object.keys(directDeps);
|
|
465
|
+
const allDeps = new Set(directDepNames);
|
|
466
|
+
(await Promise.all(directDepNames.map((dep) => getModuleDependencies(dep)))).forEach((deps) => {
|
|
467
|
+
deps.forEach((dep) => allDeps.add(dep));
|
|
468
|
+
});
|
|
469
|
+
return Array.from(allDeps);
|
|
470
|
+
} catch (err) {
|
|
471
|
+
logger.warn(`Could not read template dependencies: ${err}`);
|
|
472
|
+
return [];
|
|
473
|
+
}
|
|
474
|
+
}
|
|
475
|
+
function detectCurrentPackageManager() {
|
|
476
|
+
const userAgent = process.env.npm_config_user_agent;
|
|
477
|
+
if (!userAgent) return;
|
|
478
|
+
const [name] = userAgent.split("/");
|
|
479
|
+
if (packageManagerOptions.includes(name)) return name;
|
|
480
|
+
}
|
|
397
481
|
|
|
398
482
|
//#endregion
|
|
399
483
|
export { init_default as default };
|
|
@@ -8,8 +8,8 @@ var module_default = defineCommand({
|
|
|
8
8
|
},
|
|
9
9
|
args: {},
|
|
10
10
|
subCommands: {
|
|
11
|
-
add: () => import("./add-
|
|
12
|
-
search: () => import("./search-
|
|
11
|
+
add: () => import("./add-CHNLu2Nh.mjs").then((r) => r.default || r),
|
|
12
|
+
search: () => import("./search-JRE-pvWm.mjs").then((r) => r.default || r)
|
|
13
13
|
}
|
|
14
14
|
});
|
|
15
15
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { n as logger } from "./logger-B4ge7MhP.mjs";
|
|
2
|
-
import { r as rmRecursive } from "./fs-
|
|
2
|
+
import { r as rmRecursive } from "./fs-B_hD5MnA.mjs";
|
|
3
3
|
import { promises } from "node:fs";
|
|
4
4
|
import { dirname, resolve } from "pathe";
|
|
5
5
|
import { hash } from "ohash";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { a as legacyRootDirArgs, i as extendsArgs, n as dotEnvArgs, o as logLevelArgs, r as envNameArgs, t as cwdArgs } from "./_shared-BCYCnX0T.mjs";
|
|
2
2
|
import { n as logger } from "./logger-B4ge7MhP.mjs";
|
|
3
|
-
import { r as relativeToProcess, t as loadKit } from "./kit-
|
|
4
|
-
import { t as clearBuildDir } from "./fs-
|
|
3
|
+
import { r as relativeToProcess, t as loadKit } from "./kit-CPEUdXTm.mjs";
|
|
4
|
+
import { t as clearBuildDir } from "./fs-B_hD5MnA.mjs";
|
|
5
5
|
import process from "node:process";
|
|
6
6
|
import { defineCommand } from "citty";
|
|
7
7
|
import { colors } from "consola/utils";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { a as legacyRootDirArgs, i as extendsArgs, n as dotEnvArgs, o as logLevelArgs, r as envNameArgs, t as cwdArgs } from "./_shared-BCYCnX0T.mjs";
|
|
2
2
|
import { n as logger } from "./logger-B4ge7MhP.mjs";
|
|
3
|
-
import { r as relativeToProcess, t as loadKit } from "./kit-
|
|
3
|
+
import { r as relativeToProcess, t as loadKit } from "./kit-CPEUdXTm.mjs";
|
|
4
4
|
import { dirname } from "node:path";
|
|
5
5
|
import process from "node:process";
|
|
6
6
|
import { defineCommand } from "citty";
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { t as cwdArgs } from "./_shared-BCYCnX0T.mjs";
|
|
2
2
|
import { n as logger } from "./logger-B4ge7MhP.mjs";
|
|
3
|
-
import "./kit-
|
|
4
|
-
import { t as getNuxtVersion } from "./versions-
|
|
5
|
-
import { t as formatInfoBox } from "./formatting-
|
|
3
|
+
import "./kit-CPEUdXTm.mjs";
|
|
4
|
+
import { t as getNuxtVersion } from "./versions-CTlxnxbH.mjs";
|
|
5
|
+
import { t as formatInfoBox } from "./formatting-PESozNtr.mjs";
|
|
6
6
|
import { n as fetchModules, t as checkNuxtCompatibility } from "./_utils-B8YNEdpq.mjs";
|
|
7
7
|
import { defineCommand } from "citty";
|
|
8
8
|
import { colors } from "consola/utils";
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
//#region ../nuxi/src/data/templates.ts
|
|
2
|
+
const templates = {
|
|
3
|
+
"content": {
|
|
4
|
+
"name": "content",
|
|
5
|
+
"description": "Content-driven website",
|
|
6
|
+
"defaultDir": "nuxt-app",
|
|
7
|
+
"url": "https://content.nuxt.com",
|
|
8
|
+
"tar": "https://codeload.github.com/nuxt/starter/tar.gz/refs/heads/content"
|
|
9
|
+
},
|
|
10
|
+
"minimal": {
|
|
11
|
+
"name": "minimal",
|
|
12
|
+
"description": "Minimal setup for Nuxt 4",
|
|
13
|
+
"defaultDir": "nuxt-app",
|
|
14
|
+
"url": "https://nuxt.com",
|
|
15
|
+
"tar": "https://codeload.github.com/nuxt/starter/tar.gz/refs/heads/v4"
|
|
16
|
+
},
|
|
17
|
+
"module": {
|
|
18
|
+
"name": "module",
|
|
19
|
+
"description": "Nuxt module",
|
|
20
|
+
"defaultDir": "nuxt-module",
|
|
21
|
+
"url": "https://nuxt.com",
|
|
22
|
+
"tar": "https://codeload.github.com/nuxt/starter/tar.gz/refs/heads/module"
|
|
23
|
+
},
|
|
24
|
+
"ui": {
|
|
25
|
+
"name": "ui",
|
|
26
|
+
"description": "App using Nuxt UI",
|
|
27
|
+
"defaultDir": "nuxt-app",
|
|
28
|
+
"url": "https://ui.nuxt.com",
|
|
29
|
+
"tar": "https://codeload.github.com/nuxt-ui-templates/starter/tar.gz/refs/heads/main"
|
|
30
|
+
}
|
|
31
|
+
};
|
|
32
|
+
|
|
33
|
+
//#endregion
|
|
34
|
+
export { templates as t };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { a as legacyRootDirArgs, i as extendsArgs, n as dotEnvArgs, o as logLevelArgs, t as cwdArgs } from "./_shared-BCYCnX0T.mjs";
|
|
2
|
-
import { t as loadKit } from "./kit-
|
|
2
|
+
import { t as loadKit } from "./kit-CPEUdXTm.mjs";
|
|
3
3
|
import process from "node:process";
|
|
4
4
|
import { defineCommand } from "citty";
|
|
5
5
|
import { isBun } from "std-env";
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { a as legacyRootDirArgs, o as logLevelArgs, t as cwdArgs } from "./_shared-BCYCnX0T.mjs";
|
|
2
2
|
import { n as logger } from "./logger-B4ge7MhP.mjs";
|
|
3
|
-
import { r as relativeToProcess, t as loadKit } from "./kit-
|
|
4
|
-
import { t as getNuxtVersion } from "./versions-
|
|
5
|
-
import "./fs-
|
|
6
|
-
import { r as nuxtVersionToGitIdentifier, t as cleanupNuxtDirs } from "./nuxt-
|
|
7
|
-
import { t as getPackageManagerVersion } from "./packageManagers-
|
|
3
|
+
import { r as relativeToProcess, t as loadKit } from "./kit-CPEUdXTm.mjs";
|
|
4
|
+
import { t as getNuxtVersion } from "./versions-CTlxnxbH.mjs";
|
|
5
|
+
import "./fs-B_hD5MnA.mjs";
|
|
6
|
+
import { r as nuxtVersionToGitIdentifier, t as cleanupNuxtDirs } from "./nuxt-Bkosdz43.mjs";
|
|
7
|
+
import { t as getPackageManagerVersion } from "./packageManagers-BX7-V04a.mjs";
|
|
8
8
|
import process from "node:process";
|
|
9
9
|
import { defineCommand } from "citty";
|
|
10
10
|
import { colors } from "consola/utils";
|
package/package.json
CHANGED
package/dist/add-DK-do0tH.mjs
DELETED
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import "./_shared-BCYCnX0T.mjs";
|
|
2
|
-
import "./logger-B4ge7MhP.mjs";
|
|
3
|
-
import "./kit-CWALD0uf.mjs";
|
|
4
|
-
import "./versions-CfGmudYQ.mjs";
|
|
5
|
-
import "./fs-DXG4022E.mjs";
|
|
6
|
-
import { t as add_default } from "./add-BDLJqyyz.mjs";
|
|
7
|
-
import "./prepare-lA11pstb.mjs";
|
|
8
|
-
import "./_utils-B8YNEdpq.mjs";
|
|
9
|
-
|
|
10
|
-
export { add_default as default };
|
package/dist/build-BXaUqCgz.mjs
DELETED
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import "./_shared-BCYCnX0T.mjs";
|
|
2
|
-
import "./logger-B4ge7MhP.mjs";
|
|
3
|
-
import "./kit-CWALD0uf.mjs";
|
|
4
|
-
import "./versions-CfGmudYQ.mjs";
|
|
5
|
-
import "./banner-Brd8qg0_.mjs";
|
|
6
|
-
import "./fs-DXG4022E.mjs";
|
|
7
|
-
import "./env-DNvSuiMW.mjs";
|
|
8
|
-
import { t as build_default } from "./build-KUVpCAx8.mjs";
|
|
9
|
-
|
|
10
|
-
export { build_default as default };
|
package/dist/dev-7iAIxGot.mjs
DELETED
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import "./logger-B4ge7MhP.mjs";
|
|
2
|
-
import { t as initialize } from "./dev-DYv298gM.mjs";
|
|
3
|
-
import "./kit-CWALD0uf.mjs";
|
|
4
|
-
import "./versions-CfGmudYQ.mjs";
|
|
5
|
-
import "./banner-Brd8qg0_.mjs";
|
|
6
|
-
import "./fs-DXG4022E.mjs";
|
|
7
|
-
import "./nuxt-tDl7zzU6.mjs";
|
|
8
|
-
|
|
9
|
-
export { initialize };
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|