create-cabloy 5.0.7 → 5.0.9

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.9";
2
2
  const _package = {
3
3
  version: version};
4
4
 
package/dist/index.mjs CHANGED
@@ -170,19 +170,31 @@ 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(pc.yellow("npm run init:test-data failed. You can try running it manually later."));
189
+ } else {
190
+ s3.stop("Test data initialized successfully!");
191
+ }
181
192
  }
182
193
  p.outro(
183
194
  `${pc.green(" Done! ")}Next steps:
184
195
  ${pc.dim(` cd ${result.projectName}
185
- `)}${pc.dim(" npm run dev\n")}`
196
+ `)}${pc.dim(" claude\n")}${pc.dim(" npm run dev\n")}
197
+ Open this project in Claude Code and start coding immediately with project-specific guidance.`
186
198
  );
187
199
  }
188
200
  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.9",
4
+ "gitHead": "69a9c7e1a934ea08b8c8b1dbb3066e47dbaf270f",
5
5
  "description": "Create a new Cabloy project - npm create cabloy",
6
6
  "keywords": [
7
7
  "cabloy",