deno/cli/tools
Bartek Iwańczuk d31f2307ee
feat(install): require -g / --global flag (#23060)
In preparation for upcoming changes to `deno install` in Deno 2.

If `-g` or `--global` flag is not provided a warning will be emitted:
```
⚠️ `deno install` behavior will change in Deno 2. To preserve the current behavior use `-g` or `--global` flag.
```

The same will happen for `deno uninstall` - unless `-g`/`--global` flag
is provided
a warning will be emitted.

Towards https://github.com/denoland/deno/issues/23062

---------

Signed-off-by: Bartek Iwańczuk <biwanczuk@gmail.com>
Co-authored-by: David Sherret <dsherret@users.noreply.github.com>
2024-03-27 23:45:57 +01:00
..
bench fix: less aggressive vendor folder ignoring (#23100) 2024-03-27 14:25:39 -04:00
coverage fix: less aggressive vendor folder ignoring (#23100) 2024-03-27 14:25:39 -04:00
init feat(init): use jsr specifier for @std/assert (#23073) 2024-03-27 18:51:52 +01:00
jupyter fix(kernel): Do not increase counter if store_history=false (#20848) 2024-03-26 18:48:23 +00:00
lint fix: less aggressive vendor folder ignoring (#23100) 2024-03-27 14:25:39 -04:00
registry feat(add): always produce multiline config file (#23077) 2024-03-26 17:40:24 -04:00
repl fix(cli): output more detailed information for steps when using JUnit reporter (#22797) 2024-03-26 00:08:46 +09:00
run chore: enable clippy unused_async rule (#22834) 2024-03-11 23:48:00 -04:00
test fix: less aggressive vendor folder ignoring (#23100) 2024-03-27 14:25:39 -04:00
vendor chore(cli): move away from PathBuf in clap (#22036) 2024-03-14 23:53:46 +00:00
bundle.rs chore: enable clippy unused_async rule (#22834) 2024-03-11 23:48:00 -04:00
check.rs fix(unstable/publish): repect --no-check in no-slow-types (#22653) 2024-03-01 15:54:46 +00:00
compile.rs chore(cli): move away from PathBuf in clap (#22036) 2024-03-14 23:53:46 +00:00
doc.rs fix: less aggressive vendor folder ignoring (#23100) 2024-03-27 14:25:39 -04:00
fmt.rs fix: less aggressive vendor folder ignoring (#23100) 2024-03-27 14:25:39 -04:00
info.rs chore: enable clippy unused_async rule (#22834) 2024-03-11 23:48:00 -04:00
installer.rs feat(install): require -g / --global flag (#23060) 2024-03-27 23:45:57 +01:00
mod.rs chore: update copyright to 2024 (#21753) 2024-01-01 19:58:21 +00:00
task.rs feat(task): Task description in the form of comments (#23101) 2024-03-27 14:14:27 -07:00
upgrade.rs chore(cli): move away from PathBuf in clap (#22036) 2024-03-14 23:53:46 +00:00