Skip to content

Commit 5771217

Browse files
authored
fix(pkg): drop the ./ prefix npm strips from bin paths anyway (#313)
Silence the publish-time 'bin[...] invalid and removed' warning by writing bin paths the way npm normalizes them. No consumer-visible change — the published manifest is identical to what 0.24.3 already has.
1 parent 7193b46 commit 5771217

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,8 @@
1212
"url": "https://github.com/moshcoder/moshcode/issues"
1313
},
1414
"bin": {
15-
"moshcode": "./bin/moshcode.mjs",
16-
"moshscript": "./bin/moshscript.mjs"
15+
"moshcode": "bin/moshcode.mjs",
16+
"moshscript": "bin/moshscript.mjs"
1717
},
1818
"scripts": {
1919
"start": "node bin/moshcode.mjs",

0 commit comments

Comments
 (0)