Skip to content

Commit 3b4113f

Browse files
committed
chore: use postversion instead of prepublishOnly
This seems to work with lerna
1 parent d1b4f30 commit 3b4113f

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

packages/vuefire/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
"types": "tsc -p ./types/test/tsconfig.json",
2323
"unit": "jest",
2424
"dev": "npm run unit -- --watchAll",
25-
"prepublishOnly": "npm run build",
25+
"postversion": "npm run build",
2626
"release": "release-it pre --preReleaseId=alpha --npm.tag=next --github.preRelease"
2727
},
2828
"repository": {

packages/vuexfire/package.json

+2-3
Original file line numberDiff line numberDiff line change
@@ -20,9 +20,8 @@
2020
"test:unit": "ava",
2121
"test:coverage": "nyc npm run test:unit",
2222
"dev:test": "npm run test:unit -- --watch",
23-
"prepublishOnly": "npm run build",
24-
"build": "node --eval 'require(\"@posva/vuefire-bundler\")(\"Vuexfire\")'",
25-
"release": "release-it pre --preReleaseId=alpha --npm.tag=next --github.preRelease"
23+
"postversion": "npm run build",
24+
"build": "node --eval 'require(\"@posva/vuefire-bundler\")(\"Vuexfire\")'"
2625
},
2726
"repository": {
2827
"type": "git",

0 commit comments

Comments
 (0)