Skip to content

Commit ee33582

Browse files
chore: enable v2_routeConvention flag (#334)
1 parent b6473dc commit ee33582

File tree

222 files changed

+582
-347
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

222 files changed

+582
-347
lines changed

__template/app/routes/_index.tsx

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
export default function Index() {
2+
return (
3+
<div style={{ fontFamily: "system-ui, sans-serif", lineHeight: "1.8" }}>
4+
<h1>Welcome to Remix</h1>
5+
</div>
6+
);
7+
}

__template/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
};

_official-jokes/remix.config.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,6 @@ module.exports = {
1212
serverModuleFormat: "cjs",
1313
// appDirectory: "app",
1414
// assetsBuildDirectory: "public/build",
15-
// serverBuildPath: "build/index.js",
1615
// publicPath: "/build/",
16+
// serverBuildPath: "build/index.js",
1717
};
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
};

bullmq-task-queue/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,8 @@ Open this example on [CodeSandbox](https://codesandbox.com):
1717

1818
## Relevant files:
1919

20-
- [app/utils/notifier.server.ts](./app/queues/notifier.server.ts) where we define the necessary components for the background task queue, worker, and scheduler.
21-
- [app/routes/index.tsx](./app/routes/index.tsx) where background tasks are added to the queue.
20+
- [`app/utils/notifier.server.ts`](./app/queues/notifier.server.ts) where we define the necessary components for the background task queue, worker, and scheduler.
21+
- [`app/routes/_index.tsx`](./app/routes/_index.tsx) where background tasks are added to the queue.
2222

2323
## Related Links
2424

catch-boundary/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)