@covector/assemble
Advanced tools
Comparing version 0.4.0 to 0.4.1
# Changelog | ||
## [0.4.1] | ||
- Fix additional bump types to be a no-op bump. | ||
- [15431f0](https://www.github.com/jbolda/covector/commit/15431f0661a30c8cb336194e39709147bfbd1aea) fix: additional bump type is no-op ([#149](https://www.github.com/jbolda/covector/pull/149)) on 2021-02-22 | ||
## [0.4.0] | ||
@@ -4,0 +9,0 @@ |
@@ -69,2 +69,3 @@ const unified = require("unified"); | ||
["patch", 3], | ||
["noop", 4], | ||
]); | ||
@@ -83,5 +84,8 @@ return bumps.get(bumpOne) < bumps.get(bumpTwo) ? bumpOne : bumpTwo; | ||
if (bumpOptions.includes(change.releases[pkg])) { | ||
const bumpType = additionalBumpTypes.includes(change.releases[pkg]) | ||
? "noop" | ||
: change.releases[pkg]; | ||
if (!release[pkg]) { | ||
release[pkg] = { | ||
type: change.releases[pkg], | ||
type: bumpType, | ||
changes: cloneDeep([change]), | ||
@@ -91,3 +95,3 @@ }; | ||
release[pkg] = { | ||
type: compareBumps(release[pkg].type, change.releases[pkg]), | ||
type: compareBumps(release[pkg].type, bumpType), | ||
changes: cloneDeep([...release[pkg].changes, change]), | ||
@@ -94,0 +98,0 @@ }; |
{ | ||
"name": "@covector/assemble", | ||
"version": "0.4.0", | ||
"version": "0.4.1", | ||
"license": "Apache-2.0", | ||
@@ -9,4 +9,4 @@ "files": [ | ||
"dependencies": { | ||
"@covector/command": "0.1.0", | ||
"@covector/files": "0.2.0", | ||
"@covector/command": "0.2.0", | ||
"@covector/files": "0.2.1", | ||
"lodash.clonedeep": "^4.5.0", | ||
@@ -13,0 +13,0 @@ "lodash.template": "^4.5.0", |
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
18899
335
+ Added@covector/command@0.2.0(transitive)
+ Added@covector/files@0.2.1(transitive)
+ Addedansi-regex@5.0.1(transitive)
+ Addedstrip-ansi@6.0.1(transitive)
- Removed@covector/command@0.1.0(transitive)
- Removed@covector/files@0.2.0(transitive)
- Removed@effection/events@0.7.9(transitive)
- Removed@effection/subscription@0.12.0(transitive)
- Removedcross-spawn@7.0.3(transitive)
- Removedeffection@0.8.0(transitive)
- Removedend-of-stream@1.4.4(transitive)
- Removedexeca@4.1.0(transitive)
- Removedget-stream@5.2.0(transitive)
- Removedhuman-signals@1.1.1(transitive)
- Removedis-stream@2.0.1(transitive)
- Removedisexe@2.0.0(transitive)
- Removedmerge-stream@2.0.0(transitive)
- Removedmimic-fn@2.1.0(transitive)
- Removednpm-run-path@4.0.1(transitive)
- Removedonce@1.4.0(transitive)
- Removedonetime@5.1.2(transitive)
- Removedpath-key@3.1.1(transitive)
- Removedpump@3.0.2(transitive)
- Removedshebang-command@2.0.0(transitive)
- Removedshebang-regex@3.0.0(transitive)
- Removedsignal-exit@3.0.7(transitive)
- Removedstrip-final-newline@2.0.0(transitive)
- Removedwhich@2.0.2(transitive)
- Removedwrappy@1.0.2(transitive)
Updated@covector/command@0.2.0
Updated@covector/files@0.2.1