vibecodingmachine-cli 1.0.16 → 1.0.17
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/package.json +1 -1
- package/src/utils/interactive.js +2 -13
package/package.json
CHANGED
package/src/utils/interactive.js
CHANGED
|
@@ -378,20 +378,9 @@ async function showWelcomeScreen() {
|
|
|
378
378
|
// Clear the screen
|
|
379
379
|
console.clear();
|
|
380
380
|
|
|
381
|
-
// Get version
|
|
381
|
+
// Get version from package.json
|
|
382
382
|
const pkg = require('../../package.json');
|
|
383
|
-
const
|
|
384
|
-
const year = buildDate.getFullYear();
|
|
385
|
-
const month = String(buildDate.getMonth() + 1).padStart(2, '0');
|
|
386
|
-
const day = String(buildDate.getDate()).padStart(2, '0');
|
|
387
|
-
const dateStr = `${year}.${month}.${day}`;
|
|
388
|
-
const timeStr = buildDate.toLocaleTimeString('en-US', {
|
|
389
|
-
hour: 'numeric',
|
|
390
|
-
minute: '2-digit',
|
|
391
|
-
hour12: true,
|
|
392
|
-
timeZoneName: 'short'
|
|
393
|
-
});
|
|
394
|
-
const version = `v${dateStr} ${timeStr}`;
|
|
383
|
+
const version = `v${pkg.version}`;
|
|
395
384
|
|
|
396
385
|
// Display welcome banner with version
|
|
397
386
|
console.log('\n' + boxen(
|