create-factory 0.0.2 → 0.0.3-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.
- package/CHANGELOG.md +12 -0
- package/LICENSE.md +30 -0
- package/README.md +1 -1
- package/package.json +11 -12
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,17 @@
|
|
|
1
1
|
# create-factory
|
|
2
2
|
|
|
3
|
+
## 0.0.3-alpha.0
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- Added the `create-factory` CLI. It scaffolds a Mastra Software Factory project: enter a project name and the CLI clones the template, installs dependencies, and initializes git. Configuration (model providers, integrations, database) happens in the web UI on first load. ([#19609](https://github.com/mastra-ai/mastra/pull/19609))
|
|
8
|
+
|
|
9
|
+
```bash
|
|
10
|
+
npm create factory my-factory
|
|
11
|
+
cd my-factory
|
|
12
|
+
npm run dev
|
|
13
|
+
```
|
|
14
|
+
|
|
3
15
|
## 0.0.2
|
|
4
16
|
|
|
5
17
|
### Patch Changes
|
package/LICENSE.md
ADDED
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
Portions of this software are licensed as follows:
|
|
2
|
+
|
|
3
|
+
- All content that resides under any directory named "ee/" within this
|
|
4
|
+
repository, including but not limited to:
|
|
5
|
+
- `packages/core/src/auth/ee/`
|
|
6
|
+
- `packages/server/src/server/auth/ee/`
|
|
7
|
+
is licensed under the license defined in `ee/LICENSE`.
|
|
8
|
+
|
|
9
|
+
- All third-party components incorporated into the Mastra Software are
|
|
10
|
+
licensed under the original license provided by the owner of the
|
|
11
|
+
applicable component.
|
|
12
|
+
|
|
13
|
+
- Content outside of the above-mentioned directories or restrictions is
|
|
14
|
+
available under the "Apache License 2.0" as defined below.
|
|
15
|
+
|
|
16
|
+
# Apache License 2.0
|
|
17
|
+
|
|
18
|
+
Copyright (c) 2025 Kepler Software, Inc.
|
|
19
|
+
|
|
20
|
+
Licensed under the Apache License, Version 2.0 (the "License");
|
|
21
|
+
you may not use this file except in compliance with the License.
|
|
22
|
+
You may obtain a copy of the License at
|
|
23
|
+
|
|
24
|
+
http://www.apache.org/licenses/LICENSE-2.0
|
|
25
|
+
|
|
26
|
+
Unless required by applicable law or agreed to in writing, software
|
|
27
|
+
distributed under the License is distributed on an "AS IS" BASIS,
|
|
28
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
29
|
+
See the License for the specific language governing permissions and
|
|
30
|
+
limitations under the License.
|
package/README.md
CHANGED
|
@@ -38,7 +38,7 @@ node bin/cli.mjs my-app --default --template-dir ./template-out
|
|
|
38
38
|
- checked-in `template/README.md` → user-facing README (version tokens filled at sync)
|
|
39
39
|
- `.env.schema` → `.env.example` (varlock decorators removed)
|
|
40
40
|
|
|
41
|
-
Syncing to [softwarefactory-template](https://github.com/mastra-ai/softwarefactory-template) is automated, mirroring the `templates/*` process: the `sync-softwarefactory-template` workflow regenerates the template
|
|
41
|
+
Syncing to [softwarefactory-template](https://github.com/mastra-ai/softwarefactory-template) is automated, mirroring the `templates/*` process: the `sync-softwarefactory-template` workflow regenerates the template using published local monorepo versions and force-pushes it on every push to `main` that touches `mastracode/web`, the sync script, or `template/README.md`. The monorepo is the source of truth — direct commits to the template repo get overwritten.
|
|
42
42
|
|
|
43
43
|
```bash
|
|
44
44
|
node scripts/sync-template.mjs # writes ./template-out (local development)
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "create-factory",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.3-alpha.0",
|
|
4
4
|
"description": "Create a Mastra Software 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",
|
|
@@ -12,13 +12,6 @@
|
|
|
12
12
|
"dist",
|
|
13
13
|
"CHANGELOG.md"
|
|
14
14
|
],
|
|
15
|
-
"scripts": {
|
|
16
|
-
"build": "tsup --silent --config tsup.config.ts",
|
|
17
|
-
"prepack": "npm run build",
|
|
18
|
-
"check": "tsc --noEmit",
|
|
19
|
-
"test": "vitest run",
|
|
20
|
-
"lint": "eslint ."
|
|
21
|
-
},
|
|
22
15
|
"engines": {
|
|
23
16
|
"node": ">=20"
|
|
24
17
|
},
|
|
@@ -47,11 +40,17 @@
|
|
|
47
40
|
"posthog-node": "^5.37.0"
|
|
48
41
|
},
|
|
49
42
|
"devDependencies": {
|
|
50
|
-
"@internal/lint": "workspace:*",
|
|
51
43
|
"@types/node": "22.20.1",
|
|
52
44
|
"eslint": "^10.4.1",
|
|
53
45
|
"tsup": "^8.5.1",
|
|
54
|
-
"typescript": "
|
|
55
|
-
"vitest": "
|
|
46
|
+
"typescript": "^6.0.3",
|
|
47
|
+
"vitest": "4.1.10",
|
|
48
|
+
"@internal/lint": "0.0.114"
|
|
49
|
+
},
|
|
50
|
+
"scripts": {
|
|
51
|
+
"build": "tsup --silent --config tsup.config.ts",
|
|
52
|
+
"check": "tsc --noEmit",
|
|
53
|
+
"test": "vitest run",
|
|
54
|
+
"lint": "eslint ."
|
|
56
55
|
}
|
|
57
|
-
}
|
|
56
|
+
}
|