1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-11-21 15:04:11 -05:00
denoland-deno/cli/args
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
..
deno_json.rs refactor: move deno json functionality to args module (#22710) 2024-03-05 15:45:44 -05:00
flags.rs feat(install): require -g / --global flag (#23060) 2024-03-27 23:45:57 +01:00
flags_net.rs chore: update copyright to 2024 (#21753) 2024-01-01 19:58:21 +00:00
import_map.rs fix(lsp): import map expansion (#22553) 2024-02-24 00:21:09 -05:00
lockfile.rs chore: update copyright to 2024 (#21753) 2024-01-01 19:58:21 +00:00
mod.rs feat(task): Task description in the form of comments (#23101) 2024-03-27 14:14:27 -07:00
package_json.rs feat(lockfile): track JSR and npm dependencies in config file (#22004) 2024-01-22 22:31:12 +01:00