@mastra/deployer-cloudflare 1.2.23-alpha.1 → 1.2.23
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/README.md +9 -20
- package/package.json +5 -5
package/README.md
CHANGED
|
@@ -1,16 +1,11 @@
|
|
|
1
1
|
# @mastra/deployer-cloudflare
|
|
2
2
|
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
## Features
|
|
6
|
-
|
|
7
|
-
- Deploy Mastra applications to Cloudflare Workers
|
|
8
|
-
- Automatic environment variable configuration
|
|
3
|
+
The CloudflareDeployer bundles your Mastra server and generates a wrangler.jsonc file conforming to Cloudflare's wrangler configuration.
|
|
9
4
|
|
|
10
5
|
## Installation
|
|
11
6
|
|
|
12
7
|
```bash
|
|
13
|
-
|
|
8
|
+
npm install @mastra/deployer-cloudflare
|
|
14
9
|
```
|
|
15
10
|
|
|
16
11
|
## Usage
|
|
@@ -41,21 +36,15 @@ const mastra = new Mastra({
|
|
|
41
36
|
});
|
|
42
37
|
```
|
|
43
38
|
|
|
44
|
-
##
|
|
45
|
-
|
|
46
|
-
The `CloudflareDeployer` constructor accepts the same configuration options as `wrangler.json`. See the [Wrangler configuration documentation](https://developers.cloudflare.com/workers/wrangler/configuration/) for all available options.
|
|
47
|
-
|
|
48
|
-
**Deprecated fields:** If migrating from an earlier version, note that `projectName`, `d1Databases`, `kvNamespaces`, and `workerNamespace` are deprecated. Use the standard `wrangler.json` property names instead (`name`, `d1_databases`, `kv_namespaces`).
|
|
39
|
+
## Documentation
|
|
49
40
|
|
|
50
|
-
|
|
41
|
+
- [Deploy to Cloudflare](https://mastra.ai/integrations/deploy/cloudflare)
|
|
42
|
+
- [CloudflareDeployer reference](https://mastra.ai/reference/deployer/cloudflare)
|
|
51
43
|
|
|
52
|
-
|
|
44
|
+
## Changelog
|
|
53
45
|
|
|
54
|
-
-
|
|
55
|
-
- Environment variables passed through the Mastra configuration
|
|
46
|
+
See the [package changelog](https://github.com/mastra-ai/mastra/blob/main/deployers/cloudflare/CHANGELOG.md) for version history and release notes.
|
|
56
47
|
|
|
57
|
-
##
|
|
48
|
+
## Support
|
|
58
49
|
|
|
59
|
-
-
|
|
60
|
-
- API token with appropriate permissions
|
|
61
|
-
- Domain(s) configured in Cloudflare (for custom domains)
|
|
50
|
+
We have an [open community Discord](https://discord.gg/mastra-ai). Come and say hello and let us know if you have any questions or need any help getting things running.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mastra/deployer-cloudflare",
|
|
3
|
-
"version": "1.2.23
|
|
3
|
+
"version": "1.2.23",
|
|
4
4
|
"description": "",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"files": [
|
|
@@ -40,7 +40,7 @@
|
|
|
40
40
|
"cloudflare": "^5.2.0",
|
|
41
41
|
"rollup": "^4.61.1",
|
|
42
42
|
"rollup-plugin-esbuild": "^6.2.1",
|
|
43
|
-
"@mastra/deployer": "^1.64.0
|
|
43
|
+
"@mastra/deployer": "^1.64.0"
|
|
44
44
|
},
|
|
45
45
|
"devDependencies": {
|
|
46
46
|
"@babel/types": "^8.0.4",
|
|
@@ -53,9 +53,9 @@
|
|
|
53
53
|
"vitest": "4.1.10",
|
|
54
54
|
"wrangler": "^4.110.0",
|
|
55
55
|
"zod": "^3.25.76",
|
|
56
|
-
"@internal/
|
|
57
|
-
"@internal/
|
|
58
|
-
"@mastra/core": "1.64.0
|
|
56
|
+
"@internal/types-builder": "0.0.105",
|
|
57
|
+
"@internal/lint": "0.0.130",
|
|
58
|
+
"@mastra/core": "1.64.0"
|
|
59
59
|
},
|
|
60
60
|
"homepage": "https://mastra.ai",
|
|
61
61
|
"repository": {
|