mastra 0.5.0-alpha.6 → 0.5.0-alpha.7
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 +4 -1
- package/package.json +5 -5
package/dist/index.js
CHANGED
|
@@ -128,7 +128,9 @@ var DevBundler = class extends Bundler {
|
|
|
128
128
|
const __filename = fileURLToPath(import.meta.url);
|
|
129
129
|
const __dirname = dirname(__filename);
|
|
130
130
|
const envFiles = await this.getEnvFiles();
|
|
131
|
-
const inputOptions = await getWatcherInputOptions(entryFile, "node"
|
|
131
|
+
const inputOptions = await getWatcherInputOptions(entryFile, "node", {
|
|
132
|
+
"process.env.NODE_ENV": JSON.stringify(process.env.NODE_ENV || "development")
|
|
133
|
+
});
|
|
132
134
|
const toolsInputOptions = await this.getToolsInputOptions(toolsPaths);
|
|
133
135
|
await writeTelemetryConfig(entryFile, join$1(outputDirectory, this.outputDir));
|
|
134
136
|
await this.writeInstrumentationFile(join$1(outputDirectory, this.outputDir));
|
|
@@ -215,6 +217,7 @@ var startServer = async (dotMastraPath, port, env) => {
|
|
|
215
217
|
currentServerProcess = execa("node", commands, {
|
|
216
218
|
cwd: dotMastraPath,
|
|
217
219
|
env: {
|
|
220
|
+
NODE_ENV: "production",
|
|
218
221
|
...Object.fromEntries(env),
|
|
219
222
|
PORT: port.toString() || process.env.PORT || "4111",
|
|
220
223
|
MASTRA_DEFAULT_STORAGE_URL: `file:${join(dotMastraPath, "..", "mastra.db")}`
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "mastra",
|
|
3
|
-
"version": "0.5.0-alpha.
|
|
3
|
+
"version": "0.5.0-alpha.7",
|
|
4
4
|
"license": "Elastic-2.0",
|
|
5
5
|
"description": "cli for mastra",
|
|
6
6
|
"type": "module",
|
|
@@ -54,8 +54,8 @@
|
|
|
54
54
|
"yocto-spinner": "^0.1.2",
|
|
55
55
|
"zod": "^3.24.2",
|
|
56
56
|
"zod-to-json-schema": "^3.24.3",
|
|
57
|
-
"@mastra/core": "^0.9.0-alpha.
|
|
58
|
-
"@mastra/deployer": "^0.3.0-alpha.
|
|
57
|
+
"@mastra/core": "^0.9.0-alpha.6",
|
|
58
|
+
"@mastra/deployer": "^0.3.0-alpha.7"
|
|
59
59
|
},
|
|
60
60
|
"devDependencies": {
|
|
61
61
|
"@microsoft/api-extractor": "^7.52.1",
|
|
@@ -73,8 +73,8 @@
|
|
|
73
73
|
"typescript": "^5.8.2",
|
|
74
74
|
"vitest": "^3.0.9",
|
|
75
75
|
"@internal/lint": "0.0.2",
|
|
76
|
-
"@mastra/
|
|
77
|
-
"@mastra/
|
|
76
|
+
"@mastra/client-js": "0.1.18-alpha.6",
|
|
77
|
+
"@mastra/playground-ui": "5.0.0-alpha.6"
|
|
78
78
|
},
|
|
79
79
|
"scripts": {
|
|
80
80
|
"build": "npm-run-all --serial build:lib copy-starter-files copy-templates build:playground",
|