File tree Expand file tree Collapse file tree 12 files changed +116
-94
lines changed Expand file tree Collapse file tree 12 files changed +116
-94
lines changed Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " jest-payload" ,
3
3
"version" : " 1.0.0" ,
4
- "main" : " index.js" ,
5
4
"license" : " MIT" ,
5
+ "main" : " index.js" ,
6
+ "scripts" : {
7
+ "build" : " yarn build:server && yarn build:payload" ,
8
+ "build:payload" : " PAYLOAD_CONFIG_PATH=src/payload.config.ts payload build" ,
9
+ "build:server" : " tsc" ,
10
+ "dev" : " nodemon" ,
11
+ "generate:types" : " PAYLOAD_CONFIG_PATH=src/payload.config.ts payload generate:types" ,
12
+ "serve" : " PAYLOAD_CONFIG_PATH=dist/payload.config.js NODE_ENV=production node dist/server.js" ,
13
+ "test" : " jest --forceExit --detectOpenHandles"
14
+ },
6
15
"dependencies" : {
7
16
"@payloadcms/bundler-webpack" : " ^1.0.5" ,
8
17
"@payloadcms/db-mongodb" : " ^1.1.0" ,
9
18
"@payloadcms/richtext-slate" : " ^1.3.1" ,
10
19
"dotenv" : " ^16.3.1" ,
11
20
"express" : " ^4.18.2" ,
12
- "get-tsconfig" : " ^4.7.0 " ,
21
+ "get-tsconfig" : " 4.8.1 " ,
13
22
"payload" : " ^2.4.0"
14
23
},
15
24
"devDependencies" : {
21
30
"nodemon" : " ^3.0.1" ,
22
31
"ts-node" : " 10.9.1" ,
23
32
"typescript" : " ^5.2.2"
24
- },
25
- "scripts" : {
26
- "generate:types" : " PAYLOAD_CONFIG_PATH=src/payload.config.ts payload generate:types" ,
27
- "dev" : " nodemon" ,
28
- "build:payload" : " PAYLOAD_CONFIG_PATH=src/payload.config.ts payload build" ,
29
- "build:server" : " tsc" ,
30
- "build" : " yarn build:server && yarn build:payload" ,
31
- "serve" : " PAYLOAD_CONFIG_PATH=dist/payload.config.js NODE_ENV=production node dist/server.js" ,
32
- "test" : " jest --forceExit --detectOpenHandles"
33
33
}
34
34
}
Original file line number Diff line number Diff line change 162
162
"sort-package-json" : " ^2.10.0" ,
163
163
"swc-plugin-transform-remove-imports" : " 1.15.0" ,
164
164
"tempy" : " 1.0.1" ,
165
- "tsx" : " 4.19.1 " ,
165
+ "tsx" : " 4.19.2 " ,
166
166
"turbo" : " ^2.1.3" ,
167
167
"typescript" : " 5.6.3"
168
168
},
Original file line number Diff line number Diff line change 49
49
"dependencies" : {
50
50
"@payloadcms/drizzle" : " workspace:*" ,
51
51
"@types/pg" : " 8.10.2" ,
52
- "console-table-printer" : " 2.11.2 " ,
52
+ "console-table-printer" : " 2.12.1 " ,
53
53
"drizzle-kit" : " 0.26.2" ,
54
54
"drizzle-orm" : " 0.35.1" ,
55
55
"pg" : " 8.11.3" ,
Original file line number Diff line number Diff line change 47
47
"dependencies" : {
48
48
"@libsql/client" : " 0.14.0" ,
49
49
"@payloadcms/drizzle" : " workspace:*" ,
50
- "console-table-printer" : " 2.11.2 " ,
50
+ "console-table-printer" : " 2.12.1 " ,
51
51
"drizzle-kit" : " 0.26.2" ,
52
52
"drizzle-orm" : " 0.35.1" ,
53
53
"prompts" : " 2.4.2" ,
Original file line number Diff line number Diff line change 49
49
"dependencies" : {
50
50
"@payloadcms/drizzle" : " workspace:*" ,
51
51
"@vercel/postgres" : " ^0.9.0" ,
52
- "console-table-printer" : " 2.11.2 " ,
52
+ "console-table-printer" : " 2.12.1 " ,
53
53
"drizzle-kit" : " 0.26.2" ,
54
54
"drizzle-orm" : " 0.35.1" ,
55
55
"pg" : " 8.11.3" ,
Original file line number Diff line number Diff line change 45
45
"prepublishOnly" : " pnpm clean && pnpm turbo build"
46
46
},
47
47
"dependencies" : {
48
- "console-table-printer" : " 2.11.2 " ,
48
+ "console-table-printer" : " 2.12.1 " ,
49
49
"drizzle-orm" : " 0.35.1" ,
50
50
"prompts" : " 2.4.2" ,
51
51
"to-snake-case" : " 1.0.0" ,
Original file line number Diff line number Diff line change 45
45
"dependencies" : {
46
46
"graphql-scalars" : " 1.22.2" ,
47
47
"pluralize" : " 8.0.0" ,
48
- "ts-essentials" : " 10.0.2 " ,
49
- "tsx" : " 4.19.1 "
48
+ "ts-essentials" : " 10.0.3 " ,
49
+ "tsx" : " 4.19.2 "
50
50
},
51
51
"devDependencies" : {
52
52
"@payloadcms/eslint-config" : " workspace:*" ,
Original file line number Diff line number Diff line change 91
91
"ajv" : " 8.17.1" ,
92
92
"bson-objectid" : " 2.0.4" ,
93
93
"ci-info" : " ^4.0.0" ,
94
- "console-table-printer" : " 2.11.2 " ,
95
- "croner" : " 8.1.2 " ,
94
+ "console-table-printer" : " 2.12.1 " ,
95
+ "croner" : " 9.0.0 " ,
96
96
"dataloader" : " 2.2.2" ,
97
97
"deepmerge" : " 4.3.1" ,
98
98
"file-type" : " 19.3.0" ,
99
- "get-tsconfig" : " ^4.7.2 " ,
99
+ "get-tsconfig" : " 4.8.1 " ,
100
100
"http-status" : " 1.6.2" ,
101
101
"image-size" : " ^1.1.1" ,
102
- "jose" : " 5.9.2 " ,
103
- "json-schema-to-typescript" : " 15.0.1 " ,
102
+ "jose" : " 5.9.6 " ,
103
+ "json-schema-to-typescript" : " 15.0.3 " ,
104
104
"minimist" : " 1.2.8" ,
105
105
"pino" : " 9.5.0" ,
106
- "pino-pretty" : " 11.3 .0" ,
106
+ "pino-pretty" : " 12.0 .0" ,
107
107
"pluralize" : " 8.0.0" ,
108
108
"sanitize-filename" : " 1.6.3" ,
109
109
"scmp" : " 2.1.0" ,
110
- "ts-essentials" : " 10.0.2 " ,
111
- "tsx" : " 4.19.1 " ,
110
+ "ts-essentials" : " 10.0.3 " ,
111
+ "tsx" : " 4.19.2 " ,
112
112
"uuid" : " 10.0.0"
113
113
},
114
114
"devDependencies" : {
Original file line number Diff line number Diff line change @@ -91,7 +91,7 @@ export const bin = async () => {
91
91
const queue = args . queue ? args . queue : undefined
92
92
93
93
if ( args . cron ) {
94
- Cron ( args . cron , async ( ) => {
94
+ new Cron ( args . cron , async ( ) => {
95
95
await payload . jobs . run ( {
96
96
limit,
97
97
queue,
Original file line number Diff line number Diff line change 92
92
"react-select" : " 5.8.0" ,
93
93
"scheduler" : " 0.0.0-experimental-3edc000d-20240926" ,
94
94
"sonner" : " ^1.5.0" ,
95
- "ts-essentials" : " 10.0.2 " ,
95
+ "ts-essentials" : " 10.0.3 " ,
96
96
"use-context-selector" : " 2.0.0" ,
97
97
"uuid" : " 10.0.0"
98
98
},
You can’t perform that action at this time.
0 commit comments