diff --git a/lerna.json b/lerna.json index b7dfeba1d..7bcd9250d 100644 --- a/lerna.json +++ b/lerna.json @@ -2,6 +2,11 @@ "tagVersionPrefix": "lib@", "version": "2.2.33", "includeMergedTags": true, + "command": { + "version": { + "message": "publish npm packages %s" + } + }, "packages": [ "packages/*", "plugins/*" diff --git a/package.json b/package.json index da0e0cbea..03e11c211 100644 --- a/package.json +++ b/package.json @@ -12,7 +12,9 @@ "lint": "eslint . --ext .js,.json", "lint:fix": "npm run lint -- --fix", "bootstrap": "npm install && lerna bootstrap && lerna run --parallel --stream bootstrap", - "publish": "lerna publish", + "version": "lerna version --exact --no-private --preid beta", + "version:dry": "npm run version -- --no-git-tag-version", + "publish": "lerna publish from-git --pre-dist-tag beta", "clean": "lerna clean --yes && rimraf node_modules", "typecheck": "lerna run --parallel --stream typecheck", "test": "npm run lint && npm run typecheck && lerna run --stream --parallel test",