@dbos-inc/create 1.8.12-preview → 1.8.13-preview
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/templates/hello/README.md +9 -12
- package/templates/hello/nodemon.json +1 -1
- package/templates/hello/package-lock.json +118 -121
- package/templates/hello/package.json +8 -8
- package/templates/hello-typeorm/.eslintignore +4 -0
- package/templates/hello-typeorm/.eslintrc +19 -0
- package/templates/hello-typeorm/README.md +51 -0
- package/templates/hello-typeorm/datasource.ts +27 -0
- package/templates/hello-typeorm/dbos-config.yaml +20 -0
- package/templates/hello-typeorm/entities/DBOSHello.ts +10 -0
- package/templates/hello-typeorm/gitignore.template +144 -0
- package/templates/hello-typeorm/jest.config.js +8 -0
- package/templates/hello-typeorm/migrations/1714934318136-DBOSHello.ts +19 -0
- package/templates/hello-typeorm/nodemon.json +8 -0
- package/templates/hello-typeorm/package-lock.json +6161 -0
- package/templates/hello-typeorm/package.json +29 -0
- package/templates/hello-typeorm/src/operations.test.ts +26 -0
- package/templates/hello-typeorm/src/operations.ts +17 -0
- package/templates/hello-typeorm/start_postgres_docker.js +40 -0
- package/templates/hello-typeorm/tsconfig.json +27 -0
package/package.json
CHANGED
|
@@ -6,23 +6,21 @@ This is a [DBOS app](https://docs.dbos.dev/) bootstrapped with `npx @dbos-inc/db
|
|
|
6
6
|
|
|
7
7
|
Before you can launch your app, you need a database.
|
|
8
8
|
DBOS works with any Postgres database, but to make things easier, we've provided a script that starts a Docker Postgres container and creates a database.
|
|
9
|
-
|
|
9
|
+
Run:
|
|
10
10
|
|
|
11
11
|
```bash
|
|
12
|
-
|
|
13
|
-
./start_postgres_docker.sh
|
|
12
|
+
node start_postgres_docker.js
|
|
14
13
|
```
|
|
15
14
|
|
|
16
|
-
|
|
15
|
+
If successful, the script should print `Database started successfully!`.
|
|
17
16
|
|
|
18
|
-
|
|
19
|
-
set PGPASSWORD=dbos
|
|
20
|
-
start_postgres_docker.bat
|
|
21
|
-
```
|
|
17
|
+
Next, build the app:
|
|
22
18
|
|
|
23
|
-
|
|
19
|
+
```bash
|
|
20
|
+
npm run build
|
|
21
|
+
```
|
|
24
22
|
|
|
25
|
-
Then,
|
|
23
|
+
Then, run a schema migration to create some tables:
|
|
26
24
|
|
|
27
25
|
```bash
|
|
28
26
|
npx dbos-sdk migrate
|
|
@@ -30,10 +28,9 @@ npx dbos-sdk migrate
|
|
|
30
28
|
|
|
31
29
|
If successful, the migration should print `Migration successful!`.
|
|
32
30
|
|
|
33
|
-
|
|
31
|
+
Finally, run the app:
|
|
34
32
|
|
|
35
33
|
```bash
|
|
36
|
-
npm run build
|
|
37
34
|
npx dbos-sdk start
|
|
38
35
|
```
|
|
39
36
|
|
|
@@ -8,19 +8,19 @@
|
|
|
8
8
|
"name": "dbos-hello",
|
|
9
9
|
"version": "0.0.1",
|
|
10
10
|
"dependencies": {
|
|
11
|
-
"@dbos-inc/dbos-sdk": "
|
|
11
|
+
"@dbos-inc/dbos-sdk": "file:../../../..",
|
|
12
12
|
"knex": "3.1.0"
|
|
13
13
|
},
|
|
14
14
|
"devDependencies": {
|
|
15
15
|
"@dbos-inc/eslint-plugin": "^0.0.6",
|
|
16
|
-
"@types/jest": "^29.5.
|
|
17
|
-
"@types/supertest": "^2.0.
|
|
18
|
-
"eslint": "^8.
|
|
16
|
+
"@types/jest": "^29.5.12",
|
|
17
|
+
"@types/supertest": "^2.0.16",
|
|
18
|
+
"eslint": "^8.57.0",
|
|
19
19
|
"jest": "^29.7.0",
|
|
20
20
|
"nodemon": "^3.1.0",
|
|
21
21
|
"supertest": "^7.0.0",
|
|
22
|
-
"ts-jest": "^29.1.
|
|
23
|
-
"typescript": "^5.
|
|
22
|
+
"ts-jest": "^29.1.2",
|
|
23
|
+
"typescript": "^5.4.5"
|
|
24
24
|
}
|
|
25
25
|
},
|
|
26
26
|
"../../../..": {
|
|
@@ -43,9 +43,9 @@
|
|
|
43
43
|
"@opentelemetry/sdk-logs": "0.49.1",
|
|
44
44
|
"@opentelemetry/sdk-trace-base": "1.22.0",
|
|
45
45
|
"@opentelemetry/semantic-conventions": "1.22.0",
|
|
46
|
+
"ajv": "8.13.0",
|
|
46
47
|
"axios": "1.6.7",
|
|
47
48
|
"commander": "12.0.0",
|
|
48
|
-
"fast-glob": "3.3.2",
|
|
49
49
|
"inquirer": "^8.2.6",
|
|
50
50
|
"kafkajs": "^2.2.4",
|
|
51
51
|
"knex": "3.1.0",
|
|
@@ -56,7 +56,6 @@
|
|
|
56
56
|
"reflect-metadata": "0.2.2",
|
|
57
57
|
"serialize-error": "8.1.0",
|
|
58
58
|
"uuid": "9.0.1",
|
|
59
|
-
"validator": "13.11.0",
|
|
60
59
|
"winston": "3.12.0",
|
|
61
60
|
"winston-transport": "4.7.0",
|
|
62
61
|
"yaml": "2.4.1"
|
|
@@ -76,7 +75,6 @@
|
|
|
76
75
|
"@types/pg": "^8.11.2",
|
|
77
76
|
"@types/supertest": "^6.0.2",
|
|
78
77
|
"@types/uuid": "^9.0.8",
|
|
79
|
-
"@types/validator": "^13.11.9",
|
|
80
78
|
"@typescript-eslint/eslint-plugin": "^6.7.2",
|
|
81
79
|
"@typescript-eslint/parser": "^6.7.2",
|
|
82
80
|
"eslint": "^8.57.0",
|
|
@@ -93,15 +91,6 @@
|
|
|
93
91
|
"foundationdb": "^2.0.1"
|
|
94
92
|
}
|
|
95
93
|
},
|
|
96
|
-
"node_modules/@aashutoshrathi/word-wrap": {
|
|
97
|
-
"version": "1.2.6",
|
|
98
|
-
"resolved": "https://registry.npmjs.org/@aashutoshrathi/word-wrap/-/word-wrap-1.2.6.tgz",
|
|
99
|
-
"integrity": "sha512-1Yjs2SvM8TflER/OD3cOjhWWOZb58A2t7wpE2S9XfBYTiIl+XFhQG2bjy4Pu1I+EAlCNUzRDYDdFwFYUKvXcIA==",
|
|
100
|
-
"dev": true,
|
|
101
|
-
"engines": {
|
|
102
|
-
"node": ">=0.10.0"
|
|
103
|
-
}
|
|
104
|
-
},
|
|
105
94
|
"node_modules/@ampproject/remapping": {
|
|
106
95
|
"version": "2.3.0",
|
|
107
96
|
"resolved": "https://registry.npmjs.org/@ampproject/remapping/-/remapping-2.3.0.tgz",
|
|
@@ -129,30 +118,30 @@
|
|
|
129
118
|
}
|
|
130
119
|
},
|
|
131
120
|
"node_modules/@babel/compat-data": {
|
|
132
|
-
"version": "7.24.
|
|
133
|
-
"resolved": "https://registry.npmjs.org/@babel/compat-data/-/compat-data-7.24.
|
|
134
|
-
"integrity": "sha512-
|
|
121
|
+
"version": "7.24.4",
|
|
122
|
+
"resolved": "https://registry.npmjs.org/@babel/compat-data/-/compat-data-7.24.4.tgz",
|
|
123
|
+
"integrity": "sha512-vg8Gih2MLK+kOkHJp4gBEIkyaIi00jgWot2D9QOmmfLC8jINSOzmCLta6Bvz/JSBCqnegV0L80jhxkol5GWNfQ==",
|
|
135
124
|
"dev": true,
|
|
136
125
|
"engines": {
|
|
137
126
|
"node": ">=6.9.0"
|
|
138
127
|
}
|
|
139
128
|
},
|
|
140
129
|
"node_modules/@babel/core": {
|
|
141
|
-
"version": "7.24.
|
|
142
|
-
"resolved": "https://registry.npmjs.org/@babel/core/-/core-7.24.
|
|
143
|
-
"integrity": "sha512-
|
|
130
|
+
"version": "7.24.5",
|
|
131
|
+
"resolved": "https://registry.npmjs.org/@babel/core/-/core-7.24.5.tgz",
|
|
132
|
+
"integrity": "sha512-tVQRucExLQ02Boi4vdPp49svNGcfL2GhdTCT9aldhXgCJVAI21EtRfBettiuLUwce/7r6bFdgs6JFkcdTiFttA==",
|
|
144
133
|
"dev": true,
|
|
145
134
|
"dependencies": {
|
|
146
135
|
"@ampproject/remapping": "^2.2.0",
|
|
147
136
|
"@babel/code-frame": "^7.24.2",
|
|
148
|
-
"@babel/generator": "^7.24.
|
|
137
|
+
"@babel/generator": "^7.24.5",
|
|
149
138
|
"@babel/helper-compilation-targets": "^7.23.6",
|
|
150
|
-
"@babel/helper-module-transforms": "^7.
|
|
151
|
-
"@babel/helpers": "^7.24.
|
|
152
|
-
"@babel/parser": "^7.24.
|
|
139
|
+
"@babel/helper-module-transforms": "^7.24.5",
|
|
140
|
+
"@babel/helpers": "^7.24.5",
|
|
141
|
+
"@babel/parser": "^7.24.5",
|
|
153
142
|
"@babel/template": "^7.24.0",
|
|
154
|
-
"@babel/traverse": "^7.24.
|
|
155
|
-
"@babel/types": "^7.24.
|
|
143
|
+
"@babel/traverse": "^7.24.5",
|
|
144
|
+
"@babel/types": "^7.24.5",
|
|
156
145
|
"convert-source-map": "^2.0.0",
|
|
157
146
|
"debug": "^4.1.0",
|
|
158
147
|
"gensync": "^1.0.0-beta.2",
|
|
@@ -177,12 +166,12 @@
|
|
|
177
166
|
}
|
|
178
167
|
},
|
|
179
168
|
"node_modules/@babel/generator": {
|
|
180
|
-
"version": "7.24.
|
|
181
|
-
"resolved": "https://registry.npmjs.org/@babel/generator/-/generator-7.24.
|
|
182
|
-
"integrity": "sha512-
|
|
169
|
+
"version": "7.24.5",
|
|
170
|
+
"resolved": "https://registry.npmjs.org/@babel/generator/-/generator-7.24.5.tgz",
|
|
171
|
+
"integrity": "sha512-x32i4hEXvr+iI0NEoEfDKzlemF8AmtOP8CcrRaEcpzysWuoEb1KknpcvMsHKPONoKZiDuItklgWhB18xEhr9PA==",
|
|
183
172
|
"dev": true,
|
|
184
173
|
"dependencies": {
|
|
185
|
-
"@babel/types": "^7.24.
|
|
174
|
+
"@babel/types": "^7.24.5",
|
|
186
175
|
"@jridgewell/gen-mapping": "^0.3.5",
|
|
187
176
|
"@jridgewell/trace-mapping": "^0.3.25",
|
|
188
177
|
"jsesc": "^2.5.1"
|
|
@@ -263,16 +252,16 @@
|
|
|
263
252
|
}
|
|
264
253
|
},
|
|
265
254
|
"node_modules/@babel/helper-module-transforms": {
|
|
266
|
-
"version": "7.
|
|
267
|
-
"resolved": "https://registry.npmjs.org/@babel/helper-module-transforms/-/helper-module-transforms-7.
|
|
268
|
-
"integrity": "sha512-
|
|
255
|
+
"version": "7.24.5",
|
|
256
|
+
"resolved": "https://registry.npmjs.org/@babel/helper-module-transforms/-/helper-module-transforms-7.24.5.tgz",
|
|
257
|
+
"integrity": "sha512-9GxeY8c2d2mdQUP1Dye0ks3VDyIMS98kt/llQ2nUId8IsWqTF0l1LkSX0/uP7l7MCDrzXS009Hyhe2gzTiGW8A==",
|
|
269
258
|
"dev": true,
|
|
270
259
|
"dependencies": {
|
|
271
260
|
"@babel/helper-environment-visitor": "^7.22.20",
|
|
272
|
-
"@babel/helper-module-imports": "^7.
|
|
273
|
-
"@babel/helper-simple-access": "^7.
|
|
274
|
-
"@babel/helper-split-export-declaration": "^7.
|
|
275
|
-
"@babel/helper-validator-identifier": "^7.
|
|
261
|
+
"@babel/helper-module-imports": "^7.24.3",
|
|
262
|
+
"@babel/helper-simple-access": "^7.24.5",
|
|
263
|
+
"@babel/helper-split-export-declaration": "^7.24.5",
|
|
264
|
+
"@babel/helper-validator-identifier": "^7.24.5"
|
|
276
265
|
},
|
|
277
266
|
"engines": {
|
|
278
267
|
"node": ">=6.9.0"
|
|
@@ -282,33 +271,33 @@
|
|
|
282
271
|
}
|
|
283
272
|
},
|
|
284
273
|
"node_modules/@babel/helper-plugin-utils": {
|
|
285
|
-
"version": "7.24.
|
|
286
|
-
"resolved": "https://registry.npmjs.org/@babel/helper-plugin-utils/-/helper-plugin-utils-7.24.
|
|
287
|
-
"integrity": "sha512-
|
|
274
|
+
"version": "7.24.5",
|
|
275
|
+
"resolved": "https://registry.npmjs.org/@babel/helper-plugin-utils/-/helper-plugin-utils-7.24.5.tgz",
|
|
276
|
+
"integrity": "sha512-xjNLDopRzW2o6ba0gKbkZq5YWEBaK3PCyTOY1K2P/O07LGMhMqlMXPxwN4S5/RhWuCobT8z0jrlKGlYmeR1OhQ==",
|
|
288
277
|
"dev": true,
|
|
289
278
|
"engines": {
|
|
290
279
|
"node": ">=6.9.0"
|
|
291
280
|
}
|
|
292
281
|
},
|
|
293
282
|
"node_modules/@babel/helper-simple-access": {
|
|
294
|
-
"version": "7.
|
|
295
|
-
"resolved": "https://registry.npmjs.org/@babel/helper-simple-access/-/helper-simple-access-7.
|
|
296
|
-
"integrity": "sha512-
|
|
283
|
+
"version": "7.24.5",
|
|
284
|
+
"resolved": "https://registry.npmjs.org/@babel/helper-simple-access/-/helper-simple-access-7.24.5.tgz",
|
|
285
|
+
"integrity": "sha512-uH3Hmf5q5n7n8mz7arjUlDOCbttY/DW4DYhE6FUsjKJ/oYC1kQQUvwEQWxRwUpX9qQKRXeqLwWxrqilMrf32sQ==",
|
|
297
286
|
"dev": true,
|
|
298
287
|
"dependencies": {
|
|
299
|
-
"@babel/types": "^7.
|
|
288
|
+
"@babel/types": "^7.24.5"
|
|
300
289
|
},
|
|
301
290
|
"engines": {
|
|
302
291
|
"node": ">=6.9.0"
|
|
303
292
|
}
|
|
304
293
|
},
|
|
305
294
|
"node_modules/@babel/helper-split-export-declaration": {
|
|
306
|
-
"version": "7.
|
|
307
|
-
"resolved": "https://registry.npmjs.org/@babel/helper-split-export-declaration/-/helper-split-export-declaration-7.
|
|
308
|
-
"integrity": "sha512-
|
|
295
|
+
"version": "7.24.5",
|
|
296
|
+
"resolved": "https://registry.npmjs.org/@babel/helper-split-export-declaration/-/helper-split-export-declaration-7.24.5.tgz",
|
|
297
|
+
"integrity": "sha512-5CHncttXohrHk8GWOFCcCl4oRD9fKosWlIRgWm4ql9VYioKm52Mk2xsmoohvm7f3JoiLSM5ZgJuRaf5QZZYd3Q==",
|
|
309
298
|
"dev": true,
|
|
310
299
|
"dependencies": {
|
|
311
|
-
"@babel/types": "^7.
|
|
300
|
+
"@babel/types": "^7.24.5"
|
|
312
301
|
},
|
|
313
302
|
"engines": {
|
|
314
303
|
"node": ">=6.9.0"
|
|
@@ -324,9 +313,9 @@
|
|
|
324
313
|
}
|
|
325
314
|
},
|
|
326
315
|
"node_modules/@babel/helper-validator-identifier": {
|
|
327
|
-
"version": "7.
|
|
328
|
-
"resolved": "https://registry.npmjs.org/@babel/helper-validator-identifier/-/helper-validator-identifier-7.
|
|
329
|
-
"integrity": "sha512-
|
|
316
|
+
"version": "7.24.5",
|
|
317
|
+
"resolved": "https://registry.npmjs.org/@babel/helper-validator-identifier/-/helper-validator-identifier-7.24.5.tgz",
|
|
318
|
+
"integrity": "sha512-3q93SSKX2TWCG30M2G2kwaKeTYgEUp5Snjuj8qm729SObL6nbtUldAi37qbxkD5gg3xnBio+f9nqpSepGZMvxA==",
|
|
330
319
|
"dev": true,
|
|
331
320
|
"engines": {
|
|
332
321
|
"node": ">=6.9.0"
|
|
@@ -342,26 +331,26 @@
|
|
|
342
331
|
}
|
|
343
332
|
},
|
|
344
333
|
"node_modules/@babel/helpers": {
|
|
345
|
-
"version": "7.24.
|
|
346
|
-
"resolved": "https://registry.npmjs.org/@babel/helpers/-/helpers-7.24.
|
|
347
|
-
"integrity": "sha512-
|
|
334
|
+
"version": "7.24.5",
|
|
335
|
+
"resolved": "https://registry.npmjs.org/@babel/helpers/-/helpers-7.24.5.tgz",
|
|
336
|
+
"integrity": "sha512-CiQmBMMpMQHwM5m01YnrM6imUG1ebgYJ+fAIW4FZe6m4qHTPaRHti+R8cggAwkdz4oXhtO4/K9JWlh+8hIfR2Q==",
|
|
348
337
|
"dev": true,
|
|
349
338
|
"dependencies": {
|
|
350
339
|
"@babel/template": "^7.24.0",
|
|
351
|
-
"@babel/traverse": "^7.24.
|
|
352
|
-
"@babel/types": "^7.24.
|
|
340
|
+
"@babel/traverse": "^7.24.5",
|
|
341
|
+
"@babel/types": "^7.24.5"
|
|
353
342
|
},
|
|
354
343
|
"engines": {
|
|
355
344
|
"node": ">=6.9.0"
|
|
356
345
|
}
|
|
357
346
|
},
|
|
358
347
|
"node_modules/@babel/highlight": {
|
|
359
|
-
"version": "7.24.
|
|
360
|
-
"resolved": "https://registry.npmjs.org/@babel/highlight/-/highlight-7.24.
|
|
361
|
-
"integrity": "sha512-
|
|
348
|
+
"version": "7.24.5",
|
|
349
|
+
"resolved": "https://registry.npmjs.org/@babel/highlight/-/highlight-7.24.5.tgz",
|
|
350
|
+
"integrity": "sha512-8lLmua6AVh/8SLJRRVD6V8p73Hir9w5mJrhE+IPpILG31KKlI9iz5zmBYKcWPS59qSfgP9RaSBQSHHE81WKuEw==",
|
|
362
351
|
"dev": true,
|
|
363
352
|
"dependencies": {
|
|
364
|
-
"@babel/helper-validator-identifier": "^7.
|
|
353
|
+
"@babel/helper-validator-identifier": "^7.24.5",
|
|
365
354
|
"chalk": "^2.4.2",
|
|
366
355
|
"js-tokens": "^4.0.0",
|
|
367
356
|
"picocolors": "^1.0.0"
|
|
@@ -442,9 +431,9 @@
|
|
|
442
431
|
}
|
|
443
432
|
},
|
|
444
433
|
"node_modules/@babel/parser": {
|
|
445
|
-
"version": "7.24.
|
|
446
|
-
"resolved": "https://registry.npmjs.org/@babel/parser/-/parser-7.24.
|
|
447
|
-
"integrity": "sha512-
|
|
434
|
+
"version": "7.24.5",
|
|
435
|
+
"resolved": "https://registry.npmjs.org/@babel/parser/-/parser-7.24.5.tgz",
|
|
436
|
+
"integrity": "sha512-EOv5IK8arwh3LI47dz1b0tKUb/1uhHAnHJOrjgtQMIpu1uXd9mlFrJg9IUgGUgZ41Ch0K8REPTYpO7B76b4vJg==",
|
|
448
437
|
"dev": true,
|
|
449
438
|
"bin": {
|
|
450
439
|
"parser": "bin/babel-parser.js"
|
|
@@ -645,19 +634,19 @@
|
|
|
645
634
|
}
|
|
646
635
|
},
|
|
647
636
|
"node_modules/@babel/traverse": {
|
|
648
|
-
"version": "7.24.
|
|
649
|
-
"resolved": "https://registry.npmjs.org/@babel/traverse/-/traverse-7.24.
|
|
650
|
-
"integrity": "sha512-
|
|
637
|
+
"version": "7.24.5",
|
|
638
|
+
"resolved": "https://registry.npmjs.org/@babel/traverse/-/traverse-7.24.5.tgz",
|
|
639
|
+
"integrity": "sha512-7aaBLeDQ4zYcUFDUD41lJc1fG8+5IU9DaNSJAgal866FGvmD5EbWQgnEC6kO1gGLsX0esNkfnJSndbTXA3r7UA==",
|
|
651
640
|
"dev": true,
|
|
652
641
|
"dependencies": {
|
|
653
|
-
"@babel/code-frame": "^7.24.
|
|
654
|
-
"@babel/generator": "^7.24.
|
|
642
|
+
"@babel/code-frame": "^7.24.2",
|
|
643
|
+
"@babel/generator": "^7.24.5",
|
|
655
644
|
"@babel/helper-environment-visitor": "^7.22.20",
|
|
656
645
|
"@babel/helper-function-name": "^7.23.0",
|
|
657
646
|
"@babel/helper-hoist-variables": "^7.22.5",
|
|
658
|
-
"@babel/helper-split-export-declaration": "^7.
|
|
659
|
-
"@babel/parser": "^7.24.
|
|
660
|
-
"@babel/types": "^7.24.
|
|
647
|
+
"@babel/helper-split-export-declaration": "^7.24.5",
|
|
648
|
+
"@babel/parser": "^7.24.5",
|
|
649
|
+
"@babel/types": "^7.24.5",
|
|
661
650
|
"debug": "^4.3.1",
|
|
662
651
|
"globals": "^11.1.0"
|
|
663
652
|
},
|
|
@@ -675,13 +664,13 @@
|
|
|
675
664
|
}
|
|
676
665
|
},
|
|
677
666
|
"node_modules/@babel/types": {
|
|
678
|
-
"version": "7.24.
|
|
679
|
-
"resolved": "https://registry.npmjs.org/@babel/types/-/types-7.24.
|
|
680
|
-
"integrity": "sha512
|
|
667
|
+
"version": "7.24.5",
|
|
668
|
+
"resolved": "https://registry.npmjs.org/@babel/types/-/types-7.24.5.tgz",
|
|
669
|
+
"integrity": "sha512-6mQNsaLeXTw0nxYUYu+NSa4Hx4BlF1x1x8/PMFbiR+GBSr+2DkECc69b8hgy2frEodNcvPffeH8YfWd3LI6jhQ==",
|
|
681
670
|
"dev": true,
|
|
682
671
|
"dependencies": {
|
|
683
|
-
"@babel/helper-string-parser": "^7.
|
|
684
|
-
"@babel/helper-validator-identifier": "^7.
|
|
672
|
+
"@babel/helper-string-parser": "^7.24.1",
|
|
673
|
+
"@babel/helper-validator-identifier": "^7.24.5",
|
|
685
674
|
"to-fast-properties": "^2.0.0"
|
|
686
675
|
},
|
|
687
676
|
"engines": {
|
|
@@ -842,9 +831,9 @@
|
|
|
842
831
|
}
|
|
843
832
|
},
|
|
844
833
|
"node_modules/@humanwhocodes/object-schema": {
|
|
845
|
-
"version": "2.0.
|
|
846
|
-
"resolved": "https://registry.npmjs.org/@humanwhocodes/object-schema/-/object-schema-2.0.
|
|
847
|
-
"integrity": "sha512-
|
|
834
|
+
"version": "2.0.3",
|
|
835
|
+
"resolved": "https://registry.npmjs.org/@humanwhocodes/object-schema/-/object-schema-2.0.3.tgz",
|
|
836
|
+
"integrity": "sha512-93zYdMES/c1D69yZiKDBj0V24vqNzB/koF26KPaagAfd3P/4gUlh3Dys5ogAK+Exi9QyzlD8x/08Zt7wIKcDcA==",
|
|
848
837
|
"dev": true
|
|
849
838
|
},
|
|
850
839
|
"node_modules/@istanbuljs/load-nyc-config": {
|
|
@@ -1443,9 +1432,9 @@
|
|
|
1443
1432
|
"dev": true
|
|
1444
1433
|
},
|
|
1445
1434
|
"node_modules/@types/node": {
|
|
1446
|
-
"version": "20.
|
|
1447
|
-
"resolved": "https://registry.npmjs.org/@types/node/-/node-20.
|
|
1448
|
-
"integrity": "sha512-
|
|
1435
|
+
"version": "20.12.8",
|
|
1436
|
+
"resolved": "https://registry.npmjs.org/@types/node/-/node-20.12.8.tgz",
|
|
1437
|
+
"integrity": "sha512-NU0rJLJnshZWdE/097cdCBbyW1h4hEg0xpovcoAQYHl8dnEyp/NAOiE45pvc+Bd1Dt+2r94v2eGFpQJ4R7g+2w==",
|
|
1449
1438
|
"dev": true,
|
|
1450
1439
|
"dependencies": {
|
|
1451
1440
|
"undici-types": "~5.26.4"
|
|
@@ -1464,9 +1453,9 @@
|
|
|
1464
1453
|
"dev": true
|
|
1465
1454
|
},
|
|
1466
1455
|
"node_modules/@types/superagent": {
|
|
1467
|
-
"version": "8.1.
|
|
1468
|
-
"resolved": "https://registry.npmjs.org/@types/superagent/-/superagent-8.1.
|
|
1469
|
-
"integrity": "sha512-
|
|
1456
|
+
"version": "8.1.7",
|
|
1457
|
+
"resolved": "https://registry.npmjs.org/@types/superagent/-/superagent-8.1.7.tgz",
|
|
1458
|
+
"integrity": "sha512-NmIsd0Yj4DDhftfWvvAku482PZum4DBW7U51OvS8gvOkDDY0WT1jsVyDV3hK+vplrsYw8oDwi9QxOM7U68iwww==",
|
|
1470
1459
|
"dev": true,
|
|
1471
1460
|
"dependencies": {
|
|
1472
1461
|
"@types/cookiejar": "^2.1.5",
|
|
@@ -2080,9 +2069,9 @@
|
|
|
2080
2069
|
}
|
|
2081
2070
|
},
|
|
2082
2071
|
"node_modules/caniuse-lite": {
|
|
2083
|
-
"version": "1.0.
|
|
2084
|
-
"resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.
|
|
2085
|
-
"integrity": "sha512
|
|
2072
|
+
"version": "1.0.30001616",
|
|
2073
|
+
"resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001616.tgz",
|
|
2074
|
+
"integrity": "sha512-RHVYKov7IcdNjVHJFNY/78RdG4oGVjbayxv8u5IO74Wv7Hlq4PnJE6mo/OjFijjVFNy5ijnCt6H3IIo4t+wfEw==",
|
|
2086
2075
|
"dev": true,
|
|
2087
2076
|
"funding": [
|
|
2088
2077
|
{
|
|
@@ -2176,9 +2165,9 @@
|
|
|
2176
2165
|
}
|
|
2177
2166
|
},
|
|
2178
2167
|
"node_modules/cjs-module-lexer": {
|
|
2179
|
-
"version": "1.
|
|
2180
|
-
"resolved": "https://registry.npmjs.org/cjs-module-lexer/-/cjs-module-lexer-1.
|
|
2181
|
-
"integrity": "sha512-
|
|
2168
|
+
"version": "1.3.1",
|
|
2169
|
+
"resolved": "https://registry.npmjs.org/cjs-module-lexer/-/cjs-module-lexer-1.3.1.tgz",
|
|
2170
|
+
"integrity": "sha512-a3KdPAANPbNE4ZUv9h6LckSl9zLsYOP4MBmhIPkRaeyybt+r4UghLvq+xw/YwUcC1gqylCkL4rdVs3Lwupjm4Q==",
|
|
2182
2171
|
"dev": true
|
|
2183
2172
|
},
|
|
2184
2173
|
"node_modules/cliui": {
|
|
@@ -2333,9 +2322,9 @@
|
|
|
2333
2322
|
}
|
|
2334
2323
|
},
|
|
2335
2324
|
"node_modules/dedent": {
|
|
2336
|
-
"version": "1.5.
|
|
2337
|
-
"resolved": "https://registry.npmjs.org/dedent/-/dedent-1.5.
|
|
2338
|
-
"integrity": "sha512
|
|
2325
|
+
"version": "1.5.3",
|
|
2326
|
+
"resolved": "https://registry.npmjs.org/dedent/-/dedent-1.5.3.tgz",
|
|
2327
|
+
"integrity": "sha512-NHQtfOOW68WD8lgypbLA5oT+Bt0xXJhiYvoR6SmmNXZfpzOGXwdKWmcwG8N7PwVVWV3eF/68nmD9BaJSsTBhyQ==",
|
|
2339
2328
|
"dev": true,
|
|
2340
2329
|
"peerDependencies": {
|
|
2341
2330
|
"babel-plugin-macros": "^3.1.0"
|
|
@@ -2440,9 +2429,9 @@
|
|
|
2440
2429
|
}
|
|
2441
2430
|
},
|
|
2442
2431
|
"node_modules/electron-to-chromium": {
|
|
2443
|
-
"version": "1.4.
|
|
2444
|
-
"resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.4.
|
|
2445
|
-
"integrity": "sha512-
|
|
2432
|
+
"version": "1.4.756",
|
|
2433
|
+
"resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.4.756.tgz",
|
|
2434
|
+
"integrity": "sha512-RJKZ9+vEBMeiPAvKNWyZjuYyUqMndcP1f335oHqn3BEQbs2NFtVrnK5+6Xg5wSM9TknNNpWghGDUCKGYF+xWXw==",
|
|
2446
2435
|
"dev": true
|
|
2447
2436
|
},
|
|
2448
2437
|
"node_modules/emittery": {
|
|
@@ -4516,17 +4505,17 @@
|
|
|
4516
4505
|
}
|
|
4517
4506
|
},
|
|
4518
4507
|
"node_modules/optionator": {
|
|
4519
|
-
"version": "0.9.
|
|
4520
|
-
"resolved": "https://registry.npmjs.org/optionator/-/optionator-0.9.
|
|
4521
|
-
"integrity": "sha512-
|
|
4508
|
+
"version": "0.9.4",
|
|
4509
|
+
"resolved": "https://registry.npmjs.org/optionator/-/optionator-0.9.4.tgz",
|
|
4510
|
+
"integrity": "sha512-6IpQ7mKUxRcZNLIObR0hz7lxsapSSIYNZJwXPGeF0mTVqGKFIXj1DQcMoT22S3ROcLyY/rz0PWaWZ9ayWmad9g==",
|
|
4522
4511
|
"dev": true,
|
|
4523
4512
|
"dependencies": {
|
|
4524
|
-
"@aashutoshrathi/word-wrap": "^1.2.3",
|
|
4525
4513
|
"deep-is": "^0.1.3",
|
|
4526
4514
|
"fast-levenshtein": "^2.0.6",
|
|
4527
4515
|
"levn": "^0.4.1",
|
|
4528
4516
|
"prelude-ls": "^1.2.1",
|
|
4529
|
-
"type-check": "^0.4.0"
|
|
4517
|
+
"type-check": "^0.4.0",
|
|
4518
|
+
"word-wrap": "^1.2.5"
|
|
4530
4519
|
},
|
|
4531
4520
|
"engines": {
|
|
4532
4521
|
"node": ">= 0.8.0"
|
|
@@ -4853,9 +4842,9 @@
|
|
|
4853
4842
|
]
|
|
4854
4843
|
},
|
|
4855
4844
|
"node_modules/react-is": {
|
|
4856
|
-
"version": "18.
|
|
4857
|
-
"resolved": "https://registry.npmjs.org/react-is/-/react-is-18.
|
|
4858
|
-
"integrity": "sha512
|
|
4845
|
+
"version": "18.3.1",
|
|
4846
|
+
"resolved": "https://registry.npmjs.org/react-is/-/react-is-18.3.1.tgz",
|
|
4847
|
+
"integrity": "sha512-/LLMVyas0ljjAtoYiPqYiL8VWXzUUdThrmU5+n20DZv+a+ClRoevUzw5JxU+Ieh5/c87ytoTBV9G1FiKfNJdmg==",
|
|
4859
4848
|
"dev": true
|
|
4860
4849
|
},
|
|
4861
4850
|
"node_modules/readdirp": {
|
|
@@ -5249,9 +5238,9 @@
|
|
|
5249
5238
|
}
|
|
5250
5239
|
},
|
|
5251
5240
|
"node_modules/superagent": {
|
|
5252
|
-
"version": "9.0.
|
|
5253
|
-
"resolved": "https://registry.npmjs.org/superagent/-/superagent-9.0.
|
|
5254
|
-
"integrity": "sha512-
|
|
5241
|
+
"version": "9.0.2",
|
|
5242
|
+
"resolved": "https://registry.npmjs.org/superagent/-/superagent-9.0.2.tgz",
|
|
5243
|
+
"integrity": "sha512-xuW7dzkUpcJq7QnhOsnNUgtYp3xRwpt2F7abdRYIpCsAt0hhUqia0EdxyXZQQpNmGtsCzYHryaKSV3q3GJnq7w==",
|
|
5255
5244
|
"dev": true,
|
|
5256
5245
|
"dependencies": {
|
|
5257
5246
|
"component-emitter": "^1.3.0",
|
|
@@ -5262,8 +5251,7 @@
|
|
|
5262
5251
|
"formidable": "^3.5.1",
|
|
5263
5252
|
"methods": "^1.1.2",
|
|
5264
5253
|
"mime": "2.6.0",
|
|
5265
|
-
"qs": "^6.11.0"
|
|
5266
|
-
"semver": "^7.3.8"
|
|
5254
|
+
"qs": "^6.11.0"
|
|
5267
5255
|
},
|
|
5268
5256
|
"engines": {
|
|
5269
5257
|
"node": ">=14.18.0"
|
|
@@ -5491,9 +5479,9 @@
|
|
|
5491
5479
|
}
|
|
5492
5480
|
},
|
|
5493
5481
|
"node_modules/typescript": {
|
|
5494
|
-
"version": "5.4.
|
|
5495
|
-
"resolved": "https://registry.npmjs.org/typescript/-/typescript-5.4.
|
|
5496
|
-
"integrity": "sha512-
|
|
5482
|
+
"version": "5.4.5",
|
|
5483
|
+
"resolved": "https://registry.npmjs.org/typescript/-/typescript-5.4.5.tgz",
|
|
5484
|
+
"integrity": "sha512-vcI4UpRgg81oIRUFwR0WSIHKt11nJ7SAVlYNIu+QpqeyXP+gpQJy/Z4+F0aGxSE4MqwjyXvW/TzgkLAx2AGHwQ==",
|
|
5497
5485
|
"dev": true,
|
|
5498
5486
|
"bin": {
|
|
5499
5487
|
"tsc": "bin/tsc",
|
|
@@ -5516,9 +5504,9 @@
|
|
|
5516
5504
|
"dev": true
|
|
5517
5505
|
},
|
|
5518
5506
|
"node_modules/update-browserslist-db": {
|
|
5519
|
-
"version": "1.0.
|
|
5520
|
-
"resolved": "https://registry.npmjs.org/update-browserslist-db/-/update-browserslist-db-1.0.
|
|
5521
|
-
"integrity": "sha512-
|
|
5507
|
+
"version": "1.0.15",
|
|
5508
|
+
"resolved": "https://registry.npmjs.org/update-browserslist-db/-/update-browserslist-db-1.0.15.tgz",
|
|
5509
|
+
"integrity": "sha512-K9HWH62x3/EalU1U6sjSZiylm9C8tgq2mSvshZpqc7QE69RaA2qjhkW2HlNA0tFpEbtyFz7HTqbSdN4MSwUodA==",
|
|
5522
5510
|
"dev": true,
|
|
5523
5511
|
"funding": [
|
|
5524
5512
|
{
|
|
@@ -5535,7 +5523,7 @@
|
|
|
5535
5523
|
}
|
|
5536
5524
|
],
|
|
5537
5525
|
"dependencies": {
|
|
5538
|
-
"escalade": "^3.1.
|
|
5526
|
+
"escalade": "^3.1.2",
|
|
5539
5527
|
"picocolors": "^1.0.0"
|
|
5540
5528
|
},
|
|
5541
5529
|
"bin": {
|
|
@@ -5592,6 +5580,15 @@
|
|
|
5592
5580
|
"node": ">= 8"
|
|
5593
5581
|
}
|
|
5594
5582
|
},
|
|
5583
|
+
"node_modules/word-wrap": {
|
|
5584
|
+
"version": "1.2.5",
|
|
5585
|
+
"resolved": "https://registry.npmjs.org/word-wrap/-/word-wrap-1.2.5.tgz",
|
|
5586
|
+
"integrity": "sha512-BN22B5eaMMI9UMtjrGd5g5eCYPpCPDUy0FJXbYsaT5zYxjFOckS53SQDE3pWkVoWpHXVb3BrYcEN4Twa55B5cA==",
|
|
5587
|
+
"dev": true,
|
|
5588
|
+
"engines": {
|
|
5589
|
+
"node": ">=0.10.0"
|
|
5590
|
+
}
|
|
5591
|
+
},
|
|
5595
5592
|
"node_modules/wrap-ansi": {
|
|
5596
5593
|
"version": "7.0.0",
|
|
5597
5594
|
"resolved": "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-7.0.0.tgz",
|
|
@@ -3,25 +3,25 @@
|
|
|
3
3
|
"version": "0.0.1",
|
|
4
4
|
"scripts": {
|
|
5
5
|
"build": "tsc",
|
|
6
|
-
"test": "npx
|
|
6
|
+
"test": "npx dbos rollback && npx dbos migrate && jest",
|
|
7
7
|
"lint": "eslint src",
|
|
8
8
|
"lint-fix": "eslint --fix src",
|
|
9
9
|
"dev": "nodemon",
|
|
10
|
-
"start": "npx dbos
|
|
10
|
+
"start": "npx dbos start"
|
|
11
11
|
},
|
|
12
12
|
"devDependencies": {
|
|
13
13
|
"@dbos-inc/eslint-plugin": "^0.0.6",
|
|
14
|
-
"@types/jest": "^29.5.
|
|
15
|
-
"@types/supertest": "^2.0.
|
|
16
|
-
"eslint": "^8.
|
|
14
|
+
"@types/jest": "^29.5.12",
|
|
15
|
+
"@types/supertest": "^2.0.16",
|
|
16
|
+
"eslint": "^8.57.0",
|
|
17
17
|
"jest": "^29.7.0",
|
|
18
18
|
"nodemon": "^3.1.0",
|
|
19
19
|
"supertest": "^7.0.0",
|
|
20
|
-
"ts-jest": "^29.1.
|
|
21
|
-
"typescript": "^5.
|
|
20
|
+
"ts-jest": "^29.1.2",
|
|
21
|
+
"typescript": "^5.4.5"
|
|
22
22
|
},
|
|
23
23
|
"dependencies": {
|
|
24
|
-
"@dbos-inc/dbos-sdk": "
|
|
24
|
+
"@dbos-inc/dbos-sdk": "file:../../../..",
|
|
25
25
|
"knex": "3.1.0"
|
|
26
26
|
}
|
|
27
27
|
}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
{
|
|
2
|
+
"root": true,
|
|
3
|
+
"extends": [
|
|
4
|
+
"plugin:@dbos-inc/dbosRecommendedConfig"
|
|
5
|
+
],
|
|
6
|
+
"plugins": [
|
|
7
|
+
"@dbos-inc"
|
|
8
|
+
],
|
|
9
|
+
"env": {
|
|
10
|
+
"node": true,
|
|
11
|
+
"es6": true
|
|
12
|
+
},
|
|
13
|
+
"rules": {
|
|
14
|
+
},
|
|
15
|
+
"parser": "@typescript-eslint/parser",
|
|
16
|
+
"parserOptions": {
|
|
17
|
+
"project": "./tsconfig.json"
|
|
18
|
+
}
|
|
19
|
+
}
|