create-cabloy 5.0.7 → 5.0.10

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.
@@ -1,4 +1,4 @@
1
- const version = "5.0.7";
1
+ const version = "5.0.10";
2
2
  const _package = {
3
3
  version: version};
4
4
 
package/dist/index.mjs CHANGED
@@ -170,19 +170,33 @@ async function main() {
170
170
  }
171
171
  const s2 = p.spinner();
172
172
  s2.start("Running npm run init...");
173
- const exitCode = await spawnAsync("npm", ["run", "init"], {
173
+ const initExitCode = await spawnAsync("npm", ["run", "init"], {
174
174
  cwd: targetDir
175
175
  });
176
- if (exitCode !== 0) {
176
+ if (initExitCode !== 0) {
177
177
  s2.stop("Init failed", 1);
178
178
  p.log.error(pc.red("npm run init failed. You can try running it manually."));
179
179
  } else {
180
180
  s2.stop("Project initialized successfully!");
181
+ const s3 = p.spinner();
182
+ s3.start("Initializing test data...");
183
+ const testDataExitCode = await spawnAsync("npm", ["run", "init:test-data"], {
184
+ cwd: targetDir
185
+ });
186
+ if (testDataExitCode !== 0) {
187
+ s3.stop("Test data initialization skipped", 1);
188
+ p.log.warn(
189
+ pc.yellow("npm run init:test-data failed. You can try running it manually later.")
190
+ );
191
+ } else {
192
+ s3.stop("Test data initialized successfully!");
193
+ }
181
194
  }
182
195
  p.outro(
183
196
  `${pc.green(" Done! ")}Next steps:
184
197
  ${pc.dim(` cd ${result.projectName}
185
- `)}${pc.dim(" npm run dev\n")}`
198
+ `)}${pc.dim(" claude\n")}${pc.dim(" npm run dev\n")}
199
+ Open this project in Claude Code and start coding immediately with project-specific guidance.`
186
200
  );
187
201
  }
188
202
  main().catch((err) => {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "create-cabloy",
3
- "version": "5.0.7",
4
- "gitHead": "e6a1371c4db1c9c17fb4825aeabe82ad7519c5da",
3
+ "version": "5.0.10",
4
+ "gitHead": "d70afe00db04b97066890b665b3c5cc22f6a9cad",
5
5
  "description": "Create a new Cabloy project - npm create cabloy",
6
6
  "keywords": [
7
7
  "cabloy",