create-factory 0.4.0 β 0.4.1-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 +5 -4
- package/package.json +2 -2
package/dist/index.js
CHANGED
|
@@ -319,11 +319,11 @@ function getInstallArgs(packageManager) {
|
|
|
319
319
|
}
|
|
320
320
|
}
|
|
321
321
|
const PROJECT_REGION_OPTIONS = [{
|
|
322
|
-
value: "eu",
|
|
323
|
-
label: "πͺπΊ eu"
|
|
324
|
-
}, {
|
|
325
322
|
value: "us",
|
|
326
323
|
label: "πΊπΈ us"
|
|
324
|
+
}, {
|
|
325
|
+
value: "eu",
|
|
326
|
+
label: "πͺπΊ eu"
|
|
327
327
|
}];
|
|
328
328
|
const NEON_REGION_BY_PROJECT_REGION = {
|
|
329
329
|
eu: "aws-eu-central-1",
|
|
@@ -481,7 +481,8 @@ async function runPlatformProvisioning({ projectName, projectPath, region, org }
|
|
|
481
481
|
envAccumulator.MASTRA_ORGANIZATION_ID = orgId;
|
|
482
482
|
const projectRegion = region ?? await p.select({
|
|
483
483
|
message: "Where should your Factory project run?",
|
|
484
|
-
options: [...PROJECT_REGION_OPTIONS]
|
|
484
|
+
options: [...PROJECT_REGION_OPTIONS],
|
|
485
|
+
initialValue: "us"
|
|
485
486
|
});
|
|
486
487
|
if (p.isCancel(projectRegion)) {
|
|
487
488
|
p.cancel("Operation cancelled");
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "create-factory",
|
|
3
|
-
"version": "0.4.
|
|
3
|
+
"version": "0.4.1-alpha.1",
|
|
4
4
|
"description": "Create a Mastra Factory project: an agent-powered software delivery environment built on Mastra. Run `npm create factory` to scaffold and get started.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -36,7 +36,7 @@
|
|
|
36
36
|
"commander": "^14.0.3",
|
|
37
37
|
"picocolors": "^1.1.1",
|
|
38
38
|
"tinyexec": "^1.3.1",
|
|
39
|
-
"mastra": "1.
|
|
39
|
+
"mastra": "1.37.0-alpha.1"
|
|
40
40
|
},
|
|
41
41
|
"devDependencies": {
|
|
42
42
|
"@types/node": "22.19.15",
|