chore(dev): use pnpm instead of Yarn v1

This commit is contained in:
rusconn
2023-05-29 23:21:17 +09:00
parent 3f04945389
commit 2b6d346b74
5 changed files with 4577 additions and 4067 deletions

3
.gitignore vendored
View File

@@ -18,9 +18,6 @@ build
*.pem
# debug
npm-debug.log*
yarn-debug.log*
yarn-error.log*
.pnpm-debug.log*
# local env files

View File

@@ -1,12 +1,11 @@
cache
.cache
package.json
package-lock.json
public
CHANGELOG.md
.yarn
dist
node_modules
.next
build
.contentlayer
pnpm-lock.yaml

View File

@@ -3,20 +3,20 @@
"private": true,
"volta": {
"node": "18.16.0",
"yarn": "1.22.19"
"pnpm": "8.5.1"
},
"scripts": {
"dev": "next dev",
"build": "next build",
"start": "next start",
"ci": "yarn typecheck && yarn lint && yarn format:check",
"fix": "yarn lint:fix && yarn format:write",
"check": "pnpm typecheck && pnpm lint && pnpm format:check",
"fix": "pnpm lint:fix && pnpm format:write",
"lint": "next lint",
"lint:fix": "next lint --fix",
"preview": "next build && next start",
"typecheck": "tsc --noEmit",
"format:write": "yarn format --write",
"format:check": "yarn format --check",
"format:write": "pnpm format --write",
"format:check": "pnpm format --check",
"format": "prettier \"**/*.{js,jsx,ts,tsx,css,json,md}\" --cache"
},
"dependencies": {

4571
pnpm-lock.yaml generated Normal file

File diff suppressed because it is too large Load Diff

4057
yarn.lock

File diff suppressed because it is too large Load Diff