1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-12-22 07:14:47 -05:00
denoland-deno/cli
Nathan Whitaker cb74975ab2
fix(install): compare versions directly to decide whether to create a child node_modules dir for a workspace member (#26001)
Fixes #25861.

Previously we were attempting to match the version requirement against
the version already present in `node_modules` root, and if they didn't
match we would create a node_modules dir in the workspace member's
directory with the dependency.

Aside from the fact that this caused the panic, on second thought it
just doesn't make sense in general. We shouldn't be semver matching, as
resolution has already occurred and decided what package versions are
required. Instead, we can just compare the versions directly.
2024-10-02 15:11:43 -07:00
..
args feat(byonm): support deno run npm:<package> when package is not in package.json (#25981) 2024-10-02 21:17:39 +01:00
bench bench: fix CI (#25547) 2024-09-10 00:19:49 +00:00
cache BREAKING: rename "deps" remote cache folder to "remote" (#25969) 2024-10-01 14:05:40 -04:00
js refactor(cli/js): align error messages (#25406) 2024-09-04 09:19:55 +02:00
lsp feat(byonm): support deno run npm:<package> when package is not in package.json (#25981) 2024-10-02 21:17:39 +01:00
napi fix(node): implement libuv APIs needed to support npm:sqlite3 (#25893) 2024-10-02 10:43:42 -07:00
npm fix(install): compare versions directly to decide whether to create a child node_modules dir for a workspace member (#26001) 2024-10-02 15:11:43 -07:00
ops refactor: bury descriptor parsing in PermissionsContainer (#25936) 2024-09-30 09:19:24 -04:00
schemas fix: consistent with deno_config and treat "experimentalDecorators" as deprecated (#25735) 2024-09-23 11:02:15 -04:00
standalone refactor: move ByonmNpmResolver to deno_resolver (#25937) 2024-09-30 13:33:32 +00:00
tools refactor: move ByonmNpmResolver to deno_resolver (#25937) 2024-09-30 13:33:32 +00:00
tsc fix(check): ignore noImplicitOverrides in remote modules (#25854) 2024-09-24 20:49:44 -04:00
util refactor: move ByonmNpmResolver to deno_resolver (#25937) 2024-09-30 13:33:32 +00:00
auth_tokens.rs fix: trim space around DENO_AUTH_TOKENS (#25147) 2024-08-22 15:14:50 +02:00
build.rs fix(node): implement libuv APIs needed to support npm:sqlite3 (#25893) 2024-10-02 10:43:42 -07:00
Cargo.toml fix(node): implement libuv APIs needed to support npm:sqlite3 (#25893) 2024-10-02 10:43:42 -07:00
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
emit.rs feat: deprecate import assertions (#25281) 2024-08-29 01:06:09 +00:00
entitlements.plist chore: start codesigning mac release builds (#21303) 2023-11-23 15:30:26 -07:00
errors.rs fix(compile): support workspace members importing other members (#24909) 2024-08-07 07:43:05 +00:00
factory.rs BREAKING: rename "deps" remote cache folder to "remote" (#25969) 2024-10-01 14:05:40 -04:00
file_fetcher.rs BREAKING: rename "deps" remote cache folder to "remote" (#25969) 2024-10-01 14:05:40 -04:00
graph_container.rs feat: add --allow-import flag (#25469) 2024-09-26 01:50:54 +00:00
graph_util.rs fix(info): error instead of panic for npm specifiers when using byonm (#25947) 2024-09-30 19:46:43 +00:00
http_util.rs refactor: version module exports a single const struct (#25014) 2024-08-15 23:47:16 +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 feat(byonm): support deno run npm:<package> when package is not in package.json (#25981) 2024-10-02 21:17:39 +01:00
mainrt.rs fix(cli): update permission prompt message for compiled binaries (#24081) 2024-08-20 01:20:06 +00:00
module_loader.rs refactor: cleanup for creating worker structs (#25933) 2024-09-29 20:07:50 -04:00
node.rs fix: cjs resolution cases (#25739) 2024-09-19 21:10:34 -07:00
README.md docs(cli): do not need gen doc for cli (#17260) 2023-01-04 13:19:58 +01:00
resolver.rs refactor: move ByonmNpmResolver to deno_resolver (#25937) 2024-09-30 13:33:32 +00:00
shared.rs chore: Rust 1.80.1 (#25089) 2024-08-18 22:24:56 -04:00
task_runner.rs fix: lock down allow-run permissions more (#25370) 2024-09-04 14:51:24 +02:00
version.rs build: Allow building 'rc' release from source (#25227) 2024-08-28 14:31:25 +00:00
worker.rs refactor: bury descriptor parsing in PermissionsContainer (#25936) 2024-09-30 09:19:24 -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.