create-nuxt-nightly 3.31.0-20251115-162148-ab4e0c6 → 3.31.0-20251115-162506-d5f9331

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 +5 -2
  2. package/package.json +1 -1
package/dist/index.mjs CHANGED
@@ -20590,6 +20590,9 @@ const cwd$1 = process$1.cwd();
20590
20590
  function relativeToProcess(path$1) {
20591
20591
  return relative(cwd$1, path$1) || path$1;
20592
20592
  }
20593
+ function withNodePath(path$1) {
20594
+ return [path$1, process$1.env.NODE_PATH].filter((i$10) => !!i$10);
20595
+ }
20593
20596
 
20594
20597
  //#endregion
20595
20598
  //#region ../nuxi/src/commands/_shared.ts
@@ -25786,7 +25789,7 @@ function tryResolveNuxt(rootDir) {
25786
25789
  "nuxt-edge"
25787
25790
  ]) {
25788
25791
  const path$1 = resolveModulePath(pkg, {
25789
- from: rootDir,
25792
+ from: withNodePath(rootDir),
25790
25793
  try: true
25791
25794
  });
25792
25795
  if (path$1) return path$1;
@@ -27653,7 +27656,7 @@ async function checkEngines() {
27653
27656
  //#endregion
27654
27657
  //#region package.json
27655
27658
  var name = "create-nuxt-nightly";
27656
- var version = "3.31.0-20251115-162148-ab4e0c6";
27659
+ var version = "3.31.0-20251115-162506-d5f9331";
27657
27660
  var description = "Create a Nuxt app in seconds";
27658
27661
 
27659
27662
  //#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.0-20251115-162148-ab4e0c6",
4
+ "version": "3.31.0-20251115-162506-d5f9331",
5
5
  "description": "Create a Nuxt app in seconds",
6
6
  "license": "MIT",
7
7
  "repository": {