Skip to content

Commit 7c191f8

Browse files
authored
Merge pull request #1415 from SMotaal/smotaal/lerna-v5
lerna v5
2 parents e512174 + 0b0a6c9 commit 7c191f8

File tree

4 files changed

+2227
-1827
lines changed

4 files changed

+2227
-1827
lines changed

lerna.json

+2-3
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,7 @@
77
"changelogPreset": "conventionalcommits"
88
}
99
},
10-
"packages": [
11-
"packages/*"
12-
],
10+
"npmClient": "yarn",
11+
"useWorkspaces": true,
1312
"version": "independent"
1413
}

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
"eslint-plugin-jsdoc": "^30.4.2",
2020
"eslint-plugin-jsx-a11y": "^6.2.3",
2121
"eslint-plugin-prettier": "^3.4.1",
22-
"lerna": "^3.19.0",
22+
"lerna": "^5.6.2",
2323
"lerna-update-wizard": "^0.17.5",
2424
"typescript": "~4.8.4"
2525
},

patches/@lerna+conventional-commits+3.22.0.patch patches/@lerna+conventional-commits+5.6.2.patch

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
diff --git a/node_modules/@lerna/conventional-commits/lib/recommend-version.js b/node_modules/@lerna/conventional-commits/lib/recommend-version.js
2-
index f524f9d..1615398 100644
2+
index 4551feb..b678322 100644
33
--- a/node_modules/@lerna/conventional-commits/lib/recommend-version.js
44
+++ b/node_modules/@lerna/conventional-commits/lib/recommend-version.js
5-
@@ -77,6 +77,8 @@ function recommendVersion(pkg, type, { changelogPreset, rootPath, tagPrefix, pre
5+
@@ -82,6 +82,8 @@ function recommendVersion(pkg, type, { changelogPreset, rootPath, tagPrefix, pre
66
//
77
if (releaseType === "major") {
88
releaseType = "minor";

0 commit comments

Comments
 (0)