mastra 0.3.0 → 0.3.1-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.
Files changed (2) hide show
  1. package/dist/index.js +3 -3
  2. package/package.json +3 -3
package/dist/index.js CHANGED
@@ -19,7 +19,7 @@ var BuildBundler = class extends Bundler {
19
19
  super("Build");
20
20
  }
21
21
  getEnvFiles() {
22
- const possibleFiles = [".env.production", ".env"];
22
+ const possibleFiles = [".env.production", ".env.local", ".env"];
23
23
  try {
24
24
  const fileService = new FileService$2();
25
25
  const envFile = fileService.getFirstExistingFile(possibleFiles);
@@ -98,7 +98,7 @@ var DevBundler = class extends Bundler {
98
98
  super("Dev");
99
99
  }
100
100
  getEnvFiles() {
101
- const possibleFiles = [".env.development", ".env"];
101
+ const possibleFiles = [".env.development", ".env.local", ".env"];
102
102
  try {
103
103
  const fileService = new FileService();
104
104
  const envFile = fileService.getFirstExistingFile(possibleFiles);
@@ -414,7 +414,7 @@ program.command("init").description("Initialize Mastra in your project").option(
414
414
  }
415
415
  });
416
416
  });
417
- program.command("dev").description("Start mastra server").option("-d, --dir <dir>", "Path to your mastra folder").option("-r, --root <root>", "Path to your root folder").option("-e, --env <env>", "Environment File to use (defaults to .env.development)").option("-t, --tools <toolsDirs>", "Comma-separated list of paths to tool files to include").option("-p, --port <port>", "Port number for the development server (defaults to 4111)").action((args) => {
417
+ program.command("dev").description("Start mastra server").option("-d, --dir <dir>", "Path to your mastra folder").option("-r, --root <root>", "Path to your root folder").option("-t, --tools <toolsDirs>", "Comma-separated list of paths to tool files to include").option("-p, --port <port>", "Port number for the development server (defaults to 4111)").action((args) => {
418
418
  analytics.trackCommand({
419
419
  command: "dev"
420
420
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "mastra",
3
- "version": "0.3.0",
3
+ "version": "0.3.1-alpha.0",
4
4
  "license": "ISC",
5
5
  "description": "cli for mastra",
6
6
  "type": "module",
@@ -55,8 +55,8 @@
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.5.0",
59
- "@mastra/deployer": "^0.1.8"
58
+ "@mastra/deployer": "^0.1.9-alpha.0",
59
+ "@mastra/core": "^0.5.1-alpha.0"
60
60
  },
61
61
  "devDependencies": {
62
62
  "@microsoft/api-extractor": "^7.52.1",