mastra 0.4.4-alpha.0 → 0.4.4-alpha.2
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.js +2 -2
- package/package.json +10 -11
- package/src/playground/dist/assets/{index-D6wGn-f1.js → index-B56YXk4V.js} +136 -136
- package/src/playground/dist/assets/{index-BtcruFii.js → index-DTPH8_7q.js} +1 -1
- package/src/playground/dist/assets/{index-lkLiP2uY.js → index-Dm_YSkIU.js} +1 -1
- package/src/playground/dist/assets/{style-oZcsoN96.css → style-DPNeRdn7.css} +1 -1
- package/src/playground/dist/index.html +2 -2
package/dist/index.js
CHANGED
|
@@ -14,6 +14,7 @@ import { join } from 'path';
|
|
|
14
14
|
import { FileService, getDeployer } from '@mastra/deployer';
|
|
15
15
|
import { execa } from 'execa';
|
|
16
16
|
import { stat } from 'node:fs/promises';
|
|
17
|
+
import { config } from 'dotenv';
|
|
17
18
|
|
|
18
19
|
var BuildBundler = class extends Bundler {
|
|
19
20
|
constructor() {
|
|
@@ -346,8 +347,6 @@ async function dev({ port, dir, root, tools }) {
|
|
|
346
347
|
process.exit(0);
|
|
347
348
|
});
|
|
348
349
|
}
|
|
349
|
-
|
|
350
|
-
// src/index.ts
|
|
351
350
|
var depsService = new DepsService();
|
|
352
351
|
var version = await depsService.getPackageVersion();
|
|
353
352
|
var analytics = new PosthogAnalytics({
|
|
@@ -459,6 +458,7 @@ program.command("build").description("Build your Mastra project").option("-d, --
|
|
|
459
458
|
});
|
|
460
459
|
});
|
|
461
460
|
program.command("deploy").description("Deploy your Mastra project").option("-d, --dir <path>", "Path to directory").action(async (args) => {
|
|
461
|
+
config({ path: [".env", ".env.production"] });
|
|
462
462
|
await analytics.trackCommandExecution({
|
|
463
463
|
command: "mastra deploy",
|
|
464
464
|
args,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "mastra",
|
|
3
|
-
"version": "0.4.4-alpha.
|
|
3
|
+
"version": "0.4.4-alpha.2",
|
|
4
4
|
"license": "ISC",
|
|
5
5
|
"description": "cli for mastra",
|
|
6
6
|
"type": "module",
|
|
@@ -55,28 +55,27 @@
|
|
|
55
55
|
"yocto-spinner": "^0.1.2",
|
|
56
56
|
"zod": "^3.24.2",
|
|
57
57
|
"zod-to-json-schema": "^3.24.3",
|
|
58
|
-
"@mastra/core": "^0.
|
|
59
|
-
"@mastra/deployer": "^0.2.5-alpha.
|
|
58
|
+
"@mastra/core": "^0.7.0-alpha.2",
|
|
59
|
+
"@mastra/deployer": "^0.2.5-alpha.2"
|
|
60
60
|
},
|
|
61
61
|
"devDependencies": {
|
|
62
62
|
"@microsoft/api-extractor": "^7.52.1",
|
|
63
|
-
"@types/express": "^5.0.0",
|
|
64
63
|
"@types/fs-extra": "^11.0.4",
|
|
65
|
-
"@types/node": "^
|
|
64
|
+
"@types/node": "^20.17.27",
|
|
66
65
|
"@types/prompt": "^1.1.9",
|
|
67
66
|
"@types/tcp-port-used": "^1.0.4",
|
|
68
67
|
"cpy-cli": "^5.0.0",
|
|
69
|
-
"eslint": "^9.
|
|
68
|
+
"eslint": "^9.23.0",
|
|
70
69
|
"memfs": "^4.17.0",
|
|
71
|
-
"npm-run-all2": "^
|
|
70
|
+
"npm-run-all2": "^7.0.2",
|
|
72
71
|
"rollup": "^4.35.0",
|
|
73
72
|
"tsup": "^8.4.0",
|
|
74
73
|
"type-fest": "^4.37.0",
|
|
75
74
|
"typescript": "^5.8.2",
|
|
76
|
-
"vitest": "^3.0.
|
|
77
|
-
"@
|
|
78
|
-
"@mastra/
|
|
79
|
-
"@
|
|
75
|
+
"vitest": "^3.0.9",
|
|
76
|
+
"@mastra/client-js": "0.1.13-alpha.2",
|
|
77
|
+
"@mastra/playground-ui": "3.0.0-alpha.2",
|
|
78
|
+
"@internal/lint": "0.0.1"
|
|
80
79
|
},
|
|
81
80
|
"scripts": {
|
|
82
81
|
"build": "npm-run-all --serial build:lib copy-starter-files copy-templates build:playground",
|