Skip to content

Commit b25a9a9

Browse files
committed
pnpm
1 parent 125bc36 commit b25a9a9

File tree

4 files changed

+15
-7227
lines changed

4 files changed

+15
-7227
lines changed

lerna.json

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,13 @@
11
{
2-
"lerna": "6",
3-
"conventionalCommits": true,
4-
"npmClient": "yarn",
2+
"$schema": "node_modules/lerna/schemas/lerna-schema.json",
3+
"version": "independent",
4+
"npmClient": "pnpm",
55
"npmClientArgs": [
6-
"--no-lockfile"
6+
"--frozen-lockfile"
77
],
88
"packages": [
99
"packages/*"
1010
],
11-
"version": "independent",
1211
"registry": "https://registry.npmjs.org",
1312
"command": {
1413
"create": {
@@ -18,7 +17,8 @@
1817
},
1918
"publish": {
2019
"allowBranch": "main",
21-
"message": "chore(release): publish"
20+
"message": "chore(release): publish",
21+
"conventionalCommits": true
2222
}
2323
}
2424
}

package.json

Lines changed: 7 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -15,12 +15,11 @@
1515
"packages/*"
1616
],
1717
"scripts": {
18-
"clean": "lerna run clean",
19-
"build": "lerna run build --stream",
20-
"build:dev": "lerna run build:dev --stream; yarn symlink",
21-
"lint": "lerna run lint --parallel",
22-
"symlink": "symlink-workspace --logLevel error",
23-
"postinstall": "yarn symlink",
18+
"build": "pnpm -r run build",
19+
"clean": "pnpm -r run clean",
20+
"test": "pnpm -r run test",
21+
"lint": "pnpm -r run lint",
22+
"deps": "pnpm up -r -i -L",
2423
"bump-versions": "ts-node scripts/bump-versions.ts"
2524
},
2625
"devDependencies": {
@@ -36,15 +35,13 @@
3635
"glob": "^11.0.0",
3736
"jest": "^29.6.2",
3837
"jest-diff": "30.0.0",
39-
"lerna": "^6",
38+
"lerna": "^8.2.4",
4039
"prettier": "^3.0.2",
4140
"rimraf": "4.4.1",
4241
"strip-ansi": "^6",
4342
"semver": "^7.7.2",
44-
"symlink-workspace": "^1.10.0",
4543
"ts-jest": "^29.1.1",
4644
"ts-node": "^10.9.2",
4745
"typescript": "^5.1.6"
48-
},
49-
"packageManager": "[email protected]+sha512.a6b2f7906b721bba3d67d4aff083df04dad64c399707841b7acf00f6b133b7ac24255f2652fa22ae3534329dc6180534e98d17432037ff6fd140556e2bb3137e"
46+
}
5047
}

pnpm-workspace.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
packages:
2+
- 'packages/*'

0 commit comments

Comments
 (0)