@mastra/deployer-vercel 0.1.8-alpha.8 → 0.1.8

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 CHANGED
@@ -1,8 +1,11 @@
1
1
  {
2
2
  "name": "@mastra/deployer-vercel",
3
- "version": "0.1.8-alpha.8",
3
+ "version": "0.1.8",
4
4
  "description": "",
5
5
  "type": "module",
6
+ "files": [
7
+ "dist"
8
+ ],
6
9
  "main": "dist/index.js",
7
10
  "types": "dist/index.d.ts",
8
11
  "exports": {
@@ -23,22 +26,22 @@
23
26
  "license": "ISC",
24
27
  "dependencies": {
25
28
  "@rollup/plugin-virtual": "^3.0.2",
26
- "fs-extra": "^11.2.0",
27
- "@mastra/core": "^0.5.0-alpha.8",
28
- "@mastra/deployer": "^0.1.8-alpha.8"
29
+ "fs-extra": "^11.3.0",
30
+ "@mastra/core": "^0.5.0",
31
+ "@mastra/deployer": "^0.1.8"
29
32
  },
30
33
  "devDependencies": {
31
- "eslint": "^9.20.1",
32
- "@microsoft/api-extractor": "^7.49.2",
33
- "@types/node": "^22.13.1",
34
- "tsup": "^8.0.1",
35
- "typescript": "^5.7.3",
36
- "vercel": "^39.3.0",
37
- "vitest": "^3.0.4",
38
- "@internal/lint": "0.0.0"
34
+ "@microsoft/api-extractor": "^7.52.1",
35
+ "@types/node": "^22.13.10",
36
+ "eslint": "^9.22.0",
37
+ "tsup": "^8.4.0",
38
+ "typescript": "^5.8.2",
39
+ "vercel": "^39.4.2",
40
+ "vitest": "^3.0.8",
41
+ "@internal/lint": "0.0.1"
39
42
  },
40
43
  "scripts": {
41
- "build": "tsup src/index.ts --format esm,cjs --experimental-dts --clean --treeshake",
44
+ "build": "tsup src/index.ts --format esm,cjs --experimental-dts --clean --treeshake=smallest --splitting",
42
45
  "build:watch": "pnpm build --watch",
43
46
  "test": "vitest run",
44
47
  "lint": "eslint ."
@@ -1,23 +0,0 @@
1
-
2
- > @mastra/deployer-vercel@0.1.8-alpha.8 build /home/runner/work/mastra/mastra/deployers/vercel
3
- > tsup src/index.ts --format esm,cjs --experimental-dts --clean --treeshake
4
-
5
- CLI Building entry: src/index.ts
6
- CLI Using tsconfig: tsconfig.json
7
- CLI tsup v8.3.6
8
- TSC Build start
9
- TSC ⚡️ Build success in 7237ms
10
- DTS Build start
11
- CLI Target: es2022
12
- Analysis will use the bundled TypeScript version 5.7.3
13
- Writing package typings: /home/runner/work/mastra/mastra/deployers/vercel/dist/_tsup-dts-rollup.d.ts
14
- Analysis will use the bundled TypeScript version 5.7.3
15
- Writing package typings: /home/runner/work/mastra/mastra/deployers/vercel/dist/_tsup-dts-rollup.d.cts
16
- DTS ⚡️ Build success in 7586ms
17
- CLI Cleaning output folder
18
- ESM Build start
19
- CJS Build start
20
- ESM dist/index.js 4.01 KB
21
- ESM ⚡️ Build success in 353ms
22
- CJS dist/index.cjs 4.73 KB
23
- CJS ⚡️ Build success in 357ms
package/CHANGELOG.md DELETED
@@ -1,1131 +0,0 @@
1
- # @mastra/deployer-vercel
2
-
3
- ## 0.1.8-alpha.8
4
-
5
- ### Patch Changes
6
-
7
- - Updated dependencies [506f1d5]
8
- - @mastra/core@0.5.0-alpha.8
9
- - @mastra/deployer@0.1.8-alpha.8
10
-
11
- ## 0.1.8-alpha.7
12
-
13
- ### Patch Changes
14
-
15
- - Updated dependencies [ee667a2]
16
- - @mastra/core@0.5.0-alpha.7
17
- - @mastra/deployer@0.1.8-alpha.7
18
-
19
- ## 0.1.8-alpha.6
20
-
21
- ### Patch Changes
22
-
23
- - Updated dependencies [f6678e4]
24
- - @mastra/core@0.5.0-alpha.6
25
- - @mastra/deployer@0.1.8-alpha.6
26
-
27
- ## 0.1.8-alpha.5
28
-
29
- ### Patch Changes
30
-
31
- - Updated dependencies [22643eb]
32
- - Updated dependencies [6feb23f]
33
- - Updated dependencies [f2d6727]
34
- - Updated dependencies [301e4ee]
35
- - Updated dependencies [dfbe4e9]
36
- - Updated dependencies [9e81f35]
37
- - Updated dependencies [caefaa2]
38
- - Updated dependencies [c151ae6]
39
- - Updated dependencies [52e0418]
40
- - Updated dependencies [03236ec]
41
- - Updated dependencies [3764e71]
42
- - Updated dependencies [df982db]
43
- - Updated dependencies [0461849]
44
- - Updated dependencies [2259379]
45
- - Updated dependencies [358f069]
46
- - @mastra/core@0.5.0-alpha.5
47
- - @mastra/deployer@0.1.8-alpha.5
48
-
49
- ## 0.1.8-alpha.4
50
-
51
- ### Patch Changes
52
-
53
- - Updated dependencies [d79aedf]
54
- - Updated dependencies [144b3d5]
55
- - @mastra/core@0.5.0-alpha.4
56
- - @mastra/deployer@0.1.8-alpha.4
57
-
58
- ## 0.1.8-alpha.3
59
-
60
- ### Patch Changes
61
-
62
- - Updated dependencies [3d0e290]
63
- - @mastra/core@0.5.0-alpha.3
64
- - @mastra/deployer@0.1.8-alpha.3
65
-
66
- ## 0.1.8-alpha.2
67
-
68
- ### Patch Changes
69
-
70
- - Updated dependencies [02ffb7b]
71
- - @mastra/core@0.5.0-alpha.2
72
- - @mastra/deployer@0.1.8-alpha.2
73
-
74
- ## 0.1.8-alpha.1
75
-
76
- ### Patch Changes
77
-
78
- - Updated dependencies [dab255b]
79
- - @mastra/core@0.5.0-alpha.1
80
- - @mastra/deployer@0.1.8-alpha.1
81
-
82
- ## 0.1.8-alpha.0
83
-
84
- ### Patch Changes
85
-
86
- - Updated dependencies [59df7b6]
87
- - Updated dependencies [29f3a82]
88
- - Updated dependencies [59df7b6]
89
- - Updated dependencies [c2dde91]
90
- - Updated dependencies [731dd8a]
91
- - Updated dependencies [960690d]
92
- - Updated dependencies [c139344]
93
- - @mastra/core@0.5.0-alpha.0
94
- - @mastra/deployer@0.1.8-alpha.0
95
-
96
- ## 0.1.7
97
-
98
- ### Patch Changes
99
-
100
- - Updated dependencies [1da20e7]
101
- - Updated dependencies [30a4c29]
102
- - Updated dependencies [e1e2705]
103
- - @mastra/core@0.4.4
104
- - @mastra/deployer@0.1.7
105
-
106
- ## 0.1.7-alpha.0
107
-
108
- ### Patch Changes
109
-
110
- - Updated dependencies [1da20e7]
111
- - Updated dependencies [30a4c29]
112
- - Updated dependencies [e1e2705]
113
- - @mastra/core@0.4.4-alpha.0
114
- - @mastra/deployer@0.1.7-alpha.0
115
-
116
- ## 0.1.6
117
-
118
- ### Patch Changes
119
-
120
- - bb4f447: Add support for commonjs
121
- - Updated dependencies [0d185b1]
122
- - Updated dependencies [ed55f1d]
123
- - Updated dependencies [06aa827]
124
- - Updated dependencies [80cdd76]
125
- - Updated dependencies [0fd78ac]
126
- - Updated dependencies [2512a93]
127
- - Updated dependencies [e62de74]
128
- - Updated dependencies [0d25b75]
129
- - Updated dependencies [fd14a3f]
130
- - Updated dependencies [8d13b14]
131
- - Updated dependencies [3f369a2]
132
- - Updated dependencies [3ee4831]
133
- - Updated dependencies [4d4e1e1]
134
- - Updated dependencies [bb4f447]
135
- - Updated dependencies [108793c]
136
- - Updated dependencies [5f28f44]
137
- - Updated dependencies [dabecf4]
138
- - @mastra/core@0.4.3
139
- - @mastra/deployer@0.1.6
140
-
141
- ## 0.1.6-alpha.4
142
-
143
- ### Patch Changes
144
-
145
- - Updated dependencies [dabecf4]
146
- - @mastra/core@0.4.3-alpha.4
147
- - @mastra/deployer@0.1.6-alpha.4
148
-
149
- ## 0.1.6-alpha.3
150
-
151
- ### Patch Changes
152
-
153
- - bb4f447: Add support for commonjs
154
- - Updated dependencies [0fd78ac]
155
- - Updated dependencies [0d25b75]
156
- - Updated dependencies [fd14a3f]
157
- - Updated dependencies [3f369a2]
158
- - Updated dependencies [4d4e1e1]
159
- - Updated dependencies [bb4f447]
160
- - @mastra/deployer@0.1.6-alpha.3
161
- - @mastra/core@0.4.3-alpha.3
162
-
163
- ## 0.1.6-alpha.2
164
-
165
- ### Patch Changes
166
-
167
- - Updated dependencies [2512a93]
168
- - Updated dependencies [e62de74]
169
- - @mastra/core@0.4.3-alpha.2
170
- - @mastra/deployer@0.1.6-alpha.2
171
-
172
- ## 0.1.6-alpha.1
173
-
174
- ### Patch Changes
175
-
176
- - Updated dependencies [0d185b1]
177
- - Updated dependencies [ed55f1d]
178
- - Updated dependencies [80cdd76]
179
- - Updated dependencies [8d13b14]
180
- - Updated dependencies [3ee4831]
181
- - Updated dependencies [108793c]
182
- - Updated dependencies [5f28f44]
183
- - @mastra/core@0.4.3-alpha.1
184
- - @mastra/deployer@0.1.6-alpha.1
185
-
186
- ## 0.1.6-alpha.0
187
-
188
- ### Patch Changes
189
-
190
- - Updated dependencies [06aa827]
191
- - @mastra/core@0.4.3-alpha.0
192
- - @mastra/deployer@0.1.6-alpha.0
193
-
194
- ## 0.1.5
195
-
196
- ### Patch Changes
197
-
198
- - Updated dependencies [7fceae1]
199
- - Updated dependencies [e4ee56c]
200
- - Updated dependencies [8d94c3e]
201
- - Updated dependencies [2d68431]
202
- - Updated dependencies [99dcdb5]
203
- - Updated dependencies [6cb63e0]
204
- - Updated dependencies [f626fbb]
205
- - Updated dependencies [e752340]
206
- - Updated dependencies [eb91535]
207
- - @mastra/core@0.4.2
208
- - @mastra/deployer@0.1.5
209
-
210
- ## 0.1.5-alpha.3
211
-
212
- ### Patch Changes
213
-
214
- - Updated dependencies [8d94c3e]
215
- - Updated dependencies [99dcdb5]
216
- - Updated dependencies [e752340]
217
- - Updated dependencies [eb91535]
218
- - @mastra/core@0.4.2-alpha.2
219
- - @mastra/deployer@0.1.5-alpha.3
220
-
221
- ## 0.1.5-alpha.2
222
-
223
- ### Patch Changes
224
-
225
- - Updated dependencies [6cb63e0]
226
- - @mastra/core@0.4.2-alpha.1
227
- - @mastra/deployer@0.1.5-alpha.2
228
-
229
- ## 0.1.5-alpha.1
230
-
231
- ### Patch Changes
232
-
233
- - Updated dependencies [2d68431]
234
- - @mastra/deployer@0.1.5-alpha.1
235
-
236
- ## 0.1.5-alpha.0
237
-
238
- ### Patch Changes
239
-
240
- - Updated dependencies [7fceae1]
241
- - Updated dependencies [e4ee56c]
242
- - Updated dependencies [f626fbb]
243
- - @mastra/core@0.4.2-alpha.0
244
- - @mastra/deployer@0.1.5-alpha.0
245
-
246
- ## 0.1.4
247
-
248
- ### Patch Changes
249
-
250
- - Updated dependencies [ce44b9b]
251
- - Updated dependencies [967da43]
252
- - Updated dependencies [b405f08]
253
- - @mastra/core@0.4.1
254
- - @mastra/deployer@0.1.4
255
-
256
- ## 0.1.3
257
-
258
- ### Patch Changes
259
-
260
- - Updated dependencies [5297264]
261
- - Updated dependencies [2fc618f]
262
- - Updated dependencies [fe0fd01]
263
- - @mastra/deployer@0.1.3
264
- - @mastra/core@0.4.0
265
-
266
- ## 0.1.3-alpha.1
267
-
268
- ### Patch Changes
269
-
270
- - Updated dependencies [fe0fd01]
271
- - @mastra/core@0.4.0-alpha.1
272
- - @mastra/deployer@0.1.3-alpha.1
273
-
274
- ## 0.1.3-alpha.0
275
-
276
- ### Patch Changes
277
-
278
- - Updated dependencies [5297264]
279
- - Updated dependencies [2fc618f]
280
- - @mastra/deployer@0.1.3-alpha.0
281
- - @mastra/core@0.4.0-alpha.0
282
-
283
- ## 0.1.2
284
-
285
- ### Patch Changes
286
-
287
- - Updated dependencies [f205ede]
288
- - @mastra/core@0.3.0
289
- - @mastra/deployer@0.1.2
290
-
291
- ## 0.1.1
292
-
293
- ### Patch Changes
294
-
295
- - Updated dependencies [d59f1a8]
296
- - Updated dependencies [936dc26]
297
- - Updated dependencies [91ef439]
298
- - Updated dependencies [4a25be4]
299
- - Updated dependencies [bf2e88f]
300
- - Updated dependencies [2f0d707]
301
- - Updated dependencies [aac1667]
302
- - @mastra/core@0.2.1
303
- - @mastra/deployer@0.1.1
304
-
305
- ## 0.1.1-alpha.0
306
-
307
- ### Patch Changes
308
-
309
- - Updated dependencies [d59f1a8]
310
- - Updated dependencies [936dc26]
311
- - Updated dependencies [91ef439]
312
- - Updated dependencies [4a25be4]
313
- - Updated dependencies [bf2e88f]
314
- - Updated dependencies [2f0d707]
315
- - Updated dependencies [aac1667]
316
- - @mastra/core@0.2.1-alpha.0
317
- - @mastra/deployer@0.1.1-alpha.0
318
-
319
- ## 0.1.0
320
-
321
- ### Minor Changes
322
-
323
- - 4d4f6b6: Update deployer
324
- - 5916f9d: Update deps from fixed to ^
325
- - 8b416d9: Breaking changes
326
-
327
- ### Patch Changes
328
-
329
- - 2b75edf: mastra deployers tsup bundling
330
- - 44c7c26: Rebuild
331
- - bdaf834: publish packages
332
- - b97ca96: Tracing into default storage
333
- - a9b5ddf: Publish new versions
334
- - 88600bc: Deployer fixes
335
- - 9c10484: update all packages
336
- - 70dabd9: Fix broken publish
337
- - 0d5a03d: Vector store modules
338
- - 9625602: Use mastra core splitted bundles in other packages
339
- - 38b7f66: Update deployer logic
340
- - 327ece7: Updates for ts versions
341
- - 4f1d1a1: Enforce types ann cleanup package.json
342
- - Updated dependencies [2ab57d6]
343
- - Updated dependencies [a1774e7]
344
- - Updated dependencies [f537e33]
345
- - Updated dependencies [291fe57]
346
- - Updated dependencies [6f2c0f5]
347
- - Updated dependencies [e4d4ede]
348
- - Updated dependencies [0be7181]
349
- - Updated dependencies [dd6d87f]
350
- - Updated dependencies [9029796]
351
- - Updated dependencies [6fa4bd2]
352
- - Updated dependencies [f031a1f]
353
- - Updated dependencies [8151f44]
354
- - Updated dependencies [d7d465a]
355
- - Updated dependencies [4d4f6b6]
356
- - Updated dependencies [73d112c]
357
- - Updated dependencies [592e3cf]
358
- - Updated dependencies [9d1796d]
359
- - Updated dependencies [e897f1c]
360
- - Updated dependencies [4a54c82]
361
- - Updated dependencies [e27fe69]
362
- - Updated dependencies [3967e69]
363
- - Updated dependencies [8ae2bbc]
364
- - Updated dependencies [246f06c]
365
- - Updated dependencies [ac8c61a]
366
- - Updated dependencies [82a6d53]
367
- - Updated dependencies [e9d1b47]
368
- - Updated dependencies [bdaf834]
369
- - Updated dependencies [016493a]
370
- - Updated dependencies [bc40916]
371
- - Updated dependencies [93a3719]
372
- - Updated dependencies [7d83b92]
373
- - Updated dependencies [9fb3039]
374
- - Updated dependencies [8fa48b9]
375
- - Updated dependencies [d5e12de]
376
- - Updated dependencies [e1dd94a]
377
- - Updated dependencies [07c069d]
378
- - Updated dependencies [5cdfb88]
379
- - Updated dependencies [837a288]
380
- - Updated dependencies [685108a]
381
- - Updated dependencies [c8ff2f5]
382
- - Updated dependencies [5fdc87c]
383
- - Updated dependencies [ae7bf94]
384
- - Updated dependencies [8e7814f]
385
- - Updated dependencies [66a03ec]
386
- - Updated dependencies [5916f9d]
387
- - Updated dependencies [7d87a15]
388
- - Updated dependencies [b97ca96]
389
- - Updated dependencies [ad2cd74]
390
- - Updated dependencies [23dcb23]
391
- - Updated dependencies [033eda6]
392
- - Updated dependencies [7babd5c]
393
- - Updated dependencies [a9b5ddf]
394
- - Updated dependencies [9066f95]
395
- - Updated dependencies [4139b43]
396
- - Updated dependencies [8105fae]
397
- - Updated dependencies [e097800]
398
- - Updated dependencies [ab01c53]
399
- - Updated dependencies [1944807]
400
- - Updated dependencies [30322ce]
401
- - Updated dependencies [8aec8b7]
402
- - Updated dependencies [1874f40]
403
- - Updated dependencies [685108a]
404
- - Updated dependencies [f7d1131]
405
- - Updated dependencies [79acad0]
406
- - Updated dependencies [7a19083]
407
- - Updated dependencies [382f4dc]
408
- - Updated dependencies [1ebd071]
409
- - Updated dependencies [0b74006]
410
- - Updated dependencies [2f17a5f]
411
- - Updated dependencies [f368477]
412
- - Updated dependencies [7892533]
413
- - Updated dependencies [9c10484]
414
- - Updated dependencies [b726bf5]
415
- - Updated dependencies [88f18d7]
416
- - Updated dependencies [70dabd9]
417
- - Updated dependencies [21fe536]
418
- - Updated dependencies [1a41fbf]
419
- - Updated dependencies [176bc42]
420
- - Updated dependencies [391d5ea]
421
- - Updated dependencies [401a4d9]
422
- - Updated dependencies [2e099d2]
423
- - Updated dependencies [0b826f6]
424
- - Updated dependencies [8329f1a]
425
- - Updated dependencies [d68b532]
426
- - Updated dependencies [75bf3f0]
427
- - Updated dependencies [e6d8055]
428
- - Updated dependencies [e2e76de]
429
- - Updated dependencies [a18e96c]
430
- - Updated dependencies [ccbc581]
431
- - Updated dependencies [5950de5]
432
- - Updated dependencies [b425845]
433
- - Updated dependencies [fe3dcb0]
434
- - Updated dependencies [0696eeb]
435
- - Updated dependencies [6780223]
436
- - Updated dependencies [78eec7c]
437
- - Updated dependencies [a8a459a]
438
- - Updated dependencies [0b96376]
439
- - Updated dependencies [0be7181]
440
- - Updated dependencies [7b87567]
441
- - Updated dependencies [b524c22]
442
- - Updated dependencies [d7d465a]
443
- - Updated dependencies [df843d3]
444
- - Updated dependencies [cfb966f]
445
- - Updated dependencies [4534e77]
446
- - Updated dependencies [d6d8159]
447
- - Updated dependencies [0bd142c]
448
- - Updated dependencies [9625602]
449
- - Updated dependencies [72d1990]
450
- - Updated dependencies [f6ba259]
451
- - Updated dependencies [2712098]
452
- - Updated dependencies [a291824]
453
- - Updated dependencies [eedb829]
454
- - Updated dependencies [8ea426a]
455
- - Updated dependencies [c5f2d50]
456
- - Updated dependencies [5285356]
457
- - Updated dependencies [74b3078]
458
- - Updated dependencies [cb290ee]
459
- - Updated dependencies [b4d7416]
460
- - Updated dependencies [e608d8c]
461
- - Updated dependencies [7064554]
462
- - Updated dependencies [06b2c0a]
463
- - Updated dependencies [002d6d8]
464
- - Updated dependencies [e448a26]
465
- - Updated dependencies [8b416d9]
466
- - Updated dependencies [fd494a3]
467
- - Updated dependencies [dc90663]
468
- - Updated dependencies [c872875]
469
- - Updated dependencies [3c4488b]
470
- - Updated dependencies [72c280b]
471
- - Updated dependencies [a7b016d]
472
- - Updated dependencies [fd75f3c]
473
- - Updated dependencies [7f24c29]
474
- - Updated dependencies [2017553]
475
- - Updated dependencies [b80ea8d]
476
- - Updated dependencies [a10b7a3]
477
- - Updated dependencies [42a2e69]
478
- - Updated dependencies [cf6d825]
479
- - Updated dependencies [963c15a]
480
- - Updated dependencies [28dceab]
481
- - Updated dependencies [7365b6c]
482
- - Updated dependencies [5ee67d3]
483
- - Updated dependencies [a5604c4]
484
- - Updated dependencies [d38f7a6]
485
- - Updated dependencies [38b7f66]
486
- - Updated dependencies [2fa7f53]
487
- - Updated dependencies [1420ae2]
488
- - Updated dependencies [b9c7047]
489
- - Updated dependencies [4a328af]
490
- - Updated dependencies [f6da688]
491
- - Updated dependencies [3700be1]
492
- - Updated dependencies [9ade36e]
493
- - Updated dependencies [10870bc]
494
- - Updated dependencies [2b01511]
495
- - Updated dependencies [a870123]
496
- - Updated dependencies [ccf115c]
497
- - Updated dependencies [04434b6]
498
- - Updated dependencies [5811de6]
499
- - Updated dependencies [9f3ab05]
500
- - Updated dependencies [66a5392]
501
- - Updated dependencies [4b1ce2c]
502
- - Updated dependencies [14064f2]
503
- - Updated dependencies [f5dfa20]
504
- - Updated dependencies [327ece7]
505
- - Updated dependencies [da2e8d3]
506
- - Updated dependencies [95a4697]
507
- - Updated dependencies [d5fccfb]
508
- - Updated dependencies [3427b95]
509
- - Updated dependencies [538a136]
510
- - Updated dependencies [e66643a]
511
- - Updated dependencies [b5393f1]
512
- - Updated dependencies [d2cd535]
513
- - Updated dependencies [c2dd6b5]
514
- - Updated dependencies [67637ba]
515
- - Updated dependencies [836f4e3]
516
- - Updated dependencies [5ee2e78]
517
- - Updated dependencies [cd02c56]
518
- - Updated dependencies [01502b0]
519
- - Updated dependencies [16e5b04]
520
- - Updated dependencies [d9c8dd0]
521
- - Updated dependencies [9fb59d6]
522
- - Updated dependencies [a9345f9]
523
- - Updated dependencies [f1e3105]
524
- - Updated dependencies [99f1847]
525
- - Updated dependencies [04f3171]
526
- - Updated dependencies [8769a62]
527
- - Updated dependencies [d5ec619]
528
- - Updated dependencies [27275c9]
529
- - Updated dependencies [ae7bf94]
530
- - Updated dependencies [4f1d1a1]
531
- - Updated dependencies [ee4de15]
532
- - Updated dependencies [202d404]
533
- - Updated dependencies [a221426]
534
- - @mastra/deployer@0.1.0
535
- - @mastra/core@0.2.0
536
-
537
- ## 0.1.0-alpha.69
538
-
539
- ### Patch Changes
540
-
541
- - Updated dependencies [391d5ea]
542
- - @mastra/deployer@0.1.0-alpha.63
543
-
544
- ## 0.1.0-alpha.68
545
-
546
- ### Patch Changes
547
-
548
- - Updated dependencies [016493a]
549
- - Updated dependencies [382f4dc]
550
- - Updated dependencies [176bc42]
551
- - Updated dependencies [d68b532]
552
- - Updated dependencies [fe3dcb0]
553
- - Updated dependencies [e448a26]
554
- - Updated dependencies [fd75f3c]
555
- - Updated dependencies [ccf115c]
556
- - Updated dependencies [a221426]
557
- - @mastra/core@0.2.0-alpha.110
558
- - @mastra/deployer@0.1.0-alpha.62
559
-
560
- ## 0.1.0-alpha.67
561
-
562
- ### Patch Changes
563
-
564
- - Updated dependencies [b9c7047]
565
- - @mastra/deployer@0.1.0-alpha.61
566
-
567
- ## 0.1.0-alpha.66
568
-
569
- ### Patch Changes
570
-
571
- - Updated dependencies [d5fccfb]
572
- - @mastra/core@0.2.0-alpha.109
573
- - @mastra/deployer@0.1.0-alpha.60
574
-
575
- ## 0.1.0-alpha.65
576
-
577
- ### Patch Changes
578
-
579
- - Updated dependencies [5ee67d3]
580
- - Updated dependencies [95a4697]
581
- - @mastra/core@0.2.0-alpha.108
582
- - @mastra/deployer@0.1.0-alpha.59
583
-
584
- ## 0.1.0-alpha.64
585
-
586
- ### Patch Changes
587
-
588
- - Updated dependencies [8fa48b9]
589
- - Updated dependencies [66a5392]
590
- - @mastra/deployer@0.1.0-alpha.58
591
- - @mastra/core@0.2.0-alpha.107
592
-
593
- ## 0.1.0-alpha.63
594
-
595
- ### Patch Changes
596
-
597
- - Updated dependencies [6f2c0f5]
598
- - Updated dependencies [a8a459a]
599
- - Updated dependencies [4a328af]
600
- - @mastra/core@0.2.0-alpha.106
601
- - @mastra/deployer@0.1.0-alpha.57
602
-
603
- ## 0.1.0-alpha.62
604
-
605
- ### Patch Changes
606
-
607
- - Updated dependencies [246f06c]
608
- - @mastra/deployer@0.1.0-alpha.56
609
-
610
- ## 0.1.0-alpha.61
611
-
612
- ### Patch Changes
613
-
614
- - Updated dependencies [1420ae2]
615
- - Updated dependencies [99f1847]
616
- - @mastra/core@0.2.0-alpha.105
617
- - @mastra/deployer@0.1.0-alpha.55
618
-
619
- ## 0.1.0-alpha.60
620
-
621
- ### Patch Changes
622
-
623
- - b97ca96: Tracing into default storage
624
- - Updated dependencies [5fdc87c]
625
- - Updated dependencies [b97ca96]
626
- - Updated dependencies [6780223]
627
- - Updated dependencies [72d1990]
628
- - Updated dependencies [cf6d825]
629
- - Updated dependencies [10870bc]
630
- - @mastra/core@0.2.0-alpha.104
631
- - @mastra/deployer@0.1.0-alpha.54
632
-
633
- ## 0.1.0-alpha.59
634
-
635
- ### Patch Changes
636
-
637
- - Updated dependencies [4534e77]
638
- - @mastra/core@0.2.0-alpha.103
639
- - @mastra/deployer@0.1.0-alpha.53
640
-
641
- ## 0.1.0-alpha.58
642
-
643
- ### Patch Changes
644
-
645
- - Updated dependencies [a9345f9]
646
- - @mastra/core@0.2.0-alpha.102
647
- - @mastra/deployer@0.1.0-alpha.52
648
-
649
- ## 0.1.0-alpha.57
650
-
651
- ### Patch Changes
652
-
653
- - 4f1d1a1: Enforce types ann cleanup package.json
654
- - Updated dependencies [66a03ec]
655
- - Updated dependencies [4f1d1a1]
656
- - @mastra/core@0.2.0-alpha.101
657
- - @mastra/deployer@0.1.0-alpha.51
658
-
659
- ## 0.1.0-alpha.56
660
-
661
- ### Patch Changes
662
-
663
- - Updated dependencies [9d1796d]
664
- - @mastra/deployer@0.1.0-alpha.50
665
- - @mastra/core@0.2.0-alpha.100
666
-
667
- ## 0.1.0-alpha.55
668
-
669
- ### Patch Changes
670
-
671
- - Updated dependencies [7d83b92]
672
- - @mastra/deployer@0.1.0-alpha.49
673
- - @mastra/core@0.2.0-alpha.99
674
-
675
- ## 0.1.0-alpha.54
676
-
677
- ### Patch Changes
678
-
679
- - Updated dependencies [8aec8b7]
680
- - @mastra/deployer@0.1.0-alpha.48
681
-
682
- ## 0.1.0-alpha.53
683
-
684
- ### Patch Changes
685
-
686
- - 70dabd9: Fix broken publish
687
- - Updated dependencies [70dabd9]
688
- - Updated dependencies [202d404]
689
- - @mastra/core@0.2.0-alpha.98
690
- - @mastra/deployer@0.1.0-alpha.47
691
-
692
- ## 0.1.0-alpha.52
693
-
694
- ### Patch Changes
695
-
696
- - Updated dependencies [07c069d]
697
- - Updated dependencies [7892533]
698
- - Updated dependencies [e6d8055]
699
- - Updated dependencies [a18e96c]
700
- - Updated dependencies [5950de5]
701
- - Updated dependencies [df843d3]
702
- - Updated dependencies [a870123]
703
- - Updated dependencies [f1e3105]
704
- - @mastra/core@0.2.0-alpha.97
705
- - @mastra/deployer@0.1.0-alpha.46
706
-
707
- ## 0.1.0-alpha.51
708
-
709
- ### Patch Changes
710
-
711
- - Updated dependencies [74b3078]
712
- - @mastra/core@0.2.0-alpha.96
713
- - @mastra/deployer@0.1.0-alpha.45
714
-
715
- ## 0.1.0-alpha.50
716
-
717
- ### Patch Changes
718
-
719
- - Updated dependencies [9fb59d6]
720
- - @mastra/deployer@0.1.0-alpha.44
721
- - @mastra/core@0.2.0-alpha.95
722
-
723
- ## 0.1.0-alpha.49
724
-
725
- ### Minor Changes
726
-
727
- - 8b416d9: Breaking changes
728
-
729
- ### Patch Changes
730
-
731
- - 9c10484: update all packages
732
- - Updated dependencies [9c10484]
733
- - Updated dependencies [8b416d9]
734
- - @mastra/core@0.2.0-alpha.94
735
- - @mastra/deployer@0.1.0-alpha.43
736
-
737
- ## 0.1.0-alpha.48
738
-
739
- ### Patch Changes
740
-
741
- - Updated dependencies [5285356]
742
- - Updated dependencies [42a2e69]
743
- - @mastra/core@0.2.0-alpha.93
744
- - @mastra/deployer@0.1.0-alpha.42
745
-
746
- ## 0.1.0-alpha.47
747
-
748
- ### Patch Changes
749
-
750
- - Updated dependencies [0b96376]
751
- - @mastra/deployer@0.1.0-alpha.41
752
-
753
- ## 0.1.0-alpha.46
754
-
755
- ### Patch Changes
756
-
757
- - Updated dependencies [8329f1a]
758
- - @mastra/deployer@0.1.0-alpha.40
759
-
760
- ## 0.1.0-alpha.45
761
-
762
- ### Patch Changes
763
-
764
- - Updated dependencies [8ea426a]
765
- - @mastra/deployer@0.1.0-alpha.39
766
-
767
- ## 0.1.0-alpha.44
768
-
769
- ### Patch Changes
770
-
771
- - Updated dependencies [b80ea8d]
772
- - @mastra/deployer@0.1.0-alpha.34
773
-
774
- ## 0.1.0-alpha.43
775
-
776
- ### Minor Changes
777
-
778
- - 4d4f6b6: Update deployer
779
-
780
- ### Patch Changes
781
-
782
- - Updated dependencies [4d4f6b6]
783
- - @mastra/deployer@0.1.0-alpha.38
784
- - @mastra/core@0.2.0-alpha.92
785
-
786
- ## 0.1.0-alpha.42
787
-
788
- ### Patch Changes
789
-
790
- - Updated dependencies [d7d465a]
791
- - Updated dependencies [d7d465a]
792
- - Updated dependencies [2017553]
793
- - Updated dependencies [a10b7a3]
794
- - Updated dependencies [16e5b04]
795
- - @mastra/core@0.2.0-alpha.91
796
- - @mastra/deployer@0.1.0-alpha.37
797
-
798
- ## 0.1.0-alpha.41
799
-
800
- ### Patch Changes
801
-
802
- - Updated dependencies [8151f44]
803
- - Updated dependencies [e897f1c]
804
- - Updated dependencies [82a6d53]
805
- - Updated dependencies [3700be1]
806
- - @mastra/core@0.2.0-alpha.90
807
- - @mastra/deployer@0.1.0-alpha.36
808
-
809
- ## 0.1.0-alpha.40
810
-
811
- ### Patch Changes
812
-
813
- - Updated dependencies [27275c9]
814
- - @mastra/core@0.2.0-alpha.89
815
- - @mastra/deployer@0.1.0-alpha.35
816
-
817
- ## 0.1.0-alpha.39
818
-
819
- ### Patch Changes
820
-
821
- - Updated dependencies [ab01c53]
822
- - Updated dependencies [ccbc581]
823
- - @mastra/deployer@0.1.0-alpha.34
824
- - @mastra/core@0.2.0-alpha.88
825
-
826
- ## 0.1.0-alpha.38
827
-
828
- ### Patch Changes
829
-
830
- - Updated dependencies [7365b6c]
831
- - @mastra/core@0.2.0-alpha.87
832
- - @mastra/deployer@0.1.0-alpha.33
833
-
834
- ## 0.1.0-alpha.37
835
-
836
- ### Minor Changes
837
-
838
- - 5916f9d: Update deps from fixed to ^
839
-
840
- ### Patch Changes
841
-
842
- - Updated dependencies [6fa4bd2]
843
- - Updated dependencies [5916f9d]
844
- - Updated dependencies [e2e76de]
845
- - Updated dependencies [7f24c29]
846
- - Updated dependencies [67637ba]
847
- - Updated dependencies [04f3171]
848
- - @mastra/core@0.2.0-alpha.86
849
- - @mastra/deployer@0.1.0-alpha.32
850
-
851
- ## 0.0.1-alpha.36
852
-
853
- ### Patch Changes
854
-
855
- - Updated dependencies [e9d1b47]
856
- - Updated dependencies [c5f2d50]
857
- - @mastra/core@0.2.0-alpha.85
858
- - @mastra/deployer@0.0.1-alpha.31
859
-
860
- ## 0.0.1-alpha.35
861
-
862
- ### Patch Changes
863
-
864
- - Updated dependencies [e27fe69]
865
- - @mastra/deployer@0.0.1-alpha.30
866
-
867
- ## 0.0.1-alpha.34
868
-
869
- ### Patch Changes
870
-
871
- - 38b7f66: Update deployer logic
872
- - Updated dependencies [2f17a5f]
873
- - Updated dependencies [0696eeb]
874
- - Updated dependencies [cb290ee]
875
- - Updated dependencies [b4d7416]
876
- - Updated dependencies [38b7f66]
877
- - @mastra/core@0.2.0-alpha.84
878
- - @mastra/deployer@0.0.1-alpha.29
879
-
880
- ## 0.0.1-alpha.33
881
-
882
- ### Patch Changes
883
-
884
- - 9625602: Use mastra core splitted bundles in other packages
885
- - Updated dependencies [2ab57d6]
886
- - Updated dependencies [30322ce]
887
- - Updated dependencies [78eec7c]
888
- - Updated dependencies [9625602]
889
- - Updated dependencies [8769a62]
890
- - @mastra/deployer@0.0.1-alpha.28
891
- - @mastra/core@0.2.0-alpha.83
892
-
893
- ## 0.0.1-alpha.32
894
-
895
- ### Patch Changes
896
-
897
- - Updated dependencies [73d112c]
898
- - Updated dependencies [ac8c61a]
899
- - @mastra/deployer@0.0.1-alpha.27
900
- - @mastra/core@0.1.27-alpha.82
901
-
902
- ## 0.0.1-alpha.31
903
-
904
- ### Patch Changes
905
-
906
- - Updated dependencies [9fb3039]
907
- - @mastra/core@0.1.27-alpha.81
908
- - @mastra/deployer@0.0.1-alpha.26
909
-
910
- ## 0.0.1-alpha.30
911
-
912
- ### Patch Changes
913
-
914
- - 327ece7: Updates for ts versions
915
- - Updated dependencies [327ece7]
916
- - @mastra/core@0.1.27-alpha.80
917
- - @mastra/deployer@0.0.1-alpha.25
918
-
919
- ## 0.0.1-alpha.29
920
-
921
- ### Patch Changes
922
-
923
- - Updated dependencies [21fe536]
924
- - @mastra/core@0.1.27-alpha.79
925
- - @mastra/deployer@0.0.1-alpha.24
926
-
927
- ## 0.0.1-alpha.28
928
-
929
- ### Patch Changes
930
-
931
- - Updated dependencies [88f18d7]
932
- - @mastra/deployer@0.0.1-alpha.23
933
-
934
- ## 0.0.1-alpha.27
935
-
936
- ### Patch Changes
937
-
938
- - 44c7c26: Rebuild
939
-
940
- ## 0.0.1-alpha.26
941
-
942
- ### Patch Changes
943
-
944
- - Updated dependencies [685108a]
945
- - Updated dependencies [685108a]
946
- - @mastra/deployer@0.0.1-alpha.22
947
- - @mastra/core@0.1.27-alpha.78
948
-
949
- ## 0.0.1-alpha.25
950
-
951
- ### Patch Changes
952
-
953
- - 2b75edf: mastra deployers tsup bundling
954
- - Updated dependencies [8105fae]
955
- - Updated dependencies [cfb966f]
956
- - @mastra/core@0.1.27-alpha.77
957
- - @mastra/deployer@0.0.1-alpha.21
958
-
959
- ## 0.0.1-alpha.24
960
-
961
- ### Patch Changes
962
-
963
- - Updated dependencies [ae7bf94]
964
- - Updated dependencies [ae7bf94]
965
- - @mastra/deployer@0.0.1-alpha.20
966
- - @mastra/core@0.1.27-alpha.76
967
-
968
- ## 0.0.1-alpha.23
969
-
970
- ### Patch Changes
971
-
972
- - Updated dependencies [23dcb23]
973
- - Updated dependencies [7064554]
974
- - @mastra/core@0.1.27-alpha.75
975
- - @mastra/deployer@0.0.1-alpha.19
976
-
977
- ## 0.0.1-alpha.22
978
-
979
- ### Patch Changes
980
-
981
- - Updated dependencies [7b87567]
982
- - @mastra/core@0.1.27-alpha.74
983
- - @mastra/deployer@0.0.1-alpha.18
984
-
985
- ## 0.0.1-alpha.21
986
-
987
- ### Patch Changes
988
-
989
- - Updated dependencies [3427b95]
990
- - @mastra/core@0.1.27-alpha.73
991
- - @mastra/deployer@0.0.1-alpha.17
992
-
993
- ## 0.0.1-alpha.20
994
-
995
- ### Patch Changes
996
-
997
- - Updated dependencies [e4d4ede]
998
- - Updated dependencies [06b2c0a]
999
- - @mastra/core@0.1.27-alpha.72
1000
- - @mastra/deployer@0.0.1-alpha.16
1001
-
1002
- ## 0.0.1-alpha.19
1003
-
1004
- ### Patch Changes
1005
-
1006
- - Updated dependencies [d9c8dd0]
1007
- - @mastra/deployer@0.0.1-alpha.15
1008
- - @mastra/core@0.1.27-alpha.71
1009
-
1010
- ## 0.0.1-alpha.18
1011
-
1012
- ### Patch Changes
1013
-
1014
- - Updated dependencies [ad2cd74]
1015
- - @mastra/deployer@0.0.1-alpha.14
1016
-
1017
- ## 0.0.1-alpha.17
1018
-
1019
- ### Patch Changes
1020
-
1021
- - Updated dependencies [a1774e7]
1022
- - @mastra/deployer@0.0.1-alpha.13
1023
-
1024
- ## 0.0.1-alpha.16
1025
-
1026
- ### Patch Changes
1027
-
1028
- - Updated dependencies [28dceab]
1029
- - @mastra/deployer@0.0.1-alpha.12
1030
-
1031
- ## 0.0.1-alpha.15
1032
-
1033
- ### Patch Changes
1034
-
1035
- - bdaf834: publish packages
1036
- - Updated dependencies [bdaf834]
1037
- - @mastra/deployer@0.0.1-alpha.11
1038
-
1039
- ## 0.0.1-alpha.14
1040
-
1041
- ### Patch Changes
1042
-
1043
- - Updated dependencies [dd6d87f]
1044
- - Updated dependencies [04434b6]
1045
- - @mastra/core@0.1.27-alpha.70
1046
- - @mastra/deployer@0.0.1-alpha.10
1047
-
1048
- ## 0.0.1-alpha.13
1049
-
1050
- ### Patch Changes
1051
-
1052
- - Updated dependencies [9066f95]
1053
- - @mastra/deployer@0.0.1-alpha.9
1054
-
1055
- ## 0.0.1-alpha.12
1056
-
1057
- ### Patch Changes
1058
-
1059
- - 0d5a03d: Vector store modules
1060
-
1061
- ## 0.0.1-alpha.11
1062
-
1063
- ### Patch Changes
1064
-
1065
- - Updated dependencies [b425845]
1066
- - @mastra/deployer@0.0.1-alpha.8
1067
-
1068
- ## 0.0.1-alpha.10
1069
-
1070
- ### Patch Changes
1071
-
1072
- - Updated dependencies [1944807]
1073
- - Updated dependencies [9ade36e]
1074
- - @mastra/deployer@0.0.1-alpha.7
1075
- - @mastra/core@0.1.27-alpha.69
1076
-
1077
- ## 0.0.1-alpha.9
1078
-
1079
- ### Patch Changes
1080
-
1081
- - Updated dependencies [291fe57]
1082
- - Updated dependencies [1a41fbf]
1083
- - @mastra/deployer@0.0.1-alpha.6
1084
-
1085
- ## 0.0.1-alpha.8
1086
-
1087
- ### Patch Changes
1088
-
1089
- - Updated dependencies [0be7181]
1090
- - Updated dependencies [0be7181]
1091
- - @mastra/core@0.1.27-alpha.68
1092
- - @mastra/deployer@0.0.1-alpha.5
1093
-
1094
- ## 0.0.1-alpha.7
1095
-
1096
- ### Patch Changes
1097
-
1098
- - Updated dependencies [7babd5c]
1099
- - @mastra/deployer@0.0.1-alpha.4
1100
-
1101
- ## 0.0.1-alpha.6
1102
-
1103
- ### Patch Changes
1104
-
1105
- - Updated dependencies [c8ff2f5]
1106
- - Updated dependencies [a291824]
1107
- - @mastra/core@0.1.27-alpha.67
1108
- - @mastra/deployer@0.0.1-alpha.3
1109
-
1110
- ## 0.0.1-alpha.5
1111
-
1112
- ### Patch Changes
1113
-
1114
- - 88600bc: Deployer fixes
1115
-
1116
- ## 0.0.1-alpha.4
1117
-
1118
- ### Patch Changes
1119
-
1120
- - a9b5ddf: Publish new versions
1121
- - Updated dependencies [a9b5ddf]
1122
- - Updated dependencies [72c280b]
1123
- - @mastra/deployer@0.0.1-alpha.2
1124
-
1125
- ## 0.0.1-alpha.0
1126
-
1127
- ### Patch Changes
1128
-
1129
- - Updated dependencies [4139b43]
1130
- - Updated dependencies [a5604c4]
1131
- - @mastra/deployer@0.0.1-alpha.0
package/eslint.config.js DELETED
@@ -1,6 +0,0 @@
1
- import { createConfig } from '@internal/lint/eslint';
2
-
3
- const config = await createConfig();
4
-
5
- /** @type {import("eslint").Linter.Config[]} */
6
- export default [...config];
package/src/index.ts DELETED
@@ -1,175 +0,0 @@
1
- import * as child_process from 'child_process';
2
- import { readFileSync, writeFileSync } from 'fs';
3
- import { join } from 'path';
4
- import process from 'process';
5
-
6
- import { Deployer } from '@mastra/deployer';
7
-
8
- interface EnvVar {
9
- key: string;
10
- value: string;
11
- target: ('production' | 'preview' | 'development')[];
12
- type: 'plain' | 'secret';
13
- }
14
-
15
- interface VercelError {
16
- message: string;
17
- code: string;
18
- }
19
-
20
- export class VercelDeployer extends Deployer {
21
- private teamId: string;
22
- private projectName: string;
23
- private token: string;
24
-
25
- constructor({ teamId, projectName, token }: { teamId: string; projectName: string; token: string }) {
26
- super({ name: 'VERCEL' });
27
-
28
- this.teamId = teamId;
29
- this.projectName = projectName;
30
- this.token = token;
31
- }
32
-
33
- writeFiles(outputDirectory: string): void {
34
- writeFileSync(
35
- join(outputDirectory, this.outputDir, 'vercel.json'),
36
- JSON.stringify(
37
- {
38
- version: 2,
39
- installCommand: 'npm install --omit=dev',
40
- builds: [
41
- {
42
- src: 'index.mjs',
43
- use: '@vercel/node',
44
- config: { includeFiles: ['**'] },
45
- },
46
- ],
47
- routes: [
48
- {
49
- src: '/(.*)',
50
- dest: 'index.mjs',
51
- },
52
- ],
53
- },
54
- null,
55
- 2,
56
- ),
57
- );
58
- }
59
-
60
- private getProjectId({ dir }: { dir: string }): string {
61
- const projectJsonPath = join(dir, '.vercel', 'project.json');
62
- try {
63
- const projectJson = JSON.parse(readFileSync(projectJsonPath, 'utf-8'));
64
- return projectJson.projectId;
65
- } catch {
66
- throw new Error('Could not find project ID. Make sure the project has been deployed first.');
67
- }
68
- }
69
-
70
- private async syncEnv(envVars: Map<string, string>) {
71
- console.log('Syncing environment variables...');
72
-
73
- // Transform env vars into the format expected by Vercel API
74
- const vercelEnvVars: EnvVar[] = Array.from(envVars.entries()).map(([key, value]) => {
75
- if (!key || !value) {
76
- throw new Error(`Invalid environment variable format: ${key || value}`);
77
- }
78
-
79
- return {
80
- key,
81
- value,
82
- target: ['production', 'preview', 'development'],
83
- type: 'plain',
84
- };
85
- });
86
-
87
- try {
88
- const projectId = this.getProjectId({ dir: process.cwd() });
89
-
90
- const response = await fetch(
91
- `https://api.vercel.com/v10/projects/${projectId}/env?teamId=${this.teamId}&upsert=true`,
92
- {
93
- method: 'POST',
94
- headers: {
95
- Authorization: `Bearer ${this.token}`,
96
- 'Content-Type': 'application/json',
97
- },
98
- body: JSON.stringify(vercelEnvVars),
99
- },
100
- );
101
-
102
- if (!response.ok) {
103
- const error = (await response.json()) as VercelError;
104
- throw new Error(`Failed to sync environment variables: ${error.message}`);
105
- }
106
-
107
- console.log('✓ Successfully synced environment variables');
108
- } catch (error) {
109
- if (error instanceof Error) {
110
- console.error('Failed to sync environment variables:', error.message);
111
- } else {
112
- console.error('Failed to sync environment variables:', error);
113
- }
114
- throw error;
115
- }
116
- }
117
-
118
- async prepare(outputDirectory: string): Promise<void> {
119
- await super.prepare(outputDirectory);
120
- await this.writeFiles(outputDirectory);
121
- }
122
-
123
- private getEntry(): string {
124
- return `
125
- import { handle } from 'hono/vercel'
126
- import { mastra } from '#mastra';
127
- import { createHonoServer } from '#server';
128
-
129
- const app = await createHonoServer(mastra);
130
-
131
- export const GET = handle(app);
132
- export const POST = handle(app);
133
- `;
134
- }
135
-
136
- async bundle(entryFile: string, outputDirectory: string): Promise<void> {
137
- return this._bundle(this.getEntry(), entryFile, outputDirectory);
138
- }
139
-
140
- async deploy(outputDirectory: string): Promise<void> {
141
- const envVars = await this.loadEnvVars();
142
-
143
- // Create the command array with base arguments
144
- const commandArgs = [
145
- '--scope',
146
- this.teamId as string,
147
- '--cwd',
148
- join(outputDirectory, this.outputDir),
149
- '--token',
150
- this.token,
151
- 'deploy',
152
- '--yes',
153
- ...(this.projectName ? ['--name', this.projectName] : []),
154
- ];
155
-
156
- // Run the Vercel deploy command
157
- child_process.execSync(`npx vercel ${commandArgs.join(' ')}`, {
158
- cwd: join(outputDirectory, this.outputDir),
159
- env: {
160
- // ...this.env,
161
- PATH: process.env.PATH,
162
- },
163
- stdio: 'inherit',
164
- });
165
-
166
- this.logger.info('Deployment started on Vercel. You can wait for it to finish or exit this command.');
167
-
168
- if (envVars.size > 0) {
169
- // Sync environment variables for future deployments
170
- await this.syncEnv(envVars);
171
- } else {
172
- this.logger.info('\nAdd your ENV vars to .env or your vercel dashboard.\n');
173
- }
174
- }
175
- }
package/tsconfig.json DELETED
@@ -1,5 +0,0 @@
1
- {
2
- "extends": "../../tsconfig.node.json",
3
- "include": ["src/**/*"],
4
- "exclude": ["node_modules", "**/*.test.ts"]
5
- }
package/vitest.config.ts DELETED
@@ -1,8 +0,0 @@
1
- import { defineConfig } from 'vitest/config';
2
-
3
- export default defineConfig({
4
- test: {
5
- environment: 'node',
6
- include: ['src/**/*.test.ts'],
7
- },
8
- });