Skip to content

Commit 67dbebe

Browse files
brenelzclaude
andcommitted
refactor: depend on filesystem-routes instead of @solidjs/file-routes
The package moved out of solid-router into its own repo, dropping the Solid scope it never earned. Import sites and the dependency follow it; no behavior changes. 32 tests pass, tsc clean. Still unpublished, so the dependency is still unresolvable without a local link. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
1 parent cded530 commit 67dbebe

3 files changed

Lines changed: 4 additions & 4 deletions

File tree

‎packages/start/package.json‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@
5656
"@babel/core": "^7.29.0",
5757
"@babel/traverse": "^7.29.0",
5858
"@babel/types": "^7.29.0",
59-
"@solidjs/file-routes": "^0.1.0",
59+
"filesystem-routes": "^0.1.0",
6060
"@solidjs/meta": "0.30.0-next.0",
6161
"@solidjs/router": "0.17.0-next.6",
6262
"@solidjs/web": "2.0.0-beta.21",

‎packages/start/src/config/index.ts‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,8 @@ import { boundaryModules } from "./boundary-modules.ts";
1212
import { VIRTUAL_MODULES, VITE_ENVIRONMENTS } from "./constants.ts";
1313
import { devServer } from "./dev-server.ts";
1414
import { envPlugin, type EnvPluginOptions } from "./env.ts";
15-
import { PageFileSystemRouter } from "@solidjs/file-routes";
16-
import { DEFAULT_EXTENSIONS, fileRoutes } from "@solidjs/file-routes/vite";
15+
import { PageFileSystemRouter } from "filesystem-routes";
16+
import { DEFAULT_EXTENSIONS, fileRoutes } from "filesystem-routes/vite";
1717
import { parseIdQuery } from "./utils.ts";
1818

1919
export interface SolidStartOptions {

‎packages/start/src/server/routes.ts‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/// <reference types="@solidjs/file-routes/types" />
1+
/// <reference types="filesystem-routes/types" />
22
import fileRoutes, { pageRoutes as nestedPageRoutes } from "virtual:file-routes";
33
import { createRouter } from "radix3";
44

0 commit comments

Comments
 (0)