1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-12-01 16:51:13 -05:00
denoland-deno/cli/tools
Marvin Hagemeister 3553aa9132
fix(publish): error on missing name field (#27131)
This PR improves the error output on publish when the `name` filed is
missing:

```json
{
  "exports": "./mod.ts",
  "version": "0.0.1"
}
```

Before:

```sh
deno publish --dry-run
error: You did not specify an entrypoint in file:///Users/marvinh/dev/test/deno-pkg-timers/deno.json. Add `exports` mapping in the configuration file, eg:
{
  "name": "@scope/name",
  "version": "0.0.0",
  "exports": "<path_to_entrypoint>"
}
```

After:

```sh
deno publish --dry-run
error: Missing 'name' field in 'file:///Users/marvinh/dev/test/deno-pkg-timers/deno.json'.
```

Fixes https://github.com/denoland/deno/issues/27116
2024-11-28 18:11:36 +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(publish): error on missing name field (#27131) 2024-11-28 18:11:36 +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