itty-packager 1.6.2 → 1.6.3

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.
@@ -429,8 +429,8 @@ This creates a clean, flat package structure in node_modules.
429
429
  await fs.ensureDir(tempDir)
430
430
 
431
431
  // Copy source files to temp directory
432
- console.log(`📋 Copying files...`)
433
- if (verbose) console.log(`📋 Copying ${publishArgs.src}/ to ${path.relative(rootPath, tempDir)}/`)
432
+ console.log(`📁 Copying files...`)
433
+ if (verbose) console.log(`📁 Copying ${publishArgs.src}/ to ${path.relative(rootPath, tempDir)}/`)
434
434
 
435
435
  const filter = (src) => {
436
436
  // Always exclude node_modules
@@ -449,7 +449,6 @@ This creates a clean, flat package structure in node_modules.
449
449
  }
450
450
 
451
451
  await fs.copy(srcDir, tempDir, { filter })
452
- if (!verbose) console.log(`✅ Files copied`)
453
452
 
454
453
  // Copy root files that should be included in the package (only for non-root publishing)
455
454
  if (!isRootPublish) {
@@ -499,7 +498,6 @@ This creates a clean, flat package structure in node_modules.
499
498
  if (verbose) console.log(`Running: git add . && git commit`)
500
499
  await runCommand('git add .', rootPath, verbose)
501
500
  await runCommand(`git commit -m "${commitMessage}"`, rootPath, verbose)
502
- if (!verbose) console.log(`✅ Changes committed`)
503
501
  } catch (error) {
504
502
  if (error.message.includes('cancelled')) {
505
503
  console.log('📋 Commit cancelled - reverting version and exiting')
@@ -513,20 +511,17 @@ This creates a clean, flat package structure in node_modules.
513
511
  }
514
512
 
515
513
  if (shouldTag) {
516
- console.log(`🏷️ Creating git tag v${newVersion}`)
514
+ console.log(`🏷️ Creating git tag v${newVersion}`)
517
515
  await runCommand(`git tag -a v${newVersion} -m "Release v${newVersion}"`, rootPath, verbose)
518
- if (!verbose) console.log(`✅ Tag created`)
519
516
  }
520
517
 
521
518
  if (shouldPush) {
522
519
  console.log(`📤 Pushing to remote...`)
523
520
  await runCommand('git push', rootPath, verbose)
524
- if (!verbose) console.log(`✅ Pushed to remote`)
525
521
 
526
522
  if (shouldTag) {
527
- console.log(`📤 Pushing tags...`)
523
+ console.log(`🔖 Pushing tags...`)
528
524
  await runCommand('git push --tags', rootPath, verbose)
529
- if (!verbose) console.log(`✅ Tags pushed`)
530
525
  }
531
526
  }
532
527
  }
@@ -546,7 +541,6 @@ This creates a clean, flat package structure in node_modules.
546
541
 
547
542
  if (verbose) console.log(`Running: ${publishCmd}`)
548
543
  await runCommand(publishCmd, tempDir, verbose)
549
- if (!verbose) console.log(`✅ Published to npm`)
550
544
  }
551
545
 
552
546
  // Cleanup
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "itty-packager",
3
- "version": "1.6.2",
3
+ "version": "1.6.3",
4
4
  "description": "Universal build tool for itty libraries",
5
5
  "type": "module",
6
6
  "bin": {