-
Notifications
You must be signed in to change notification settings - Fork 2.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Modernize Deno template #9932
Open
redabacha
wants to merge
40
commits into
remix-run:dev
Choose a base branch
from
redabacha:modernize-deno-template
base: dev
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Modernize Deno template #9932
Changes from 5 commits
Commits
Show all changes
40 commits
Select commit
Hold shift + click to select a range
5ca3397
Modernize deno template
redabacha a908ba6
Merge branch 'dev' into modernize-deno-template
redabacha 454a13c
Install Deno for unit tests
redabacha 1e48a52
Update deno scripts in package.json
redabacha b94e223
Don't pass --node-modules-dir flag to deno install
redabacha 1228943
Add vite deno integration test
redabacha 3daf1b6
Make vite deno integration test work
redabacha 1f222bc
Install deno for integration tests
redabacha d58caab
Wait on 127.0.0.1 for only deno
redabacha 9576356
Allow scripts when installing deps with deno
redabacha ead6719
Use viteConfig.basic for vite deno integration test
redabacha 0b86c3d
ugly attempt to get windows msedge test passing
redabacha 196db71
Cleanup solution for windows msedge test a bit
redabacha 00ab18e
Add typegen instructions in deno template README.md
redabacha 07a9fe7
Remove extraneous console.log
redabacha 3d86009
Add vite deno build integration test
redabacha 197fc8c
Update viteDevCmd to use nodeSync instead of node
redabacha 21704c4
Update deploy instructions in deno template README.md
redabacha c83c7e4
Add changesets
redabacha 619f6e8
Merge branch 'dev' into modernize-deno-template
redabacha 155c20d
Merge branch 'dev' into modernize-deno-template
redabacha 1fa4672
Merge branch 'dev' into modernize-deno-template
redabacha c5bc59b
Merge branch 'dev' into modernize-deno-template
redabacha 24e3ee5
Merge branch 'dev' of https://github.com/redabacha/remix into moderni…
redabacha a3c1bcc
feat: only support deno 2
redabacha 1954f5b
Merge branch 'dev' into modernize-deno-template
redabacha d4004f3
feat: update workflow install deno action
redabacha 0795f97
Use new nodeModulesDir option
redabacha 4f728c9
Update ignore rules for deno
redabacha 65afd86
Use pnpm workspace for vite-deno-template integration test
redabacha 60f9808
Remove package.json from deno gitignore
redabacha 2095f21
Remove remix version pinning in deno template
redabacha 7513f3b
Add --frozen-lockfile to 2nd pnpm install
redabacha b185f29
Only assert for react devtools message on non-webkit browsers
redabacha 72e2a9f
Merge branch 'dev' of https://github.com/redabacha/remix into moderni…
redabacha 343f23e
Update pnpm lockfile
redabacha 62fe2d1
Merge branch 'dev' into modernize-deno-template
redabacha f4a1e48
Merge branch 'dev' into modernize-deno-template
redabacha 0b65afb
Update templates.md
redabacha 3907b73
Merge branch 'dev' of https://github.com/redabacha/remix into moderni…
redabacha File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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 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,6 @@ | ||
{ | ||
"typescript.tsdk": "node_modules/typescript/lib", | ||
"deno.enablePaths": ["./packages/remix-deno/"], | ||
"deno.importMap": "./.vscode/deno_resolve_npm_imports.json" | ||
"deno.config": "./templates/deno/deno.jsonc", | ||
"deno.enablePaths": ["./packages/remix-deno/", "./templates/deno"], | ||
"deno.disablePaths": ["./templates/deno/app"] | ||
} |
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
6 changes: 6 additions & 0 deletions
6
packages/create-remix/__tests__/fixtures/successful-remix-init-deno/deno.json
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,6 @@ | ||
{ | ||
"nodeModulesDir": true, | ||
"imports": { | ||
"is-odd": "npm:is-odd@3.0.1" | ||
} | ||
} |
10 changes: 10 additions & 0 deletions
10
packages/create-remix/__tests__/fixtures/successful-remix-init-deno/remix.init/index.js
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,10 @@ | ||
const fs = require("node:fs"); | ||
const path = require("node:path"); | ||
const isOdd = require("is-odd"); | ||
|
||
module.exports = ({ rootDirectory }) => { | ||
fs.writeFileSync( | ||
path.join(rootDirectory, "test.txt"), | ||
`added via remix.init, isOdd(1): ${isOdd(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
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
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
denoland/deno#25342