Skip to content

Commit db774dc

Browse files
authored
fix: revert publish with "main" using ipjs@3 (#65)
Ref: #64 (comment) Removing `npx` from the workflow while I'm at it. This can be added back in if anyone objects but I'm not a big fan of `npx` for common-path scripts.
1 parent 309eb22 commit db774dc

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

package.json

+4-3
Original file line numberDiff line numberDiff line change
@@ -6,12 +6,12 @@
66
"type": "module",
77
"scripts": {
88
"build": "npm run build:js && npm run build:types",
9-
"build:js": "npm_config_yes=true npx ipjs@latest build --tests",
9+
"build:js": "npm_config_yes=true ipjs build --tests",
1010
"build:types": "tsc --emitDeclarationOnly --declarationDir dist/types",
1111
"build:vendor": "npm run build:vendor:varint && npm run build:vendor:base-x",
1212
"build:vendor:varint": "npx brrp -x varint > vendor/varint.js",
1313
"build:vendor:base-x": "npx brrp -x @multiformats/base-x > vendor/base-x.js",
14-
"publish": "npm_config_yes=true npx ipjs@latest publish",
14+
"publish": "npm_config_yes=true ipjs publish",
1515
"lint": "standard",
1616
"check": "tsc --noEmit --noErrorTruncation",
1717
"test:cjs": "npm run build:js && mocha dist/cjs/node-test/test-*.js && npm run test:cjs:browser",
@@ -89,6 +89,7 @@
8989
"@typescript-eslint/parser": "^4.6.0",
9090
"c8": "^7.3.5",
9191
"hundreds": "0.0.9",
92+
"ipjs": "^3.4.4",
9293
"mocha": "^8.2.0",
9394
"polendina": "^1.1.0",
9495
"standard": "^15.0.0",
@@ -123,4 +124,4 @@
123124
]
124125
}
125126
}
126-
}
127+
}

0 commit comments

Comments
 (0)