Skip to content

Commit 52f0056

Browse files
committed
refactor: migrate to filesystem-routing
1 parent 67dbebe commit 52f0056

5 files changed

Lines changed: 45 additions & 11 deletions

File tree

‎package.json‎

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,5 +43,8 @@
4343
"pnpm": "^11.13.0",
4444
"node": ">=24"
4545
},
46-
"packageManager": "pnpm@11.13.0"
46+
"packageManager": "pnpm@11.13.0",
47+
"dependencies": {
48+
"filesystem-routing": "0.1.1"
49+
}
4750
}

‎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 "filesystem-routes";
16-
import { DEFAULT_EXTENSIONS, fileRoutes } from "filesystem-routes/vite";
15+
import { PageFileSystemRouter } from "filesystem-routing";
16+
import { DEFAULT_EXTENSIONS, fileRoutes } from "filesystem-routing/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="filesystem-routes/types" />
1+
/// <reference types="filesystem-routing/types" />
22
import fileRoutes, { pageRoutes as nestedPageRoutes } from "virtual:file-routes";
33
import { createRouter } from "radix3";
44

‎pnpm-lock.yaml‎

Lines changed: 34 additions & 7 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎pnpm-workspace.yaml‎

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,8 +30,12 @@ minimumReleaseAgeExclude:
3030
- babel-preset-solid@2.0.0-beta.21
3131
- solid-js@2.0.0-beta.21
3232
- vite-plugin-solid@3.0.0-next.14
33+
- filesystem-routing@0.1.1
3334

3435
onlyBuiltDependencies:
3536
- '@parcel/watcher'
3637
- cypress
3738
- esbuild
39+
40+
overrides:
41+
filesystem-routes: link:../filesystem-routes

0 commit comments

Comments
 (0)