-
Notifications
You must be signed in to change notification settings - Fork 0
Error Handling, Documentation and More #30
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
• 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
This reverts commit 77296fc.
🦋 Changeset detectedLatest commit: bef206c The changes in this PR will be included in the next version bump. This PR includes changesets to release 1 package
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 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
See specific commits for a detailed list of changes. Here is a summary of the changes made:
globalconfiguration as a planned feature.