Repository navigation
perf: Improve Tanstack Start components #442
Triggered via pull request
September 11, 2026 17:01
Status
Failure
Total duration
2m 43s
Artifacts
–
Annotations
4 errors
|
build
Process completed with exit code 1.
|
|
build
command (/home/runner/work/vitnode/vitnode/packages/create-vitnode-app) /home/runner/setup-pnpm/node_modules/.bin/bin/pnpm run test exited (1)
|
|
src/create/scaffold-invariants.test.ts > the generated application > mounts the API through a server route, not a Route Handler:
packages/create-vitnode-app/src/create/scaffold-invariants.test.ts#L50
AssertionError: expected 'import { createFileRoute } from "@tan…' to contain 'createFileRoute(\'/api/$\')'
- Expected
+ Received
- createFileRoute('/api/$')
+ import { createFileRoute } from "@tanstack/react-router";
+
+ import { apiBridge } from "@/server/vitnode-api.server";
+
+ export const Route = createFileRoute("/api/$")({
+ server: {
+ handlers: ({ createHandlers }) =>
+ createHandlers({ ANY: async ({ request }) => apiBridge(request) }),
+ },
+ });
+
❯ src/create/scaffold-invariants.test.ts:50:69
|
|
src/create/no-plugin-page-duplication.test.ts > the generated application > imports no package other than core and the router from a route file:
packages/create-vitnode-app/src/create/no-plugin-page-duplication.test.ts#L266
AssertionError: expected [ …(10) ] to deeply equal []
- Expected
+ Received
- []
+ [
+ "__root.tsx imports @/lib/i18n/shared",
+ "__root.tsx imports @/vitnode.config",
+ "_admin.tsx imports @/components/admin-shell",
+ "_admin.tsx imports @/lib/page-head",
+ "_main/index.tsx imports lucide-react",
+ "_main/index.tsx imports cn",
+ "_main/index.tsx imports lucide-react",
+ "_main/index.tsx imports @/lib/page-head",
+ "_main/index.tsx imports @/lib/vitnode-links",
+ "_main.tsx imports @/components/main-header",
+ ]
❯ src/create/no-plugin-page-duplication.test.ts:266:23
|