Skip to content

Conversation

@SatanshuMishra
Copy link
Member

See specific commits for a detailed list of changes. Here is a summary of the changes made:

  1. Improved cross-platform compatibility.
  2. Updated documentation to reflect global configuration as a planned feature.
  3. Optimized packaging
  4. Added emoji detection logic to identify when a terminal does NOT support it.

• Implement cross-platform command resolution (Windows 'where' vs Unix 'which')
• Support full paths in EDITOR/VISUAL environment variables
• Add Node.js engines requirement (>=18.0.0) to package.json
• Update error messages to show platform-appropriate env var syntax
• Improves compatibility on Windows, macOS, and Linux
• Remove misleading claim about global config fallback
• Add Global Configuration to Planned Features section
• Document use cases and OS-specific file locations
• Link from configuration discovery section to planned features
• Ensures documentation accurately reflects current implementation
• Add CHANGELOG.md and TESTING.md to package.json files array
• Create cross-platform clean-maps.js script to remove source maps
• Add build:prod script and prepublishOnly hook for automated cleanup
• Enhance .npmignore with explicit source map exclusion patterns
• Reduces package size by 27% (109.9 kB to 80.1 kB)
• Ensures all required documentation is included in published package
• Automates source map removal before publishing for production builds
• Remove changeset files that have been consolidated into CHANGELOG
• All changeset content has been processed and included in version 0.3.0
• Clean up temporary changeset files after release preparation
• Remove trailing newlines from source files
• Apply prettier formatting to scripts
• Ensure consistent code style across codebase
• Replace generic Error with ConfigError in config loader
• Remove TODO comments for proper error handling
• Provide structured error information with user-friendly messages
• Include actionable solutions in all error cases
• Improve error consistency across configuration loading
• Apply consistent code formatting across all command files
• Improve line breaks and spacing for better readability
• Format long parameter lists and function calls
• Ensure consistent code style in commit, preview, revert, and test commands
• Format long lines in config defaults for better readability
• Apply consistent formatting to index entry points
• Improve code style consistency across codebase
• Add version 0.3.0 release notes to CHANGELOG
• Consolidate all changeset content into changelog entries
• Improve README formatting with better markdown spacing
• Enhance TESTING.md documentation with clearer formatting
• Document all new features and improvements from changesets
• Update package version from 0.2.0 to 0.3.0
• Prepare for release with consolidated changeset content
• Add emoji detection utility with industry-standard heuristics
• Implement automatic emoji stripping for non-emoji terminals
• Always store Unicode emojis in Git commits regardless of terminal
• Update all command displays to adapt based on terminal capabilities
• Ensure GitHub and emoji terminals show emojis correctly
• Improve UX by cleaning broken emoji symbols on non-emoji terminals
• Update displayPreview to strip emojis for non-emoji terminals
• Update commit success messages to use emoji-stripped display
• Pass emojiModeActive flag through commit workflow
• Maintain clean output on non-emoji terminals while preserving Git storage
• Update displayCommitList and displayCommitDetails to strip emojis
• Detect emoji support independently in preview command
• Adapt commit subject and body display based on terminal capabilities
• Ensure clean output on non-emoji terminals
• Update displayRevertCommitList and displayRevertConfirmation to strip emojis
• Detect emoji support independently in revert command
• Adapt commit subject display based on terminal capabilities
• Update revert success messages to use emoji-stripped display
• Ensure clean output on non-emoji terminals
• Preview now displays exact commit message as stored in Git
• Removed emoji stripping from preview display logic
• Users can see emojis even if terminal doesn't support display
• Ensures preview accurately reflects Git/GitHub commit message
• Fixes issue where emojis were hidden on non-emoji terminals
• Add {emoji} placeholder to template in buildConfig function
• Generated configs now include {emoji} in format.template field
• Fixes issue where emojis didn't appear in commits when enabled
• Template now matches default config structure with emoji support
• Ensures formatCommitMessage can properly replace emoji placeholder
• Process changesets and update version from 0.3.0 to 0.4.0
• Update CHANGELOG.md with emoji detection feature and fixes
• Remove processed changeset files
• Includes emoji detection, preview fix, and template fix
• Format emoji utility module (remove trailing newline)
• Format config loader (improve line breaks for readability
• Format function call arguments for better readability
• Improve line breaks in commit, preview, and revert commands
• Consistent formatting across all command handlers
@SatanshuMishra SatanshuMishra self-assigned this Nov 30, 2025
@changeset-bot
Copy link

changeset-bot bot commented Nov 30, 2025

🦋 Changeset detected

Latest commit: bef206c

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
@labcatr/labcommitr Minor

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@SatanshuMishra SatanshuMishra added ci Documents a change to our CI pipeline pr labels Nov 30, 2025
@SatanshuMishra SatanshuMishra merged commit c1acaca into main Nov 30, 2025
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ci Documents a change to our CI pipeline pr

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants