-
Notifications
You must be signed in to change notification settings - Fork 2.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(templates/deno): use npm-managed dependencies
- Loading branch information
Showing
22 changed files
with
41 additions
and
402 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
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 @@ | ||
* |
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,15 @@ | ||
{ | ||
"// This import map is used solely for the denoland.vscode-deno extension.": "", | ||
"// Remix does not support import maps.": "", | ||
"// Dependency management is done through `npm` and `node_modules/` instead.": "", | ||
"// Deno-only dependencies may be imported via URL imports (without using import maps).": "", | ||
|
||
"imports": { | ||
"react": "https://esm.sh/react@18.0.0", | ||
"react-dom": "https://esm.sh/react-dom@18.0.0", | ||
"react-dom/server": "https://esm.sh/react-dom@18.0.0/server", | ||
"@remix-run/dev/server-build": "https://esm.sh/@remix-run/dev@1.4.3/server-build", | ||
"@remix-run/deno": "https://esm.sh/@remix-run/deno@1.4.3", | ||
"@remix-run/react": "https://esm.sh/@remix-run/react@1.4.3" | ||
} | ||
} |
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,5 @@ | ||
{ | ||
"deno.enable": true, | ||
"deno.lint": true | ||
"deno.lint": true, | ||
"deno.importMap": "./.vscode/resolve_npm_imports.json" | ||
} |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
import React from "./deps/react.ts"; | ||
import ReactDOM from "./deps/react-dom.ts"; | ||
import { RemixBrowser } from "./deps/@remix-run/react.ts"; | ||
import React from "react"; | ||
import ReactDOM from "react-dom"; | ||
import { RemixBrowser } from "@remix-run/react"; | ||
|
||
ReactDOM.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 "../deps/react.ts"; | ||
import 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 was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
14 changes: 0 additions & 14 deletions
14
templates/deno/remix-deno/deps/@remix-run/server-runtime.ts
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.