Closed lucacasonato closed 4 months ago
Right now the default behaviour of jsr publish and deno publish in projects without package.json is different. For these (deno) projects, the behaviour should be identical.
jsr publish
deno publish
package.json
We should not enable any of these options unless a package.json is found in the repository: https://github.com/jsr-io/jsr-npm/blob/25124b8cc59202dabe6c41a8541b0bc03b25bca2/src/commands.ts#L159-L162
Because of this discrepancy, users have run into issues: https://discord.com/channels/684898665143206084/1216305070258524181
Right now the default behaviour of
jsr publish
anddeno publish
in projects withoutpackage.json
is different. For these (deno) projects, the behaviour should be identical.We should not enable any of these options unless a
package.json
is found in the repository: https://github.com/jsr-io/jsr-npm/blob/25124b8cc59202dabe6c41a8541b0bc03b25bca2/src/commands.ts#L159-L162Because of this discrepancy, users have run into issues: https://discord.com/channels/684898665143206084/1216305070258524181