Skip to content

Commit

Permalink
refactor!: replace to pnpm (#1047)
Browse files Browse the repository at this point in the history
  • Loading branch information
ykzts authored Dec 19, 2023
1 parent acfe86a commit 0226430
Show file tree
Hide file tree
Showing 10 changed files with 10,940 additions and 10,159 deletions.
2 changes: 1 addition & 1 deletion .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
},

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

// Uncomment to connect as root instead. More info: https://aka.ms/dev-containers-non-root.
// "remoteUser": "root"
Expand Down
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/.now/
/.vercel/
/bin/
/cover/
/dist/
Expand Down
2 changes: 1 addition & 1 deletion .husky/commit-msg
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/sh
. "$(dirname "$0")/_/husky.sh"

yarn commitlint --edit $1
pnpm commitlint --edit $1
2 changes: 1 addition & 1 deletion .husky/pre-commit
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/sh
. "$(dirname "$0")/_/husky.sh"

yarn lint-staged
pnpm lint-staged
1 change: 0 additions & 1 deletion .prettierignore

This file was deleted.

12 changes: 12 additions & 0 deletions .prettierignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
/.vercel/
/bin/
/cover/
/dist/
/node_modules/
/website/.docusaurus/
/website/build/
/website/node_modules/

/yarn-error.log
/pnpm-lock.yaml
/pnpm-workspace.yaml
13 changes: 3 additions & 10 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,21 +13,14 @@
"prettier": "^3.1.1",
"typescript": "^5.3.3"
},
"packageManager": "[email protected]",
"packageManager": "[email protected]",
"prettier": "@inabagumi/prettier-config",
"private": true,
"resolutions": {
"cheerio": "^1.0.0-rc.12",
"trim": "^1.0.1"
},
"scripts": {
"build": "yarn workspace @manael/website build",
"build": "pnpm --filter @manael/website build",
"format": "prettier --write './**/*.{json,yml}'",
"format-check": "prettier -c './**/*.{json,yml}'",
"lint": "eslint .",
"prepare": "is-ci || husky install"
},
"workspaces": [
"website"
]
}
}
Loading

0 comments on commit 0226430

Please sign in to comment.