-
Notifications
You must be signed in to change notification settings - Fork 622
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(publishing): upgrade and patch lerna
- Loading branch information
Showing
4 changed files
with
72 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
diff --git a/command.js b/command.js | ||
index 974ce66687a1f98ed6b557716565fd3cd45fbb7b..e5754601e49eb7f3c24b974fd8385746e02b4454 100644 | ||
--- a/command.js | ||
+++ b/command.js | ||
@@ -286,7 +286,7 @@ exports.addBumpPositional = function addBumpPositional(yargs, additionalKeywords | ||
describe: `Increment version(s) by explicit version _or_ semver keyword,\n${bumpOptionList}`, | ||
type: "string", | ||
coerce: choice => { | ||
- if (!semver.valid(choice) && semverKeywords.indexOf(choice) === -1) { | ||
+ if (choice && !semver.valid(choice) && semverKeywords.indexOf(choice) === -1) { | ||
throw new Error(`bump must be an explicit version string _or_ one of: ${bumpOptionList}`); | ||
} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -89,7 +89,7 @@ | |
"inquirer-maxlength-input-prompt": "^1.0.0", | ||
"jest": "^26.6.3", | ||
"jest-extended": "^0.11.5", | ||
"lerna": "^3.21.0", | ||
"lerna": "3.22.1", | ||
"lint-staged": "^7.2.2", | ||
"listr": "^0.14.3", | ||
"load-json-file": "^6.2.0", | ||
|
@@ -153,9 +153,9 @@ | |
"lerna:publish:latest": "yarn lerna publish from-package --yes", | ||
"lerna:version:beta": "yarn lerna version --conventional-prerelease --force-publish --preid beta --yes", | ||
"lerna:publish:beta": "yarn lerna publish from-package --dist-tag beta --yes", | ||
"lerna:version:verdaccio": "yarn lerna version prerelease --conventional-prerelease --force-publish --preid next --no-push --no-changelog --yes", | ||
"lerna:version:verdaccio": "yarn lerna version --conventional-prerelease --force-publish --preid next --no-push --no-changelog --yes", | ||
"lerna:publish:verdaccio": "yarn lerna publish from-package --dist-tag next --registry=\"http://localhost:4873\" --no-verify-access --no-verify-registry --yes", | ||
"lerna:version:experimental": "yarn lerna version prerelease --conventional-prerelease --preid experimental --force-publish --no-push --no-changelog --yes", | ||
"lerna:version:experimental": "yarn lerna version --conventional-prerelease --preid experimental --force-publish --no-push --no-changelog --yes", | ||
"lerna:publish:experimental": "yarn lerna publish from-package --dist-tag experimental --yes", | ||
"verdaccio:start": "yarn verdaccio -c ./.verdaccio.yaml", | ||
"verdaccio:start:detached": "yarn pm2 start \"yarn verdaccio:start\"", | ||
|
@@ -225,7 +225,8 @@ | |
"@pulumi/pulumi": "3.25.0", | ||
"@pulumi/aws": "4.28.0", | ||
"@types/eslint": "8.2.1", | ||
"yargs": "^17.3.1" | ||
"yargs": "^17.3.1", | ||
"@lerna/[email protected]": "patch:@lerna/version@npm:3.22.1#.yarn/patches/@lerna-version-npm-3.22.1-97f4c3a7dd" | ||
}, | ||
"packageManager": "[email protected]" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters