update to node 20 & pnpm 9

This commit is contained in:
Nathaniel Tampus
2024-07-14 14:35:37 +08:00
parent a13ff39fd5
commit 2ac873c5b1
5 changed files with 3236 additions and 2797 deletions

View File

@@ -25,7 +25,7 @@ Built with Next.js 14, Tailwind CSS + daisyUI, react-chessboard, chess.js, Expre
## Development
> Node.js 18 or newer is recommended.
> Node.js 20 or newer is recommended.
This project is structured as a monorepo using **pnpm** workspaces, separated into three packages:

View File

@@ -10,24 +10,24 @@
"lint": "next lint"
},
"dependencies": {
"@tabler/icons-react": "^2.46.0",
"chess.js": "1.0.0-beta.7",
"next": "^14.0.4",
"react": "^18.2.0",
"@tabler/icons-react": "^2.47.0",
"chess.js": "1.0.0-beta.8",
"next": "^14.2.5",
"react": "^18.3.1",
"react-chessboard": "^2.1.3",
"react-dom": "^18.2.0",
"socket.io-client": "^4.7.4"
"react-dom": "^18.3.1",
"socket.io-client": "^4.7.5"
},
"devDependencies": {
"@chessu/types": "*",
"@types/node": "^18.19.7",
"@types/react": "^18.2.48",
"@types/react-dom": "^18.2.18",
"autoprefixer": "^10.4.16",
"@chessu/types": "workspace:*",
"@types/node": "^20.14.10",
"@types/react": "^18.3.3",
"@types/react-dom": "^18.3.0",
"autoprefixer": "^10.4.19",
"daisyui": "^2.52.0",
"eslint-config-next": "^14.0.4",
"postcss": "^8.4.33",
"tailwindcss": "^3.4.1",
"typescript": "^5.3.3"
"eslint-config-next": "^14.2.5",
"postcss": "^8.4.39",
"tailwindcss": "^3.4.4",
"typescript": "^5.5.3"
}
}

View File

@@ -4,8 +4,8 @@
"author": "dotnize",
"license": "MIT",
"scripts": {
"install:client": "pnpm install --filter client --config.dedupe-peer-dependents=false",
"install:server": "pnpm install --filter server --config.dedupe-peer-dependents=false",
"install:client": "pnpm install --filter client",
"install:server": "pnpm install --filter server",
"dev": "concurrently \"pnpm --filter client dev\" \"pnpm --filter server dev\"",
"dev:client": "pnpm --filter client dev",
"dev:server": "pnpm --filter server dev",
@@ -20,12 +20,12 @@
},
"devDependencies": {
"concurrently": "^8.2.2",
"eslint": "^8.56.0",
"eslint": "^8.57.0",
"eslint-config-prettier": "^9.1.0",
"prettier": "^3.2.2",
"prettier-plugin-tailwindcss": "^0.5.11"
"prettier": "^3.3.3",
"prettier-plugin-tailwindcss": "^0.6.5"
},
"engines": {
"node": ">=18"
"node": ">=20"
}
}

5953
pnpm-lock.yaml generated

File diff suppressed because it is too large Load Diff

View File

@@ -10,33 +10,33 @@
"dev": "tsc-watch --noClear --onSuccess \"node dist/server.js\""
},
"dependencies": {
"argon2": "^0.31.2",
"chess.js": "1.0.0-beta.7",
"argon2": "^0.40.3",
"chess.js": "1.0.0-beta.8",
"connect-pg-simple": "^9.0.1",
"cors": "^2.8.5",
"dotenv": "^16.3.1",
"express": "^4.18.2",
"express-session": "^1.17.3",
"nanoid": "^5.0.4",
"pg": "^8.11.3",
"socket.io": "^4.7.4",
"xss": "^1.0.14"
"dotenv": "^16.4.5",
"express": "^4.19.2",
"express-session": "^1.18.0",
"nanoid": "^5.0.7",
"pg": "^8.12.0",
"socket.io": "^4.7.5",
"xss": "^1.0.15"
},
"devDependencies": {
"@chessu/types": "*",
"@chessu/types": "workspace:*",
"@types/connect-pg-simple": "^7.0.3",
"@types/cors": "^2.8.17",
"@types/express": "^4.17.21",
"@types/express-session": "^1.17.10",
"@types/node": "^18.19.7",
"@types/pg": "^8.10.9",
"@typescript-eslint/eslint-plugin": "^6.18.1",
"@typescript-eslint/parser": "^6.18.1",
"tsc-watch": "^6.0.4",
"typescript": "^5.3.3"
"@types/express-session": "^1.18.0",
"@types/node": "^20.14.10",
"@types/pg": "^8.11.6",
"@typescript-eslint/eslint-plugin": "^6.21.0",
"@typescript-eslint/parser": "^6.21.0",
"tsc-watch": "^6.2.0",
"typescript": "^5.5.3"
},
"engines": {
"node": ">=18"
"node": ">=20"
},
"optionalDependencies": {
"bufferutil": "^4.0.8",