create-nuxt-nightly 3.31.4-20260106-103346-7fe68e4 → 3.32.0-20260106-121757-562abd5

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.
Files changed (2) hide show
  1. package/dist/index.mjs +6 -2
  2. package/package.json +1 -1
package/dist/index.mjs CHANGED
@@ -26040,7 +26040,11 @@ var add_default = defineCommand({
26040
26040
  });
26041
26041
  if (Ct$1(shouldContinue) || shouldContinue !== true) process$1.exit(1);
26042
26042
  }
26043
- const resolvedModules = (await Promise.all(modules.map((moduleName) => resolveModule(moduleName, cwd$3)))).filter((x$6) => x$6 != null);
26043
+ const resolvedModules = (await Promise.all(modules.map((moduleName) => resolveModule(moduleName, cwd$3)))).filter((x$6) => !!x$6);
26044
+ if (!resolvedModules.length) {
26045
+ Pt("No modules to add.");
26046
+ process$1.exit(1);
26047
+ }
26044
26048
  logger.info(`Resolved ${resolvedModules.map((x$6) => colors.cyan(x$6.pkgName)).join(", ")}, adding module${resolvedModules.length > 1 ? "s" : ""}...`);
26045
26049
  await addModules(resolvedModules, {
26046
26050
  ...ctx.args,
@@ -27797,7 +27801,7 @@ async function checkEngines() {
27797
27801
  //#endregion
27798
27802
  //#region package.json
27799
27803
  var name = "create-nuxt-nightly";
27800
- var version = "3.31.4-20260106-103346-7fe68e4";
27804
+ var version = "3.32.0-20260106-121757-562abd5";
27801
27805
  var description = "Create a Nuxt app in seconds";
27802
27806
 
27803
27807
  //#endregion
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "create-nuxt-nightly",
3
3
  "type": "module",
4
- "version": "3.31.4-20260106-103346-7fe68e4",
4
+ "version": "3.32.0-20260106-121757-562abd5",
5
5
  "description": "Create a Nuxt app in seconds",
6
6
  "license": "MIT",
7
7
  "repository": {