-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Use pnpm workspace - Fix prettier config - Removed editorconfig - Removed jest
- Loading branch information
1 parent
e4a6282
commit 8ba1adf
Showing
19 changed files
with
704 additions
and
896 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
{ | ||
"printWidth": 100, | ||
"semi": true, | ||
"singleQuote": false, | ||
"trailingComma": "all", | ||
"arrowParens": "avoid", | ||
"endOfLine": "lf" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
import { withPayload } from "@payloadcms/next/withPayload"; | ||
import type { NextConfig } from "next"; | ||
|
||
const nextConfig: NextConfig = {}; | ||
|
||
export default withPayload(nextConfig); |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
{ | ||
"name": "payload-authjs-dev", | ||
"description": "A test app for payload-authjs plugin", | ||
"version": "1.0.0", | ||
"license": "MIT", | ||
"private": true, | ||
"type": "module", | ||
"scripts": { | ||
"dev": "cross-env NODE_OPTIONS=--no-deprecation next dev -p 5000", | ||
"build": "cross-env NODE_OPTIONS=--no-deprecation next build", | ||
"start": "cross-env NODE_OPTIONS=--no-deprecation next start", | ||
"payload": "payload", | ||
"generate:types": "payload generate:types", | ||
"generate:schema": "payload-graphql generate:schema", | ||
"generate:importmap": "payload generate:importmap" | ||
}, | ||
"dependencies": { | ||
"@payloadcms/db-postgres": "3.0.0-beta.120", | ||
"@payloadcms/next": "3.0.0-beta.120", | ||
"@payloadcms/ui": "3.0.0-beta.120", | ||
"jsonwebtoken": "^9.0.2", | ||
"next": "15.0.2", | ||
"next-auth": "5.0.0-beta.25", | ||
"nodemailer": "^6.9.16", | ||
"payload": "3.0.0-beta.120", | ||
"react": "19.0.0-rc-02c0e824-20241028", | ||
"react-dom": "19.0.0-rc-02c0e824-20241028", | ||
"sharp": "^0.33.5", | ||
"payload-authjs": "workspace:*" | ||
}, | ||
"devDependencies": { | ||
"@types/jsonwebtoken": "^9.0.7", | ||
"cross-env": "^7.0.3", | ||
"dotenv": "^16.4.5", | ||
"typescript": "^5.6.3" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,49 +1,31 @@ | ||
{ | ||
"compilerOptions": { | ||
"paths": { | ||
"payload/generated-types": [ | ||
"./src/payload-types.ts" | ||
], | ||
"@payload-config": [ | ||
"./src/payload.config.ts" | ||
], | ||
"@/*": ["./src/*"], | ||
}, | ||
"baseUrl": ".", | ||
"lib": [ | ||
"dom", | ||
"dom.iterable", | ||
"esnext" | ||
], | ||
"target": "ESNext", | ||
"lib": ["dom", "dom.iterable", "esnext"], | ||
"allowJs": true, | ||
"skipLibCheck": true, | ||
"strict": true, | ||
"noEmit": true, | ||
"esModuleInterop": true, | ||
"module": "esnext", | ||
"moduleResolution": "bundler", | ||
"resolveJsonModule": true, | ||
"isolatedModules": true, | ||
"skipLibCheck": true, | ||
"outDir": "./dist", | ||
"rootDir": ".", | ||
"jsx": "preserve", | ||
"paths": { | ||
"@payload-config": ["./src/payload.config.ts"], | ||
"payload/generated-types": ["./src/payload-types.ts"], | ||
"@/*": ["./src/*"] | ||
}, | ||
"noEmit": true, | ||
"incremental": true, | ||
"module": "ESNext", | ||
"moduleResolution": "Bundler", | ||
"resolveJsonModule": true, | ||
"isolatedModules": true, | ||
"plugins": [ | ||
{ | ||
"name": "next" | ||
} | ||
], | ||
"target": "ES2017" | ||
] | ||
}, | ||
"include": [ | ||
"src", | ||
".next/types/**/*.ts" | ||
], | ||
"exclude": [ | ||
"node_modules", | ||
"dist", | ||
"build" | ||
], | ||
"ts-node": { | ||
"transpileOnly": true, | ||
"swc": true | ||
} | ||
"include": ["**/*.ts", "**/*.tsx", ".next/types/**/*.ts"], | ||
"exclude": ["node_modules", "dist", "build"] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,8 +2,10 @@ | |
"name": "payload-authjs", | ||
"version": "0.3.2", | ||
"type": "module", | ||
"repository": "[email protected]:CrawlerCode/payload-authjs.git", | ||
"description": "A Payload CMS 3 plugin for Auth.js 5", | ||
"repository": "[email protected]:CrawlerCode/payload-authjs.git", | ||
"author": "[email protected]", | ||
"license": "MIT", | ||
"main": "dist/index.js", | ||
"types": "dist/index.d.ts", | ||
"exports": { | ||
|
@@ -37,18 +39,11 @@ | |
"next-auth" | ||
], | ||
"scripts": { | ||
"dev": "cd dev && cross-env NODE_OPTIONS=--no-deprecation next dev -p 5000", | ||
"build": "tsc", | ||
"test": "cd test && jest --config=./jest.config.js", | ||
"dev": "pnpm -C dev run dev", | ||
"lint": "eslint .", | ||
"lint:fix": "eslint . --fix", | ||
"dev:lint": "cd dev && cross-env NODE_OPTIONS=--no-deprecation next lint", | ||
"payload": "cd dev && cross-env NODE_OPTIONS=--no-deprecation payload", | ||
"generate:types": "cd dev && cross-env NODE_OPTIONS=--no-deprecation payload generate:types", | ||
"generate:importmap": "cd dev && cross-env NODE_OPTIONS=--no-deprecation payload generate:importmap" | ||
"lint:fix": "eslint . --fix" | ||
}, | ||
"author": "[email protected]", | ||
"license": "MIT", | ||
"peerDependencies": { | ||
"@payloadcms/next": "^3.0.0-beta.120", | ||
"@payloadcms/ui": "^3.0.0-beta.120", | ||
|
@@ -57,34 +52,18 @@ | |
"payload": "^3.0.0-beta.120" | ||
}, | ||
"devDependencies": { | ||
"@nx/eslint": "19.7.2", | ||
"@nx/jest": "19.7.2", | ||
"@nx/js": "19.7.2", | ||
"@nx/next": "19.7.2", | ||
"@payloadcms/db-postgres": "3.0.0-beta.120", | ||
"@nx/eslint": "20.0.6", | ||
"@nx/js": "20.0.6", | ||
"@nx/next": "20.0.6", | ||
"@payloadcms/eslint-config": "3.0.0-beta.112", | ||
"@payloadcms/next": "3.0.0-beta.120", | ||
"@payloadcms/ui": "3.0.0-beta.120", | ||
"@swc-node/register": "~1.10.9", | ||
"@swc/core": "~1.7.40", | ||
"@swc/helpers": "~0.5.13", | ||
"@swc/jest": "^0.2.36", | ||
"@types/jest": "^29.5.14", | ||
"@types/jsonwebtoken": "^9.0.7", | ||
"@types/react": "npm:[email protected]", | ||
"cross-env": "^7.0.3", | ||
"dotenv": "^16.4.5", | ||
"jest": "^29.7.0", | ||
"jsonwebtoken": "^9.0.2", | ||
"next": "15.0.2", | ||
"next-auth": "5.0.0-beta.25", | ||
"nodemailer": "^6.9.16", | ||
"nx": "19.7.2", | ||
"nx": "20.0.6", | ||
"payload": "3.0.0-beta.120", | ||
"prettier": "^3.3.3", | ||
"react": "19.0.0-rc-02c0e824-20241028", | ||
"react-dom": "19.0.0-rc-02c0e824-20241028", | ||
"sharp": "^0.33.5", | ||
"typescript": "^5.6.3" | ||
}, | ||
"nx": {}, | ||
|
@@ -97,4 +76,4 @@ | |
"@types/react": "npm:[email protected]" | ||
} | ||
} | ||
} | ||
} |
Oops, something went wrong.