Skip to content

Commit 40db78b

Browse files
committed
chore: updated lerna
1 parent 5152034 commit 40db78b

File tree

4 files changed

+454
-984
lines changed

4 files changed

+454
-984
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,5 +37,6 @@ jobs:
3737
--ignore-engines
3838

3939
- run: yarn lint
40+
- run: yarn lint:root
4041
- run: yarn test
4142
- run: yarn test:root

lerna.json

Lines changed: 22 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,15 @@
11
{
22
"$schema": "https://json.schemastore.org/lerna.json",
33
"npmClient": "yarn",
4-
"packages": ["examples/*", "packages/*"],
4+
"packages": [
5+
"examples/*",
6+
"packages/*"
7+
],
58
"changelog": {
6-
"ignoreCommitters": ["allcontributors", "dependabot"],
9+
"ignoreCommitters": [
10+
"allcontributors",
11+
"dependabot"
12+
],
713
"labels": {
814
"enhancement": ":rocket: New Feature",
915
"bug": ":bug: Bug Fix"
@@ -12,15 +18,25 @@
1218
},
1319
"command": {
1420
"version": {
15-
"allowBranch": ["main", "next"]
21+
"allowBranch": [
22+
"main",
23+
"next"
24+
]
1625
},
1726
"publish": {
18-
"allowBranch": ["main", "next"],
27+
"allowBranch": [
28+
"main",
29+
"next"
30+
],
1931
"conventionalCommits": true,
2032
"message": "chore(release): %s"
2133
}
2234
},
23-
"ignoreChanges": ["*.md", "*.txt", "__test__/**", "**/__tests__/**"],
24-
"useWorkspaces": true,
35+
"ignoreChanges": [
36+
"*.md",
37+
"*.txt",
38+
"__test__/**",
39+
"**/__tests__/**"
40+
],
2541
"version": "3.5.0"
2642
}

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
"url": "https://github.com/natterstefan/eslint-config-ns"
1717
},
1818
"scripts": {
19-
"bootstrap": "yarn lerna clean -y && lerna bootstrap",
19+
"bootstrap": "yarn lerna clean -y && yarn install",
2020
"lint": "FORCE_COLOR=1 turbo run lint --parallel --no-cache",
2121
"lint:root": "eslint . --ext .js,.ts,.tsx",
2222
"prelerna:publish": "node ./scripts/prepublish.js",
@@ -46,7 +46,7 @@
4646
"is-ci": "^3.0.1",
4747
"jest": "^29.6.2",
4848
"jest-preset-ns": "^3.0.0",
49-
"lerna": "^6.6.2",
49+
"lerna": "^7.1.4",
5050
"lerna-changelog": "^2.2.0",
5151
"prettier": "^3.0.0",
5252
"turbo": "^1.10.12",

0 commit comments

Comments
 (0)