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