Skip to content

Commit 6b6ca53

Browse files
authoredJan 7, 2025
build: migrate to pnpm (#86)
Yarn is outdated, lerna has less to offer. Pnpm becomes the best solution for monorepos. Here's publishing recipe ```sh pnpm version-all 2.9.2 git add -A git commit -m "2.9.2" git tag 2.9.2 pnpm publish-all ```
1 parent cef701b commit 6b6ca53

File tree

6 files changed

+1500
-3035
lines changed

6 files changed

+1500
-3035
lines changed
 

‎lerna.json

-6
This file was deleted.

‎package.json

+3-4
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,15 @@
11
{
2+
"packageManager": "pnpm@9.15.0",
23
"private": true,
3-
"workspaces": [
4-
"packages/*"
5-
],
64
"scripts": {
5+
"version-all": "pnpm -r exec npm version",
6+
"publish-all": "pnpm -r publish",
77
"lint": "eslint packages --fix"
88
},
99
"devDependencies": {
1010
"@eslint/js": "^9.5.0",
1111
"eslint": "^9.5.0",
1212
"globals": "^15.6.0",
13-
"lerna": "^2.5.1",
1413
"lint-staged": "^6.0.0",
1514
"yorkie": "^1.0.1"
1615
},

‎packages/launch-editor-middleware/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,6 @@
1919
},
2020
"homepage": "https://github.com/yyx990803/launch-editor#readme",
2121
"dependencies": {
22-
"launch-editor": "^2.9.1"
22+
"launch-editor": "workspace:^"
2323
}
2424
}

‎pnpm-lock.yaml

+1,494
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎pnpm-workspace.yaml

+2
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
packages:
2+
- "packages/*"

‎yarn.lock

-3,024
This file was deleted.

0 commit comments

Comments
 (0)
Please sign in to comment.