@mastra/deployer-vercel 0.1.21-alpha.5 → 0.1.21
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 +7 -2
- package/dist/index.js +7 -2
- package/package.json +4 -4
package/dist/index.cjs
CHANGED
|
@@ -190,8 +190,13 @@ export const POST = handle(app);
|
|
|
190
190
|
}
|
|
191
191
|
async bundle(entryFile, outputDirectory, toolsPaths) {
|
|
192
192
|
const result = await this._bundle(this.getEntry(), entryFile, outputDirectory, toolsPaths);
|
|
193
|
-
const files = fs.readdirSync(path.join(outputDirectory, this.outputDir)
|
|
194
|
-
|
|
193
|
+
const files = fs.readdirSync(path.join(outputDirectory, this.outputDir), {
|
|
194
|
+
recursive: true
|
|
195
|
+
});
|
|
196
|
+
const filesWithoutNodeModules = files.filter(
|
|
197
|
+
(file) => typeof file === "string" && !file.startsWith("node_modules")
|
|
198
|
+
);
|
|
199
|
+
this.writeVercelJSON(outputDirectory, filesWithoutNodeModules);
|
|
195
200
|
return result;
|
|
196
201
|
}
|
|
197
202
|
async deploy(outputDirectory) {
|
package/dist/index.js
CHANGED
|
@@ -165,8 +165,13 @@ export const POST = handle(app);
|
|
|
165
165
|
}
|
|
166
166
|
async bundle(entryFile, outputDirectory, toolsPaths) {
|
|
167
167
|
const result = await this._bundle(this.getEntry(), entryFile, outputDirectory, toolsPaths);
|
|
168
|
-
const files = readdirSync(join(outputDirectory, this.outputDir)
|
|
169
|
-
|
|
168
|
+
const files = readdirSync(join(outputDirectory, this.outputDir), {
|
|
169
|
+
recursive: true
|
|
170
|
+
});
|
|
171
|
+
const filesWithoutNodeModules = files.filter(
|
|
172
|
+
(file) => typeof file === "string" && !file.startsWith("node_modules")
|
|
173
|
+
);
|
|
174
|
+
this.writeVercelJSON(outputDirectory, filesWithoutNodeModules);
|
|
170
175
|
return result;
|
|
171
176
|
}
|
|
172
177
|
async deploy(outputDirectory) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mastra/deployer-vercel",
|
|
3
|
-
"version": "0.1.21
|
|
3
|
+
"version": "0.1.21",
|
|
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.2
|
|
31
|
-
"@mastra/deployer": "^0.3.2
|
|
30
|
+
"@mastra/core": "^0.9.2",
|
|
31
|
+
"@mastra/deployer": "^0.3.2"
|
|
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.
|
|
41
|
+
"@internal/lint": "0.0.3"
|
|
42
42
|
},
|
|
43
43
|
"scripts": {
|
|
44
44
|
"build": "tsup src/index.ts --format esm,cjs --experimental-dts --clean --treeshake=smallest --splitting",
|