itty-packager 1.6.8 โ 1.6.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.
- package/lib/commands/release.js +3 -3
- package/package.json +1 -1
package/lib/commands/release.js
CHANGED
|
@@ -509,7 +509,7 @@ This creates a clean, flat package structure in node_modules.
|
|
|
509
509
|
await runCommand(`git commit -m "${commitMessage}"`, rootPath, verbose)
|
|
510
510
|
} catch (error) {
|
|
511
511
|
if (error.message.includes('cancelled')) {
|
|
512
|
-
console.log('
|
|
512
|
+
console.log('โ Commit cancelled - reverting version and exiting')
|
|
513
513
|
// Revert the version we just updated
|
|
514
514
|
await fs.writeJSON(pkgPath, originalPkg, { spaces: 2 })
|
|
515
515
|
// Don't rethrow - exit cleanly since this is user-initiated
|
|
@@ -537,7 +537,7 @@ This creates a clean, flat package structure in node_modules.
|
|
|
537
537
|
|
|
538
538
|
// NPM publish as final step
|
|
539
539
|
if (dryRun) {
|
|
540
|
-
console.log('
|
|
540
|
+
console.log('๐ธ Dry run - skipping publish')
|
|
541
541
|
} else {
|
|
542
542
|
// Publish from temp directory
|
|
543
543
|
console.log(`๐ Publishing to npm...`)
|
|
@@ -559,7 +559,7 @@ This creates a clean, flat package structure in node_modules.
|
|
|
559
559
|
await fs.remove(tempDir)
|
|
560
560
|
}
|
|
561
561
|
|
|
562
|
-
console.log(
|
|
562
|
+
console.log(`๐ Successfully released ${originalPkg.name}@${newVersion}`)
|
|
563
563
|
|
|
564
564
|
} catch (error) {
|
|
565
565
|
console.error(`โ Release failed: ${error.message}`)
|