clean-release
Advanced tools
Comparing version 2.14.0 to 2.15.1
@@ -26,2 +26,4 @@ "use strict"; | ||
clean-release --config clean-release.config.ts | ||
clean-release --only-changed-packages | ||
clean-release --effected-packages foo --effected-packages bar | ||
Options: | ||
@@ -31,2 +33,4 @@ -h, --help Print this message. | ||
--config Config file | ||
--only-changed-packages Only changed packages will bump. | ||
--effected-packages The packages will be considered as effected packages. | ||
`); | ||
@@ -120,3 +124,14 @@ } | ||
if (configData.askVersion) { | ||
const { version, effectedWorkspaces } = await npm_version_cli_1.askVersion(); | ||
const effectedPackages = []; | ||
if (typeof argv["effected-packages"] === 'string') { | ||
effectedPackages.push(argv["effected-packages"]); | ||
} | ||
else if (Array.isArray(argv["effected-packages"])) { | ||
effectedPackages.push(...argv["effected-packages"]); | ||
} | ||
const options = { | ||
onlyChangedPackages: !!argv['only-changed-packages'], | ||
effectedPackages, | ||
}; | ||
const { version, effectedWorkspaces } = await npm_version_cli_1.askVersion(options); | ||
packageJsonData.version = version; | ||
@@ -123,0 +138,0 @@ if (effectedWorkspaces) { |
{ | ||
"name": "clean-release", | ||
"version": "2.14.0", | ||
"version": "2.15.1", | ||
"description": "A CLI tool to copy files to be released into a tmp clean directory for npm publishing, electronjs packaging, docker image creation, or deployment", | ||
@@ -11,3 +11,4 @@ "main": "dist/core.js", | ||
"test": "clean-scripts test", | ||
"fix": "clean-scripts fix" | ||
"fix": "clean-scripts fix", | ||
"release": "node dist/index.js" | ||
}, | ||
@@ -24,3 +25,3 @@ "repository": { | ||
"typeCoverage": { | ||
"atLeast": 98.97 | ||
"atLeast": 99.36 | ||
}, | ||
@@ -32,17 +33,17 @@ "homepage": "https://github.com/plantain-00/clean-release#readme", | ||
"@types/mkdirp": "1.0.1", | ||
"@types/node": "14.0.27", | ||
"@types/node": "14.11.2", | ||
"@types/rimraf": "3.0.0", | ||
"@types/semver": "7.3.1", | ||
"@types/semver": "7.3.4", | ||
"@types/tmp": "0.2.0", | ||
"@typescript-eslint/eslint-plugin": "3.8.0", | ||
"@typescript-eslint/parser": "3.8.0", | ||
"eslint": "7.6.0", | ||
"eslint-config-prettier": "6.11.0", | ||
"eslint-plugin-plantain": "1.0.0", | ||
"@typescript-eslint/eslint-plugin": "4.2.0", | ||
"@typescript-eslint/parser": "4.2.0", | ||
"eslint": "7.9.0", | ||
"eslint-config-prettier": "6.12.0", | ||
"eslint-plugin-plantain": "1.1.0", | ||
"markdownlint-cli": "0.23.2", | ||
"no-unused-export": "1.12.2", | ||
"ts-node": "8.10.2", | ||
"ts-node": "9.0.0", | ||
"tsconfig-plantain": "0.0.1", | ||
"type-coverage": "2.9.0", | ||
"typescript": "3.9.7" | ||
"type-coverage": "2.13.0", | ||
"typescript": "4.0.3" | ||
}, | ||
@@ -61,3 +62,6 @@ "bin": { | ||
"tmp": "0.2" | ||
}, | ||
"publishConfig": { | ||
"registry": "https://registry.npmjs.org/" | ||
} | ||
} |
@@ -29,2 +29,4 @@ # clean-release | ||
-v,--version | Print the version | ||
--only-changed-packages | Only changed packages will bump. | ||
--effected-packages | The packages will be considered as effected packages. | ||
@@ -31,0 +33,0 @@ ## config |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
20886
312
185