Skip to content

Commit

Permalink
Update to nightly
Browse files Browse the repository at this point in the history
  • Loading branch information
brookslybrand committed Nov 18, 2024
1 parent 740e01e commit b0d446b
Show file tree
Hide file tree
Showing 5 changed files with 64 additions and 72 deletions.
4 changes: 3 additions & 1 deletion app/routes.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { type RouteConfig, route, index } from "@react-router/dev/routes";

export const routes: RouteConfig = [
const routes: RouteConfig = [
index("pages/splash.tsx"),
route("/brand", "pages/brand.tsx"),
route("/healthcheck", "pages/healthcheck.tsx"),
Expand Down Expand Up @@ -30,3 +30,5 @@ export const routes: RouteConfig = [
if (process.env.NODE_ENV === "development") {
routes.push(route("/__playground", "components/_playground/playground.tsx"));
}

export default routes;
112 changes: 47 additions & 65 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 4 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,8 @@
"dependencies": {
"@docsearch/css": "^3.6.0",
"@docsearch/react": "^3.6.0",
"@react-router/node": "7.0.0-pre.5",
"@react-router/serve": "7.0.0-pre.5",
"@react-router/node": "0.0.0-nightly-4af1d409c-20241118",
"@react-router/serve": "0.0.0-nightly-4af1d409c-20241118",
"bcryptjs": "^2.4.3",
"cheerio": "^1.0.0-rc.12",
"classnames": "^2.3.2",
Expand All @@ -41,7 +41,7 @@
"parse-numeric-range": "^1.3.0",
"react": "^18.3.1",
"react-dom": "^18.3.1",
"react-router": "7.0.0-pre.5",
"react-router": "0.0.0-nightly-4af1d409c-20241118",
"rehype-autolink-headings": "^7.1.0",
"rehype-slug": "^6.0.0",
"rehype-stringify": "^10.0.0",
Expand All @@ -59,7 +59,7 @@
"unist-util-visit": "^5.0.0"
},
"devDependencies": {
"@react-router/dev": "7.0.0-pre.5",
"@react-router/dev": "0.0.0-nightly-4af1d409c-20241118",
"@testing-library/jest-dom": "^5.16.5",
"@types/bcryptjs": "^2.4.2",
"@types/eslint": "^8.56.6",
Expand Down
7 changes: 7 additions & 0 deletions react-router.config.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
import { Config } from "@react-router/dev/config";

export default {
future: {
unstable_optimizeDeps: true,
},
} satisfies Config;
5 changes: 3 additions & 2 deletions tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"**/*.tsx",
"**/.server/**/*.ts",
"**/.server/**/*.tsx",
"app/modules/redirects/.server/check-url.test.ts"
".react-router/types/**/*"
],
"compilerOptions": {
"lib": ["DOM", "DOM.Iterable", "ES2022"],
Expand All @@ -26,6 +26,7 @@
"skipLibCheck": true,
"noEmit": true,
"forceConsistentCasingInFileNames": true,
"allowJs": true
"allowJs": true,
"rootDirs": [".", "./.react-router/types"]
}
}

0 comments on commit b0d446b

Please sign in to comment.