create-mastra 1.23.0 → 1.24.0-alpha.3

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,18 @@
1
1
  # create-mastra
2
2
 
3
+ ## 1.24.0-alpha.3
4
+
5
+ ## 1.23.1-alpha.2
6
+
7
+ ## 1.23.1-alpha.1
8
+
9
+ ### Patch Changes
10
+
11
+ - dependencies updates: ([#19783](https://github.com/mastra-ai/mastra/pull/19783))
12
+ - Updated dependency [`posthog-node@^5.46.1` ↗︎](https://www.npmjs.com/package/posthog-node/v/5.46.1) (from `^5.37.0`, in `dependencies`)
13
+
14
+ ## 1.23.1-alpha.0
15
+
3
16
  ## 1.23.0
4
17
 
5
18
  ### Patch Changes
package/dist/index.js CHANGED
@@ -12120,52 +12120,23 @@ async function isGitInitialized({ cwd }) {
12120
12120
  }
12121
12121
  }
12122
12122
  async function gitInit({ cwd }) {
12123
- const isolatedConfigDirectory = await fsPromises__default.mkdtemp(path.join(os.tmpdir(), "mastra-git-config-"));
12124
- const emptyHooksDirectory = path.join(isolatedConfigDirectory, "hooks");
12125
- const emptyGlobalConfig = path.join(isolatedConfigDirectory, "global.gitconfig");
12126
- await fsPromises__default.mkdir(emptyHooksDirectory);
12127
- await fsPromises__default.writeFile(emptyGlobalConfig, "");
12128
- const env = {
12129
- GIT_CONFIG_NOSYSTEM: "1",
12130
- GIT_CONFIG_GLOBAL: emptyGlobalConfig,
12131
- GIT_CONFIG_COUNT: "0"
12132
- };
12133
- try {
12134
- await execa("git", ["init"], {
12135
- cwd,
12136
- stdio: "ignore",
12137
- env
12138
- });
12139
- await fsPromises__default.appendFile(path.join(cwd, ".git", "info", "exclude"), "\n.env\n.env.*\n!.env.example\n!.env.*.example\n");
12140
- await execa("git", ["add", "-A"], {
12141
- cwd,
12142
- stdio: "ignore",
12143
- env
12144
- });
12145
- await execa("git", [
12146
- "-c",
12147
- "user.name=Mastra",
12148
- "-c",
12149
- "user.email=noreply@mastra.ai",
12150
- "-c",
12151
- "commit.gpgSign=false",
12152
- "-c",
12153
- `core.hooksPath=${emptyHooksDirectory}`,
12154
- "commit",
12155
- "--no-verify",
12156
- "-m",
12157
- "Initial commit from Mastra"
12158
- ], {
12159
- cwd,
12160
- stdio: "ignore",
12161
- env
12162
- });
12163
- } finally {
12164
- await fsPromises__default.rm(isolatedConfigDirectory, {
12165
- recursive: true,
12166
- force: true
12167
- });
12168
- }
12123
+ await execa("git", ["init"], {
12124
+ cwd,
12125
+ stdio: "ignore"
12126
+ });
12127
+ await execa("git", ["add", "-A"], {
12128
+ cwd,
12129
+ stdio: "ignore"
12130
+ });
12131
+ await execa("git", [
12132
+ "commit",
12133
+ "-m",
12134
+ "Initial commit from Mastra",
12135
+ '--author="dane-ai-mastra[bot] <dane-ai-mastra[bot]@users.noreply.github.com>"'
12136
+ ], {
12137
+ cwd,
12138
+ stdio: "ignore"
12139
+ });
12169
12140
  }
12170
12141
  const ANALYTICS_CONFIG_PATH = path.join(os.homedir(), ".mastra", "analytics.json");
12171
12142
  let analyticsInstance = null;