From 00dbd28190bc5ff6e565b326fa4e946e300af352 Mon Sep 17 00:00:00 2001 From: Christopher Hiller Date: Wed, 5 Apr 2023 14:41:31 -0700 Subject: [PATCH] chore: add a "release" script This script executes `lerna publish`. The Lerna config has been changed so that the `publish` command uses a message of `chore: publish`. --- lerna.json | 4 ++++ package.json | 1 + 2 files changed, 5 insertions(+) diff --git a/lerna.json b/lerna.json index 587a5ba16..464fbbb9e 100644 --- a/lerna.json +++ b/lerna.json @@ -1,4 +1,5 @@ { + "$schema": "https://json.schemastore.org/lerna", "command": { "run": { "concurrency": 8 @@ -12,6 +13,9 @@ }, "add": { "exact": true + }, + "publish": { + "message": "chore: publish" } }, "ignoreChanges": ["**/test/**", "**/*.md"], diff --git a/package.json b/package.json index a225acfac..73d2345ec 100644 --- a/package.json +++ b/package.json @@ -57,6 +57,7 @@ "rebuild": "run-s clean build", "reinstall": "run-s clean clean:deps ci", "reinstall:angry": "npm run clean:dangerously && npm ci", + "release": "lerna publish", "stage-synced-pkgs": "git add -A packages/appium/README.md \"packages/*/package.json\"", "start": "appium", "sync-pkgs": "run-p sync-pkgs:*",