denoland / deno

A modern runtime for JavaScript and TypeScript.
https://deno.com
MIT License
93.17k stars 5.16k forks source link

`deno publish --dry-run` doesn't detect missing deno.json(c) file. #23796

Closed NfNitLoop closed 2 weeks ago

NfNitLoop commented 2 weeks ago

Version: Deno 1.43.1

https://jsr.io/publishing?v=%40nfnitloop%2Fnostrilo%400.1.0&date=2024-05-13T23%3A31%3A33.875Z

Error message:

missingConfigFile: missing config file '/deno.jsonc', is it perhaps excluded from publishing?

But I'd run deno publish --dry-run before deno publish and it didn't detect it.

See also: #22835, #23774