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.
chore: update Deno import maps on release (remix-run#3225)
* fix(templates/vercel): add `index.js.map` to `.gitignore` (remix-run#3216) * Add `index.js.map` to `.gitignore` In the Vercel template, `/api/index.js.map` should also be ignored along with `/api/index.js`. Otherwise, that mapping file would be committed into version control, which is not desired. * Sign CLA * fix(scripts): Prevent publishing without a tag (remix-run#3223) * move decisions * docs: add `decisions/index.md` and frontmatter (remix-run#3226) Co-authored-by: Pedro Cattori <[email protected]> (cherry picked from commit e809206) * docs(server-runtime): update link for deno server runtime package (remix-run#3228) since it's now a proper package * chore(templates): bring `deno` template in line with other templates (remix-run#3221) * docs: fix links to decision docs (remix-run#3231) * chore: update Deno import maps on release Co-authored-by: Jiahao <[email protected]> Co-authored-by: Chance Strickland <[email protected]> Co-authored-by: Ryan Florence <[email protected]> Co-authored-by: Logan McAnsh <[email protected]> Co-authored-by: Pedro Cattori <[email protected]>
- Loading branch information
1 parent
8becc4a
commit c28e179
Showing
16 changed files
with
91 additions
and
29 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 |
---|---|---|
|
@@ -7,7 +7,7 @@ | |
"// Deno-only dependencies may be imported via URL imports (without using import maps).": "", | ||
|
||
"imports": { | ||
"mime": "https://esm.sh/[email protected].0", | ||
"@remix-run/server-runtime": "https://esm.sh/@remix-run/[email protected]" | ||
"@remix-run/server-runtime": "https://esm.sh/@remix-run/[email protected].0", | ||
"mime": "https://esm.sh/[email protected]" | ||
} | ||
} |
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 |
---|---|---|
|
@@ -155,6 +155,7 @@ | |
- jesse-deboer | ||
- jesseflorig | ||
- jgarrow | ||
- jiahao-c | ||
- jkup | ||
- jmasson | ||
- jo-ninja | ||
|
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
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,5 +1,6 @@ | ||
/node_modules/ | ||
node_modules | ||
|
||
/.cache | ||
/build | ||
/public/build | ||
/public/build | ||
.env |
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 |
---|---|---|
|
@@ -5,11 +5,11 @@ | |
"// Deno-only dependencies may be imported via URL imports (without using import maps).": "", | ||
|
||
"imports": { | ||
"react": "https://esm.sh/[email protected].0", | ||
"react-dom": "https://esm.sh/[email protected]", | ||
"react-dom/server": "https://esm.sh/[email protected]/server", | ||
"@remix-run/dev/server-build": "https://esm.sh/@remix-run/[email protected]/server-build", | ||
"@remix-run/deno": "https://esm.sh/@remix-run/[email protected]", | ||
"@remix-run/react": "https://esm.sh/@remix-run/react@1.4.3" | ||
"@remix-run/deno": "https://esm.sh/@remix-run/[email protected].0", | ||
"@remix-run/dev/server-build": "https://esm.sh/@remix-run/[email protected]/server-build", | ||
"@remix-run/react": "https://esm.sh/@remix-run/[email protected]", | ||
"react": "https://esm.sh/[email protected]", | ||
"react-dom": "https://esm.sh/[email protected]", | ||
"react-dom/server": "https://esm.sh/react[email protected]/server" | ||
} | ||
} |
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,5 +1,5 @@ | ||
{ | ||
"deno.enable": true, | ||
"deno.lint": true, | ||
"deno.importMap": "./.vscode/resolve_npm_imports.json" | ||
"deno.importMap": "./.vscode/resolve_npm_imports.json", | ||
"deno.lint": true | ||
} |
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,5 +1,5 @@ | ||
import React from "react"; | ||
import ReactDOM from "react-dom"; | ||
import { RemixBrowser } from "@remix-run/react"; | ||
import * as React from "react"; | ||
import { hydrate } from "react-dom"; | ||
|
||
ReactDOM.hydrate(<RemixBrowser />, document); | ||
hydrate(<RemixBrowser />, document); |
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 |
---|---|---|
@@ -1,4 +1,4 @@ | ||
import React from "react"; | ||
import * as React from "react"; | ||
|
||
export default function Index() { | ||
return ( | ||
|
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,12 +1,16 @@ | ||
module.exports = { | ||
serverBuildTarget: "deno", | ||
server: "./server.ts", | ||
|
||
/* | ||
If live reload causes page to re-render without changes (live reload is too fast), | ||
increase the dev server broadcast delay. | ||
If live reload seems slow, try to decrease the dev server broadcast delay. | ||
*/ | ||
devServerBroadcastDelay: 300, | ||
ignoredRouteFiles: ["**/.*"], | ||
// appDirectory: "app", | ||
// assetsBuildDirectory: "public/build", | ||
// serverBuildPath: "build/index.js", | ||
// publicPath: "/build/", | ||
}; |
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 |
---|---|---|
|
@@ -8,3 +8,4 @@ node_modules | |
/build/ | ||
/public/build | ||
/api/index.js | ||
/api/index.js.map |