File tree Expand file tree Collapse file tree 5 files changed +37
-18
lines changed
Expand file tree Collapse file tree 5 files changed +37
-18
lines changed Original file line number Diff line number Diff line change 88 "scripts" : {
99 "dev" : " cross-env NODE_OPTIONS=--no-deprecation next dev -p 5000" ,
1010 "build" : " cross-env NODE_OPTIONS=--no-deprecation next build" ,
11- "start" : " cross-env NODE_OPTIONS=--no-deprecation next start" ,
11+ "start" : " cross-env NODE_OPTIONS=--no-deprecation next start -p 5000 " ,
1212 "payload" : " payload" ,
1313 "generate:types" : " payload generate:types" ,
1414 "generate:schema" : " payload-graphql generate:schema" ,
Original file line number Diff line number Diff line change 1+ {
2+ "$schema" : " ../node_modules/nx/schemas/project-schema.json" ,
3+ "projectType" : " application" ,
4+ "targets" : {
5+ "dev" : {
6+ "outputs" : [" {projectRoot}/.next" ],
7+ "cache" : false ,
8+ "dependsOn" : [" ^build" ]
9+ },
10+ "build" : {
11+ "outputs" : [" {projectRoot}/.next" ],
12+ "cache" : true ,
13+ "dependsOn" : [" ^build" ]
14+ },
15+ "start" : {
16+ "dependsOn" : [" build" ]
17+ }
18+ }
19+ }
Original file line number Diff line number Diff line change 11{
22 "$schema" : " ./node_modules/nx/schemas/nx-schema.json" ,
3- "targetDefaults" : {
4- "dev" : {
5- "outputs" : [" {projectRoot}/dev/.next" ],
6- "cache" : true
7- },
8- "build" : {
9- "outputs" : [" {projectRoot}/dist" ],
10- "cache" : true
11- },
12- "lint" : {
13- "cache" : true
14- },
15- "lint:fix" : {
16- "cache" : false
17- }
18- },
193 "defaultBase" : " main" ,
204 "plugins" : [
215 {
Original file line number Diff line number Diff line change 3939 " next-auth"
4040 ],
4141 "scripts" : {
42+ "dev" : " nx --project payload-authjs-dev run dev" ,
4243 "build" : " tsc" ,
43- "dev" : " pnpm -C dev run dev" ,
4444 "lint" : " eslint ." ,
4545 "lint:fix" : " eslint . --fix"
4646 },
Original file line number Diff line number Diff line change 1+ {
2+ "$schema" : " ./node_modules/nx/schemas/project-schema.json" ,
3+ "projectType" : " library" ,
4+ "targets" : {
5+ "build" : {
6+ "outputs" : [" {projectRoot}/dist" ],
7+ "cache" : true
8+ },
9+ "lint" : {
10+ "cache" : true
11+ },
12+ "lint:fix" : {
13+ "cache" : false
14+ }
15+ }
16+ }
You can’t perform that action at this time.
0 commit comments