1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-12-03 17:08:35 -05:00
denoland-deno/cli/tools
Marvin Hagemeister 026bbc4a9e
fix(init): support scoped npm packages (#27128)
The naming scheme for create npm packages varies depending on whether
they are scoped or not. We only supported unscoped packages prior to
this PR. This PR adds support for all the following cases which npm
supports:

- `foo` -> `create-foo`
- `@foo/bar` -> `@foo/create-bar`
- `@foo` -> `@foo/create`
- `@foo@2.0.0` -> `@foo/create@2.0.0`
- `@foo/bar@2.0.0` -> `@foo/create-bar@2.0.0`

See https://docs.npmjs.com/cli/v8/commands/npm-init#description

Fixes https://github.com/denoland/deno/issues/27127
2024-11-28 15:07:32 +01:00
..
bench feat(watch): log which file changed on HMR or watch change (#25801) 2024-11-16 15:59:31 +01:00
coverage feat(node): stabilize detecting if CJS via "type": "commonjs" in a package.json (#26439) 2024-11-13 15:10:09 +00:00
doc refactor: update deno_doc, use prismjs, remove internal reference html generation logic (#26885) 2024-11-19 08:56:04 -08:00
init fix(init): support scoped npm packages (#27128) 2024-11-28 15:07:32 +01:00
jupyter feat(node): stabilize detecting if CJS via "type": "commonjs" in a package.json (#26439) 2024-11-13 15:10:09 +00:00
lint fix(node): correct resolution of dynamic import of esm from cjs (#27071) 2024-11-26 14:38:24 -05:00
registry fix: support bun specifiers in JSR publish (#24588) 2024-11-28 14:51:24 +01:00
repl fix(node): correct resolution of dynamic import of esm from cjs (#27071) 2024-11-26 14:38:24 -05:00
run feat(watch): log which file changed on HMR or watch change (#25801) 2024-11-16 15:59:31 +01:00
test feat(watch): log which file changed on HMR or watch change (#25801) 2024-11-16 15:59:31 +01:00
check.rs feat: Wasm module support (#26668) 2024-11-19 18:59:23 -05:00
clean.rs feat(clean): add progress bar (#25026) 2024-08-14 13:04:07 +02:00
compile.rs feat(compile): ability to embed local data files (#26934) 2024-11-19 16:19:35 -05:00
doc.rs fix(tools/doc): HTML resolve main entrypoint from config file (#27103) 2024-11-27 02:15:15 -08:00
fmt.rs fix(fmt): return None if sql fmt result is the same (#27014) 2024-11-22 22:57:33 +00:00
info.rs fix(info): resolve bare specifier pointing to workspace member (#27020) 2024-11-27 13:54:26 -08:00
installer.rs fix(install/global): do not error if path is an npm pkg and relative file (#26975) 2024-11-21 17:00:10 +00:00
mod.rs BREAKING: remove deno vendor (#25343) 2024-09-03 17:00:57 +10:00
serve.rs feat(watch): log which file changed on HMR or watch change (#25801) 2024-11-16 15:59:31 +01:00
task.rs fix(task): strip ansi codes and control chars when printing tasks (#27100) 2024-11-27 15:54:15 +00:00
upgrade.rs fix: otel resiliency (#26857) 2024-11-14 12:16:28 +00:00