zdev 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/dist/index.js +6 -6
- package/package.json +1 -1
- package/src/commands/create.ts +2 -2
- package/src/commands/list.ts +2 -2
- package/src/commands/start.ts +2 -2
package/dist/index.js
CHANGED
|
@@ -2379,7 +2379,7 @@ async function create(projectName, options = {}) {
|
|
|
2379
2379
|
run("git", ["commit", "-m", "Initial commit from zdev create"], { cwd: targetPath });
|
|
2380
2380
|
console.log(` Git initialized`);
|
|
2381
2381
|
console.log(`
|
|
2382
|
-
${"
|
|
2382
|
+
${"-".repeat(50)}`);
|
|
2383
2383
|
console.log(`✅ Project "${projectName}" created!
|
|
2384
2384
|
`);
|
|
2385
2385
|
console.log(`\uD83D\uDCC1 Location: ${targetPath}`);
|
|
@@ -2393,7 +2393,7 @@ ${"─".repeat(50)}`);
|
|
|
2393
2393
|
console.log(` bunx convex dev # Setup Convex project`);
|
|
2394
2394
|
}
|
|
2395
2395
|
console.log(` bun dev # Start dev server`);
|
|
2396
|
-
console.log(`${"
|
|
2396
|
+
console.log(`${"-".repeat(50)}`);
|
|
2397
2397
|
}
|
|
2398
2398
|
|
|
2399
2399
|
// src/commands/init.ts
|
|
@@ -2655,7 +2655,7 @@ async function start(featureName, projectPath = ".", options = {}) {
|
|
|
2655
2655
|
config.allocations[worktreeName] = allocation;
|
|
2656
2656
|
saveConfig(config);
|
|
2657
2657
|
console.log(`
|
|
2658
|
-
${"
|
|
2658
|
+
${"-".repeat(50)}`);
|
|
2659
2659
|
console.log(`✅ Feature "${featureName}" is ready!
|
|
2660
2660
|
`);
|
|
2661
2661
|
console.log(`\uD83D\uDCC1 Worktree: ${worktreePath}`);
|
|
@@ -2667,7 +2667,7 @@ ${"─".repeat(50)}`);
|
|
|
2667
2667
|
\uD83D\uDCDD Commands:`);
|
|
2668
2668
|
console.log(` cd ${worktreePath}`);
|
|
2669
2669
|
console.log(` zdev stop ${featureName} --project ${fullPath}`);
|
|
2670
|
-
console.log(`${"
|
|
2670
|
+
console.log(`${"-".repeat(50)}`);
|
|
2671
2671
|
}
|
|
2672
2672
|
|
|
2673
2673
|
// src/commands/stop.ts
|
|
@@ -2763,7 +2763,7 @@ async function list(options = {}) {
|
|
|
2763
2763
|
console.log(`\uD83D\uDD17 Traefik: not running`);
|
|
2764
2764
|
}
|
|
2765
2765
|
console.log(`
|
|
2766
|
-
${"
|
|
2766
|
+
${"-".repeat(60)}`);
|
|
2767
2767
|
if (allocations.length === 0) {
|
|
2768
2768
|
console.log(`
|
|
2769
2769
|
No active features.
|
|
@@ -2793,7 +2793,7 @@ No active features.
|
|
|
2793
2793
|
console.log(` Started: ${new Date(alloc.started).toLocaleString()}`);
|
|
2794
2794
|
console.log();
|
|
2795
2795
|
}
|
|
2796
|
-
console.log(`${"
|
|
2796
|
+
console.log(`${"-".repeat(60)}`);
|
|
2797
2797
|
console.log(`
|
|
2798
2798
|
Commands:`);
|
|
2799
2799
|
console.log(` zdev stop <feature> Stop servers for a feature`);
|
package/package.json
CHANGED
package/src/commands/create.ts
CHANGED
|
@@ -365,7 +365,7 @@ export async function create(
|
|
|
365
365
|
console.log(` Git initialized`);
|
|
366
366
|
|
|
367
367
|
// Summary
|
|
368
|
-
console.log(`\n${"
|
|
368
|
+
console.log(`\n${"-".repeat(50)}`);
|
|
369
369
|
console.log(`✅ Project "${projectName}" created!\n`);
|
|
370
370
|
console.log(`📁 Location: ${targetPath}`);
|
|
371
371
|
console.log(`\n📝 Next steps:`);
|
|
@@ -377,5 +377,5 @@ export async function create(
|
|
|
377
377
|
console.log(` bunx convex dev # Setup Convex project`);
|
|
378
378
|
}
|
|
379
379
|
console.log(` bun dev # Start dev server`);
|
|
380
|
-
console.log(`${"
|
|
380
|
+
console.log(`${"-".repeat(50)}`);
|
|
381
381
|
}
|
package/src/commands/list.ts
CHANGED
|
@@ -31,7 +31,7 @@ export async function list(options: ListOptions = {}): Promise<void> {
|
|
|
31
31
|
console.log(`🔗 Traefik: not running`);
|
|
32
32
|
}
|
|
33
33
|
|
|
34
|
-
console.log(`\n${"
|
|
34
|
+
console.log(`\n${"-".repeat(60)}`);
|
|
35
35
|
|
|
36
36
|
if (allocations.length === 0) {
|
|
37
37
|
console.log(`\nNo active features.\n`);
|
|
@@ -71,7 +71,7 @@ export async function list(options: ListOptions = {}): Promise<void> {
|
|
|
71
71
|
console.log();
|
|
72
72
|
}
|
|
73
73
|
|
|
74
|
-
console.log(`${"
|
|
74
|
+
console.log(`${"-".repeat(60)}`);
|
|
75
75
|
console.log(`\nCommands:`);
|
|
76
76
|
console.log(` zdev stop <feature> Stop servers for a feature`);
|
|
77
77
|
console.log(` zdev clean <feature> Remove worktree after merge`);
|
package/src/commands/start.ts
CHANGED
|
@@ -292,7 +292,7 @@ export async function start(
|
|
|
292
292
|
saveConfig(config);
|
|
293
293
|
|
|
294
294
|
// Summary
|
|
295
|
-
console.log(`\n${"
|
|
295
|
+
console.log(`\n${"-".repeat(50)}`);
|
|
296
296
|
console.log(`✅ Feature "${featureName}" is ready!\n`);
|
|
297
297
|
console.log(`📁 Worktree: ${worktreePath}`);
|
|
298
298
|
console.log(`🌐 Local: http://localhost:${ports.frontend}`);
|
|
@@ -302,5 +302,5 @@ export async function start(
|
|
|
302
302
|
console.log(`\n📝 Commands:`);
|
|
303
303
|
console.log(` cd ${worktreePath}`);
|
|
304
304
|
console.log(` zdev stop ${featureName} --project ${fullPath}`);
|
|
305
|
-
console.log(`${"
|
|
305
|
+
console.log(`${"-".repeat(50)}`);
|
|
306
306
|
}
|