-
Notifications
You must be signed in to change notification settings - Fork 951
feat: upgrade conventional commit packages #4082 #4597
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
base: master
Are you sure you want to change the base?
Conversation
- Remove debug console.error from test utilities - Add parser field to ParserPreset interface for v8 presets - Improve preset override logic to handle nested parser options - Clean up orphaned dependencies in yarn.lock
PR Compliance Guide 🔍Below is a summary of compliance checks for this PR:
Compliance status legend🟢 - Fully Compliant🟡 - Partial Compliant 🔴 - Not Compliant ⚪ - Requires Further Human Verification 🏷️ - Compliance label |
||||||||||||||||||||||||||||
|
This pull request is automatically built and testable in CodeSandbox. To see build info of the built libraries, click here or the icon next to each commit SHA. |
This comment was marked as outdated.
This comment was marked as outdated.
…edback - Clarify comment for user-provided parser options handling - Add selective error logging in test module resolution (only logs unexpected errors) - Use nullish coalescing to preserve empty string semantics in parsed fields
PR Compliance Guide 🔍Below is a summary of compliance checks for this PR:
Compliance status legend🟢 - Fully Compliant🟡 - Partial Compliant 🔴 - Not Compliant ⚪ - Requires Further Human Verification 🏷️ - Compliance label |
|||||||||||||||||||||||||||
This comment was marked as resolved.
This comment was marked as resolved.
Replace complex reduceRight logic with simpler lastIndexOf + slice approach for improved readability while maintaining identical behavior.
User description
Fixes: #4082
PR Type
Enhancement
Description
Upgrade conventional-commits-parser to v6 and conventional-changelog packages
Replace deprecated
Optionstype withParserOptionsacross codebaseUpdate parser implementation to use
CommitParserclass instead ofsyncfunctionAdd
parserfield toParserPresetinterface for v8 preset compatibilityImprove dependency resolution fallback logic in test utilities
Align parser options handling with new preset structure (
parservsparserOpts)Diagram Walkthrough
File Walkthrough
7 files
Migrate to CommitParser class and new preset structureUpdate type import to use ParserOptionsUpdate type import to use ParserOptionsAdd parser field to ParserPreset interfaceUpdate type import to use ParserOptionsSupport both parser and parserOpts preset fieldsImprove dependency resolution with require.resolve fallback8 files
Upgrade parser and angular changelog dependenciesReplace @types dependency with direct parser dependencyUpgrade conventionalcommits preset to v9Upgrade conventional-changelog-atom dependencyUpgrade conventionalcommits fixture dependencyUpgrade conventionalcommits fixture dependencyUpgrade atom changelog fixture dependencyUpgrade angular changelog and add parser dependency3 files
Adapt test to handle new preset parser structureUpdate tests to use new parser field from presetsUpdate test to use new parser field from presets