1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-12-27 09:39:08 -05:00
denoland-deno/cli
Nathan Whitaker c371b2a492
fix(install): re-setup bin entries after running lifecycle scripts (#26752)
Fixes #26677

Some packages (like supabase) declare bin entries that don't exist until
lifecycle scripts are run. For instance, the lifecycle script downloads
a binary file which serves as a bin entrypoint.

Unfortunately you can't just defer setting up the bin entries until
after lifecycle scripts have run, because the scripts may rely on them.

I looked into this, and PNPM just re-links bin entries after running
lifecycle scripts. I think that's about the best we can do as well.

Note that we'll only re-setup bin entries for packages whose lifecycle
scripts we run. This should limit the performance cost, as typically a
given project will not have many lifecycle scripts (and of those, many
of them probably don't have bin entries to set up).
2024-11-12 09:23:39 -08:00
..
args refactor(runtime/permissions): use concrete error types (#26464) 2024-11-04 09:17:21 -08:00
bench chore: update dlint to v0.68.0 for internal (#26711) 2024-11-04 12:17:11 -05:00
cache fix: improved support for cjs and cts modules (#26558) 2024-11-01 12:27:00 -04:00
js refactor(cli/js): align error messages (#25406) 2024-09-04 09:19:55 +02:00
lsp fix(lsp): skip code action edits that can't be converted (#26831) 2024-11-12 13:15:32 +00:00
npm fix(install): re-setup bin entries after running lifecycle scripts (#26752) 2024-11-12 09:23:39 -08:00
ops fix: performance.timeOrigin (#26787) 2024-11-08 23:20:24 +01:00
schemas fix: add 'fmt-component' to unstable features in schema file (#26526) 2024-10-24 19:55:38 +00:00
standalone Revert "perf(upgrade): cache downloaded binaries in DENO_DIR" (#26799) 2024-11-10 09:00:44 +05:30
tools Revert "perf(upgrade): cache downloaded binaries in DENO_DIR" (#26799) 2024-11-10 09:00:44 +05:30
tsc fix(lsp): scope attribution for lazily loaded assets (#26699) 2024-11-04 20:01:31 +00:00
util fix(install): handle invalid function error, and fallback to junctions regardless of the error (#26730) 2024-11-05 04:16:53 +00:00
auth_tokens.rs fix: trim space around DENO_AUTH_TOKENS (#25147) 2024-08-22 15:14:50 +02:00
build.rs feat: support node-api in denort (#26389) 2024-10-24 09:13:54 +02:00
Cargo.toml chore: forward v2.0.6 release commit to main (#26804) 2024-11-10 13:12:18 +05:30
cdp.rs chore: upgrade to rust 1.79 (#24207) 2024-06-14 17:10:57 +05:30
clippy.toml refactor(lsp): changes for lsp_types 0.97.0 (#25169) 2024-08-24 01:21:21 +01:00
deno.ico fix(cli): add icon and metadata to deno.exe on Windows (#6693) 2020-07-15 21:54:38 +02:00
emit.rs fix: improved support for cjs and cts modules (#26558) 2024-11-01 12:27:00 -04:00
entitlements.plist chore: start codesigning mac release builds (#21303) 2023-11-23 15:30:26 -07:00
errors.rs refactor: use concrete error type for remaining ops (#26746) 2024-11-06 16:57:57 -08:00
factory.rs fix: improved support for cjs and cts modules (#26558) 2024-11-01 12:27:00 -04:00
file_fetcher.rs fix: .npmrc settings not being passed to install/add command (#26473) 2024-10-24 20:03:56 +02:00
graph_container.rs feat: add --allow-import flag (#25469) 2024-09-26 01:50:54 +00:00
graph_util.rs fix: improved support for cjs and cts modules (#26558) 2024-11-01 12:27:00 -04:00
http_util.rs fix: .npmrc settings not being passed to install/add command (#26473) 2024-10-24 20:03:56 +02:00
integration_tests_runner.rs chore: continue tests/ re-org (#22396) 2024-02-12 17:13:14 -07:00
js.rs chore: rename __runtime_js_source to hmr (#24442) 2024-07-05 17:47:53 +05:30
jsr.rs refactor(permissions): split up Descriptor into Allow, Deny, and Query (#25508) 2024-09-16 21:39:37 +01:00
main.rs Revert "perf(upgrade): cache downloaded binaries in DENO_DIR" (#26799) 2024-11-10 09:00:44 +05:30
mainrt.rs Revert "perf(upgrade): cache downloaded binaries in DENO_DIR" (#26799) 2024-11-10 09:00:44 +05:30
module_loader.rs fix: improved support for cjs and cts modules (#26558) 2024-11-01 12:27:00 -04:00
node.rs fix: improved support for cjs and cts modules (#26558) 2024-11-01 12:27:00 -04:00
README.md docs(cli): do not need gen doc for cli (#17260) 2023-01-04 13:19:58 +01:00
resolver.rs fix: improved support for cjs and cts modules (#26558) 2024-11-01 12:27:00 -04:00
shared.rs chore: Rust 1.80.1 (#25089) 2024-08-18 22:24:56 -04:00
task_runner.rs fix(cli): set npm_config_user_agent when running npm packages or tasks (#26639) 2024-10-31 22:19:19 -07:00
version.rs build: Allow building 'rc' release from source (#25227) 2024-08-28 14:31:25 +00:00
worker.rs fix: improved support for cjs and cts modules (#26558) 2024-11-01 12:27:00 -04:00

Deno CLI Crate

crates

This provides the actual deno executable and the user-facing APIs.

The deno crate uses the deno_core to provide the executable.