@clubedge/create-clubedge-app 0.1.0 → 0.1.1
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 +4 -0
- package/bin/create.mjs +5 -7
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,10 @@
|
|
|
2
2
|
|
|
3
3
|
All notable changes to `create-clubedge-app` are documented here.
|
|
4
4
|
|
|
5
|
+
## 0.1.1
|
|
6
|
+
|
|
7
|
+
- Keep CLI spinners out of Git and pnpm subprocess output so terminal progress remains readable.
|
|
8
|
+
|
|
5
9
|
## 0.1.0
|
|
6
10
|
|
|
7
11
|
- Initial CLI release: scaffold the Clubedge Starter reference repository into a new project directory.
|
package/bin/create.mjs
CHANGED
|
@@ -212,20 +212,18 @@ async function createProject(options) {
|
|
|
212
212
|
}
|
|
213
213
|
|
|
214
214
|
if (options.git) {
|
|
215
|
-
|
|
216
|
-
gitSpinner.start("Initializing Git");
|
|
215
|
+
console.log("\nInitializing Git...");
|
|
217
216
|
await initializeGit(projectDirectory);
|
|
218
|
-
|
|
217
|
+
console.log("Git repository initialized on main");
|
|
219
218
|
}
|
|
220
219
|
|
|
221
220
|
if (options.install) {
|
|
222
|
-
|
|
223
|
-
installSpinner.start("Installing dependencies with pnpm");
|
|
221
|
+
console.log("\nInstalling dependencies with pnpm...\n");
|
|
224
222
|
try {
|
|
225
223
|
await run("pnpm", ["install"], projectDirectory);
|
|
226
|
-
|
|
224
|
+
console.log("\nDependencies installed");
|
|
227
225
|
} catch (error) {
|
|
228
|
-
|
|
226
|
+
console.error("\nProject created; dependency installation did not complete.");
|
|
229
227
|
console.error(error instanceof Error ? error.message : error);
|
|
230
228
|
console.error("Install pnpm with Corepack, then run `pnpm install` in the new project.");
|
|
231
229
|
}
|
package/package.json
CHANGED