mirror of
https://github.com/vercel/next.js.git
synced 2026-09-20 02:25:18 +08:00
3675453eac
Starting from Node.js v14.17.0 and v15.6.0, we can use Node.js's `randomUUID` function in the crypto module to generate version 4 UUID. Since Next.js requires Node 18 or newer, we can replace `uuid` dependency with `crypto.randomUUID`. Reference: https://nodejs.org/docs/latest-v18.x/api/crypto.html#cryptorandomuuidoptions Signed-off-by: Eng Zer Jun <engzerjun@gmail.com> Co-authored-by: Jiwon Choi <devjiwonchoi@gmail.com>
29 lines
638 B
JSON
29 lines
638 B
JSON
{
|
|
"private": true,
|
|
"scripts": {
|
|
"dev": "next",
|
|
"build": "next build",
|
|
"start": "next start"
|
|
},
|
|
"dependencies": {
|
|
"@apollo/client": "^3.7.1",
|
|
"@apollo/server": "^4.1.1",
|
|
"@as-integrations/next": "^1.1.0",
|
|
"@graphql-tools/schema": "^9.0.9",
|
|
"graphql": "^16.6.0",
|
|
"@hapi/iron": "6.0.0",
|
|
"cookie": "^0.4.1",
|
|
"deepmerge": "4.2.2",
|
|
"next": "latest",
|
|
"prop-types": "^15.6.2",
|
|
"react": "^18.2.0",
|
|
"react-dom": "^18.2.0"
|
|
},
|
|
"devDependencies": {
|
|
"@types/node": "^18.0.2",
|
|
"@types/react": "^18.0.15",
|
|
"@types/react-dom": "^18.0.6",
|
|
"typescript": "^4.7.4"
|
|
}
|
|
}
|