@mastra/deployer-vercel 0.1.23-alpha.0 → 0.1.23-alpha.2
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 +9 -0
- package/dist/index.js +9 -0
- package/package.json +3 -3
package/dist/index.cjs
CHANGED
|
@@ -228,6 +228,15 @@ export const POST = handle(app);
|
|
|
228
228
|
}
|
|
229
229
|
async lint(entryFile, outputDirectory, toolsPaths) {
|
|
230
230
|
await super.lint(entryFile, outputDirectory, toolsPaths);
|
|
231
|
+
await super.lint(entryFile, outputDirectory, toolsPaths);
|
|
232
|
+
const hasLibsql = await this.deps.checkDependencies(["@mastra/libsql"]) === `ok`;
|
|
233
|
+
if (hasLibsql) {
|
|
234
|
+
this.logger.error(
|
|
235
|
+
`Vercel Deployer does not support @libsql/client(which may have been installed by @mastra/libsql) as a dependency.
|
|
236
|
+
Use other Mastra Storage options instead e.g @mastra/pg`
|
|
237
|
+
);
|
|
238
|
+
process__default.default.exit(1);
|
|
239
|
+
}
|
|
231
240
|
}
|
|
232
241
|
};
|
|
233
242
|
|
package/dist/index.js
CHANGED
|
@@ -203,6 +203,15 @@ export const POST = handle(app);
|
|
|
203
203
|
}
|
|
204
204
|
async lint(entryFile, outputDirectory, toolsPaths) {
|
|
205
205
|
await super.lint(entryFile, outputDirectory, toolsPaths);
|
|
206
|
+
await super.lint(entryFile, outputDirectory, toolsPaths);
|
|
207
|
+
const hasLibsql = await this.deps.checkDependencies(["@mastra/libsql"]) === `ok`;
|
|
208
|
+
if (hasLibsql) {
|
|
209
|
+
this.logger.error(
|
|
210
|
+
`Vercel Deployer does not support @libsql/client(which may have been installed by @mastra/libsql) as a dependency.
|
|
211
|
+
Use other Mastra Storage options instead e.g @mastra/pg`
|
|
212
|
+
);
|
|
213
|
+
process.exit(1);
|
|
214
|
+
}
|
|
206
215
|
}
|
|
207
216
|
};
|
|
208
217
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mastra/deployer-vercel",
|
|
3
|
-
"version": "0.1.23-alpha.
|
|
3
|
+
"version": "0.1.23-alpha.2",
|
|
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.9.4-alpha.
|
|
31
|
-
"@mastra/deployer": "^0.3.4-alpha.
|
|
30
|
+
"@mastra/core": "^0.9.4-alpha.2",
|
|
31
|
+
"@mastra/deployer": "^0.3.4-alpha.2"
|
|
32
32
|
},
|
|
33
33
|
"devDependencies": {
|
|
34
34
|
"@microsoft/api-extractor": "^7.52.5",
|