@mastra/deployer-netlify 0.11.7-alpha.0 → 0.11.8
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 +3 -2
- package/dist/index.js +3 -2
- package/package.json +5 -5
package/dist/index.cjs
CHANGED
|
@@ -61,7 +61,8 @@ var NetlifyDeployer = class extends deployer.Deployer {
|
|
|
61
61
|
return `
|
|
62
62
|
import { handle } from 'hono/netlify'
|
|
63
63
|
import { mastra } from '#mastra';
|
|
64
|
-
import { createHonoServer } from '#server';
|
|
64
|
+
import { createHonoServer, getToolExports } from '#server';
|
|
65
|
+
import { tools } from '#tools';
|
|
65
66
|
import { evaluate } from '@mastra/core/eval';
|
|
66
67
|
import { AvailableHooks, registerHook } from '@mastra/core/hooks';
|
|
67
68
|
import { TABLE_EVALS } from '@mastra/core/storage';
|
|
@@ -105,7 +106,7 @@ var NetlifyDeployer = class extends deployer.Deployer {
|
|
|
105
106
|
}
|
|
106
107
|
});
|
|
107
108
|
|
|
108
|
-
const app = await createHonoServer(mastra);
|
|
109
|
+
const app = await createHonoServer(mastra, { tools: getToolExports(tools) });
|
|
109
110
|
|
|
110
111
|
export default handle(app)
|
|
111
112
|
`;
|
package/dist/index.js
CHANGED
|
@@ -55,7 +55,8 @@ var NetlifyDeployer = class extends Deployer {
|
|
|
55
55
|
return `
|
|
56
56
|
import { handle } from 'hono/netlify'
|
|
57
57
|
import { mastra } from '#mastra';
|
|
58
|
-
import { createHonoServer } from '#server';
|
|
58
|
+
import { createHonoServer, getToolExports } from '#server';
|
|
59
|
+
import { tools } from '#tools';
|
|
59
60
|
import { evaluate } from '@mastra/core/eval';
|
|
60
61
|
import { AvailableHooks, registerHook } from '@mastra/core/hooks';
|
|
61
62
|
import { TABLE_EVALS } from '@mastra/core/storage';
|
|
@@ -99,7 +100,7 @@ var NetlifyDeployer = class extends Deployer {
|
|
|
99
100
|
}
|
|
100
101
|
});
|
|
101
102
|
|
|
102
|
-
const app = await createHonoServer(mastra);
|
|
103
|
+
const app = await createHonoServer(mastra, { tools: getToolExports(tools) });
|
|
103
104
|
|
|
104
105
|
export default handle(app)
|
|
105
106
|
`;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mastra/deployer-netlify",
|
|
3
|
-
"version": "0.11.
|
|
3
|
+
"version": "0.11.8",
|
|
4
4
|
"description": "",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"files": [
|
|
@@ -30,7 +30,7 @@
|
|
|
30
30
|
"execa": "^9.6.0",
|
|
31
31
|
"fs-extra": "^11.3.0",
|
|
32
32
|
"zod": "^3.25.67",
|
|
33
|
-
"@mastra/deployer": "^0.11.
|
|
33
|
+
"@mastra/deployer": "^0.11.1"
|
|
34
34
|
},
|
|
35
35
|
"devDependencies": {
|
|
36
36
|
"@microsoft/api-extractor": "^7.52.8",
|
|
@@ -40,11 +40,11 @@
|
|
|
40
40
|
"tsup": "^8.5.0",
|
|
41
41
|
"typescript": "^5.8.3",
|
|
42
42
|
"vitest": "^3.2.4",
|
|
43
|
-
"@internal/lint": "0.0.
|
|
44
|
-
"@mastra/core": "0.11.
|
|
43
|
+
"@internal/lint": "0.0.23",
|
|
44
|
+
"@mastra/core": "0.11.1"
|
|
45
45
|
},
|
|
46
46
|
"peerDependencies": {
|
|
47
|
-
"@mastra/core": "
|
|
47
|
+
"@mastra/core": ">=0.10.1-0 <0.12.0-0"
|
|
48
48
|
},
|
|
49
49
|
"scripts": {
|
|
50
50
|
"build": "tsup src/index.ts --format esm,cjs --experimental-dts --clean --treeshake=smallest --splitting",
|