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 *.pem
# debug # debug
npm-debug.log*
yarn-debug.log*
yarn-error.log*
.pnpm-debug.log* .pnpm-debug.log*
# local env files # local env files

View File

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

View File

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