@nuxt/cli-nightly 3.30.1-20251104-093729-068c85f → 3.30.1-20251104-163602-2b2b434

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/index.mjs CHANGED
@@ -18,8 +18,8 @@ const commands = {
18
18
  dev: () => import("./dev-nr2jb3A5.mjs").then(_rDefault),
19
19
  devtools: () => import("./devtools-BLGzUSNU.mjs").then(_rDefault),
20
20
  generate: () => import("./generate-DZJF1Xf_.mjs").then(_rDefault),
21
- info: () => import("./info-DmIQuRyS.mjs").then(_rDefault),
22
- init: () => import("./init-BQkH4r8t.mjs").then(_rDefault),
21
+ info: () => import("./info-CMr7aVDt.mjs").then(_rDefault),
22
+ init: () => import("./init-C_HSHWzS.mjs").then(_rDefault),
23
23
  module: () => import("./module-DLtKXRxA.mjs").then(_rDefault),
24
24
  prepare: () => import("./prepare-ZByeo9vQ.mjs").then(_rDefault),
25
25
  preview: () => import("./preview-CgpLKg-X.mjs").then(_rDefault),
@@ -63,7 +63,7 @@ async function checkEngines() {
63
63
  //#endregion
64
64
  //#region package.json
65
65
  var name = "@nuxt/cli-nightly";
66
- var version = "3.30.1-20251104-093729-068c85f";
66
+ var version = "3.30.1-20251104-163602-2b2b434";
67
67
  var description = "Nuxt CLI";
68
68
 
69
69
  //#endregion
@@ -13,7 +13,7 @@ import { detectPackageManager } from "nypm";
13
13
  import { readPackageJSON } from "pkg-types";
14
14
 
15
15
  //#region ../nuxi/package.json
16
- var version = "3.30.1-20251104-093722-068c85f";
16
+ var version = "3.30.1-20251104-163555-2b2b434";
17
17
 
18
18
  //#endregion
19
19
  //#region ../nuxi/src/commands/info.ts
@@ -15,6 +15,7 @@ import { colors } from "consola/utils";
15
15
  import { x } from "tinyexec";
16
16
  import { installDependencies } from "nypm";
17
17
  import { findFile, readPackageJSON, writePackageJSON } from "pkg-types";
18
+ import * as clack from "@clack/prompts";
18
19
  import { downloadTemplate, startShell } from "giget";
19
20
  import { $fetch } from "ofetch";
20
21
 
@@ -323,11 +324,20 @@ var init_default = defineCommand({
323
324
  ctx.args.install ? "" : "--skipInstall",
324
325
  ctx.args.logLevel ? `--logLevel=${ctx.args.logLevel}` : ""
325
326
  ].filter(Boolean));
326
- logger.log(`\n✨ Nuxt project has been created with the \`${template.name}\` template. Next steps:`);
327
+ logger.log(`\n✨ Nuxt project has been created with the \`${template.name}\` template.\n`);
327
328
  const relativeTemplateDir = relative(process.cwd(), template.dir) || ".";
328
329
  const runCmd = selectedPackageManager === "deno" ? "task" : "run";
329
- const nextSteps = [!ctx.args.shell && relativeTemplateDir.length > 1 && `\`cd ${relativeTemplateDir}\``, `Start development server with \`${selectedPackageManager} ${runCmd} dev\``].filter(Boolean);
330
- for (const step of nextSteps) logger.log(` › ${step}`);
330
+ const nextSteps = [!ctx.args.shell && relativeTemplateDir.length > 1 && colors.cyan(`cd ${relativeTemplateDir}`), colors.cyan(`${selectedPackageManager} ${runCmd} dev`)].filter(Boolean);
331
+ clack.box(`\n${nextSteps.map((step) => ` › ${step}`).join("\n")}\n`, ` 👉 Next steps `, {
332
+ contentAlign: "left",
333
+ titleAlign: "left",
334
+ width: "auto",
335
+ titlePadding: 2,
336
+ contentPadding: 2,
337
+ rounded: true,
338
+ includePrefix: false,
339
+ formatBorder: (text) => `${themeColor + text}\x1B[0m`
340
+ });
331
341
  if (ctx.args.shell) startShell(template.dir);
332
342
  }
333
343
  });
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@nuxt/cli-nightly",
3
3
  "type": "module",
4
- "version": "3.30.1-20251104-093729-068c85f",
4
+ "version": "3.30.1-20251104-163602-2b2b434",
5
5
  "description": "Nuxt CLI",
6
6
  "license": "MIT",
7
7
  "repository": {
@@ -33,6 +33,7 @@
33
33
  "prepack": "tsdown"
34
34
  },
35
35
  "dependencies": {
36
+ "@clack/prompts": "^1.0.0-alpha.6",
36
37
  "c12": "^3.3.1",
37
38
  "citty": "^0.1.6",
38
39
  "confbox": "^0.2.2",