@mastra/deployer-netlify 0.0.0-mcp-server-deploy-20250507160341 → 0.0.0-pass-headers-for-create-mastra-client-20250529190531
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/_tsup-dts-rollup.d.cts +1 -0
- package/dist/_tsup-dts-rollup.d.ts +1 -0
- package/dist/index.cjs +4 -6
- package/dist/index.js +4 -6
- package/package.json +8 -5
|
@@ -34,6 +34,7 @@ export declare class NetlifyDeployer extends Deployer {
|
|
|
34
34
|
prepare(outputDirectory: string): Promise<void>;
|
|
35
35
|
bundle(entryFile: string, outputDirectory: string, toolsPaths: string[]): Promise<void>;
|
|
36
36
|
private getEntry;
|
|
37
|
+
lint(entryFile: string, outputDirectory: string, toolsPaths: string[]): Promise<void>;
|
|
37
38
|
}
|
|
38
39
|
|
|
39
40
|
export { }
|
|
@@ -34,6 +34,7 @@ export declare class NetlifyDeployer extends Deployer {
|
|
|
34
34
|
prepare(outputDirectory: string): Promise<void>;
|
|
35
35
|
bundle(entryFile: string, outputDirectory: string, toolsPaths: string[]): Promise<void>;
|
|
36
36
|
private getEntry;
|
|
37
|
+
lint(entryFile: string, outputDirectory: string, toolsPaths: string[]): Promise<void>;
|
|
37
38
|
}
|
|
38
39
|
|
|
39
40
|
export { }
|
package/dist/index.cjs
CHANGED
|
@@ -160,16 +160,11 @@ to = "/.netlify/functions/api/:splat"
|
|
|
160
160
|
});
|
|
161
161
|
});
|
|
162
162
|
|
|
163
|
-
if (mastra.getStorage()) {
|
|
164
|
-
// start storage init in the background
|
|
165
|
-
mastra.getStorage().init();
|
|
166
|
-
}
|
|
167
|
-
|
|
168
163
|
registerHook(AvailableHooks.ON_EVALUATION, async traceObject => {
|
|
169
164
|
const storage = mastra.getStorage();
|
|
170
165
|
if (storage) {
|
|
171
166
|
// Check for required fields
|
|
172
|
-
const logger = mastra
|
|
167
|
+
const logger = mastra.getLogger();
|
|
173
168
|
const areFieldsValid = checkEvalStorageFields(traceObject, logger);
|
|
174
169
|
if (!areFieldsValid) return;
|
|
175
170
|
|
|
@@ -196,6 +191,9 @@ to = "/.netlify/functions/api/:splat"
|
|
|
196
191
|
export default handle(app)
|
|
197
192
|
`;
|
|
198
193
|
}
|
|
194
|
+
async lint(entryFile, outputDirectory, toolsPaths) {
|
|
195
|
+
await super.lint(entryFile, outputDirectory, toolsPaths);
|
|
196
|
+
}
|
|
199
197
|
};
|
|
200
198
|
|
|
201
199
|
exports.NetlifyDeployer = NetlifyDeployer;
|
package/dist/index.js
CHANGED
|
@@ -158,16 +158,11 @@ to = "/.netlify/functions/api/:splat"
|
|
|
158
158
|
});
|
|
159
159
|
});
|
|
160
160
|
|
|
161
|
-
if (mastra.getStorage()) {
|
|
162
|
-
// start storage init in the background
|
|
163
|
-
mastra.getStorage().init();
|
|
164
|
-
}
|
|
165
|
-
|
|
166
161
|
registerHook(AvailableHooks.ON_EVALUATION, async traceObject => {
|
|
167
162
|
const storage = mastra.getStorage();
|
|
168
163
|
if (storage) {
|
|
169
164
|
// Check for required fields
|
|
170
|
-
const logger = mastra
|
|
165
|
+
const logger = mastra.getLogger();
|
|
171
166
|
const areFieldsValid = checkEvalStorageFields(traceObject, logger);
|
|
172
167
|
if (!areFieldsValid) return;
|
|
173
168
|
|
|
@@ -194,6 +189,9 @@ to = "/.netlify/functions/api/:splat"
|
|
|
194
189
|
export default handle(app)
|
|
195
190
|
`;
|
|
196
191
|
}
|
|
192
|
+
async lint(entryFile, outputDirectory, toolsPaths) {
|
|
193
|
+
await super.lint(entryFile, outputDirectory, toolsPaths);
|
|
194
|
+
}
|
|
197
195
|
};
|
|
198
196
|
|
|
199
197
|
export { NetlifyDeployer };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mastra/deployer-netlify",
|
|
3
|
-
"version": "0.0.0-
|
|
3
|
+
"version": "0.0.0-pass-headers-for-create-mastra-client-20250529190531",
|
|
4
4
|
"description": "",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"files": [
|
|
@@ -29,9 +29,8 @@
|
|
|
29
29
|
"date-fns": "^4.1.0",
|
|
30
30
|
"execa": "^9.5.2",
|
|
31
31
|
"netlify-cli": "^19.0.3",
|
|
32
|
-
"zod": "^3.24.
|
|
33
|
-
"@mastra/
|
|
34
|
-
"@mastra/deployer": "0.0.0-mcp-server-deploy-20250507160341"
|
|
32
|
+
"zod": "^3.24.3",
|
|
33
|
+
"@mastra/deployer": "0.0.0-pass-headers-for-create-mastra-client-20250529190531"
|
|
35
34
|
},
|
|
36
35
|
"devDependencies": {
|
|
37
36
|
"@microsoft/api-extractor": "^7.52.5",
|
|
@@ -40,7 +39,11 @@
|
|
|
40
39
|
"tsup": "^8.4.0",
|
|
41
40
|
"typescript": "^5.8.2",
|
|
42
41
|
"vitest": "^3.1.2",
|
|
43
|
-
"@internal/lint": "0.0.
|
|
42
|
+
"@internal/lint": "0.0.0-pass-headers-for-create-mastra-client-20250529190531",
|
|
43
|
+
"@mastra/core": "0.0.0-pass-headers-for-create-mastra-client-20250529190531"
|
|
44
|
+
},
|
|
45
|
+
"peerDependencies": {
|
|
46
|
+
"@mastra/core": "^0.10.0"
|
|
44
47
|
},
|
|
45
48
|
"scripts": {
|
|
46
49
|
"build": "tsup src/index.ts --format esm,cjs --experimental-dts --clean --treeshake=smallest --splitting",
|