Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
"eslint": "^10.4.1",
"exsolve": "^1.0.8",
"knip": "^6.16.1",
"nuxt": "^4.4.6",
"nuxt": "^4.4.8",
"pkg-pr-new": "^0.0.75",
"semver": "^7.8.2",
"std-env": "^4.1.0",
Expand Down
4 changes: 2 additions & 2 deletions packages/nuxi/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,8 @@
"devDependencies": {
"@bomb.sh/tab": "^0.0.15",
"@clack/prompts": "^1.5.1",
"@nuxt/kit": "^4.4.6",
"@nuxt/schema": "^4.4.6",
"@nuxt/kit": "^4.4.8",
"@nuxt/schema": "^4.4.8",
"@nuxt/test-utils": "^4.0.3",
"@types/debug": "^4.1.13",
"@types/node": "^24.13.1",
Expand Down
6 changes: 3 additions & 3 deletions packages/nuxt-cli/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
"prepack": "tsdown"
},
"peerDependencies": {
"@nuxt/schema": "^4.4.6"
"@nuxt/schema": "^4.4.8"
},
"peerDependenciesMeta": {
"@nuxt/schema": {
Expand Down Expand Up @@ -71,8 +71,8 @@
"youch": "^4.1.1"
},
"devDependencies": {
"@nuxt/kit": "^4.4.6",
"@nuxt/schema": "^4.4.6",
"@nuxt/kit": "^4.4.8",
"@nuxt/schema": "^4.4.8",
"@types/debug": "^4.1.13",
"@types/node": "^24.13.1",
"get-port-please": "^3.2.0",
Expand Down
15 changes: 15 additions & 0 deletions packages/nuxt-cli/test/e2e/runtimes.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -113,6 +113,11 @@

it('should serve the main page', { timeout: requestTimeout }, async () => {
const response = await fetch(server.url)
if (response.status !== 200) {
const body = await response.text().catch(() => '<unreadable>')
console.error(`[runtimes.spec][${runtimeName}] main page returned ${response.status}\n--- response body ---\n${body}\n--- server stdout ---\n${server.stdout}\n--- server stderr ---\n${server.stderr}\n--- end ---`)
expect.fail(`main page returned ${response.status} (see server output above)`)
}
expect(response.status).toBe(200)

const html = await response.text()
Expand Down Expand Up @@ -255,6 +260,8 @@
process: ChildProcess
url: string
port: number
readonly stdout: string
readonly stderr: string
close: () => Promise<void>
}

Expand Down Expand Up @@ -296,6 +303,12 @@
},
})

const captured = { stdout: '', stderr: '' }
child.stdout?.setEncoding('utf8')
child.stderr?.setEncoding('utf8')
child.stdout?.on('data', (chunk: string) => { captured.stdout += chunk })

Check failure on line 309 in packages/nuxt-cli/test/e2e/runtimes.spec.ts

View workflow job for this annotation

GitHub Actions / autofix

This line has 2 statements. Maximum allowed is 1

Check failure on line 309 in packages/nuxt-cli/test/e2e/runtimes.spec.ts

View workflow job for this annotation

GitHub Actions / autofix

This line has 2 statements. Maximum allowed is 1

Check failure on line 309 in packages/nuxt-cli/test/e2e/runtimes.spec.ts

View workflow job for this annotation

GitHub Actions / lint

This line has 2 statements. Maximum allowed is 1

Check failure on line 309 in packages/nuxt-cli/test/e2e/runtimes.spec.ts

View workflow job for this annotation

GitHub Actions / lint

This line has 2 statements. Maximum allowed is 1
child.stderr?.on('data', (chunk: string) => { captured.stderr += chunk })

Check failure on line 310 in packages/nuxt-cli/test/e2e/runtimes.spec.ts

View workflow job for this annotation

GitHub Actions / autofix

This line has 2 statements. Maximum allowed is 1

Check failure on line 310 in packages/nuxt-cli/test/e2e/runtimes.spec.ts

View workflow job for this annotation

GitHub Actions / autofix

This line has 2 statements. Maximum allowed is 1

Check failure on line 310 in packages/nuxt-cli/test/e2e/runtimes.spec.ts

View workflow job for this annotation

GitHub Actions / lint

This line has 2 statements. Maximum allowed is 1

Check failure on line 310 in packages/nuxt-cli/test/e2e/runtimes.spec.ts

View workflow job for this annotation

GitHub Actions / lint

This line has 2 statements. Maximum allowed is 1

try {
await waitForPort(port, { delay: 1000, retries: 25, host })
await vi.waitFor(async () => {
Expand All @@ -314,6 +327,8 @@
process: child,
url,
port,
get stdout() { return captured.stdout },
get stderr() { return captured.stderr },
close: async () => {
return new Promise<void>((resolve) => {
child.kill('SIGTERM')
Expand Down
13 changes: 13 additions & 0 deletions patches/@nuxt__vite-builder@4.4.8.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
diff --git a/dist/index.mjs b/dist/index.mjs
index d88d5c1fefbb0c6a2dc48368b25e5c6a96279c20..7ac7a96410f0c9eb71798a5b4479692a9ef9194f 100644
--- a/dist/index.mjs
+++ b/dist/index.mjs
@@ -488,7 +488,7 @@ function createViteNodeSocketServer(nuxt, ssrServer, clientServer, invalidates,
return server;
}
function listenAndRestrict(server, socketPath) {
- if (socketPath.startsWith("\\\\.\\pipe\\")) {
+ if (socketPath.startsWith("\\\\.\\pipe\\") || socketPath.startsWith("//./pipe/")) {
server.listen(socketPath);
return;
}
2 changes: 1 addition & 1 deletion playground/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"test": "vitest"
},
"dependencies": {
"nuxt": "^4.4.6",
"nuxt": "^4.4.8",
"vue-router": "^5.1.0"
},
"devDependencies": {
Expand Down
957 changes: 235 additions & 722 deletions pnpm-lock.yaml

Large diffs are not rendered by default.

5 changes: 4 additions & 1 deletion pnpm-workspace.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ verifyDepsBeforeRun: install

overrides:
'@nuxt/cli': workspace:*
'@nuxt/schema': 4.4.6
'@nuxt/schema': 4.4.8
create-nuxt: workspace:*
create-nuxt-app: workspace:*
eslint-plugin-jsdoc: 63.0.2
Expand All @@ -23,3 +23,6 @@ allowBuilds:
'@parcel/watcher': false
esbuild: false
unrs-resolver: false

patchedDependencies:
'@nuxt/vite-builder@4.4.8': patches/@nuxt__vite-builder@4.4.8.patch
Loading