@carrot-protocol/http-client 0.2.56-fix-common-dev-b78577f → 0.2.56

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (1) hide show
  1. package/package.json +3 -2
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@carrot-protocol/http-client",
3
- "version": "0.2.56-fix-common-dev-b78577f",
3
+ "version": "0.2.56",
4
4
  "description": "interact with carrot api",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -9,7 +9,8 @@
9
9
  "build": "npm run clean && npm i && tsc && npm pack",
10
10
  "build:dirty": "npm i && tsc && npm pack",
11
11
  "fmt:check": "prettier --check src/",
12
- "fmt": "prettier --write src/"
12
+ "fmt": "prettier --write src/",
13
+ "version-check": "current_version=$(node -p -e \"require('./package.json').version\") && if npm view @carrot-protocol/common@$current_version > /dev/null 2>&1; then echo \"Version $current_version already exists. Please bump it in package.json\"; exit 1; fi"
13
14
  },
14
15
  "author": "",
15
16
  "license": "ISC",