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 +13 -0
- package/dist/index.js +17 -46
- package/dist/index.js.map +1 -1
- package/package.json +4 -4
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
|
-
|
|
12124
|
-
|
|
12125
|
-
|
|
12126
|
-
|
|
12127
|
-
await
|
|
12128
|
-
|
|
12129
|
-
|
|
12130
|
-
|
|
12131
|
-
|
|
12132
|
-
|
|
12133
|
-
|
|
12134
|
-
|
|
12135
|
-
|
|
12136
|
-
|
|
12137
|
-
|
|
12138
|
-
|
|
12139
|
-
|
|
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;
|