@mastra/deployer-netlify 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-netlify",
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": {
@@ -24,23 +27,23 @@
24
27
  "dependencies": {
25
28
  "@rollup/plugin-virtual": "^3.0.2",
26
29
  "date-fns": "^4.1.0",
27
- "execa": "^9.3.1",
28
- "netlify-cli": "^18.0.1",
29
- "zod": "^3.24.1",
30
- "@mastra/core": "^0.5.0-alpha.8",
31
- "@mastra/deployer": "^0.1.8-alpha.8"
30
+ "execa": "^9.5.2",
31
+ "netlify-cli": "^18.1.0",
32
+ "zod": "^3.24.2",
33
+ "@mastra/core": "^0.5.0",
34
+ "@mastra/deployer": "^0.1.8"
32
35
  },
33
36
  "devDependencies": {
34
- "eslint": "^9.20.1",
35
- "@microsoft/api-extractor": "^7.49.2",
36
- "@types/node": "^22.13.1",
37
- "tsup": "^8.0.1",
38
- "typescript": "^5.7.3",
39
- "vitest": "^3.0.4",
40
- "@internal/lint": "0.0.0"
37
+ "@microsoft/api-extractor": "^7.52.1",
38
+ "@types/node": "^22.13.10",
39
+ "eslint": "^9.22.0",
40
+ "tsup": "^8.4.0",
41
+ "typescript": "^5.8.2",
42
+ "vitest": "^3.0.8",
43
+ "@internal/lint": "0.0.1"
41
44
  },
42
45
  "scripts": {
43
- "build": "tsup src/index.ts --format esm,cjs --experimental-dts --clean --treeshake",
46
+ "build": "tsup src/index.ts --format esm,cjs --experimental-dts --clean --treeshake=smallest --splitting",
44
47
  "build:watch": "pnpm build --watch",
45
48
  "test": "vitest run",
46
49
  "lint": "eslint ."
@@ -1,23 +0,0 @@
1
-
2
- > @mastra/deployer-netlify@0.1.8-alpha.8 build /home/runner/work/mastra/mastra/deployers/netlify
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 7631ms
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/netlify/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/netlify/dist/_tsup-dts-rollup.d.cts
16
- DTS ⚡️ Build success in 7955ms
17
- CLI Cleaning output folder
18
- ESM Build start
19
- CJS Build start
20
- ESM dist/index.js 3.46 KB
21
- ESM ⚡️ Build success in 171ms
22
- CJS dist/index.cjs 3.51 KB
23
- CJS ⚡️ Build success in 175ms
package/CHANGELOG.md DELETED
@@ -1,1131 +0,0 @@
1
- # @mastra/deployer-netlify
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
- - e27fe69: Add dir to deployer
332
- - bdaf834: publish packages
333
- - b97ca96: Tracing into default storage
334
- - a9b5ddf: Publish new versions
335
- - 88600bc: Deployer fixes
336
- - 9c10484: update all packages
337
- - 70dabd9: Fix broken publish
338
- - 0d5a03d: Vector store modules
339
- - 9625602: Use mastra core splitted bundles in other packages
340
- - 38b7f66: Update deployer logic
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.66
538
-
539
- ### Patch Changes
540
-
541
- - Updated dependencies [391d5ea]
542
- - @mastra/deployer@0.1.0-alpha.63
543
-
544
- ## 0.1.0-alpha.65
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.64
561
-
562
- ### Patch Changes
563
-
564
- - Updated dependencies [b9c7047]
565
- - @mastra/deployer@0.1.0-alpha.61
566
-
567
- ## 0.1.0-alpha.63
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.62
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.61
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.60
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.59
604
-
605
- ### Patch Changes
606
-
607
- - Updated dependencies [246f06c]
608
- - @mastra/deployer@0.1.0-alpha.56
609
-
610
- ## 0.1.0-alpha.58
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.57
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.56
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.55
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.54
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.53
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.52
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.51
676
-
677
- ### Patch Changes
678
-
679
- - Updated dependencies [8aec8b7]
680
- - @mastra/deployer@0.1.0-alpha.48
681
-
682
- ## 0.1.0-alpha.50
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.49
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.48
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.47
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.46
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.45
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.44
747
-
748
- ### Patch Changes
749
-
750
- - Updated dependencies [0b96376]
751
- - @mastra/deployer@0.1.0-alpha.41
752
-
753
- ## 0.1.0-alpha.43
754
-
755
- ### Patch Changes
756
-
757
- - Updated dependencies [8329f1a]
758
- - @mastra/deployer@0.1.0-alpha.40
759
-
760
- ## 0.1.0-alpha.42
761
-
762
- ### Patch Changes
763
-
764
- - Updated dependencies [8ea426a]
765
- - @mastra/deployer@0.1.0-alpha.39
766
-
767
- ## 0.1.0-alpha.41
768
-
769
- ### Patch Changes
770
-
771
- - Updated dependencies [b80ea8d]
772
- - @mastra/deployer@0.1.0-alpha.34
773
-
774
- ## 0.1.0-alpha.40
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.39
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.38
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.37
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.36
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.35
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.34
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.33
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.32
861
-
862
- ### Patch Changes
863
-
864
- - e27fe69: Add dir to deployer
865
- - Updated dependencies [e27fe69]
866
- - @mastra/deployer@0.0.1-alpha.30
867
-
868
- ## 0.0.1-alpha.31
869
-
870
- ### Patch Changes
871
-
872
- - 38b7f66: Update deployer logic
873
- - Updated dependencies [2f17a5f]
874
- - Updated dependencies [0696eeb]
875
- - Updated dependencies [cb290ee]
876
- - Updated dependencies [b4d7416]
877
- - Updated dependencies [38b7f66]
878
- - @mastra/core@0.2.0-alpha.84
879
- - @mastra/deployer@0.0.1-alpha.29
880
-
881
- ## 0.0.1-alpha.30
882
-
883
- ### Patch Changes
884
-
885
- - 9625602: Use mastra core splitted bundles in other packages
886
- - Updated dependencies [2ab57d6]
887
- - Updated dependencies [30322ce]
888
- - Updated dependencies [78eec7c]
889
- - Updated dependencies [9625602]
890
- - Updated dependencies [8769a62]
891
- - @mastra/deployer@0.0.1-alpha.28
892
- - @mastra/core@0.2.0-alpha.83
893
-
894
- ## 0.0.1-alpha.29
895
-
896
- ### Patch Changes
897
-
898
- - Updated dependencies [73d112c]
899
- - Updated dependencies [ac8c61a]
900
- - @mastra/deployer@0.0.1-alpha.27
901
- - @mastra/core@0.1.27-alpha.82
902
-
903
- ## 0.0.1-alpha.28
904
-
905
- ### Patch Changes
906
-
907
- - Updated dependencies [9fb3039]
908
- - @mastra/core@0.1.27-alpha.81
909
- - @mastra/deployer@0.0.1-alpha.26
910
-
911
- ## 0.0.1-alpha.27
912
-
913
- ### Patch Changes
914
-
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.26
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.25
928
-
929
- ### Patch Changes
930
-
931
- - Updated dependencies [88f18d7]
932
- - @mastra/deployer@0.0.1-alpha.23
933
-
934
- ## 0.0.1-alpha.24
935
-
936
- ### Patch Changes
937
-
938
- - 44c7c26: Rebuild
939
-
940
- ## 0.0.1-alpha.23
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.22
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.21
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.20
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.19
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.18
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.17
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.16
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.15
1011
-
1012
- ### Patch Changes
1013
-
1014
- - Updated dependencies [ad2cd74]
1015
- - @mastra/deployer@0.0.1-alpha.14
1016
-
1017
- ## 0.0.1-alpha.14
1018
-
1019
- ### Patch Changes
1020
-
1021
- - Updated dependencies [a1774e7]
1022
- - @mastra/deployer@0.0.1-alpha.13
1023
-
1024
- ## 0.0.1-alpha.13
1025
-
1026
- ### Patch Changes
1027
-
1028
- - Updated dependencies [28dceab]
1029
- - @mastra/deployer@0.0.1-alpha.12
1030
-
1031
- ## 0.0.1-alpha.12
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.11
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.10
1049
-
1050
- ### Patch Changes
1051
-
1052
- - Updated dependencies [9066f95]
1053
- - @mastra/deployer@0.0.1-alpha.9
1054
-
1055
- ## 0.0.1-alpha.9
1056
-
1057
- ### Patch Changes
1058
-
1059
- - 0d5a03d: Vector store modules
1060
-
1061
- ## 0.0.1-alpha.8
1062
-
1063
- ### Patch Changes
1064
-
1065
- - Updated dependencies [b425845]
1066
- - @mastra/deployer@0.0.1-alpha.8
1067
-
1068
- ## 0.0.1-alpha.7
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.6
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.5
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.4
1095
-
1096
- ### Patch Changes
1097
-
1098
- - Updated dependencies [7babd5c]
1099
- - @mastra/deployer@0.0.1-alpha.4
1100
-
1101
- ## 0.0.1-alpha.3
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.2
1111
-
1112
- ### Patch Changes
1113
-
1114
- - 88600bc: Deployer fixes
1115
-
1116
- ## 0.0.1-alpha.1
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/helpers.ts DELETED
@@ -1,76 +0,0 @@
1
- async function createNetlifySite({ token, name, scope }: { token: string; name: string; scope?: string }) {
2
- const response = await fetch('https://api.netlify.com/api/v1/sites', {
3
- method: 'POST',
4
- headers: {
5
- Authorization: `Bearer ${token}`,
6
- 'Content-Type': 'application/json',
7
- },
8
- body: JSON.stringify({
9
- name: name,
10
- account_slug: scope, // Optional - if not provided, creates in user's default account
11
- force_ssl: true, // Enable HTTPS
12
- }),
13
- });
14
-
15
- const data = (await response.json()) as
16
- | {
17
- id: string;
18
- name: string;
19
- ssl_url: string;
20
- url: string;
21
- admin_url: string;
22
- message?: never;
23
- }
24
- | { message: string; id?: never; name?: never; ssl_url?: never; url?: never; admin_url?: never };
25
-
26
- if (!response.ok) {
27
- console.error(JSON.stringify(data));
28
- throw new Error(`Failed to create site: ${data.message || 'Unknown error'}`);
29
- }
30
-
31
- return {
32
- id: data.id,
33
- name: data.name,
34
- url: data.ssl_url || data.url,
35
- adminUrl: data.admin_url,
36
- };
37
- }
38
-
39
- async function findNetlifySite({ token, name, scope }: { token: string; name: string; scope: string }) {
40
- const response = await fetch(`https://api.netlify.com/api/v1/${scope}/sites?filter=all&name=${name}`, {
41
- headers: {
42
- Authorization: `Bearer ${token}`,
43
- 'Content-Type': 'application/json',
44
- },
45
- });
46
-
47
- const data = (await response.json()) as
48
- | {
49
- id: string;
50
- name: string;
51
- ssl_url: string;
52
- url: string;
53
- admin_url: string;
54
- }[]
55
- | { message: string };
56
-
57
- if (!response.ok || !Array.isArray(data)) {
58
- throw new Error(`Failed to search sites: ${(data as { message: string }).message || 'Unknown error'}`);
59
- }
60
-
61
- // Find exact match (filter can return partial matches)
62
- return data.find(site => site.name === name);
63
- }
64
-
65
- export async function getOrCreateSite({ token, name, scope }: { token: string; name: string; scope: string }) {
66
- let existingSite;
67
- try {
68
- existingSite = await findNetlifySite({ token, name, scope });
69
- } catch {}
70
-
71
- if (existingSite) {
72
- return existingSite;
73
- }
74
-
75
- return createNetlifySite({ token, name, scope });
76
- }
package/src/index.ts DELETED
@@ -1,96 +0,0 @@
1
- import { existsSync, mkdirSync, writeFileSync } from 'fs';
2
- import { join } from 'path';
3
-
4
- import { Deployer } from '@mastra/deployer';
5
- import { execa } from 'execa';
6
-
7
- import { getOrCreateSite } from './helpers.js';
8
-
9
- export class NetlifyDeployer extends Deployer {
10
- protected scope: string;
11
- protected projectName: string;
12
- protected token: string;
13
-
14
- constructor({ scope, projectName, token }: { scope: string; projectName: string; token: string }) {
15
- super({ name: 'NETLIFY' });
16
-
17
- this.scope = scope;
18
- this.projectName = projectName;
19
- this.token = token;
20
- }
21
-
22
- writeFiles({ dir }: { dir: string }): void {
23
- if (!existsSync(join(dir, 'netlify/functions/api'))) {
24
- mkdirSync(join(dir, 'netlify/functions/api'), { recursive: true });
25
- }
26
-
27
- // TODO ENV KEYS
28
- writeFileSync(
29
- join(dir, 'netlify.toml'),
30
- `[functions]
31
- node_bundler = "esbuild"
32
- directory = "netlify/functions"
33
-
34
- [[redirects]]
35
- force = true
36
- from = "/*"
37
- status = 200
38
- to = "/.netlify/functions/api/:splat"
39
- `,
40
- );
41
- }
42
-
43
- async deploy(outputDirectory: string): Promise<void> {
44
- const site = await getOrCreateSite({ token: this.token, name: this.projectName || `mastra`, scope: this.scope });
45
-
46
- // @ts-expect-error - seems to be fine
47
- const p2 = execa(
48
- 'npx',
49
- [
50
- 'netlify-cli',
51
- 'deploy',
52
- '--site',
53
- site.id,
54
- '--auth',
55
- this.token,
56
- '--dir',
57
- '.',
58
- '--functions',
59
- './netlify/functions',
60
- ],
61
- {
62
- cwd: join(outputDirectory, this.outputDir),
63
- },
64
- );
65
-
66
- p2.stdout.pipe(process.stdout);
67
- await p2;
68
- }
69
-
70
- async prepare(outputDirectory: string): Promise<void> {
71
- await super.prepare(outputDirectory);
72
-
73
- this.writeFiles({ dir: join(outputDirectory, this.outputDir) });
74
- }
75
-
76
- async bundle(entryFile: string, outputDirectory: string): Promise<void> {
77
- return this._bundle(
78
- this.getEntry(),
79
- entryFile,
80
- outputDirectory,
81
- join(outputDirectory, this.outputDir, 'netlify', 'functions', 'api'),
82
- );
83
- }
84
-
85
- private getEntry(): string {
86
- return `
87
- import { handle } from 'hono/netlify'
88
- import { mastra } from '#mastra';
89
- import { createHonoServer } from '#server';
90
-
91
- const app = await createHonoServer(mastra);
92
-
93
- export default handle(app)
94
- `;
95
- }
96
- }
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
- });