The auth example was still on `v3.0.0-beta.24`, was missing its users collection config, and was not yet using the component paths pattern established here: #7246. This updates to latest and fixes these issues. This example can still use further improvements and housekeeping which will come in future PRs.
42 lines
1.4 KiB
JSON
42 lines
1.4 KiB
JSON
{
|
|
"name": "payload-example-auth",
|
|
"version": "1.0.0",
|
|
"description": "Payload authentication example.",
|
|
"license": "MIT",
|
|
"type": "module",
|
|
"main": "dist/server.js",
|
|
"scripts": {
|
|
"build": "cross-env NODE_OPTIONS=--no-deprecation next build",
|
|
"dev": "cross-env NODE_OPTIONS=--no-deprecation && pnpm seed && next dev",
|
|
"generate:importmap": "cross-env NODE_OPTIONS=--no-deprecation payload generate:importmap",
|
|
"generate:schema": "payload-graphql generate:schema",
|
|
"generate:types": "cross-env NODE_OPTIONS=--no-deprecation payload generate:types",
|
|
"payload": "cross-env NODE_OPTIONS=--no-deprecation payload",
|
|
"seed": "npm run payload migrate:fresh",
|
|
"start": "cross-env NODE_OPTIONS=--no-deprecation next start"
|
|
},
|
|
"dependencies": {
|
|
"@payloadcms/db-mongodb": "latest",
|
|
"@payloadcms/next": "latest",
|
|
"@payloadcms/richtext-slate": "latest",
|
|
"@payloadcms/ui": "latest",
|
|
"cross-env": "^7.0.3",
|
|
"next": "^15.0.0",
|
|
"payload": "latest",
|
|
"react": "19.0.0",
|
|
"react-dom": "19.0.0",
|
|
"react-hook-form": "^7.51.3"
|
|
},
|
|
"devDependencies": {
|
|
"@payloadcms/graphql": "latest",
|
|
"@swc/core": "^1.6.13",
|
|
"@types/ejs": "^3.1.5",
|
|
"@types/react": "19.0.1",
|
|
"@types/react-dom": "19.0.1",
|
|
"eslint": "^8.57.0",
|
|
"eslint-config-next": "^15.0.0",
|
|
"tsx": "^4.16.2",
|
|
"typescript": "5.5.2"
|
|
}
|
|
}
|