mastra 0.4.4-alpha.0 → 0.4.4-alpha.1

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 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.0",
3
+ "version": "0.4.4-alpha.1",
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.6.5-alpha.0",
59
- "@mastra/deployer": "^0.2.5-alpha.0"
58
+ "@mastra/core": "^0.7.0-alpha.1",
59
+ "@mastra/deployer": "^0.2.5-alpha.1"
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": "^22.13.10",
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.22.0",
68
+ "eslint": "^9.23.0",
70
69
  "memfs": "^4.17.0",
71
- "npm-run-all2": "^5.0.0",
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.8",
75
+ "vitest": "^3.0.9",
77
76
  "@internal/lint": "0.0.1",
78
- "@mastra/client-js": "0.1.13-alpha.0",
79
- "@mastra/playground-ui": "2.0.5-alpha.0"
77
+ "@mastra/playground-ui": "3.0.0-alpha.1",
78
+ "@mastra/client-js": "0.1.13-alpha.1"
80
79
  },
81
80
  "scripts": {
82
81
  "build": "npm-run-all --serial build:lib copy-starter-files copy-templates build:playground",