Skip to content

Commit

Permalink
revert(semver): revert incompatible conventional presets upgrade
Browse files Browse the repository at this point in the history
  • Loading branch information
edbzn committed Aug 2, 2024
1 parent 21b505d commit 617a326
Show file tree
Hide file tree
Showing 11 changed files with 19 additions and 80 deletions.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
16 changes: 8 additions & 8 deletions packages/semver/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,15 +18,15 @@
"dependencies": {
"chalk": "4.1.2",
"conventional-changelog": "^5.1.0",
"conventional-changelog-angular": "^8.0.0",
"conventional-changelog-atom": "^5.0.0",
"conventional-changelog-codemirror": "^5.0.0",
"conventional-changelog-angular": "^7.0.0",
"conventional-changelog-atom": "^4.0.0",
"conventional-changelog-codemirror": "^4.0.0",
"conventional-changelog-conventionalcommits": "^7.0.2",
"conventional-changelog-ember": "^5.0.0",
"conventional-changelog-eslint": "^6.0.0",
"conventional-changelog-express": "^5.0.0",
"conventional-changelog-jquery": "^6.0.0",
"conventional-changelog-jshint": "^5.0.0",
"conventional-changelog-ember": "^4.0.0",
"conventional-changelog-eslint": "^5.0.0",
"conventional-changelog-express": "^4.0.0",
"conventional-changelog-jquery": "^5.0.0",
"conventional-changelog-jshint": "^4.0.0",
"conventional-commits-parser": "^5.0.0",
"conventional-recommended-bump": "^9.0.0",
"detect-indent": "6.1.0",
Expand Down
7 changes: 3 additions & 4 deletions packages/semver/src/executors/version/utils/try-bump.ts
Original file line number Diff line number Diff line change
Expand Up @@ -245,10 +245,9 @@ export function _semverBump({
const recommended = await conventionalRecommendedBump({
path: projectRoot,
tagPrefix,
...(typeof preset === 'string' ? { preset } : {}),
...(typeof preset === 'object'
? { preset: preset.name ?? 'conventionalcommits', config: preset }
: {}),
...(typeof preset === 'string'
? { preset }
: { preset: preset.name ?? 'conventionalcommits', config: preset }),
});

let recommendedReleaseType: ReleaseIdentifier | undefined =
Expand Down
76 changes: 8 additions & 68 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -2155,15 +2155,15 @@ __metadata:
"@types/tmp": "npm:0.2.6"
chalk: "npm:4.1.2"
conventional-changelog: "npm:^5.1.0"
conventional-changelog-angular: "npm:^8.0.0"
conventional-changelog-atom: "npm:^5.0.0"
conventional-changelog-codemirror: "npm:^5.0.0"
conventional-changelog-angular: "npm:^7.0.0"
conventional-changelog-atom: "npm:^4.0.0"
conventional-changelog-codemirror: "npm:^4.0.0"
conventional-changelog-conventionalcommits: "npm:^7.0.2"
conventional-changelog-ember: "npm:^5.0.0"
conventional-changelog-eslint: "npm:^6.0.0"
conventional-changelog-express: "npm:^5.0.0"
conventional-changelog-jquery: "npm:^6.0.0"
conventional-changelog-jshint: "npm:^5.0.0"
conventional-changelog-ember: "npm:^4.0.0"
conventional-changelog-eslint: "npm:^5.0.0"
conventional-changelog-express: "npm:^4.0.0"
conventional-changelog-jquery: "npm:^5.0.0"
conventional-changelog-jshint: "npm:^4.0.0"
conventional-commits-parser: "npm:^5.0.0"
conventional-recommended-bump: "npm:^9.0.0"
detect-indent: "npm:6.1.0"
Expand Down Expand Up @@ -4154,43 +4154,20 @@ __metadata:
languageName: node
linkType: hard

"conventional-changelog-angular@npm:^8.0.0":
version: 8.0.0
resolution: "conventional-changelog-angular@npm:8.0.0"
dependencies:
compare-func: "npm:^2.0.0"
checksum: 10/856e4652015d6ff5a192e2051efe4eb0d57534da304a3bfa6eb1e1ed06c995fe6d7c91d46e7a6de95baea52f7ccaad3ffe18260c972d40bad862f85d00c7b437
languageName: node
linkType: hard

"conventional-changelog-atom@npm:^4.0.0":
version: 4.0.0
resolution: "conventional-changelog-atom@npm:4.0.0"
checksum: 10/b85e816ab1f2544c9db7655c40cb98895d4d2c2a1b4455b3b3a41ce92cee622a44d3566bffec241eeb7398b99390fb994dfc4972aa4adb6993745513cfd43a1a
languageName: node
linkType: hard

"conventional-changelog-atom@npm:^5.0.0":
version: 5.0.0
resolution: "conventional-changelog-atom@npm:5.0.0"
checksum: 10/51765007b4e0e899abbf6e88af591754de909d9cd9b544a7bebd26b905e6ec15871ca1e75539e634b524c45288be2787425331db6463596989fb8416c6e34a5d
languageName: node
linkType: hard

"conventional-changelog-codemirror@npm:^4.0.0":
version: 4.0.0
resolution: "conventional-changelog-codemirror@npm:4.0.0"
checksum: 10/faa322c80e056e1005c2175b717a47778b2becce06ab833079f074c9f64e61808e4284470ab5dcde123f986b5a94d51c96ebabe884ffc47a16843e4dcc58f650
languageName: node
linkType: hard

"conventional-changelog-codemirror@npm:^5.0.0":
version: 5.0.0
resolution: "conventional-changelog-codemirror@npm:5.0.0"
checksum: 10/38dcc3fc3c3dd050b8dc00b68f83845b7c82b3f871c3bbb3c1b9c888ed7d10be3c8042959be93e768ec2bee545eca0f41429e7a63d2abca711e5fdd79bc1bb84
languageName: node
linkType: hard

"conventional-changelog-conventionalcommits@npm:^7.0.2":
version: 7.0.2
resolution: "conventional-changelog-conventionalcommits@npm:7.0.2"
Expand Down Expand Up @@ -4225,55 +4202,27 @@ __metadata:
languageName: node
linkType: hard

"conventional-changelog-ember@npm:^5.0.0":
version: 5.0.0
resolution: "conventional-changelog-ember@npm:5.0.0"
checksum: 10/a36f8f80736d1ee36bc185c3d92b296797fc28783d480817a94a4a4031b9945cfbd89679087c5be3f6059a2b0899e091670193fa3b9b2a2238cb353615bf7a72
languageName: node
linkType: hard

"conventional-changelog-eslint@npm:^5.0.0":
version: 5.0.0
resolution: "conventional-changelog-eslint@npm:5.0.0"
checksum: 10/337f99132533d20aca629569ad732eb524796834a932d5a114ce158e04c261f0e053bc77452b12f48dd2244d8e4919ec57a4469c2c1855e3edca7414e36dd4ff
languageName: node
linkType: hard

"conventional-changelog-eslint@npm:^6.0.0":
version: 6.0.0
resolution: "conventional-changelog-eslint@npm:6.0.0"
checksum: 10/13634059636e1570fc0dbb0ff15b69a5bb67e39d699cb7baa29765c2a26cd6604b49f2c13a0d58734b6757c90f1ebe22032039c2c81863a2ce096dac6248bb7b
languageName: node
linkType: hard

"conventional-changelog-express@npm:^4.0.0":
version: 4.0.0
resolution: "conventional-changelog-express@npm:4.0.0"
checksum: 10/09bbb504b24ceb0e457e24f7b28e6cb2b3720163bac7e0a82b36f4c08c0d0bd031a3b9ddd7c223d394bdea09540d93942a1265442add4a9556da59827df89349
languageName: node
linkType: hard

"conventional-changelog-express@npm:^5.0.0":
version: 5.0.0
resolution: "conventional-changelog-express@npm:5.0.0"
checksum: 10/f344f057a8756a99637029b912d2c0eb569b68e34983e8948c790bb4bfef40758b2760c0ab720b3943354da3fa76d3d77d8f42f4f4564e07240b574c3bad5d6c
languageName: node
linkType: hard

"conventional-changelog-jquery@npm:^5.0.0":
version: 5.0.0
resolution: "conventional-changelog-jquery@npm:5.0.0"
checksum: 10/435a3773e5b0f6b66917ed3f88a814dc40a80ed7418110e8215ee16301d0b816b91bc4f6db1dedcd045290834ba15a317edc1f92794d678c3830fb9b47dee7b0
languageName: node
linkType: hard

"conventional-changelog-jquery@npm:^6.0.0":
version: 6.0.0
resolution: "conventional-changelog-jquery@npm:6.0.0"
checksum: 10/845134cf5d15c455f84ac9425c7307608aaa44cc5c27abf2849a35c86c62cc7134307fa67bc412aee0c1d0ef42335423c18aca66a95119c971d9c5b4a1f44c42
languageName: node
linkType: hard

"conventional-changelog-jshint@npm:^4.0.0":
version: 4.0.0
resolution: "conventional-changelog-jshint@npm:4.0.0"
Expand All @@ -4283,15 +4232,6 @@ __metadata:
languageName: node
linkType: hard

"conventional-changelog-jshint@npm:^5.0.0":
version: 5.0.0
resolution: "conventional-changelog-jshint@npm:5.0.0"
dependencies:
compare-func: "npm:^2.0.0"
checksum: 10/9db03b16610f2fbc448646cbb23f1ee28704ffa1175279ee39d51e8e0010bb82000385e662633900220f6834ad84b1ecf8ccbdebcf4ae0d7710a5599de9b0d52
languageName: node
linkType: hard

"conventional-changelog-preset-loader@npm:^4.1.0":
version: 4.1.0
resolution: "conventional-changelog-preset-loader@npm:4.1.0"
Expand Down

0 comments on commit 617a326

Please sign in to comment.