Skip to content

Commit 70c9560

Browse files
committed
feat: migrate to remix-run v2 route convention
1 parent e132695 commit 70c9560

File tree

4 files changed

+10
-7
lines changed

4 files changed

+10
-7
lines changed
File renamed without changes.
File renamed without changes.

zod/package.json

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -8,23 +8,23 @@
88
"typecheck": "tsc"
99
},
1010
"dependencies": {
11-
"@remix-run/node": "~1.14.2",
12-
"@remix-run/react": "~1.14.2",
13-
"@remix-run/serve": "~1.14.2",
11+
"@remix-run/node": "^1.19.3",
12+
"@remix-run/react": "^1.19.3",
13+
"@remix-run/serve": "^1.19.3",
1414
"isbot": "^3.6.5",
1515
"react": "^18.2.0",
1616
"react-dom": "^18.2.0",
1717
"zod": "^3.22.2"
1818
},
1919
"devDependencies": {
20-
"@remix-run/dev": "~1.14.2",
21-
"@remix-run/eslint-config": "~1.14.2",
20+
"@remix-run/dev": "^1.19.3",
21+
"@remix-run/eslint-config": "^1.19.3",
2222
"@types/react": "^18.0.25",
2323
"@types/react-dom": "^18.0.8",
2424
"eslint": "^8.27.0",
2525
"typescript": "^4.8.4"
2626
},
2727
"engines": {
28-
"node": ">=14"
28+
"node": ">=14.0.0"
2929
}
3030
}

zod/remix.config.js

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,11 @@
11
/** @type {import('@remix-run/dev').AppConfig} */
22
module.exports = {
3+
future: {
4+
v2_routeConvention: true,
5+
},
36
ignoredRouteFiles: ["**/.*"],
47
// appDirectory: "app",
58
// assetsBuildDirectory: "public/build",
6-
// serverBuildPath: "build/index.js",
79
// publicPath: "/build/",
10+
// serverBuildPath: "build/index.js",
811
};

0 commit comments

Comments
 (0)