create-mastra 1.31.2-alpha.4 → 1.31.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/dist/index.js +3 -3
- package/package.json +3 -3
package/dist/index.js
CHANGED
|
@@ -15142,7 +15142,7 @@ var require_yocto_spinner = /* @__PURE__ */ __commonJSMin(((exports, module) =>
|
|
|
15142
15142
|
};
|
|
15143
15143
|
}));
|
|
15144
15144
|
//#endregion
|
|
15145
|
-
//#region ../cli/dist/analytics-
|
|
15145
|
+
//#region ../cli/dist/analytics-ApCkf_UK.js
|
|
15146
15146
|
const CREATE_LLM_PROVIDERS = [
|
|
15147
15147
|
{
|
|
15148
15148
|
value: "openai",
|
|
@@ -15172,7 +15172,7 @@ function parseCreateTimeout(value) {
|
|
|
15172
15172
|
return timeout;
|
|
15173
15173
|
}
|
|
15174
15174
|
function configureCreateCommand(command) {
|
|
15175
|
-
return command.description("Create a new Mastra project").argument("[project-name]", "Directory name of the project").option("--empty", "Create an empty project").option("-l, --llm <provider>", `Model provider (${CREATE_LLM_PROVIDERS.map((provider) => provider.value).join(", ")})`, parseCreateLLMProvider).option("-k, --llm-api-key <key>", "API key for the model provider").option("--no-skills", "Do not install Mastra skills").option("--no-git", "Do not initialize a git repository").option("--no-install", "Skip installing dependencies").option("-t, --template [template]", "Create from a template slug or public GitHub URL, or select interactively when omitted").option("--timeout <milliseconds>", "Package installation timeout in milliseconds", parseCreateTimeout, 6e4);
|
|
15175
|
+
return command.description("Create a new Mastra project").argument("[project-name]", "Directory name of the project").option("--empty", "Create an empty project; cannot be used with --template, --llm, or --llm-api-key").option("-l, --llm <provider>", `Model provider (${CREATE_LLM_PROVIDERS.map((provider) => provider.value).join(", ")}); cannot be used with --empty or --template`, parseCreateLLMProvider).option("-k, --llm-api-key <key>", "API key for the model provider; cannot be used with --empty or --template").option("--no-skills", "Do not install Mastra skills").option("--no-git", "Do not initialize a git repository").option("--no-install", "Skip installing dependencies").option("-t, --template [template]", "Create from a template slug or public GitHub URL, or select interactively when omitted; cannot be used with --empty, --llm, or --llm-api-key").option("--timeout <milliseconds>", "Package installation timeout in milliseconds", parseCreateTimeout, 6e4);
|
|
15176
15176
|
}
|
|
15177
15177
|
function normalizeCreateCommandOptions(projectName, options) {
|
|
15178
15178
|
return {
|
|
@@ -16906,7 +16906,7 @@ var require_semver = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
16906
16906
|
};
|
|
16907
16907
|
}));
|
|
16908
16908
|
//#endregion
|
|
16909
|
-
//#region ../cli/dist/create-
|
|
16909
|
+
//#region ../cli/dist/create-8eSMsePo.js
|
|
16910
16910
|
var import_picocolors = /* @__PURE__ */ __toESM(require_picocolors(), 1);
|
|
16911
16911
|
var import_yocto_spinner = /* @__PURE__ */ __toESM(require_yocto_spinner(), 1);
|
|
16912
16912
|
var import_semver = /* @__PURE__ */ __toESM(require_semver(), 1);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "create-mastra",
|
|
3
|
-
"version": "1.31.
|
|
3
|
+
"version": "1.31.3-alpha.0",
|
|
4
4
|
"description": "Create Mastra apps with one command",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"type": "module",
|
|
@@ -37,8 +37,8 @@
|
|
|
37
37
|
"tsdown": "0.22.9",
|
|
38
38
|
"typescript": "^7.0.2",
|
|
39
39
|
"vitest": "4.1.11",
|
|
40
|
-
"@internal/lint": "0.0.
|
|
41
|
-
"mastra": "^1.31.
|
|
40
|
+
"@internal/lint": "0.0.136",
|
|
41
|
+
"mastra": "^1.31.3-alpha.0"
|
|
42
42
|
},
|
|
43
43
|
"engines": {
|
|
44
44
|
"node": ">=22.13.0"
|