From db774dc229ed1407615f4293781ad0d39a6db1dc Mon Sep 17 00:00:00 2001 From: Rod Vagg Date: Mon, 8 Mar 2021 12:03:31 +1100 Subject: [PATCH] fix: revert publish with "main" using ipjs@3 (#65) Ref: https://github.com/multiformats/js-multiformats/pull/64#issuecomment-792393859 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. --- package.json | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/package.json b/package.json index 656440cb..30f995ef 100644 --- a/package.json +++ b/package.json @@ -6,12 +6,12 @@ "type": "module", "scripts": { "build": "npm run build:js && npm run build:types", - "build:js": "npm_config_yes=true npx ipjs@latest build --tests", + "build:js": "npm_config_yes=true ipjs build --tests", "build:types": "tsc --emitDeclarationOnly --declarationDir dist/types", "build:vendor": "npm run build:vendor:varint && npm run build:vendor:base-x", "build:vendor:varint": "npx brrp -x varint > vendor/varint.js", "build:vendor:base-x": "npx brrp -x @multiformats/base-x > vendor/base-x.js", - "publish": "npm_config_yes=true npx ipjs@latest publish", + "publish": "npm_config_yes=true ipjs publish", "lint": "standard", "check": "tsc --noEmit --noErrorTruncation", "test:cjs": "npm run build:js && mocha dist/cjs/node-test/test-*.js && npm run test:cjs:browser", @@ -89,6 +89,7 @@ "@typescript-eslint/parser": "^4.6.0", "c8": "^7.3.5", "hundreds": "0.0.9", + "ipjs": "^3.4.4", "mocha": "^8.2.0", "polendina": "^1.1.0", "standard": "^15.0.0", @@ -123,4 +124,4 @@ ] } } -} \ No newline at end of file +}