forked from remix-run/remix
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
examples: update turborepo example (remix-run#3984)
- Loading branch information
Showing
14 changed files
with
69 additions
and
90 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,11 @@ | ||
node_modules | ||
build | ||
dist | ||
.turbo | ||
.turbo | ||
.vercel | ||
.cache | ||
.env | ||
.output | ||
apps/**/public/build | ||
apps/**/api/index.js | ||
apps/**/api/index.js.map |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,14 @@ | ||
/** @type {import('@remix-run/dev').AppConfig} */ | ||
/** | ||
* @type {import('@remix-run/dev').AppConfig} | ||
*/ | ||
module.exports = { | ||
ignoredRouteFiles: ["**/.*"], | ||
// appDirectory: "app", | ||
// assetsBuildDirectory: "public/build", | ||
// serverBuildPath: "build/index.js", | ||
// publicPath: "/build/", | ||
serverBuildTarget: "vercel", | ||
appDirectory: "app", | ||
ignoredRouteFiles: [".*"], | ||
assetsBuildDirectory: "public/build", | ||
// When running locally in development mode, we use the built in remix | ||
// server. This does not understand the vercel lambda module format, | ||
// so we default back to the standard build output. | ||
server: process.env.NODE_ENV === "development" ? undefined : "./server.js", | ||
serverDependenciesToBundle: [/.*/], | ||
}; |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
import { createRequestHandler } from "@remix-run/vercel"; | ||
import * as build from "@remix-run/dev/server-build"; | ||
|
||
export default createRequestHandler({ build, mode: process.env.NODE_ENV }); |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
{ | ||
"$schema": "https://turborepo.org/schema.json", | ||
"baseBranch": "origin/main", | ||
"pipeline": { | ||
"build": { | ||
"outputs": ["dist/**", ".next/**", "public/dist/**"], | ||
"dependsOn": ["^build"] | ||
}, | ||
"remix-app#build": { | ||
"dependsOn": ["^build"], | ||
"outputs": ["api/index.js", "api/build/**", "public/build/**"] | ||
}, | ||
"test": { | ||
"outputs": ["coverage/**"], | ||
"dependsOn": [] | ||
}, | ||
"lint": { | ||
"dependsOn": ["^build"], | ||
"outputs": [] | ||
}, | ||
"dev": { | ||
"cache": false | ||
} | ||
} | ||
} |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.