From 5f9621491fbb89088ec6320ea2c595f6b3c478fd Mon Sep 17 00:00:00 2001 From: Daniel Roe Date: Mon, 6 Jan 2025 00:14:35 +0000 Subject: [PATCH 1/3] fix(info): de-default nuxt config --- src/commands/info.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/commands/info.ts b/src/commands/info.ts index 1c5e1502..71785484 100644 --- a/src/commands/info.ts +++ b/src/commands/info.ts @@ -167,7 +167,7 @@ async function getNuxtConfig(rootDir: string) { }, }) ;(globalThis as any).defineNuxtConfig = (c: any) => c - const result = await jiti.import('./nuxt.config') as NuxtConfig + const result = await jiti.import('./nuxt.config', { default: true }) as NuxtConfig delete (globalThis as any).defineNuxtConfig return result } From a3be91da8fcb7970c0353dc5effff011cc9633d5 Mon Sep 17 00:00:00 2001 From: Daniel Roe Date: Mon, 6 Jan 2025 00:17:29 +0000 Subject: [PATCH 2/3] chore: add explicit nuxi dependency for ppn --- playground/package.json | 1 + 1 file changed, 1 insertion(+) diff --git a/playground/package.json b/playground/package.json index e8a4489f..0658019c 100644 --- a/playground/package.json +++ b/playground/package.json @@ -4,6 +4,7 @@ "version": "1.0.0", "packageManager": "pnpm@9.15.2", "dependencies": { + "nuxi": "latest", "nuxt": "^3.15.1" } } From 7ded939e136ef8c10150f090fe68d7a590d3031b Mon Sep 17 00:00:00 2001 From: Daniel Roe Date: Mon, 6 Jan 2025 00:17:41 +0000 Subject: [PATCH 3/3] chore: lockfile --- pnpm-lock.yaml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index c8aa78c4..385867b6 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -145,6 +145,9 @@ importers: playground: dependencies: + nuxi: + specifier: workspace:* + version: link:.. nuxt: specifier: ^3.15.1 version: 3.15.1(@parcel/watcher@2.5.0)(@types/node@22.10.5)(db0@0.2.1)(eslint@9.17.0(jiti@2.4.2))(ioredis@5.4.2)(magicast@0.3.5)(optionator@0.9.4)(rollup@4.29.2)(terser@5.37.0)(typescript@5.7.2)(vite@6.0.7(@types/node@22.10.5)(jiti@2.4.2)(terser@5.37.0)(yaml@2.7.0))(yaml@2.7.0)