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 d17f4590a2
feat(init): add --npm flag to initialize npm projects (#26896)
This commit adds support for `deno init --npm <package>`.

Running this will actually call to `npm:create-<package>` package that
is equivalent to running `npm create <package>`.

User will be prompted if they want to allow all permissions and
lifecycle scripts to be executed.
Closes https://github.com/denoland/deno/issues/26461

---------

Signed-off-by: Bartek Iwańczuk <biwanczuk@gmail.com>
Co-authored-by: crowlkats <crowlkats@toaxl.com>
Co-authored-by: David Sherret <dsherret@users.noreply.github.com>
2024-11-21 00:03:11 +00:00
..
deno_json.rs fix(lockfile): track dependencies specified in TypeScript compiler options (#26551) 2024-11-20 00:49:19 +00:00
flags.rs feat(init): add --npm flag to initialize npm projects (#26896) 2024-11-21 00:03:11 +00:00
flags_net.rs refactor(runtime/permissions): use concrete error types (#26464) 2024-11-04 09:17:21 -08:00
import_map.rs refactor(permissions): split up Descriptor into Allow, Deny, and Query (#25508) 2024-09-16 21:39:37 +01:00
lockfile.rs fix(lockfile): track dependencies specified in TypeScript compiler options (#26551) 2024-11-20 00:49:19 +00:00
mod.rs feat(init): add --npm flag to initialize npm projects (#26896) 2024-11-21 00:03:11 +00:00
package_json.rs fix: surface package.json location on dep parse failure (#26665) 2024-10-31 15:35:17 +00:00