diff --git a/solid-v2/basic/file-routes.d.ts b/solid-v2/basic/file-routes.d.ts index 0cc00d88..e526dc13 100644 --- a/solid-v2/basic/file-routes.d.ts +++ b/solid-v2/basic/file-routes.d.ts @@ -37,31 +37,31 @@ declare module "virtual:file-routes" { { path: "/*404"; page: true; - $component: FileRouteLazyRef; - $$route: FileRouteEagerRef; + $component: FileRouteLazyRef>>; + $$route: FileRouteEagerRef>>; }, { path: "/"; page: true; - $component: FileRouteLazyRef; + $component: FileRouteLazyRef>>; $$route?: undefined; }, { path: "/users"; page: true; - $component: FileRouteLazyRef; + $component: FileRouteLazyRef>>; $$route?: undefined; }, { path: "/users/:id"; page: true; - $component: FileRouteLazyRef; - $$route: FileRouteEagerRef; + $component: FileRouteLazyRef>>; + $$route: FileRouteEagerRef>>; }, { path: "/users/"; page: true; - $component: FileRouteLazyRef; + $component: FileRouteLazyRef>>; $$route?: undefined; } ]; @@ -73,7 +73,7 @@ declare module "virtual:file-routes" { path: "/"; id: "/"; page: true; - $component: FileRouteLazyRef; + $component: FileRouteLazyRef>>; $$route?: undefined; children?: undefined; }, @@ -81,22 +81,22 @@ declare module "virtual:file-routes" { path: "/*404"; id: "/*404"; page: true; - $component: FileRouteLazyRef; - $$route: FileRouteEagerRef; + $component: FileRouteLazyRef>>; + $$route: FileRouteEagerRef>>; children?: undefined; }, { path: "/users"; id: "/users"; page: true; - $component: FileRouteLazyRef; + $component: FileRouteLazyRef>>; $$route?: undefined; children: readonly [ { path: "/"; id: "/"; page: true; - $component: FileRouteLazyRef; + $component: FileRouteLazyRef>>; $$route?: undefined; children?: undefined; }, @@ -104,8 +104,8 @@ declare module "virtual:file-routes" { path: "/:id"; id: "/:id"; page: true; - $component: FileRouteLazyRef; - $$route: FileRouteEagerRef; + $component: FileRouteLazyRef>>; + $$route: FileRouteEagerRef>>; children?: undefined; } ]; diff --git a/solid-v2/basic/package.json b/solid-v2/basic/package.json index 5bf2b417..a8b9b36a 100644 --- a/solid-v2/basic/package.json +++ b/solid-v2/basic/package.json @@ -17,7 +17,7 @@ "@solidjs/vite-plugin": "^3.0.0-next.54", "@testing-library/jest-dom": "^7.0.0", "eslint-plugin-solid": "~0.18.1", - "filesystem-routing": "0.4.0", + "filesystem-routing": "0.4.2", "jsdom": "^25.0.1", "oxlint": "~1.79.0", "typescript": "^5.9.2", diff --git a/solid-v2/basic/pnpm-lock.yaml b/solid-v2/basic/pnpm-lock.yaml index 39d07309..3db3a2d7 100644 --- a/solid-v2/basic/pnpm-lock.yaml +++ b/solid-v2/basic/pnpm-lock.yaml @@ -13,7 +13,7 @@ importers: version: 1.0.0-next.2(@solidjs/web@2.0.0-rc.20(solid-js@2.0.0-rc.20))(solid-js@2.0.0-rc.20) '@solidjs/router': specifier: ^2.0.0-next.43 - version: 2.0.0-next.43(@solidjs/web@2.0.0-rc.20(solid-js@2.0.0-rc.20))(filesystem-routing@0.4.0(vite@8.3.0))(solid-js@2.0.0-rc.20) + version: 2.0.0-next.43(@solidjs/web@2.0.0-rc.20(solid-js@2.0.0-rc.20))(filesystem-routing@0.4.2(vite@8.3.0))(solid-js@2.0.0-rc.20) '@solidjs/web': specifier: ^2.0.0-rc.20 version: 2.0.0-rc.20(solid-js@2.0.0-rc.20) @@ -37,8 +37,8 @@ importers: specifier: ~0.18.1 version: 0.18.1(eslint@10.10.0)(typescript@5.9.3) filesystem-routing: - specifier: 0.4.0 - version: 0.4.0(vite@8.3.0) + specifier: 0.4.2 + version: 0.4.2(vite@8.3.0) jsdom: specifier: ^25.0.1 version: 25.0.1 @@ -1088,8 +1088,8 @@ packages: file-entry-cache@11.1.5: resolution: {integrity: sha512-+PFTHITI08JIGhnNpGNI8T8inUpgZfk3GNEqfT9R2zZV2iFXg3CvqzSl/uEhs7TSGujYRELEANyDvS8Fj7+S7Q==} - filesystem-routing@0.4.0: - resolution: {integrity: sha512-HSGdLhrkYgF4/E0IKxirCShkrGUfvavQuOOP2Nio0dCxp/PrhiATGWQPUODUJuDavD+N6hIp1K7e/rh347o9nw==} + filesystem-routing@0.4.2: + resolution: {integrity: sha512-dsiTu+6Q0up9MDEUBujHYXOelbgiZgjHnbQhrH1fMmVFHc2UefFQoLOaPKIR/I5f56lAwyZQeSZrZ6CzXJMJUw==} peerDependencies: '@tsrx/oxc': '>=0.9.0' vite: ^6.0.0 || ^7.0.0 || ^8.0.0 @@ -2306,12 +2306,12 @@ snapshots: '@solidjs/web': 2.0.0-rc.20(solid-js@2.0.0-rc.20) solid-js: 2.0.0-rc.20 - '@solidjs/router@2.0.0-next.43(@solidjs/web@2.0.0-rc.20(solid-js@2.0.0-rc.20))(filesystem-routing@0.4.0(vite@8.3.0))(solid-js@2.0.0-rc.20)': + '@solidjs/router@2.0.0-next.43(@solidjs/web@2.0.0-rc.20(solid-js@2.0.0-rc.20))(filesystem-routing@0.4.2(vite@8.3.0))(solid-js@2.0.0-rc.20)': dependencies: '@solidjs/web': 2.0.0-rc.20(solid-js@2.0.0-rc.20) solid-js: 2.0.0-rc.20 optionalDependencies: - filesystem-routing: 0.4.0(vite@8.3.0) + filesystem-routing: 0.4.2(vite@8.3.0) '@solidjs/signals@2.0.0-rc.20': {} @@ -2728,7 +2728,7 @@ snapshots: dependencies: flat-cache: 6.1.23 - filesystem-routing@0.4.0(vite@8.3.0): + filesystem-routing@0.4.2(vite@8.3.0): dependencies: '@babel/core': 7.29.7 '@types/babel__core': 7.20.5 diff --git a/solid-v2/fullstack-tanstack/package.json b/solid-v2/fullstack-tanstack/package.json index 41d34188..3e62cfa4 100644 --- a/solid-v2/fullstack-tanstack/package.json +++ b/solid-v2/fullstack-tanstack/package.json @@ -20,7 +20,7 @@ "@testing-library/jest-dom": "^7.0.0", "@types/node": "^26.2.0", "eslint-plugin-solid": "~0.18.1", - "filesystem-routing": "0.4.0", + "filesystem-routing": "0.4.2", "jsdom": "^25.0.1", "oxlint": "~1.79.0", "typescript": "^5.9.2", diff --git a/solid-v2/fullstack-tanstack/pnpm-lock.yaml b/solid-v2/fullstack-tanstack/pnpm-lock.yaml index 2b7a06f5..8adbe0c9 100644 --- a/solid-v2/fullstack-tanstack/pnpm-lock.yaml +++ b/solid-v2/fullstack-tanstack/pnpm-lock.yaml @@ -49,8 +49,8 @@ importers: specifier: ~0.18.1 version: 0.18.1(eslint@10.10.0(jiti@2.7.0))(typescript@5.9.3) filesystem-routing: - specifier: 0.4.0 - version: 0.4.0(vite@8.3.0(@types/node@26.6.1)(jiti@2.7.0)) + specifier: 0.4.2 + version: 0.4.2(vite@8.3.0(@types/node@26.6.1)(jiti@2.7.0)) jsdom: specifier: ^25.0.1 version: 25.0.1 @@ -1275,8 +1275,8 @@ packages: file-entry-cache@11.1.5: resolution: {integrity: sha512-+PFTHITI08JIGhnNpGNI8T8inUpgZfk3GNEqfT9R2zZV2iFXg3CvqzSl/uEhs7TSGujYRELEANyDvS8Fj7+S7Q==} - filesystem-routing@0.4.0: - resolution: {integrity: sha512-HSGdLhrkYgF4/E0IKxirCShkrGUfvavQuOOP2Nio0dCxp/PrhiATGWQPUODUJuDavD+N6hIp1K7e/rh347o9nw==} + filesystem-routing@0.4.2: + resolution: {integrity: sha512-dsiTu+6Q0up9MDEUBujHYXOelbgiZgjHnbQhrH1fMmVFHc2UefFQoLOaPKIR/I5f56lAwyZQeSZrZ6CzXJMJUw==} peerDependencies: '@tsrx/oxc': '>=0.9.0' vite: ^6.0.0 || ^7.0.0 || ^8.0.0 @@ -3241,7 +3241,7 @@ snapshots: dependencies: flat-cache: 6.1.23 - filesystem-routing@0.4.0(vite@8.3.0(@types/node@26.6.1)(jiti@2.7.0)): + filesystem-routing@0.4.2(vite@8.3.0(@types/node@26.6.1)(jiti@2.7.0)): dependencies: '@babel/core': 7.29.7 '@types/babel__core': 7.20.5 diff --git a/solid-v2/fullstack-tanstack/src/middleware.ts b/solid-v2/fullstack-tanstack/src/middleware.ts index c15bed52..53c022bc 100644 --- a/solid-v2/fullstack-tanstack/src/middleware.ts +++ b/solid-v2/fullstack-tanstack/src/middleware.ts @@ -14,11 +14,6 @@ import routes from 'virtual:file-routes'; // createAPIHandler serves the GET/POST/... exports of the modules under // src/api (mounted at /api — see the fileRoutes config in vite.config.ts) -// and passes everything else down the chain. It still speaks the previous -// (request, next) shape and calls next() with no arguments, so adapt it -// onto the event. -const api = createAPIHandler(routes); - -const handleAPI: StartMiddleware = (event, next) => api(event.request, next); - -export default [handleAPI]; +// and passes everything else down the chain. It takes the request event +// directly and hands that same event to the handler (params written onto it). +export default [createAPIHandler(routes)] satisfies StartMiddleware[]; diff --git a/solid-v2/fullstack/README.md b/solid-v2/fullstack/README.md index e7d4ad57..592da2d9 100644 --- a/solid-v2/fullstack/README.md +++ b/solid-v2/fullstack/README.md @@ -53,7 +53,7 @@ The plugin folds `.env` files into `process.env` for dev, build, and preview — `src/middleware.ts` (wired via `start.middleware` in `vite.config.ts`) exports a chain of event-first functions, `(event, next) => Response`, fronting every request — page renders, server function calls, and API routes alike. The request is `event.request`. `next()` takes no arguments; assign `event.request` before calling it to hand a different request downstream, and set `event.nonce` or `event.renderMode` on the event before `next()` when a request needs them (the page render runs inside it). The chain runs inside the request-event scope, so `getRequestEvent()` and the session helpers work there exactly as in application code. -A route module may export uppercase `GET`/`POST`/... handlers — an API route. A module with handlers but no default export is a route without a page (`src/routes/api/users.ts`). Handlers are dispatched by the `createAPIHandler` middleware; `fileRoutes({ httpMethods: true })` scans for them with one router serving both sides — handler modules, and the server-only code they import, never enter the client bundle. `createAPIHandler` still takes `(request, next)`, so the template adapts it onto the event-first chain. +A route module may export uppercase `GET`/`POST`/... handlers — an API route. A module with handlers but no default export is a route without a page (`src/routes/api/users.ts`). Handlers are dispatched by the `createAPIHandler` middleware; `fileRoutes({ httpMethods: true })` scans for them with one router serving both sides — handler modules, and the server-only code they import, never enter the client bundle. `createAPIHandler` fits the event-first chain as is: it receives the request event and hands that same event to the handler. ## File-system routing diff --git a/solid-v2/fullstack/file-routes.d.ts b/solid-v2/fullstack/file-routes.d.ts index 97b302e0..65e49b9a 100644 --- a/solid-v2/fullstack/file-routes.d.ts +++ b/solid-v2/fullstack/file-routes.d.ts @@ -37,38 +37,38 @@ declare module "virtual:file-routes" { { path: "/*404"; page: true; - $component: FileRouteLazyRef; - $$route: FileRouteEagerRef; + $component: FileRouteLazyRef>>; + $$route: FileRouteEagerRef>>; }, { path: "/api/users"; page: false; - $GET: FileRouteLazyRef; - $HEAD: FileRouteLazyRef; + $GET: FileRouteLazyRef>>; + $HEAD: FileRouteLazyRef>>; $$route?: undefined; }, { path: "/"; page: true; - $component: FileRouteLazyRef; - $$route: FileRouteEagerRef; + $component: FileRouteLazyRef>>; + $$route: FileRouteEagerRef>>; }, { path: "/users"; page: true; - $component: FileRouteLazyRef; - $$route: FileRouteEagerRef; + $component: FileRouteLazyRef>>; + $$route: FileRouteEagerRef>>; }, { path: "/users/:id"; page: true; - $component: FileRouteLazyRef; - $$route: FileRouteEagerRef; + $component: FileRouteLazyRef>>; + $$route: FileRouteEagerRef>>; }, { path: "/users/"; page: true; - $component: FileRouteLazyRef; + $component: FileRouteLazyRef>>; $$route?: undefined; } ]; @@ -80,30 +80,30 @@ declare module "virtual:file-routes" { path: "/"; id: "/"; page: true; - $component: FileRouteLazyRef; - $$route: FileRouteEagerRef; + $component: FileRouteLazyRef>>; + $$route: FileRouteEagerRef>>; children?: undefined; }, { path: "/*404"; id: "/*404"; page: true; - $component: FileRouteLazyRef; - $$route: FileRouteEagerRef; + $component: FileRouteLazyRef>>; + $$route: FileRouteEagerRef>>; children?: undefined; }, { path: "/users"; id: "/users"; page: true; - $component: FileRouteLazyRef; - $$route: FileRouteEagerRef; + $component: FileRouteLazyRef>>; + $$route: FileRouteEagerRef>>; children: readonly [ { path: "/"; id: "/"; page: true; - $component: FileRouteLazyRef; + $component: FileRouteLazyRef>>; $$route?: undefined; children?: undefined; }, @@ -111,8 +111,8 @@ declare module "virtual:file-routes" { path: "/:id"; id: "/:id"; page: true; - $component: FileRouteLazyRef; - $$route: FileRouteEagerRef; + $component: FileRouteLazyRef>>; + $$route: FileRouteEagerRef>>; children?: undefined; } ]; diff --git a/solid-v2/fullstack/package.json b/solid-v2/fullstack/package.json index 1ece90ab..66e7688e 100644 --- a/solid-v2/fullstack/package.json +++ b/solid-v2/fullstack/package.json @@ -19,7 +19,7 @@ "@testing-library/jest-dom": "^7.0.0", "@types/node": "^26.2.0", "eslint-plugin-solid": "~0.18.1", - "filesystem-routing": "0.4.0", + "filesystem-routing": "0.4.2", "jsdom": "^25.0.1", "oxlint": "~1.79.0", "typescript": "^5.9.2", diff --git a/solid-v2/fullstack/pnpm-lock.yaml b/solid-v2/fullstack/pnpm-lock.yaml index 9609acd1..dd2a9a55 100644 --- a/solid-v2/fullstack/pnpm-lock.yaml +++ b/solid-v2/fullstack/pnpm-lock.yaml @@ -16,7 +16,7 @@ importers: version: 1.0.0-next.2(@solidjs/web@2.0.0-rc.20(solid-js@2.0.0-rc.20))(solid-js@2.0.0-rc.20) '@solidjs/router': specifier: ^2.0.0-next.43 - version: 2.0.0-next.43(@solidjs/web@2.0.0-rc.20(solid-js@2.0.0-rc.20))(filesystem-routing@0.4.0(vite@8.3.0(@types/node@26.6.1)))(solid-js@2.0.0-rc.20) + version: 2.0.0-next.43(@solidjs/web@2.0.0-rc.20(solid-js@2.0.0-rc.20))(filesystem-routing@0.4.2(vite@8.3.0(@types/node@26.6.1)))(solid-js@2.0.0-rc.20) '@solidjs/web': specifier: ^2.0.0-rc.20 version: 2.0.0-rc.20(solid-js@2.0.0-rc.20) @@ -46,8 +46,8 @@ importers: specifier: ~0.18.1 version: 0.18.1(eslint@10.10.0)(typescript@5.9.3) filesystem-routing: - specifier: 0.4.0 - version: 0.4.0(vite@8.3.0(@types/node@26.6.1)) + specifier: 0.4.2 + version: 0.4.2(vite@8.3.0(@types/node@26.6.1)) jsdom: specifier: ^25.0.1 version: 25.0.1 @@ -1106,8 +1106,8 @@ packages: file-entry-cache@11.1.5: resolution: {integrity: sha512-+PFTHITI08JIGhnNpGNI8T8inUpgZfk3GNEqfT9R2zZV2iFXg3CvqzSl/uEhs7TSGujYRELEANyDvS8Fj7+S7Q==} - filesystem-routing@0.4.0: - resolution: {integrity: sha512-HSGdLhrkYgF4/E0IKxirCShkrGUfvavQuOOP2Nio0dCxp/PrhiATGWQPUODUJuDavD+N6hIp1K7e/rh347o9nw==} + filesystem-routing@0.4.2: + resolution: {integrity: sha512-dsiTu+6Q0up9MDEUBujHYXOelbgiZgjHnbQhrH1fMmVFHc2UefFQoLOaPKIR/I5f56lAwyZQeSZrZ6CzXJMJUw==} peerDependencies: '@tsrx/oxc': '>=0.9.0' vite: ^6.0.0 || ^7.0.0 || ^8.0.0 @@ -2341,12 +2341,12 @@ snapshots: '@solidjs/web': 2.0.0-rc.20(solid-js@2.0.0-rc.20) solid-js: 2.0.0-rc.20 - '@solidjs/router@2.0.0-next.43(@solidjs/web@2.0.0-rc.20(solid-js@2.0.0-rc.20))(filesystem-routing@0.4.0(vite@8.3.0(@types/node@26.6.1)))(solid-js@2.0.0-rc.20)': + '@solidjs/router@2.0.0-next.43(@solidjs/web@2.0.0-rc.20(solid-js@2.0.0-rc.20))(filesystem-routing@0.4.2(vite@8.3.0(@types/node@26.6.1)))(solid-js@2.0.0-rc.20)': dependencies: '@solidjs/web': 2.0.0-rc.20(solid-js@2.0.0-rc.20) solid-js: 2.0.0-rc.20 optionalDependencies: - filesystem-routing: 0.4.0(vite@8.3.0(@types/node@26.6.1)) + filesystem-routing: 0.4.2(vite@8.3.0(@types/node@26.6.1)) '@solidjs/signals@2.0.0-rc.20': {} @@ -2767,7 +2767,7 @@ snapshots: dependencies: flat-cache: 6.1.23 - filesystem-routing@0.4.0(vite@8.3.0(@types/node@26.6.1)): + filesystem-routing@0.4.2(vite@8.3.0(@types/node@26.6.1)): dependencies: '@babel/core': 7.29.7 '@types/babel__core': 7.20.5 diff --git a/solid-v2/fullstack/src/middleware.ts b/solid-v2/fullstack/src/middleware.ts index a007eb31..547202d4 100644 --- a/solid-v2/fullstack/src/middleware.ts +++ b/solid-v2/fullstack/src/middleware.ts @@ -13,11 +13,7 @@ import { createAPIHandler } from 'filesystem-routing/api'; import routes from 'virtual:file-routes'; // createAPIHandler serves the GET/POST/... exports of route modules -// (see src/routes/api) and passes everything else down the chain. It still -// speaks the previous (request, next) shape and calls next() with no -// arguments, so adapt it onto the event. -const api = createAPIHandler(routes); - -const handleAPI: StartMiddleware = (event, next) => api(event.request, next); - -export default [handleAPI]; +// (see src/routes/api) and passes everything else down the chain. It takes +// the request event directly and hands that same event to the handler, with +// the matched params written onto it. +export default [createAPIHandler(routes)] satisfies StartMiddleware[]; diff --git a/solid-v2/with-bootstrap/file-routes.d.ts b/solid-v2/with-bootstrap/file-routes.d.ts index 0cc00d88..e526dc13 100644 --- a/solid-v2/with-bootstrap/file-routes.d.ts +++ b/solid-v2/with-bootstrap/file-routes.d.ts @@ -37,31 +37,31 @@ declare module "virtual:file-routes" { { path: "/*404"; page: true; - $component: FileRouteLazyRef; - $$route: FileRouteEagerRef; + $component: FileRouteLazyRef>>; + $$route: FileRouteEagerRef>>; }, { path: "/"; page: true; - $component: FileRouteLazyRef; + $component: FileRouteLazyRef>>; $$route?: undefined; }, { path: "/users"; page: true; - $component: FileRouteLazyRef; + $component: FileRouteLazyRef>>; $$route?: undefined; }, { path: "/users/:id"; page: true; - $component: FileRouteLazyRef; - $$route: FileRouteEagerRef; + $component: FileRouteLazyRef>>; + $$route: FileRouteEagerRef>>; }, { path: "/users/"; page: true; - $component: FileRouteLazyRef; + $component: FileRouteLazyRef>>; $$route?: undefined; } ]; @@ -73,7 +73,7 @@ declare module "virtual:file-routes" { path: "/"; id: "/"; page: true; - $component: FileRouteLazyRef; + $component: FileRouteLazyRef>>; $$route?: undefined; children?: undefined; }, @@ -81,22 +81,22 @@ declare module "virtual:file-routes" { path: "/*404"; id: "/*404"; page: true; - $component: FileRouteLazyRef; - $$route: FileRouteEagerRef; + $component: FileRouteLazyRef>>; + $$route: FileRouteEagerRef>>; children?: undefined; }, { path: "/users"; id: "/users"; page: true; - $component: FileRouteLazyRef; + $component: FileRouteLazyRef>>; $$route?: undefined; children: readonly [ { path: "/"; id: "/"; page: true; - $component: FileRouteLazyRef; + $component: FileRouteLazyRef>>; $$route?: undefined; children?: undefined; }, @@ -104,8 +104,8 @@ declare module "virtual:file-routes" { path: "/:id"; id: "/:id"; page: true; - $component: FileRouteLazyRef; - $$route: FileRouteEagerRef; + $component: FileRouteLazyRef>>; + $$route: FileRouteEagerRef>>; children?: undefined; } ]; diff --git a/solid-v2/with-bootstrap/package.json b/solid-v2/with-bootstrap/package.json index b887709f..036f42b7 100644 --- a/solid-v2/with-bootstrap/package.json +++ b/solid-v2/with-bootstrap/package.json @@ -17,7 +17,7 @@ "@solidjs/vite-plugin": "^3.0.0-next.54", "@testing-library/jest-dom": "^7.0.0", "eslint-plugin-solid": "~0.18.1", - "filesystem-routing": "0.4.0", + "filesystem-routing": "0.4.2", "jsdom": "^25.0.1", "oxlint": "~1.79.0", "typescript": "^5.9.2", diff --git a/solid-v2/with-bootstrap/pnpm-lock.yaml b/solid-v2/with-bootstrap/pnpm-lock.yaml index ade37ab2..6f797f85 100644 --- a/solid-v2/with-bootstrap/pnpm-lock.yaml +++ b/solid-v2/with-bootstrap/pnpm-lock.yaml @@ -13,7 +13,7 @@ importers: version: 1.0.0-next.2(@solidjs/web@2.0.0-rc.20(solid-js@2.0.0-rc.20))(solid-js@2.0.0-rc.20) '@solidjs/router': specifier: ^2.0.0-next.43 - version: 2.0.0-next.43(@solidjs/web@2.0.0-rc.20(solid-js@2.0.0-rc.20))(filesystem-routing@0.4.0(vite@8.3.0))(solid-js@2.0.0-rc.20) + version: 2.0.0-next.43(@solidjs/web@2.0.0-rc.20(solid-js@2.0.0-rc.20))(filesystem-routing@0.4.2(vite@8.3.0))(solid-js@2.0.0-rc.20) '@solidjs/web': specifier: ^2.0.0-rc.20 version: 2.0.0-rc.20(solid-js@2.0.0-rc.20) @@ -40,8 +40,8 @@ importers: specifier: ~0.18.1 version: 0.18.1(eslint@10.10.0)(typescript@5.9.3) filesystem-routing: - specifier: 0.4.0 - version: 0.4.0(vite@8.3.0) + specifier: 0.4.2 + version: 0.4.2(vite@8.3.0) jsdom: specifier: ^25.0.1 version: 25.0.1 @@ -1099,8 +1099,8 @@ packages: file-entry-cache@11.1.5: resolution: {integrity: sha512-+PFTHITI08JIGhnNpGNI8T8inUpgZfk3GNEqfT9R2zZV2iFXg3CvqzSl/uEhs7TSGujYRELEANyDvS8Fj7+S7Q==} - filesystem-routing@0.4.0: - resolution: {integrity: sha512-HSGdLhrkYgF4/E0IKxirCShkrGUfvavQuOOP2Nio0dCxp/PrhiATGWQPUODUJuDavD+N6hIp1K7e/rh347o9nw==} + filesystem-routing@0.4.2: + resolution: {integrity: sha512-dsiTu+6Q0up9MDEUBujHYXOelbgiZgjHnbQhrH1fMmVFHc2UefFQoLOaPKIR/I5f56lAwyZQeSZrZ6CzXJMJUw==} peerDependencies: '@tsrx/oxc': '>=0.9.0' vite: ^6.0.0 || ^7.0.0 || ^8.0.0 @@ -2319,12 +2319,12 @@ snapshots: '@solidjs/web': 2.0.0-rc.20(solid-js@2.0.0-rc.20) solid-js: 2.0.0-rc.20 - '@solidjs/router@2.0.0-next.43(@solidjs/web@2.0.0-rc.20(solid-js@2.0.0-rc.20))(filesystem-routing@0.4.0(vite@8.3.0))(solid-js@2.0.0-rc.20)': + '@solidjs/router@2.0.0-next.43(@solidjs/web@2.0.0-rc.20(solid-js@2.0.0-rc.20))(filesystem-routing@0.4.2(vite@8.3.0))(solid-js@2.0.0-rc.20)': dependencies: '@solidjs/web': 2.0.0-rc.20(solid-js@2.0.0-rc.20) solid-js: 2.0.0-rc.20 optionalDependencies: - filesystem-routing: 0.4.0(vite@8.3.0) + filesystem-routing: 0.4.2(vite@8.3.0) '@solidjs/signals@2.0.0-rc.20': {} @@ -2745,7 +2745,7 @@ snapshots: dependencies: flat-cache: 6.1.23 - filesystem-routing@0.4.0(vite@8.3.0): + filesystem-routing@0.4.2(vite@8.3.0): dependencies: '@babel/core': 7.29.7 '@types/babel__core': 7.20.5 diff --git a/solid-v2/with-sass/file-routes.d.ts b/solid-v2/with-sass/file-routes.d.ts index 0cc00d88..e526dc13 100644 --- a/solid-v2/with-sass/file-routes.d.ts +++ b/solid-v2/with-sass/file-routes.d.ts @@ -37,31 +37,31 @@ declare module "virtual:file-routes" { { path: "/*404"; page: true; - $component: FileRouteLazyRef; - $$route: FileRouteEagerRef; + $component: FileRouteLazyRef>>; + $$route: FileRouteEagerRef>>; }, { path: "/"; page: true; - $component: FileRouteLazyRef; + $component: FileRouteLazyRef>>; $$route?: undefined; }, { path: "/users"; page: true; - $component: FileRouteLazyRef; + $component: FileRouteLazyRef>>; $$route?: undefined; }, { path: "/users/:id"; page: true; - $component: FileRouteLazyRef; - $$route: FileRouteEagerRef; + $component: FileRouteLazyRef>>; + $$route: FileRouteEagerRef>>; }, { path: "/users/"; page: true; - $component: FileRouteLazyRef; + $component: FileRouteLazyRef>>; $$route?: undefined; } ]; @@ -73,7 +73,7 @@ declare module "virtual:file-routes" { path: "/"; id: "/"; page: true; - $component: FileRouteLazyRef; + $component: FileRouteLazyRef>>; $$route?: undefined; children?: undefined; }, @@ -81,22 +81,22 @@ declare module "virtual:file-routes" { path: "/*404"; id: "/*404"; page: true; - $component: FileRouteLazyRef; - $$route: FileRouteEagerRef; + $component: FileRouteLazyRef>>; + $$route: FileRouteEagerRef>>; children?: undefined; }, { path: "/users"; id: "/users"; page: true; - $component: FileRouteLazyRef; + $component: FileRouteLazyRef>>; $$route?: undefined; children: readonly [ { path: "/"; id: "/"; page: true; - $component: FileRouteLazyRef; + $component: FileRouteLazyRef>>; $$route?: undefined; children?: undefined; }, @@ -104,8 +104,8 @@ declare module "virtual:file-routes" { path: "/:id"; id: "/:id"; page: true; - $component: FileRouteLazyRef; - $$route: FileRouteEagerRef; + $component: FileRouteLazyRef>>; + $$route: FileRouteEagerRef>>; children?: undefined; } ]; diff --git a/solid-v2/with-sass/package.json b/solid-v2/with-sass/package.json index 08442668..0e0c685b 100644 --- a/solid-v2/with-sass/package.json +++ b/solid-v2/with-sass/package.json @@ -17,7 +17,7 @@ "@solidjs/vite-plugin": "^3.0.0-next.54", "@testing-library/jest-dom": "^7.0.0", "eslint-plugin-solid": "~0.18.1", - "filesystem-routing": "0.4.0", + "filesystem-routing": "0.4.2", "jsdom": "^25.0.1", "oxlint": "~1.79.0", "sass": "^1.83.0", diff --git a/solid-v2/with-sass/pnpm-lock.yaml b/solid-v2/with-sass/pnpm-lock.yaml index 51cc5399..599bd16f 100644 --- a/solid-v2/with-sass/pnpm-lock.yaml +++ b/solid-v2/with-sass/pnpm-lock.yaml @@ -13,7 +13,7 @@ importers: version: 1.0.0-next.2(@solidjs/web@2.0.0-rc.20(solid-js@2.0.0-rc.20))(solid-js@2.0.0-rc.20) '@solidjs/router': specifier: ^2.0.0-next.43 - version: 2.0.0-next.43(@solidjs/web@2.0.0-rc.20(solid-js@2.0.0-rc.20))(filesystem-routing@0.4.0(vite@8.3.0(sass@1.104.1)))(solid-js@2.0.0-rc.20) + version: 2.0.0-next.43(@solidjs/web@2.0.0-rc.20(solid-js@2.0.0-rc.20))(filesystem-routing@0.4.2(vite@8.3.0(sass@1.104.1)))(solid-js@2.0.0-rc.20) '@solidjs/web': specifier: ^2.0.0-rc.20 version: 2.0.0-rc.20(solid-js@2.0.0-rc.20) @@ -37,8 +37,8 @@ importers: specifier: ~0.18.1 version: 0.18.1(eslint@10.10.0)(typescript@5.9.3) filesystem-routing: - specifier: 0.4.0 - version: 0.4.0(vite@8.3.0(sass@1.104.1)) + specifier: 0.4.2 + version: 0.4.2(vite@8.3.0(sass@1.104.1)) jsdom: specifier: ^25.0.1 version: 25.0.1 @@ -1171,8 +1171,8 @@ packages: file-entry-cache@11.1.5: resolution: {integrity: sha512-+PFTHITI08JIGhnNpGNI8T8inUpgZfk3GNEqfT9R2zZV2iFXg3CvqzSl/uEhs7TSGujYRELEANyDvS8Fj7+S7Q==} - filesystem-routing@0.4.0: - resolution: {integrity: sha512-HSGdLhrkYgF4/E0IKxirCShkrGUfvavQuOOP2Nio0dCxp/PrhiATGWQPUODUJuDavD+N6hIp1K7e/rh347o9nw==} + filesystem-routing@0.4.2: + resolution: {integrity: sha512-dsiTu+6Q0up9MDEUBujHYXOelbgiZgjHnbQhrH1fMmVFHc2UefFQoLOaPKIR/I5f56lAwyZQeSZrZ6CzXJMJUw==} peerDependencies: '@tsrx/oxc': '>=0.9.0' vite: ^6.0.0 || ^7.0.0 || ^8.0.0 @@ -2461,12 +2461,12 @@ snapshots: '@solidjs/web': 2.0.0-rc.20(solid-js@2.0.0-rc.20) solid-js: 2.0.0-rc.20 - '@solidjs/router@2.0.0-next.43(@solidjs/web@2.0.0-rc.20(solid-js@2.0.0-rc.20))(filesystem-routing@0.4.0(vite@8.3.0(sass@1.104.1)))(solid-js@2.0.0-rc.20)': + '@solidjs/router@2.0.0-next.43(@solidjs/web@2.0.0-rc.20(solid-js@2.0.0-rc.20))(filesystem-routing@0.4.2(vite@8.3.0(sass@1.104.1)))(solid-js@2.0.0-rc.20)': dependencies: '@solidjs/web': 2.0.0-rc.20(solid-js@2.0.0-rc.20) solid-js: 2.0.0-rc.20 optionalDependencies: - filesystem-routing: 0.4.0(vite@8.3.0(sass@1.104.1)) + filesystem-routing: 0.4.2(vite@8.3.0(sass@1.104.1)) '@solidjs/signals@2.0.0-rc.20': {} @@ -2887,7 +2887,7 @@ snapshots: dependencies: flat-cache: 6.1.23 - filesystem-routing@0.4.0(vite@8.3.0(sass@1.104.1)): + filesystem-routing@0.4.2(vite@8.3.0(sass@1.104.1)): dependencies: '@babel/core': 7.29.7 '@types/babel__core': 7.20.5 diff --git a/solid-v2/with-tailwindcss/file-routes.d.ts b/solid-v2/with-tailwindcss/file-routes.d.ts index 0cc00d88..e526dc13 100644 --- a/solid-v2/with-tailwindcss/file-routes.d.ts +++ b/solid-v2/with-tailwindcss/file-routes.d.ts @@ -37,31 +37,31 @@ declare module "virtual:file-routes" { { path: "/*404"; page: true; - $component: FileRouteLazyRef; - $$route: FileRouteEagerRef; + $component: FileRouteLazyRef>>; + $$route: FileRouteEagerRef>>; }, { path: "/"; page: true; - $component: FileRouteLazyRef; + $component: FileRouteLazyRef>>; $$route?: undefined; }, { path: "/users"; page: true; - $component: FileRouteLazyRef; + $component: FileRouteLazyRef>>; $$route?: undefined; }, { path: "/users/:id"; page: true; - $component: FileRouteLazyRef; - $$route: FileRouteEagerRef; + $component: FileRouteLazyRef>>; + $$route: FileRouteEagerRef>>; }, { path: "/users/"; page: true; - $component: FileRouteLazyRef; + $component: FileRouteLazyRef>>; $$route?: undefined; } ]; @@ -73,7 +73,7 @@ declare module "virtual:file-routes" { path: "/"; id: "/"; page: true; - $component: FileRouteLazyRef; + $component: FileRouteLazyRef>>; $$route?: undefined; children?: undefined; }, @@ -81,22 +81,22 @@ declare module "virtual:file-routes" { path: "/*404"; id: "/*404"; page: true; - $component: FileRouteLazyRef; - $$route: FileRouteEagerRef; + $component: FileRouteLazyRef>>; + $$route: FileRouteEagerRef>>; children?: undefined; }, { path: "/users"; id: "/users"; page: true; - $component: FileRouteLazyRef; + $component: FileRouteLazyRef>>; $$route?: undefined; children: readonly [ { path: "/"; id: "/"; page: true; - $component: FileRouteLazyRef; + $component: FileRouteLazyRef>>; $$route?: undefined; children?: undefined; }, @@ -104,8 +104,8 @@ declare module "virtual:file-routes" { path: "/:id"; id: "/:id"; page: true; - $component: FileRouteLazyRef; - $$route: FileRouteEagerRef; + $component: FileRouteLazyRef>>; + $$route: FileRouteEagerRef>>; children?: undefined; } ]; diff --git a/solid-v2/with-tailwindcss/package.json b/solid-v2/with-tailwindcss/package.json index 2a1c5c50..2e83a22f 100644 --- a/solid-v2/with-tailwindcss/package.json +++ b/solid-v2/with-tailwindcss/package.json @@ -18,7 +18,7 @@ "@tailwindcss/vite": "^4.1.13", "@testing-library/jest-dom": "^7.0.0", "eslint-plugin-solid": "~0.18.1", - "filesystem-routing": "0.4.0", + "filesystem-routing": "0.4.2", "jsdom": "^25.0.1", "oxlint": "~1.79.0", "tailwindcss": "^4.1.13", diff --git a/solid-v2/with-tailwindcss/pnpm-lock.yaml b/solid-v2/with-tailwindcss/pnpm-lock.yaml index 53d1459b..13efcf27 100644 --- a/solid-v2/with-tailwindcss/pnpm-lock.yaml +++ b/solid-v2/with-tailwindcss/pnpm-lock.yaml @@ -13,7 +13,7 @@ importers: version: 1.0.0-next.2(@solidjs/web@2.0.0-rc.20(solid-js@2.0.0-rc.20))(solid-js@2.0.0-rc.20) '@solidjs/router': specifier: ^2.0.0-next.43 - version: 2.0.0-next.43(@solidjs/web@2.0.0-rc.20(solid-js@2.0.0-rc.20))(filesystem-routing@0.4.0(vite@8.3.0(jiti@2.7.0)))(solid-js@2.0.0-rc.20) + version: 2.0.0-next.43(@solidjs/web@2.0.0-rc.20(solid-js@2.0.0-rc.20))(filesystem-routing@0.4.2(vite@8.3.0(jiti@2.7.0)))(solid-js@2.0.0-rc.20) '@solidjs/web': specifier: ^2.0.0-rc.20 version: 2.0.0-rc.20(solid-js@2.0.0-rc.20) @@ -40,8 +40,8 @@ importers: specifier: ~0.18.1 version: 0.18.1(eslint@10.10.0(jiti@2.7.0))(typescript@5.9.3) filesystem-routing: - specifier: 0.4.0 - version: 0.4.0(vite@8.3.0(jiti@2.7.0)) + specifier: 0.4.2 + version: 0.4.2(vite@8.3.0(jiti@2.7.0)) jsdom: specifier: ^25.0.1 version: 25.0.1 @@ -1188,8 +1188,8 @@ packages: file-entry-cache@11.1.5: resolution: {integrity: sha512-+PFTHITI08JIGhnNpGNI8T8inUpgZfk3GNEqfT9R2zZV2iFXg3CvqzSl/uEhs7TSGujYRELEANyDvS8Fj7+S7Q==} - filesystem-routing@0.4.0: - resolution: {integrity: sha512-HSGdLhrkYgF4/E0IKxirCShkrGUfvavQuOOP2Nio0dCxp/PrhiATGWQPUODUJuDavD+N6hIp1K7e/rh347o9nw==} + filesystem-routing@0.4.2: + resolution: {integrity: sha512-dsiTu+6Q0up9MDEUBujHYXOelbgiZgjHnbQhrH1fMmVFHc2UefFQoLOaPKIR/I5f56lAwyZQeSZrZ6CzXJMJUw==} peerDependencies: '@tsrx/oxc': '>=0.9.0' vite: ^6.0.0 || ^7.0.0 || ^8.0.0 @@ -2490,12 +2490,12 @@ snapshots: '@solidjs/web': 2.0.0-rc.20(solid-js@2.0.0-rc.20) solid-js: 2.0.0-rc.20 - '@solidjs/router@2.0.0-next.43(@solidjs/web@2.0.0-rc.20(solid-js@2.0.0-rc.20))(filesystem-routing@0.4.0(vite@8.3.0(jiti@2.7.0)))(solid-js@2.0.0-rc.20)': + '@solidjs/router@2.0.0-next.43(@solidjs/web@2.0.0-rc.20(solid-js@2.0.0-rc.20))(filesystem-routing@0.4.2(vite@8.3.0(jiti@2.7.0)))(solid-js@2.0.0-rc.20)': dependencies: '@solidjs/web': 2.0.0-rc.20(solid-js@2.0.0-rc.20) solid-js: 2.0.0-rc.20 optionalDependencies: - filesystem-routing: 0.4.0(vite@8.3.0(jiti@2.7.0)) + filesystem-routing: 0.4.2(vite@8.3.0(jiti@2.7.0)) '@solidjs/signals@2.0.0-rc.20': {} @@ -2987,7 +2987,7 @@ snapshots: dependencies: flat-cache: 6.1.23 - filesystem-routing@0.4.0(vite@8.3.0(jiti@2.7.0)): + filesystem-routing@0.4.2(vite@8.3.0(jiti@2.7.0)): dependencies: '@babel/core': 7.29.7 '@types/babel__core': 7.20.5 diff --git a/solid-v2/with-tsrx/package.json b/solid-v2/with-tsrx/package.json index 7eae5cee..0e646391 100644 --- a/solid-v2/with-tsrx/package.json +++ b/solid-v2/with-tsrx/package.json @@ -21,7 +21,7 @@ "@tsrx/solid": "^0.1.64", "@tsrx/typescript-plugin": "^0.3.129", "eslint-plugin-solid": "~0.18.1", - "filesystem-routing": "0.4.0", + "filesystem-routing": "0.4.2", "jsdom": "^25.0.1", "oxlint": "~1.79.0", "typescript": "^5.9.3", diff --git a/solid-v2/with-tsrx/pnpm-lock.yaml b/solid-v2/with-tsrx/pnpm-lock.yaml index 841068e9..70ca8b4f 100644 --- a/solid-v2/with-tsrx/pnpm-lock.yaml +++ b/solid-v2/with-tsrx/pnpm-lock.yaml @@ -13,7 +13,7 @@ importers: version: 1.0.0-next.2(@solidjs/web@2.0.0-rc.20(solid-js@2.0.0-rc.20))(solid-js@2.0.0-rc.20) '@solidjs/router': specifier: ^2.0.0-next.43 - version: 2.0.0-next.43(@solidjs/web@2.0.0-rc.20(solid-js@2.0.0-rc.20))(filesystem-routing@0.4.0(@tsrx/oxc@0.9.0)(vite@8.3.0))(solid-js@2.0.0-rc.20) + version: 2.0.0-next.43(@solidjs/web@2.0.0-rc.20(solid-js@2.0.0-rc.20))(filesystem-routing@0.4.2(@tsrx/oxc@0.9.0)(vite@8.3.0))(solid-js@2.0.0-rc.20) '@solidjs/web': specifier: ^2.0.0-rc.20 version: 2.0.0-rc.20(solid-js@2.0.0-rc.20) @@ -46,8 +46,8 @@ importers: specifier: ~0.18.1 version: 0.18.1(eslint@10.10.0)(typescript@5.9.3) filesystem-routing: - specifier: 0.4.0 - version: 0.4.0(@tsrx/oxc@0.9.0)(vite@8.3.0) + specifier: 0.4.2 + version: 0.4.2(@tsrx/oxc@0.9.0)(vite@8.3.0) jsdom: specifier: ^25.0.1 version: 25.0.1 @@ -1491,8 +1491,8 @@ packages: file-entry-cache@11.1.5: resolution: {integrity: sha512-+PFTHITI08JIGhnNpGNI8T8inUpgZfk3GNEqfT9R2zZV2iFXg3CvqzSl/uEhs7TSGujYRELEANyDvS8Fj7+S7Q==} - filesystem-routing@0.4.0: - resolution: {integrity: sha512-HSGdLhrkYgF4/E0IKxirCShkrGUfvavQuOOP2Nio0dCxp/PrhiATGWQPUODUJuDavD+N6hIp1K7e/rh347o9nw==} + filesystem-routing@0.4.2: + resolution: {integrity: sha512-dsiTu+6Q0up9MDEUBujHYXOelbgiZgjHnbQhrH1fMmVFHc2UefFQoLOaPKIR/I5f56lAwyZQeSZrZ6CzXJMJUw==} peerDependencies: '@tsrx/oxc': '>=0.9.0' vite: ^6.0.0 || ^7.0.0 || ^8.0.0 @@ -2898,12 +2898,12 @@ snapshots: '@solidjs/web': 2.0.0-rc.20(solid-js@2.0.0-rc.20) solid-js: 2.0.0-rc.20 - '@solidjs/router@2.0.0-next.43(@solidjs/web@2.0.0-rc.20(solid-js@2.0.0-rc.20))(filesystem-routing@0.4.0(@tsrx/oxc@0.9.0)(vite@8.3.0))(solid-js@2.0.0-rc.20)': + '@solidjs/router@2.0.0-next.43(@solidjs/web@2.0.0-rc.20(solid-js@2.0.0-rc.20))(filesystem-routing@0.4.2(@tsrx/oxc@0.9.0)(vite@8.3.0))(solid-js@2.0.0-rc.20)': dependencies: '@solidjs/web': 2.0.0-rc.20(solid-js@2.0.0-rc.20) solid-js: 2.0.0-rc.20 optionalDependencies: - filesystem-routing: 0.4.0(@tsrx/oxc@0.9.0)(vite@8.3.0) + filesystem-routing: 0.4.2(@tsrx/oxc@0.9.0)(vite@8.3.0) '@solidjs/signals@2.0.0-rc.20': {} @@ -3438,7 +3438,7 @@ snapshots: dependencies: flat-cache: 6.1.23 - filesystem-routing@0.4.0(@tsrx/oxc@0.9.0)(vite@8.3.0): + filesystem-routing@0.4.2(@tsrx/oxc@0.9.0)(vite@8.3.0): dependencies: '@babel/core': 7.29.7 '@types/babel__core': 7.20.5 diff --git a/solid-v2/with-unocss/file-routes.d.ts b/solid-v2/with-unocss/file-routes.d.ts index 0cc00d88..e526dc13 100644 --- a/solid-v2/with-unocss/file-routes.d.ts +++ b/solid-v2/with-unocss/file-routes.d.ts @@ -37,31 +37,31 @@ declare module "virtual:file-routes" { { path: "/*404"; page: true; - $component: FileRouteLazyRef; - $$route: FileRouteEagerRef; + $component: FileRouteLazyRef>>; + $$route: FileRouteEagerRef>>; }, { path: "/"; page: true; - $component: FileRouteLazyRef; + $component: FileRouteLazyRef>>; $$route?: undefined; }, { path: "/users"; page: true; - $component: FileRouteLazyRef; + $component: FileRouteLazyRef>>; $$route?: undefined; }, { path: "/users/:id"; page: true; - $component: FileRouteLazyRef; - $$route: FileRouteEagerRef; + $component: FileRouteLazyRef>>; + $$route: FileRouteEagerRef>>; }, { path: "/users/"; page: true; - $component: FileRouteLazyRef; + $component: FileRouteLazyRef>>; $$route?: undefined; } ]; @@ -73,7 +73,7 @@ declare module "virtual:file-routes" { path: "/"; id: "/"; page: true; - $component: FileRouteLazyRef; + $component: FileRouteLazyRef>>; $$route?: undefined; children?: undefined; }, @@ -81,22 +81,22 @@ declare module "virtual:file-routes" { path: "/*404"; id: "/*404"; page: true; - $component: FileRouteLazyRef; - $$route: FileRouteEagerRef; + $component: FileRouteLazyRef>>; + $$route: FileRouteEagerRef>>; children?: undefined; }, { path: "/users"; id: "/users"; page: true; - $component: FileRouteLazyRef; + $component: FileRouteLazyRef>>; $$route?: undefined; children: readonly [ { path: "/"; id: "/"; page: true; - $component: FileRouteLazyRef; + $component: FileRouteLazyRef>>; $$route?: undefined; children?: undefined; }, @@ -104,8 +104,8 @@ declare module "virtual:file-routes" { path: "/:id"; id: "/:id"; page: true; - $component: FileRouteLazyRef; - $$route: FileRouteEagerRef; + $component: FileRouteLazyRef>>; + $$route: FileRouteEagerRef>>; children?: undefined; } ]; diff --git a/solid-v2/with-unocss/package.json b/solid-v2/with-unocss/package.json index a3fecefa..c043d2e9 100644 --- a/solid-v2/with-unocss/package.json +++ b/solid-v2/with-unocss/package.json @@ -19,7 +19,7 @@ "@unocss/preset-wind4": "^66.5.2", "@unocss/reset": "^66.5.2", "eslint-plugin-solid": "~0.18.1", - "filesystem-routing": "0.4.0", + "filesystem-routing": "0.4.2", "jsdom": "^25.0.1", "oxlint": "~1.79.0", "typescript": "^5.9.2", diff --git a/solid-v2/with-unocss/pnpm-lock.yaml b/solid-v2/with-unocss/pnpm-lock.yaml index dc081abe..b4478d3d 100644 --- a/solid-v2/with-unocss/pnpm-lock.yaml +++ b/solid-v2/with-unocss/pnpm-lock.yaml @@ -13,7 +13,7 @@ importers: version: 1.0.0-next.2(@solidjs/web@2.0.0-rc.20(solid-js@2.0.0-rc.20))(solid-js@2.0.0-rc.20) '@solidjs/router': specifier: ^2.0.0-next.43 - version: 2.0.0-next.43(@solidjs/web@2.0.0-rc.20(solid-js@2.0.0-rc.20))(filesystem-routing@0.4.0(vite@8.3.0(jiti@2.7.0)))(solid-js@2.0.0-rc.20) + version: 2.0.0-next.43(@solidjs/web@2.0.0-rc.20(solid-js@2.0.0-rc.20))(filesystem-routing@0.4.2(vite@8.3.0(jiti@2.7.0)))(solid-js@2.0.0-rc.20) '@solidjs/web': specifier: ^2.0.0-rc.20 version: 2.0.0-rc.20(solid-js@2.0.0-rc.20) @@ -43,8 +43,8 @@ importers: specifier: ~0.18.1 version: 0.18.1(eslint@10.10.0(jiti@2.7.0))(typescript@5.9.3) filesystem-routing: - specifier: 0.4.0 - version: 0.4.0(vite@8.3.0(jiti@2.7.0)) + specifier: 0.4.2 + version: 0.4.2(vite@8.3.0(jiti@2.7.0)) jsdom: specifier: ^25.0.1 version: 25.0.1 @@ -1356,8 +1356,8 @@ packages: file-entry-cache@11.1.5: resolution: {integrity: sha512-+PFTHITI08JIGhnNpGNI8T8inUpgZfk3GNEqfT9R2zZV2iFXg3CvqzSl/uEhs7TSGujYRELEANyDvS8Fj7+S7Q==} - filesystem-routing@0.4.0: - resolution: {integrity: sha512-HSGdLhrkYgF4/E0IKxirCShkrGUfvavQuOOP2Nio0dCxp/PrhiATGWQPUODUJuDavD+N6hIp1K7e/rh347o9nw==} + filesystem-routing@0.4.2: + resolution: {integrity: sha512-dsiTu+6Q0up9MDEUBujHYXOelbgiZgjHnbQhrH1fMmVFHc2UefFQoLOaPKIR/I5f56lAwyZQeSZrZ6CzXJMJUw==} peerDependencies: '@tsrx/oxc': '>=0.9.0' vite: ^6.0.0 || ^7.0.0 || ^8.0.0 @@ -2763,12 +2763,12 @@ snapshots: '@solidjs/web': 2.0.0-rc.20(solid-js@2.0.0-rc.20) solid-js: 2.0.0-rc.20 - '@solidjs/router@2.0.0-next.43(@solidjs/web@2.0.0-rc.20(solid-js@2.0.0-rc.20))(filesystem-routing@0.4.0(vite@8.3.0(jiti@2.7.0)))(solid-js@2.0.0-rc.20)': + '@solidjs/router@2.0.0-next.43(@solidjs/web@2.0.0-rc.20(solid-js@2.0.0-rc.20))(filesystem-routing@0.4.2(vite@8.3.0(jiti@2.7.0)))(solid-js@2.0.0-rc.20)': dependencies: '@solidjs/web': 2.0.0-rc.20(solid-js@2.0.0-rc.20) solid-js: 2.0.0-rc.20 optionalDependencies: - filesystem-routing: 0.4.0(vite@8.3.0(jiti@2.7.0)) + filesystem-routing: 0.4.2(vite@8.3.0(jiti@2.7.0)) '@solidjs/signals@2.0.0-rc.20': {} @@ -3381,7 +3381,7 @@ snapshots: dependencies: flat-cache: 6.1.23 - filesystem-routing@0.4.0(vite@8.3.0(jiti@2.7.0)): + filesystem-routing@0.4.2(vite@8.3.0(jiti@2.7.0)): dependencies: '@babel/core': 7.29.7 '@types/babel__core': 7.20.5 diff --git a/solid-v2/with-vitest-browser-mode/file-routes.d.ts b/solid-v2/with-vitest-browser-mode/file-routes.d.ts index 0cc00d88..e526dc13 100644 --- a/solid-v2/with-vitest-browser-mode/file-routes.d.ts +++ b/solid-v2/with-vitest-browser-mode/file-routes.d.ts @@ -37,31 +37,31 @@ declare module "virtual:file-routes" { { path: "/*404"; page: true; - $component: FileRouteLazyRef; - $$route: FileRouteEagerRef; + $component: FileRouteLazyRef>>; + $$route: FileRouteEagerRef>>; }, { path: "/"; page: true; - $component: FileRouteLazyRef; + $component: FileRouteLazyRef>>; $$route?: undefined; }, { path: "/users"; page: true; - $component: FileRouteLazyRef; + $component: FileRouteLazyRef>>; $$route?: undefined; }, { path: "/users/:id"; page: true; - $component: FileRouteLazyRef; - $$route: FileRouteEagerRef; + $component: FileRouteLazyRef>>; + $$route: FileRouteEagerRef>>; }, { path: "/users/"; page: true; - $component: FileRouteLazyRef; + $component: FileRouteLazyRef>>; $$route?: undefined; } ]; @@ -73,7 +73,7 @@ declare module "virtual:file-routes" { path: "/"; id: "/"; page: true; - $component: FileRouteLazyRef; + $component: FileRouteLazyRef>>; $$route?: undefined; children?: undefined; }, @@ -81,22 +81,22 @@ declare module "virtual:file-routes" { path: "/*404"; id: "/*404"; page: true; - $component: FileRouteLazyRef; - $$route: FileRouteEagerRef; + $component: FileRouteLazyRef>>; + $$route: FileRouteEagerRef>>; children?: undefined; }, { path: "/users"; id: "/users"; page: true; - $component: FileRouteLazyRef; + $component: FileRouteLazyRef>>; $$route?: undefined; children: readonly [ { path: "/"; id: "/"; page: true; - $component: FileRouteLazyRef; + $component: FileRouteLazyRef>>; $$route?: undefined; children?: undefined; }, @@ -104,8 +104,8 @@ declare module "virtual:file-routes" { path: "/:id"; id: "/:id"; page: true; - $component: FileRouteLazyRef; - $$route: FileRouteEagerRef; + $component: FileRouteLazyRef>>; + $$route: FileRouteEagerRef>>; children?: undefined; } ]; diff --git a/solid-v2/with-vitest-browser-mode/package.json b/solid-v2/with-vitest-browser-mode/package.json index 7a4fea87..9a2b100b 100644 --- a/solid-v2/with-vitest-browser-mode/package.json +++ b/solid-v2/with-vitest-browser-mode/package.json @@ -18,7 +18,7 @@ "@testing-library/jest-dom": "^7.0.0", "@vitest/browser-playwright": "^5.0.5", "eslint-plugin-solid": "~0.18.1", - "filesystem-routing": "0.4.0", + "filesystem-routing": "0.4.2", "oxlint": "~1.79.0", "playwright": "^1.56.0", "typescript": "^5.9.2", diff --git a/solid-v2/with-vitest-browser-mode/pnpm-lock.yaml b/solid-v2/with-vitest-browser-mode/pnpm-lock.yaml index 33cbf98e..33929aa1 100644 --- a/solid-v2/with-vitest-browser-mode/pnpm-lock.yaml +++ b/solid-v2/with-vitest-browser-mode/pnpm-lock.yaml @@ -13,7 +13,7 @@ importers: version: 1.0.0-next.2(@solidjs/web@2.0.0-rc.20(solid-js@2.0.0-rc.20))(solid-js@2.0.0-rc.20) '@solidjs/router': specifier: ^2.0.0-next.43 - version: 2.0.0-next.43(@solidjs/web@2.0.0-rc.20(solid-js@2.0.0-rc.20))(filesystem-routing@0.4.0(vite@8.3.0))(solid-js@2.0.0-rc.20) + version: 2.0.0-next.43(@solidjs/web@2.0.0-rc.20(solid-js@2.0.0-rc.20))(filesystem-routing@0.4.2(vite@8.3.0))(solid-js@2.0.0-rc.20) '@solidjs/web': specifier: ^2.0.0-rc.20 version: 2.0.0-rc.20(solid-js@2.0.0-rc.20) @@ -40,8 +40,8 @@ importers: specifier: ~0.18.1 version: 0.18.1(eslint@10.10.0)(typescript@5.9.3) filesystem-routing: - specifier: 0.4.0 - version: 0.4.0(vite@8.3.0) + specifier: 0.4.2 + version: 0.4.2(vite@8.3.0) oxlint: specifier: ~1.79.0 version: 1.79.0 @@ -1041,8 +1041,8 @@ packages: file-entry-cache@11.1.5: resolution: {integrity: sha512-+PFTHITI08JIGhnNpGNI8T8inUpgZfk3GNEqfT9R2zZV2iFXg3CvqzSl/uEhs7TSGujYRELEANyDvS8Fj7+S7Q==} - filesystem-routing@0.4.0: - resolution: {integrity: sha512-HSGdLhrkYgF4/E0IKxirCShkrGUfvavQuOOP2Nio0dCxp/PrhiATGWQPUODUJuDavD+N6hIp1K7e/rh347o9nw==} + filesystem-routing@0.4.2: + resolution: {integrity: sha512-dsiTu+6Q0up9MDEUBujHYXOelbgiZgjHnbQhrH1fMmVFHc2UefFQoLOaPKIR/I5f56lAwyZQeSZrZ6CzXJMJUw==} peerDependencies: '@tsrx/oxc': '>=0.9.0' vite: ^6.0.0 || ^7.0.0 || ^8.0.0 @@ -2132,12 +2132,12 @@ snapshots: '@solidjs/web': 2.0.0-rc.20(solid-js@2.0.0-rc.20) solid-js: 2.0.0-rc.20 - '@solidjs/router@2.0.0-next.43(@solidjs/web@2.0.0-rc.20(solid-js@2.0.0-rc.20))(filesystem-routing@0.4.0(vite@8.3.0))(solid-js@2.0.0-rc.20)': + '@solidjs/router@2.0.0-next.43(@solidjs/web@2.0.0-rc.20(solid-js@2.0.0-rc.20))(filesystem-routing@0.4.2(vite@8.3.0))(solid-js@2.0.0-rc.20)': dependencies: '@solidjs/web': 2.0.0-rc.20(solid-js@2.0.0-rc.20) solid-js: 2.0.0-rc.20 optionalDependencies: - filesystem-routing: 0.4.0(vite@8.3.0) + filesystem-routing: 0.4.2(vite@8.3.0) '@solidjs/signals@2.0.0-rc.20': {} @@ -2559,7 +2559,7 @@ snapshots: dependencies: flat-cache: 6.1.23 - filesystem-routing@0.4.0(vite@8.3.0): + filesystem-routing@0.4.2(vite@8.3.0): dependencies: '@babel/core': 7.29.7 '@types/babel__core': 7.20.5