create-mastra 1.19.1-alpha.4 → 1.20.0-alpha.13

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 CHANGED
@@ -1,5 +1,70 @@
1
1
  # create-mastra
2
2
 
3
+ ## 1.20.0-alpha.13
4
+
5
+ ## 1.20.0-alpha.12
6
+
7
+ ## 1.20.0-alpha.11
8
+
9
+ ### Minor Changes
10
+
11
+ - 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))
12
+
13
+ **Breaking change**
14
+
15
+ The following `create-mastra`/`mastra create` flags and aliases were removed:
16
+
17
+ - `-p, --project-name`
18
+ - `--default`
19
+ - `-d, --dir`
20
+ - `-c, --components`
21
+ - `-e, --example` and `--no-example`
22
+ - `-m, --mcp`
23
+ - `--skills`
24
+ - `--observe`, `--no-observe`, `--observability`, `--no-observability`, and `--observability-project`
25
+
26
+ 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.
27
+
28
+ **Migration examples**
29
+
30
+ Create the default managed project:
31
+
32
+ ```bash
33
+ # Before
34
+ npx create-mastra@latest --project-name my-app --default
35
+
36
+ # After
37
+ npx create-mastra@latest my-app --llm openai
38
+ ```
39
+
40
+ Create a minimal project instead of configuring components or examples:
41
+
42
+ ```bash
43
+ # Before
44
+ npx create-mastra@latest --project-name my-app --components agents,tools --no-example
45
+
46
+ # After
47
+ npx create-mastra@latest my-app --empty
48
+ ```
49
+
50
+ Skip the new automatic post-create setup when needed:
51
+
52
+ ```bash
53
+ npx create-mastra@latest my-app --llm openai --no-skills --no-git
54
+ ```
55
+
56
+ ## 1.20.0-alpha.10
57
+
58
+ ## 1.20.0-alpha.9
59
+
60
+ ## 1.20.0-alpha.8
61
+
62
+ ## 1.20.0-alpha.7
63
+
64
+ ## 1.20.0-alpha.6
65
+
66
+ ## 1.20.0-alpha.5
67
+
3
68
  ## 1.19.1-alpha.4
4
69
 
5
70
  ## 1.19.1-alpha.3
@@ -7,21 +7,19 @@ import 'node:fs/promises';
7
7
  import 'node:http';
8
8
  import 'node:os';
9
9
  import 'node:path';
10
- import 'posthog-node';
11
- import 'node:url';
12
- import 'node:string_decoder';
13
10
  import 'node:util';
14
11
  import 'node:process';
12
+ import 'node:readline';
15
13
  import 'node:tty';
14
+ import 'posthog-node';
15
+ import 'node:url';
16
+ import 'node:string_decoder';
16
17
  import 'node:timers/promises';
17
18
  import 'node:events';
18
19
  import 'node:v8';
19
20
  import 'node:stream';
20
21
  import 'node:buffer';
21
22
  import 'node:stream/promises';
22
- import 'node:constants';
23
- import 'node:assert';
24
- import 'node:readline';
25
23
  import 'pino';
26
24
  import 'pino-pretty';
27
25
  import 'tinyexec';
@@ -29,4 +27,4 @@ import 'tinyexec';
29
27
 
30
28
 
31
29
  export { fetchOrgs };
32
- //# sourceMappingURL=api-FT5GISRU-C6a7ZtxG.js.map
30
+ //# sourceMappingURL=api-7JWNNR2R-DllFxyDc.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"api-7JWNNR2R-DllFxyDc.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
@@ -8,21 +8,19 @@ import 'node:fs/promises';
8
8
  import 'node:http';
9
9
  import 'node:os';
10
10
  import 'node:path';
11
- import 'posthog-node';
12
- import 'node:url';
13
- import 'node:string_decoder';
14
11
  import 'node:util';
15
12
  import 'node:process';
13
+ import 'node:readline';
16
14
  import 'node:tty';
15
+ import 'posthog-node';
16
+ import 'node:url';
17
+ import 'node:string_decoder';
17
18
  import 'node:timers/promises';
18
19
  import 'node:events';
19
20
  import 'node:v8';
20
21
  import 'node:stream';
21
22
  import 'node:buffer';
22
23
  import 'node:stream/promises';
23
- import 'node:constants';
24
- import 'node:assert';
25
- import 'node:readline';
26
24
  import 'pino';
27
25
  import 'pino-pretty';
28
26
  import 'tinyexec';
@@ -30,4 +28,4 @@ import 'tinyexec';
30
28
 
31
29
 
32
30
  export { loadCredentials, tryRefreshToken };
33
- //# sourceMappingURL=credentials-N4SAI3J3-AePRvo2y.js.map
31
+ //# sourceMappingURL=credentials-BO5DNDSB-BxpbOHtQ.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"credentials-BO5DNDSB-BxpbOHtQ.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}