diff --git a/lerna.json b/lerna.json index 7e9ba1508..ce3004de4 100644 --- a/lerna.json +++ b/lerna.json @@ -2,5 +2,10 @@ "$schema": "node_modules/lerna/schemas/lerna-schema.json", "version": "independent", "npmClient": "npm", - "verbose": true + "verbose": true, + "command": { + "version": { + "message": "chore(release): Publish" + } + } } diff --git a/package.json b/package.json index b35466bc0..8f9c1a779 100644 --- a/package.json +++ b/package.json @@ -8,9 +8,11 @@ "url": "https://github.com/redhat-developer/vscode-extension-tester.git" }, "scripts": { + "version": "lerna version --no-private --no-push --signoff-git-commit", + "publish": "lerna publish from-package --no-private", "prepublishOnly": "npm run build", - "build": "npx lerna run build", - "build:changed": "npx lerna run build --since main", + "build": "lerna run build", + "build:changed": "lerna run build --since main", "test": "npm run ui-test --workspace=extester-test", "test:build": "npm run build:changed && npm install --workspace=extester-test && npm test" },