deno/cli
Bartek Iwańczuk 5dea510b02
fix(lock): autodiscovery of lockfile (#16498)
This commit adds autodiscovery of lockfile. 

This only happens if Deno discovers the configuration file (either 
"deno.json" or "deno.jsonc"). In such case Deno tries to load
"deno.lock"
file that sits next to the configuration file, or creates one for user
if
the lockfile doesn't exist yet.

As a consequence, "--lock" and "--lock-write" flags had been updated.
"--lock" no longer requires a value, if one is not provided, it defaults
to "./deno.lock" resolved from the current working directory.
"--lock-write"
description was updated to say that it forces to overwrite a lockfile.

Autodiscovery is currently not handled by the LSP.
2022-11-02 16:32:30 +01:00
..
args fix(lock): autodiscovery of lockfile (#16498) 2022-11-02 16:32:30 +01:00
bench Reland "perf(core): generate inlined wrappers for async ops" (#16455) 2022-10-28 16:50:17 +05:30
cache perf: node cjs & esm analysis cache (#16097) 2022-10-01 12:15:56 +02:00
dts fix: update env to sys permission in jsdoc for Deno.osRelease (#16483) 2022-10-30 21:50:34 +01:00
lsp fix(lock): autodiscovery of lockfile (#16498) 2022-11-02 16:32:30 +01:00
napi fix(napi): fix is_detached_arraybuffer (#16478) 2022-10-30 13:13:46 -04:00
napi_sym 1.27.0 (#16442) 2022-10-27 17:13:26 +02:00
node feat(unstable/npm): initial type checking of npm specifiers (#16332) 2022-10-21 15:20:18 +00:00
npm fix(lockfile): error if a referenced package id doesn't exist in list of packages (#16509) 2022-11-02 01:07:45 +00:00
ops feat(npm): functionality to support child_process.fork (#15891) 2022-09-28 13:04:16 -04:00
schemas feat(lint): add a report lint config setting (#16045) 2022-10-25 14:21:20 +02:00
tests fix(lock): autodiscovery of lockfile (#16498) 2022-11-02 16:32:30 +01:00
tools refactor: Combine ImportMapResolver and JsxResolver (#16508) 2022-11-02 15:47:02 +01:00
tsc fix(typescript): allow synthetic default imports when using ModuleKind.ESNext (#16438) 2022-10-27 08:12:40 -04:00
auth_tokens.rs chore: update copyright to 2022 (#13306) 2022-01-07 22:09:52 -05:00
build.rs fix(build) assume a custom compiler will support --export-dynamic-symbol-list linker flag. (#16387) 2022-10-22 23:41:11 +02:00
Cargo.toml chore: pin lsp types due to unstable "proposed" feature (#16467) 2022-10-28 11:38:56 -04:00
cdp.rs docs: turn bare URLs into clickable links (#15347) 2022-07-30 12:20:29 +02:00
checksum.rs chore: update copyright to 2022 (#13306) 2022-01-07 22:09:52 -05:00
deno.ico fix(cli): add icon and metadata to deno.exe on Windows (#6693) 2020-07-15 21:54:38 +02:00
deno_dir.rs perf: node cjs & esm analysis cache (#16097) 2022-10-01 12:15:56 +02:00
deno_std.rs 1.27.0 (#16442) 2022-10-27 17:13:26 +02:00
diagnostics.rs chore: remove stable unstable APIs from cli/diagnostics.rs (#16492) 2022-10-30 23:07:41 +01:00
diff.rs refactor: update comment in diff.rs (#15142) 2022-07-10 22:49:18 -04:00
display.rs refactor: move deno info functionality from deno_graph to CLI (#16434) 2022-10-28 11:03:33 -04:00
emit.rs refactor: extract out check code from emit (#15729) 2022-09-02 10:54:40 -04:00
errors.rs chore: remove all pub(crate)s from the cli crate (#14083) 2022-03-23 09:54:22 -04:00
file_fetcher.rs feat(npm): add support for --reload=npm: and --reload=npm:<package> (#15972) 2022-09-22 10:39:58 -04:00
file_watcher.rs upgrade deps (#15914) 2022-09-16 19:11:30 -04:00
fs_util.rs feat: support npm specifiers in deno info for display text output only (#16470) 2022-10-28 16:19:55 -04:00
generated_symbol_exports_list_linux.def fix: move generated napi symbols to cli/ (#16330) 2022-10-18 13:20:11 +02:00
generated_symbol_exports_list_macos.def fix: move generated napi symbols to cli/ (#16330) 2022-10-18 13:20:11 +02:00
generated_symbol_exports_list_windows.def fix: move generated napi symbols to cli/ (#16330) 2022-10-18 13:20:11 +02:00
graph_util.rs fix(npm): panic on invalid package name (#16123) 2022-10-03 17:45:01 +02:00
http_cache.rs chore(tests): use custom temp dir creation for the tests (#14153) 2022-04-01 11:15:37 -04:00
http_util.rs refactor: move out test files from root testdata directory into sub directories (#15949) 2022-09-19 10:32:21 -04:00
lockfile.rs fix(lock): autodiscovery of lockfile (#16498) 2022-11-02 16:32:30 +01:00
logger.rs chore: remove all pub(crate)s from the cli crate (#14083) 2022-03-23 09:54:22 -04:00
main.rs refactor: Combine ImportMapResolver and JsxResolver (#16508) 2022-11-02 15:47:02 +01:00
module_loader.rs perf: node cjs & esm analysis cache (#16097) 2022-10-01 12:15:56 +02:00
proc_state.rs fix(lock): autodiscovery of lockfile (#16498) 2022-11-02 16:32:30 +01:00
progress_bar.rs fix(cli): Fixed bug where the progress bar did not clear (#16401) 2022-10-24 18:40:27 +02:00
README.md Remove deno_typescript (#6813) 2020-07-20 19:49:57 -04:00
resolver.rs refactor: Combine ImportMapResolver and JsxResolver (#16508) 2022-11-02 15:47:02 +01:00
standalone.rs refactor: Combine ImportMapResolver and JsxResolver (#16508) 2022-11-02 15:47:02 +01:00
text_encoding.rs feat: emit files on demand and fix racy emit (#15220) 2022-07-19 11:58:18 -04:00
tsc.rs fix: upgrade swc_ecma_parser to 0.122.19 - deno_ast 0.20 (#16406) 2022-10-25 11:55:57 -04:00
unix_util.rs build: require safety comments on unsafe code (#13870) 2022-06-26 00:13:24 +02:00
version.rs feat(cli): check for updates in background (#15974) 2022-10-20 16:15:21 +02:00
windows_util.rs chore: fix Windows specific clippy errors (#15212) 2022-07-15 12:30:25 -04:00
worker.rs refactor(npm): reorganize initialization of compat layer (#16471) 2022-10-28 21:53:55 +02:00

Deno CLI Crate

crates docs

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

The deno crate uses the deno_core to provide the executable.