Skip to content

Commit 0226430

Browse files
authored
refactor!: replace to pnpm (#1047)
1 parent acfe86a commit 0226430

File tree

10 files changed

+10940
-10159
lines changed

10 files changed

+10940
-10159
lines changed

.devcontainer/devcontainer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@
3434
},
3535

3636
// Use 'postCreateCommand' to run commands after the container is created.
37-
"postCreateCommand": "go mod download && yarn install"
37+
"postCreateCommand": "go mod download && pnpm install"
3838

3939
// Uncomment to connect as root instead. More info: https://aka.ms/dev-containers-non-root.
4040
// "remoteUser": "root"

.gitignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/.now/
1+
/.vercel/
22
/bin/
33
/cover/
44
/dist/

.husky/commit-msg

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
#!/bin/sh
22
. "$(dirname "$0")/_/husky.sh"
33

4-
yarn commitlint --edit $1
4+
pnpm commitlint --edit $1

.husky/pre-commit

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
#!/bin/sh
22
. "$(dirname "$0")/_/husky.sh"
33

4-
yarn lint-staged
4+
pnpm lint-staged

.prettierignore

Lines changed: 0 additions & 1 deletion
This file was deleted.

.prettierignore

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
/.vercel/
2+
/bin/
3+
/cover/
4+
/dist/
5+
/node_modules/
6+
/website/.docusaurus/
7+
/website/build/
8+
/website/node_modules/
9+
10+
/yarn-error.log
11+
/pnpm-lock.yaml
12+
/pnpm-workspace.yaml

package.json

Lines changed: 3 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -13,21 +13,14 @@
1313
"prettier": "^3.1.1",
1414
"typescript": "^5.3.3"
1515
},
16-
"packageManager": "yarn@1.22.21",
16+
"packageManager": "pnpm@8.12.1",
1717
"prettier": "@inabagumi/prettier-config",
1818
"private": true,
19-
"resolutions": {
20-
"cheerio": "^1.0.0-rc.12",
21-
"trim": "^1.0.1"
22-
},
2319
"scripts": {
24-
"build": "yarn workspace @manael/website build",
20+
"build": "pnpm --filter @manael/website build",
2521
"format": "prettier --write './**/*.{json,yml}'",
2622
"format-check": "prettier -c './**/*.{json,yml}'",
2723
"lint": "eslint .",
2824
"prepare": "is-ci || husky install"
29-
},
30-
"workspaces": [
31-
"website"
32-
]
25+
}
3326
}

0 commit comments

Comments
 (0)