Skip to content

Commit 5d94799

Browse files
authored
fix NPM publishing (#19)
* add `.npmrc` file * add `publishConfig` to `package.json` * update `package.json` URLs
1 parent 24e3c0a commit 5d94799

File tree

2 files changed

+8
-3
lines changed

2 files changed

+8
-3
lines changed

.npmrc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
//registry.npmjs.org/:_authToken=${NPM_TOKEN}

package.json

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@
4444
},
4545
"repository": {
4646
"type": "git",
47-
"url": "git+https://github.com/bytecodealliance/jco.git"
47+
"url": "git+https://github.com/nomicfoundation/jco.git"
4848
},
4949
"keywords": [
5050
"Wasm",
@@ -53,9 +53,13 @@
5353
],
5454
"license": "(Apache-2.0 WITH LLVM-exception)",
5555
"bugs": {
56-
"url": "https://github.com/bytecodealliance/jco/issues"
56+
"url": "https://github.com/nomicfoundation/jco/issues"
57+
},
58+
"homepage": "https://github.com/nomicfoundation/jco#readme",
59+
"publishConfig": {
60+
"registry": "https://registry.npmjs.org/",
61+
"access": "public"
5762
},
58-
"homepage": "https://github.com/bytecodealliance/jco#readme",
5963
"scripts": {
6064
"build": "cargo xtask build debug",
6165
"build:release": "cargo xtask build release",

0 commit comments

Comments
 (0)