From 3dc45d6d6d414b0c5b885bf3bd6e5b8621df2f38 Mon Sep 17 00:00:00 2001 From: Shawn Erquhart Date: Thu, 21 Mar 2019 12:12:16 -0400 Subject: [PATCH] chore: update prerelease scripts --- CONTRIBUTING.md | 2 +- package.json | 20 ++++++++++---------- 2 files changed, 11 insertions(+), 11 deletions(-) diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index a2d9388d..e77a3132 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -31,7 +31,7 @@ $ yarn start ### `bootstrap` -Installs and bootstraps any CMS package dependencies. +Bootstraps the monorepo. #### Usage diff --git a/package.json b/package.json index ce301cd0..7908e2c6 100644 --- a/package.json +++ b/package.json @@ -1,8 +1,6 @@ { "scripts": { - "bootstrap": "run-s bootstrap:install bootstrap:lerna", - "bootstrap:install": "yarn", - "bootstrap:lerna": "lerna bootstrap", + "bootstrap": "lerna bootstrap", "start": "run-s bootstrap develop", "watch": "lerna run watch --parallel", "develop": "lerna run develop --parallel", @@ -35,14 +33,16 @@ "publish:version": "lerna version --no-push", "publish:push": "run-s publish:push-git publish:from-git", "publish:push-git": "git push --follow-tags", - "publish:from-git": "lerna publish from-git", + "publish:from-git": "lerna publish from-git --pre-dist-tag beta", "publish:dry-run": "run-s \"publish:version --no-git-tag-version\"", - "publish:beta": "run-s publish:beta:before-manual-version publish:beta:after-manual-version", - "publish:beta:before-manual-version": "run-s bootstrap test publish:beta:version", - "publish:beta:after-manual-version": "run-s publish:prepare publish:beta:push", - "publish:beta:version": "lerna version prerelease --preid beta --no-push", - "publish:beta:push": "run-s publish:push-git \"publish:from-git -- --dist-tag beta\"", - "publish:beta:dry-run": "run-s \"publish:beta:version --no-git-tag-version\"", + "publish:prerelease": "run-s publish:prerelease:before-manual-version publish:after-manual-version", + "publish:prerelease:before-manual-version": "run-s bootstrap test publish:prerelease:version", + "publish:prerelease:version": "lerna version --conventional-prerelease --preid beta --no-push", + "publish:prerelease:dry-run": "run-s \"publish:prerelease:version --no-git-tag-version\"", + "publish:graduate": "run-s publish:graduate:before-manual-version publish:after-manual-version", + "publish:graduate:before-manual-version": "run-s bootstrap test publish:graduate:version", + "publish:graduate:version": "lerna version --conventional-graduate --no-push", + "publish:graduate:dry-run": "run-s \"publish:graduate:version --no-git-tag-version\"", "format": "run-s \"lint:css -- --fix --quiet\" \"lint:js -- --fix --quiet\" \"format:prettier -- --write\"", "format:prettier": "prettier \"{{packages,scripts,website}/**/,}*.{js,css}\"", "lint": "run-p -c --aggregate-output lint:*",