create-mastra 1.20.0-alpha.16 → 1.20.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.
Files changed (2) hide show
  1. package/CHANGELOG.md +53 -0
  2. package/package.json +3 -3
package/CHANGELOG.md CHANGED
@@ -1,5 +1,58 @@
1
1
  # create-mastra
2
2
 
3
+ ## 1.20.0
4
+
5
+ ### Minor Changes
6
+
7
+ - Improved project creation with a new default template, provider-native OpenAI, Anthropic, Google Gemini, and xAI setup, an empty scaffold mode, automatic skills, automatic git initialization, and interactive Mastra platform setup. ([#19825](https://github.com/mastra-ai/mastra/pull/19825))
8
+
9
+ **Breaking change**
10
+
11
+ The following `create-mastra`/`mastra create` flags and aliases were removed:
12
+
13
+ - `-p, --project-name`
14
+ - `--default`
15
+ - `-d, --dir`
16
+ - `-c, --components`
17
+ - `-e, --example` and `--no-example`
18
+ - `-m, --mcp`
19
+ - `--skills`
20
+ - `--observe`, `--no-observe`, `--observability`, `--no-observability`, and `--observability-project`
21
+
22
+ This removes the classic component and example scaffold controls, custom source-directory selection, MCP editor setup, interactive skills selection, and observability CLI flags from `create-mastra`/`mastra create`. Project names are now positional, managed projects use a new default template, skills are installed automatically for detected coding assistants, and git is initialized automatically. Interactive managed creation offers Mastra platform setup through a browser authentication prompt, creates a platform project with the local project name, and writes its credentials to `.env`. Prompt-free creation can add platform afterward with `mastra init`. Use `--empty` for a minimal project, `--no-skills` to skip skills installation, or `--no-git` to skip git initialization. The separate `mastra init` command retains its existing MCP, skills, and observability setup.
23
+
24
+ **Migration examples**
25
+
26
+ Create the default managed project:
27
+
28
+ ```bash
29
+ # Before
30
+ npx create-mastra@latest --project-name my-app --default
31
+
32
+ # After
33
+ npx create-mastra@latest my-app --llm openai
34
+ ```
35
+
36
+ Create a minimal project instead of configuring components or examples:
37
+
38
+ ```bash
39
+ # Before
40
+ npx create-mastra@latest --project-name my-app --components agents,tools --no-example
41
+
42
+ # After
43
+ npx create-mastra@latest my-app --empty
44
+ ```
45
+
46
+ Skip the new automatic post-create setup when needed:
47
+
48
+ ```bash
49
+ npx create-mastra@latest my-app --llm openai --no-skills --no-git
50
+ ```
51
+
52
+ ## 1.20.0-alpha.18
53
+
54
+ ## 1.20.0-alpha.17
55
+
3
56
  ## 1.20.0-alpha.16
4
57
 
5
58
  ## 1.20.0-alpha.15
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "create-mastra",
3
- "version": "1.20.0-alpha.16",
3
+ "version": "1.20.0",
4
4
  "description": "Create Mastra apps with one command",
5
5
  "license": "Apache-2.0",
6
6
  "type": "module",
@@ -48,8 +48,8 @@
48
48
  "rollup-plugin-node-externals": "^8.1.2",
49
49
  "typescript": "^6.0.3",
50
50
  "vitest": "4.1.10",
51
- "@internal/lint": "0.0.114",
52
- "mastra": "^1.20.0-alpha.16"
51
+ "@internal/lint": "0.0.115",
52
+ "mastra": "^1.20.0"
53
53
  },
54
54
  "engines": {
55
55
  "node": ">=22.13.0"