create-factory 0.1.0-alpha.4 → 0.1.0-alpha.5
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/CHANGELOG.md +6 -0
- package/dist/index.js +1 -2
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,11 @@
|
|
|
1
1
|
# create-factory
|
|
2
2
|
|
|
3
|
+
## 0.1.0-alpha.5
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- Stopped writing MASTRA_SHARED_API_URL to the scaffolded project's .env during platform provisioning. Platform consumers now use their built-in default platform URL, so scaffolded factories no longer pin the API endpoint at create time. ([#20021](https://github.com/mastra-ai/mastra/pull/20021))
|
|
8
|
+
|
|
3
9
|
## 0.1.0-alpha.4
|
|
4
10
|
|
|
5
11
|
### Minor Changes
|
package/dist/index.js
CHANGED
|
@@ -72,7 +72,7 @@ var Analytics = class {
|
|
|
72
72
|
import fs3 from "fs";
|
|
73
73
|
import path3 from "path";
|
|
74
74
|
import * as p from "@clack/prompts";
|
|
75
|
-
import { fetchOrgs, getToken,
|
|
75
|
+
import { fetchOrgs, getToken, resolveCurrentOrg } from "mastra/internal/auth";
|
|
76
76
|
import color from "picocolors";
|
|
77
77
|
import { x as x2 } from "tinyexec";
|
|
78
78
|
|
|
@@ -526,7 +526,6 @@ async function runPlatformProvisioning({
|
|
|
526
526
|
const token = await getToken();
|
|
527
527
|
const { orgId, orgName } = org ? await resolveOrgFromFlag(token, org) : await resolveCurrentOrg(token, { forcePrompt: true });
|
|
528
528
|
p.log.info(`Using organization ${color.cyan(orgName)}.`);
|
|
529
|
-
envAccumulator.MASTRA_SHARED_API_URL = MASTRA_PLATFORM_API_URL2;
|
|
530
529
|
envAccumulator.MASTRA_ORGANIZATION_ID = orgId;
|
|
531
530
|
const projectSpinner = p.spinner();
|
|
532
531
|
projectSpinner.start(`Creating platform project "${projectName}"\u2026`);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "create-factory",
|
|
3
|
-
"version": "0.1.0-alpha.
|
|
3
|
+
"version": "0.1.0-alpha.5",
|
|
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",
|