@mastra/deployer 1.9.0 → 1.10.0-alpha.0
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/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,13 @@
|
|
|
1
1
|
# @mastra/deployer
|
|
2
2
|
|
|
3
|
+
## 1.10.0-alpha.0
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- Updated dependencies [[`41e48c1`](https://github.com/mastra-ai/mastra/commit/41e48c198eee846478e60c02ec432c19d322a517), [`82469d3`](https://github.com/mastra-ai/mastra/commit/82469d3135d5a49dd8dc8feec0ff398b4e0225a0), [`33e2fd5`](https://github.com/mastra-ai/mastra/commit/33e2fd5088f83666df17401e2da68c943dbc0448), [`7ef6e2c`](https://github.com/mastra-ai/mastra/commit/7ef6e2c61be5a42e26f55d15b5902866fc76634f), [`b12d2a5`](https://github.com/mastra-ai/mastra/commit/b12d2a59a48be0477cabae66eb6cf0fc94a7d40d), [`fa37d39`](https://github.com/mastra-ai/mastra/commit/fa37d39910421feaf8847716292e3d65dd4f30c2), [`b12d2a5`](https://github.com/mastra-ai/mastra/commit/b12d2a59a48be0477cabae66eb6cf0fc94a7d40d), [`71c38bf`](https://github.com/mastra-ai/mastra/commit/71c38bf905905148ecd0e75c07c1f9825d299b76), [`f993c38`](https://github.com/mastra-ai/mastra/commit/f993c3848c97479b813231be872443bedeced6ab), [`f51849a`](https://github.com/mastra-ai/mastra/commit/f51849a568935122b5100b7ee69704e6d680cf7b), [`9bf3a0d`](https://github.com/mastra-ai/mastra/commit/9bf3a0dac602787925f1762f1f0387d7b4a59620), [`cafa045`](https://github.com/mastra-ai/mastra/commit/cafa0453c9de141ad50c09a13894622dffdd9978), [`1fd9ddb`](https://github.com/mastra-ai/mastra/commit/1fd9ddbb3fe83b281b12bd2e27e426ae86288266), [`6135ef4`](https://github.com/mastra-ai/mastra/commit/6135ef4f5288652bf45f616ec590607e4c95f443), [`b12d2a5`](https://github.com/mastra-ai/mastra/commit/b12d2a59a48be0477cabae66eb6cf0fc94a7d40d), [`d9d228c`](https://github.com/mastra-ai/mastra/commit/d9d228c0c6ae82ae6ce3b540a3a56b2b1c2b8d98), [`5576507`](https://github.com/mastra-ai/mastra/commit/55765071e360fb97e443aa0a91ccf7e1cd8d92aa), [`79d69c9`](https://github.com/mastra-ai/mastra/commit/79d69c9d5f842ff1c31352fb6026f04c1f6190f3), [`9fb4c06`](https://github.com/mastra-ai/mastra/commit/9fb4c06ccab62a1940845fc6eed7f944e5ccd951), [`94f44b8`](https://github.com/mastra-ai/mastra/commit/94f44b827ce57b179e50f4916a84c0fa6e7f3b8c), [`13187db`](https://github.com/mastra-ai/mastra/commit/13187dbac880174232dedc5a501ff6c5d0fe59bc), [`2ae5311`](https://github.com/mastra-ai/mastra/commit/2ae531185fff66a80fa165c0999e3d801900e89d), [`b5a8ea5`](https://github.com/mastra-ai/mastra/commit/b5a8ea50d3718c31efca271b45498c8485c67b42), [`6135ef4`](https://github.com/mastra-ai/mastra/commit/6135ef4f5288652bf45f616ec590607e4c95f443)]:
|
|
8
|
+
- @mastra/core@1.10.0-alpha.0
|
|
9
|
+
- @mastra/server@1.10.0-alpha.0
|
|
10
|
+
|
|
3
11
|
## 1.9.0
|
|
4
12
|
|
|
5
13
|
### Minor Changes
|
package/dist/docs/SKILL.md
CHANGED
|
@@ -30,29 +30,29 @@ class CustomDeployer extends Deployer {
|
|
|
30
30
|
|
|
31
31
|
### Constructor Parameters
|
|
32
32
|
|
|
33
|
-
**args
|
|
33
|
+
**args** (`object`): Configuration options for the Deployer.
|
|
34
34
|
|
|
35
|
-
**args.name
|
|
35
|
+
**args.name** (`string`): A unique name for the deployer instance.
|
|
36
36
|
|
|
37
37
|
### deploy Parameters
|
|
38
38
|
|
|
39
|
-
**outputDirectory
|
|
39
|
+
**outputDirectory** (`string`): The directory where the bundled and deployment-ready application will be output.
|
|
40
40
|
|
|
41
41
|
## Methods
|
|
42
42
|
|
|
43
|
-
**getEnvFiles
|
|
43
|
+
**getEnvFiles** (`() => Promise<string[]>`): Returns a list of environment files to be used during deployment. By default, it looks for '.env.production' and '.env' files.
|
|
44
44
|
|
|
45
|
-
**deploy
|
|
45
|
+
**deploy** (`(outputDirectory: string) => Promise<void>`): Abstract method that must be implemented by subclasses. Handles the deployment process to the specified output directory.
|
|
46
46
|
|
|
47
47
|
## Inherited Methods from Bundler
|
|
48
48
|
|
|
49
49
|
The Deployer class inherits the following key methods from the Bundler class:
|
|
50
50
|
|
|
51
|
-
**prepare
|
|
51
|
+
**prepare** (`(outputDirectory: string) => Promise<void>`): Prepares the output directory by cleaning it and creating necessary subdirectories.
|
|
52
52
|
|
|
53
|
-
**writePackageJson
|
|
53
|
+
**writePackageJson** (`(outputDirectory: string, dependencies: Map<string, string>) => Promise<void>`): Generates a package.json file in the output directory with the specified dependencies.
|
|
54
54
|
|
|
55
|
-
**\_bundle
|
|
55
|
+
**\_bundle** (`(serverFile: string, mastraEntryFile: string, outputDirectory: string, bundleLocation?: string) => Promise<void>`): Bundles the application using the specified server and Mastra entry files.
|
|
56
56
|
|
|
57
57
|
## Core Concepts
|
|
58
58
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mastra/deployer",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.10.0-alpha.0",
|
|
4
4
|
"description": "",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"files": [
|
|
@@ -109,7 +109,7 @@
|
|
|
109
109
|
"strip-json-comments": "^5.0.3",
|
|
110
110
|
"tinyglobby": "^0.2.15",
|
|
111
111
|
"typescript-paths": "^1.5.1",
|
|
112
|
-
"@mastra/server": "1.
|
|
112
|
+
"@mastra/server": "1.10.0-alpha.0"
|
|
113
113
|
},
|
|
114
114
|
"devDependencies": {
|
|
115
115
|
"@hono/node-server": "^1.19.9",
|
|
@@ -129,11 +129,11 @@
|
|
|
129
129
|
"typescript": "^5.9.3",
|
|
130
130
|
"vitest": "4.0.18",
|
|
131
131
|
"zod": "^3.25.76",
|
|
132
|
-
"@internal/lint": "0.0.
|
|
133
|
-
"@
|
|
134
|
-
"@mastra/hono": "1.1.
|
|
135
|
-
"@mastra/
|
|
136
|
-
"@
|
|
132
|
+
"@internal/lint": "0.0.65",
|
|
133
|
+
"@internal/types-builder": "0.0.40",
|
|
134
|
+
"@mastra/hono": "1.1.9-alpha.0",
|
|
135
|
+
"@mastra/core": "1.10.0-alpha.0",
|
|
136
|
+
"@mastra/mcp": "^1.1.0-alpha.0"
|
|
137
137
|
},
|
|
138
138
|
"peerDependencies": {
|
|
139
139
|
"@mastra/core": ">=1.0.0-0 <2.0.0-0",
|