File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11{
22 "name" : " jest-payload" ,
33 "version" : " 1.0.0" ,
4- "main" : " index.js" ,
54 "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+ },
615 "dependencies" : {
716 "@payloadcms/bundler-webpack" : " ^1.0.5" ,
817 "@payloadcms/db-mongodb" : " ^1.1.0" ,
918 "@payloadcms/richtext-slate" : " ^1.3.1" ,
1019 "dotenv" : " ^16.3.1" ,
1120 "express" : " ^4.18.2" ,
12- "get-tsconfig" : " ^4.7.0 " ,
21+ "get-tsconfig" : " 4.8.1 " ,
1322 "payload" : " ^2.4.0"
1423 },
1524 "devDependencies" : {
2130 "nodemon" : " ^3.0.1" ,
2231 "ts-node" : " 10.9.1" ,
2332 "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"
3333 }
3434}
Original file line number Diff line number Diff line change 162162 "sort-package-json" : " ^2.10.0" ,
163163 "swc-plugin-transform-remove-imports" : " 1.15.0" ,
164164 "tempy" : " 1.0.1" ,
165- "tsx" : " 4.19.1 " ,
165+ "tsx" : " 4.19.2 " ,
166166 "turbo" : " ^2.1.3" ,
167167 "typescript" : " 5.6.3"
168168 },
Original file line number Diff line number Diff line change 4949 "dependencies" : {
5050 "@payloadcms/drizzle" : " workspace:*" ,
5151 "@types/pg" : " 8.10.2" ,
52- "console-table-printer" : " 2.11.2 " ,
52+ "console-table-printer" : " 2.12.1 " ,
5353 "drizzle-kit" : " 0.26.2" ,
5454 "drizzle-orm" : " 0.35.1" ,
5555 "pg" : " 8.11.3" ,
Original file line number Diff line number Diff line change 4747 "dependencies" : {
4848 "@libsql/client" : " 0.14.0" ,
4949 "@payloadcms/drizzle" : " workspace:*" ,
50- "console-table-printer" : " 2.11.2 " ,
50+ "console-table-printer" : " 2.12.1 " ,
5151 "drizzle-kit" : " 0.26.2" ,
5252 "drizzle-orm" : " 0.35.1" ,
5353 "prompts" : " 2.4.2" ,
Original file line number Diff line number Diff line change 4949 "dependencies" : {
5050 "@payloadcms/drizzle" : " workspace:*" ,
5151 "@vercel/postgres" : " ^0.9.0" ,
52- "console-table-printer" : " 2.11.2 " ,
52+ "console-table-printer" : " 2.12.1 " ,
5353 "drizzle-kit" : " 0.26.2" ,
5454 "drizzle-orm" : " 0.35.1" ,
5555 "pg" : " 8.11.3" ,
Original file line number Diff line number Diff line change 4545 "prepublishOnly" : " pnpm clean && pnpm turbo build"
4646 },
4747 "dependencies" : {
48- "console-table-printer" : " 2.11.2 " ,
48+ "console-table-printer" : " 2.12.1 " ,
4949 "drizzle-orm" : " 0.35.1" ,
5050 "prompts" : " 2.4.2" ,
5151 "to-snake-case" : " 1.0.0" ,
Original file line number Diff line number Diff line change 4545 "dependencies" : {
4646 "graphql-scalars" : " 1.22.2" ,
4747 "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 "
5050 },
5151 "devDependencies" : {
5252 "@payloadcms/eslint-config" : " workspace:*" ,
Original file line number Diff line number Diff line change 9191 "ajv" : " 8.17.1" ,
9292 "bson-objectid" : " 2.0.4" ,
9393 "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 " ,
9696 "dataloader" : " 2.2.2" ,
9797 "deepmerge" : " 4.3.1" ,
9898 "file-type" : " 19.3.0" ,
99- "get-tsconfig" : " ^4.7.2 " ,
99+ "get-tsconfig" : " 4.8.1 " ,
100100 "http-status" : " 1.6.2" ,
101101 "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 " ,
104104 "minimist" : " 1.2.8" ,
105105 "pino" : " 9.5.0" ,
106- "pino-pretty" : " 11.3 .0" ,
106+ "pino-pretty" : " 12.0 .0" ,
107107 "pluralize" : " 8.0.0" ,
108108 "sanitize-filename" : " 1.6.3" ,
109109 "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 " ,
112112 "uuid" : " 10.0.0"
113113 },
114114 "devDependencies" : {
Original file line number Diff line number Diff line change @@ -91,7 +91,7 @@ export const bin = async () => {
9191 const queue = args . queue ? args . queue : undefined
9292
9393 if ( args . cron ) {
94- Cron ( args . cron , async ( ) => {
94+ new Cron ( args . cron , async ( ) => {
9595 await payload . jobs . run ( {
9696 limit,
9797 queue,
Original file line number Diff line number Diff line change 9292 "react-select" : " 5.8.0" ,
9393 "scheduler" : " 0.0.0-experimental-3edc000d-20240926" ,
9494 "sonner" : " ^1.5.0" ,
95- "ts-essentials" : " 10.0.2 " ,
95+ "ts-essentials" : " 10.0.3 " ,
9696 "use-context-selector" : " 2.0.0" ,
9797 "uuid" : " 10.0.0"
9898 },
You can’t perform that action at this time.
0 commit comments