-
Notifications
You must be signed in to change notification settings - Fork 5.4k
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
perf: Optimize installing npm deps on mac [WIP] #23573
Changes from all commits
54e6153
fc87931
589a18d
a82d984
5b2c9f2
f43149f
1838c0a
52c7857
a3ab27c
289341a
5a850d8
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
{ | ||
"tempDir": true, | ||
"envs": { | ||
"DENO_FUTURE": "1" | ||
}, | ||
"steps": [ | ||
{ | ||
"args": "install --global --root ./bins ./main.js", | ||
"output": "install.out" | ||
} | ||
] | ||
} |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
Download https://localhost:4545/npm/registry/@denotest/esm-basic | ||
Download https://localhost:4545/npm/registry/@denotest/esm-basic/1.0.0.tgz | ||
Initialize @denotest/[email protected] | ||
✅ Successfully installed deno-cli-test[WILDCARD] | ||
[WILDCARD] |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
import { setValue } from "@denotest/esm-basic"; | ||
|
||
setValue(5); |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
{ | ||
"name": "deno-test-bin", | ||
"dependencies": { | ||
"@denotest/esm-basic": "*" | ||
}, | ||
"type": "module" | ||
} |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
{ | ||
"tempDir": true, | ||
"steps": [ | ||
{ | ||
"args": "install --root ./bins ./main.js", | ||
"output": "install.out" | ||
} | ||
] | ||
} |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
⚠️ `deno install` behavior will change in Deno 2. To preserve the current behavior use the `-g` or `--global` flag. | ||
Download https://localhost:4545/npm/registry/@denotest/esm-basic | ||
Download https://localhost:4545/npm/registry/@denotest/esm-basic/1.0.0.tgz | ||
✅ Successfully installed deno-cli-test[WILDCARD] | ||
[WILDCARD] |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
import { setValue } from "npm:@denotest/esm-basic"; | ||
|
||
setValue(5); |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
{ | ||
"name": "deno-test-bin", | ||
"dependencies": { | ||
"@denotest/esm-basic": "*" | ||
}, | ||
"type": "module" | ||
} |
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.
There's a readonly method
maybe_package_json()
that could be used instead.