@mastra/deployer-netlify 0.1.19-alpha.4 → 0.1.19-alpha.6

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.
@@ -32,7 +32,7 @@ export declare class NetlifyDeployer extends Deployer {
32
32
  protected installDependencies(outputDirectory: string, rootDir?: string): Promise<void>;
33
33
  deploy(outputDirectory: string): Promise<void>;
34
34
  prepare(outputDirectory: string): Promise<void>;
35
- bundle(entryFile: string, outputDirectory: string): Promise<void>;
35
+ bundle(entryFile: string, outputDirectory: string, toolsPaths: string[]): Promise<void>;
36
36
  private getEntry;
37
37
  }
38
38
 
@@ -32,7 +32,7 @@ export declare class NetlifyDeployer extends Deployer {
32
32
  protected installDependencies(outputDirectory: string, rootDir?: string): Promise<void>;
33
33
  deploy(outputDirectory: string): Promise<void>;
34
34
  prepare(outputDirectory: string): Promise<void>;
35
- bundle(entryFile: string, outputDirectory: string): Promise<void>;
35
+ bundle(entryFile: string, outputDirectory: string, toolsPaths: string[]): Promise<void>;
36
36
  private getEntry;
37
37
  }
38
38
 
package/dist/index.cjs CHANGED
@@ -129,11 +129,12 @@ to = "/.netlify/functions/api/:splat"
129
129
  await super.prepare(outputDirectory);
130
130
  this.writeFiles({ dir: path.join(outputDirectory, this.outputDir) });
131
131
  }
132
- async bundle(entryFile, outputDirectory) {
132
+ async bundle(entryFile, outputDirectory, toolsPaths) {
133
133
  return this._bundle(
134
134
  this.getEntry(),
135
135
  entryFile,
136
136
  outputDirectory,
137
+ toolsPaths,
137
138
  path.join(outputDirectory, this.outputDir, "netlify", "functions", "api")
138
139
  );
139
140
  }
package/dist/index.js CHANGED
@@ -127,11 +127,12 @@ to = "/.netlify/functions/api/:splat"
127
127
  await super.prepare(outputDirectory);
128
128
  this.writeFiles({ dir: join(outputDirectory, this.outputDir) });
129
129
  }
130
- async bundle(entryFile, outputDirectory) {
130
+ async bundle(entryFile, outputDirectory, toolsPaths) {
131
131
  return this._bundle(
132
132
  this.getEntry(),
133
133
  entryFile,
134
134
  outputDirectory,
135
+ toolsPaths,
135
136
  join(outputDirectory, this.outputDir, "netlify", "functions", "api")
136
137
  );
137
138
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mastra/deployer-netlify",
3
- "version": "0.1.19-alpha.4",
3
+ "version": "0.1.19-alpha.6",
4
4
  "description": "",
5
5
  "type": "module",
6
6
  "files": [
@@ -30,8 +30,8 @@
30
30
  "execa": "^9.5.2",
31
31
  "netlify-cli": "^19.0.3",
32
32
  "zod": "^3.24.2",
33
- "@mastra/core": "^0.9.0-alpha.3",
34
- "@mastra/deployer": "^0.3.0-alpha.4"
33
+ "@mastra/core": "^0.9.0-alpha.5",
34
+ "@mastra/deployer": "^0.3.0-alpha.6"
35
35
  },
36
36
  "devDependencies": {
37
37
  "@microsoft/api-extractor": "^7.52.1",