Skip to content
Merged
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 @@ -15,7 +15,7 @@
"format:check": "prettier --check --experimental-cli ."
},
"devDependencies": {
"oxlint": "^1.95.0",
"oxlint": "^1.96.0",
"prettier": "^3.10.1",
"turbo": "^2.11.13"
},
Expand Down
2 changes: 1 addition & 1 deletion packages/docs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,6 @@
"rsc-html-stream": "^0.0.8",
"typescript": "catalog:",
"vite": "catalog:",
"wrangler": "^4.168.0"
"wrangler": "^4.170.0"
}
}
3 changes: 3 additions & 0 deletions packages/static/e2e/tests/render-error.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,9 @@ async function readRscPayloads(outDir: string): Promise<string[]> {
}

test.describe("Build fails on render errors (#194)", () => {
// All tests build the same fixture, and Vite refuses to run concurrent
// builds of one project, so run them one at a time.
test.describe.configure({ mode: "default" });
// Each build takes a few seconds.
test.setTimeout(60000);

Expand Down
6 changes: 3 additions & 3 deletions packages/static/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -69,20 +69,20 @@
"license": "MIT",
"devDependencies": {
"@funstack/router": "^1.6.0",
"@playwright/test": "^1.65.1",
"@playwright/test": "^1.65.2",
"@types/node": "catalog:",
"@types/react": "^19.3.3",
"@types/react-dom": "^19.3.0",
"react": "catalog:",
"react-dom": "catalog:",
"tsdown": "^0.23.7",
"tsdown": "^0.23.8",
"typescript": "catalog:",
"vite": "catalog:",
"vitest": "^5.1.2"
},
"dependencies": {
"@funstack/skill-installer": "^1.1.0",
"@vitejs/plugin-rsc": "^0.5.39",
"@vitejs/plugin-rsc": "^0.5.41",
"react-error-boundary": "^6.1.6",
"rsc-html-stream": "^0.0.8",
"srvx": "^1.0.8"
Expand Down
5 changes: 4 additions & 1 deletion packages/static/src/plugin/index.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,10 @@ function loadVirtualModule(
if (!loadHandler) {
throw new Error("load hook not found");
}
const code = loadHandler.call({} as never, id, undefined);
const code = loadHandler.call({} as never, id, {
rawId: id,
attributes: {},
});
if (typeof code !== "string") {
throw new Error(`load did not return code for ${id}`);
}
Expand Down
Loading