You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I just tried to publish a package and had not yet added a name to deno.json. But the error was, that I was missing an entrypoint.
deno publish --dry-run
error: You did not specify an entrypoint in deno.json. Add `exports` mapping in the configuration file, eg:
{
"name": "@scope/name",
"version": "0.0.0",
"exports": "mod.ts"
}
Steps to reproduce:
Create deno.json with the following content in an empty directory:
{
"exports": "mod.ts",
"version": "0.0.1"
}
Run deno publish --dry-run.
The text was updated successfully, but these errors were encountered:
Version: Deno 2.1.1
I just tried to publish a package and had not yet added a name to
deno.json
. But the error was, that I was missing an entrypoint.Steps to reproduce:
Create
deno.json
with the following content in an empty directory:Run
deno publish --dry-run
.The text was updated successfully, but these errors were encountered: