Deno 1.29 has been officially released.
major changes
Improve npm compatibility
This release features several npm compatibility improvements and 30+ bug fixes since 1.28.0.
- Support for custom registries through environment variables
Deno will now obeyNPM_CONFIG_REGISTRY
Environment variable that allows specifying a custom npm registry.
# change this to a custom registry
NPM_CONFIG_REGISTRY=https://registry.npmjs.org deno run main.ts
In a future release, there will be support for using a different registry per package scope, with the ability to set credentials.
npm specifiers can now be used with deno install
For use with:
> deno install -A npm:cowsay@1.5.0
✅ Successfully installed cowsay
C:\Users\david\.deno\bin\cowsay.cmd
C:\Users\david\.deno\bin\cowsay (shell)
> cowsay Hello from deno!
__________________
< Hello from deno! >
------------------
\ ^__^
\ (oo)\_______
(__)\ )\/\
||----w |
|| ||
This will additionally create a lock file for the command on the first run to ensure that each subsequent run uses the same npm dependency versions.
See the release announcement for the complete update.
#Deno #released #supports #custom #registry #improves #quality #News Fast Delivery