@mastra/deployer-cloudflare 0.1.15-alpha.7 → 0.1.15-alpha.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 +2 -7
- package/dist/index.js +2 -7
- package/package.json +3 -3
package/dist/index.cjs
CHANGED
|
@@ -43,8 +43,8 @@ var CloudflareDeployer = class extends deployer.Deployer {
|
|
|
43
43
|
const wranglerConfig = {
|
|
44
44
|
name: cfWorkerName,
|
|
45
45
|
main: "./index.mjs",
|
|
46
|
-
compatibility_date: "
|
|
47
|
-
compatibility_flags: ["nodejs_compat"],
|
|
46
|
+
compatibility_date: "2025-04-01",
|
|
47
|
+
compatibility_flags: ["nodejs_compat", "nodejs_compat_populate_process_env"],
|
|
48
48
|
observability: {
|
|
49
49
|
logs: {
|
|
50
50
|
enabled: true
|
|
@@ -65,11 +65,6 @@ import { createHonoServer } from '#server';
|
|
|
65
65
|
|
|
66
66
|
export default {
|
|
67
67
|
fetch: async (request, env, context) => {
|
|
68
|
-
// fixes process.env
|
|
69
|
-
Object.keys(env).forEach(key => {
|
|
70
|
-
process.env[key] = env[key]
|
|
71
|
-
})
|
|
72
|
-
|
|
73
68
|
const app = await createHonoServer(mastra)
|
|
74
69
|
return app.fetch(request, env, context);
|
|
75
70
|
}
|
package/dist/index.js
CHANGED
|
@@ -37,8 +37,8 @@ var CloudflareDeployer = class extends Deployer {
|
|
|
37
37
|
const wranglerConfig = {
|
|
38
38
|
name: cfWorkerName,
|
|
39
39
|
main: "./index.mjs",
|
|
40
|
-
compatibility_date: "
|
|
41
|
-
compatibility_flags: ["nodejs_compat"],
|
|
40
|
+
compatibility_date: "2025-04-01",
|
|
41
|
+
compatibility_flags: ["nodejs_compat", "nodejs_compat_populate_process_env"],
|
|
42
42
|
observability: {
|
|
43
43
|
logs: {
|
|
44
44
|
enabled: true
|
|
@@ -59,11 +59,6 @@ import { createHonoServer } from '#server';
|
|
|
59
59
|
|
|
60
60
|
export default {
|
|
61
61
|
fetch: async (request, env, context) => {
|
|
62
|
-
// fixes process.env
|
|
63
|
-
Object.keys(env).forEach(key => {
|
|
64
|
-
process.env[key] = env[key]
|
|
65
|
-
})
|
|
66
|
-
|
|
67
62
|
const app = await createHonoServer(mastra)
|
|
68
63
|
return app.fetch(request, env, context);
|
|
69
64
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mastra/deployer-cloudflare",
|
|
3
|
-
"version": "0.1.15-alpha.
|
|
3
|
+
"version": "0.1.15-alpha.8",
|
|
4
4
|
"description": "",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"files": [
|
|
@@ -43,8 +43,8 @@
|
|
|
43
43
|
"rollup-plugin-shim": "^1.0.0",
|
|
44
44
|
"wrangler": "^4.4.0",
|
|
45
45
|
"zod": "^3.24.2",
|
|
46
|
-
"@mastra/core": "^0.8.0-alpha.
|
|
47
|
-
"@mastra/deployer": "^0.2.6-alpha.
|
|
46
|
+
"@mastra/core": "^0.8.0-alpha.6",
|
|
47
|
+
"@mastra/deployer": "^0.2.6-alpha.8"
|
|
48
48
|
},
|
|
49
49
|
"devDependencies": {
|
|
50
50
|
"@microsoft/api-extractor": "^7.52.1",
|