@mastra/deployer-vercel 0.0.0-trigger-playground-ui-package-20250506151043 → 0.0.0-vector-query-sources-20250516172905
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/dist/index.cjs +13 -0
- package/dist/index.js +13 -0
- package/package.json +4 -4
package/dist/index.cjs
CHANGED
|
@@ -160,6 +160,10 @@ const app = await createHonoServer(mastra);
|
|
|
160
160
|
|
|
161
161
|
export const GET = handle(app);
|
|
162
162
|
export const POST = handle(app);
|
|
163
|
+
export const PUT = handle(app);
|
|
164
|
+
export const DELETE = handle(app);
|
|
165
|
+
export const OPTIONS = handle(app);
|
|
166
|
+
export const HEAD = handle(app);
|
|
163
167
|
`;
|
|
164
168
|
}
|
|
165
169
|
writeVercelJSON(outputDirectory, files = ["./*"]) {
|
|
@@ -228,6 +232,15 @@ export const POST = handle(app);
|
|
|
228
232
|
}
|
|
229
233
|
async lint(entryFile, outputDirectory, toolsPaths) {
|
|
230
234
|
await super.lint(entryFile, outputDirectory, toolsPaths);
|
|
235
|
+
await super.lint(entryFile, outputDirectory, toolsPaths);
|
|
236
|
+
const hasLibsql = await this.deps.checkDependencies(["@mastra/libsql"]) === `ok`;
|
|
237
|
+
if (hasLibsql) {
|
|
238
|
+
this.logger.error(
|
|
239
|
+
`Vercel Deployer does not support @libsql/client(which may have been installed by @mastra/libsql) as a dependency.
|
|
240
|
+
Use other Mastra Storage options instead e.g @mastra/pg`
|
|
241
|
+
);
|
|
242
|
+
process__default.default.exit(1);
|
|
243
|
+
}
|
|
231
244
|
}
|
|
232
245
|
};
|
|
233
246
|
|
package/dist/index.js
CHANGED
|
@@ -135,6 +135,10 @@ const app = await createHonoServer(mastra);
|
|
|
135
135
|
|
|
136
136
|
export const GET = handle(app);
|
|
137
137
|
export const POST = handle(app);
|
|
138
|
+
export const PUT = handle(app);
|
|
139
|
+
export const DELETE = handle(app);
|
|
140
|
+
export const OPTIONS = handle(app);
|
|
141
|
+
export const HEAD = handle(app);
|
|
138
142
|
`;
|
|
139
143
|
}
|
|
140
144
|
writeVercelJSON(outputDirectory, files = ["./*"]) {
|
|
@@ -203,6 +207,15 @@ export const POST = handle(app);
|
|
|
203
207
|
}
|
|
204
208
|
async lint(entryFile, outputDirectory, toolsPaths) {
|
|
205
209
|
await super.lint(entryFile, outputDirectory, toolsPaths);
|
|
210
|
+
await super.lint(entryFile, outputDirectory, toolsPaths);
|
|
211
|
+
const hasLibsql = await this.deps.checkDependencies(["@mastra/libsql"]) === `ok`;
|
|
212
|
+
if (hasLibsql) {
|
|
213
|
+
this.logger.error(
|
|
214
|
+
`Vercel Deployer does not support @libsql/client(which may have been installed by @mastra/libsql) as a dependency.
|
|
215
|
+
Use other Mastra Storage options instead e.g @mastra/pg`
|
|
216
|
+
);
|
|
217
|
+
process.exit(1);
|
|
218
|
+
}
|
|
206
219
|
}
|
|
207
220
|
};
|
|
208
221
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mastra/deployer-vercel",
|
|
3
|
-
"version": "0.0.0-
|
|
3
|
+
"version": "0.0.0-vector-query-sources-20250516172905",
|
|
4
4
|
"description": "",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"files": [
|
|
@@ -27,8 +27,8 @@
|
|
|
27
27
|
"dependencies": {
|
|
28
28
|
"@rollup/plugin-virtual": "^3.0.2",
|
|
29
29
|
"fs-extra": "^11.3.0",
|
|
30
|
-
"@mastra/core": "0.0.0-
|
|
31
|
-
"@mastra/deployer": "0.0.0-
|
|
30
|
+
"@mastra/core": "0.0.0-vector-query-sources-20250516172905",
|
|
31
|
+
"@mastra/deployer": "0.0.0-vector-query-sources-20250516172905"
|
|
32
32
|
},
|
|
33
33
|
"devDependencies": {
|
|
34
34
|
"@microsoft/api-extractor": "^7.52.5",
|
|
@@ -38,7 +38,7 @@
|
|
|
38
38
|
"typescript": "^5.8.2",
|
|
39
39
|
"vercel": "^39.4.2",
|
|
40
40
|
"vitest": "^3.1.2",
|
|
41
|
-
"@internal/lint": "0.0.0-
|
|
41
|
+
"@internal/lint": "0.0.0-vector-query-sources-20250516172905"
|
|
42
42
|
},
|
|
43
43
|
"scripts": {
|
|
44
44
|
"build": "tsup src/index.ts --format esm,cjs --experimental-dts --clean --treeshake=smallest --splitting",
|