chore!: upgrade @oclif/core to v4 and update plugin development docs#648
Draft
AshAnand34 wants to merge 4 commits intotwilio:mainfrom
Draft
chore!: upgrade @oclif/core to v4 and update plugin development docs#648AshAnand34 wants to merge 4 commits intotwilio:mainfrom
AshAnand34 wants to merge 4 commits intotwilio:mainfrom
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
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.
Fixes #647
This pull request includes multiple updates to dependencies, code refactoring, and test improvements. The most significant changes involve upgrading the
@oclif/coredependency to version 4, replacing deprecated methods, and improving test assertions for better compatibility and readability.Dependency Updates:
@oclif/corefrom version^1.16.0to^4.3.3inpackage.jsonto use the latest features and improvements.Code Refactoring:
oclifFlagswithFlagsfrom the updated@oclif/corepackage insrc/commands/debugger/logs/list.jsand updated flag definitions to useFlags.stringinstead ofoclifFlags.stringoroclifFlags.enum.flags.enumtoflags.stringfor several flag definitions insrc/commands/phone-numbers/update.jsto align with the updated@oclif/coreAPI.compactimport from@oclif/core/lib/config/utiland replaced its usage with a direct.filter(Boolean)call insrc/services/twilio-help/twilio-command-help.js.Test Improvements:
test/hooks/init/buy-phone-number.test.jsandtest/hooks/init/twilio-api.test.jsto use optional chaining (?.) and fallback values for better compatibility with undefined properties.trimRightmethod withtrimEndin test filestest/services/twilio-help/twilio-help-doc.test.jsandtest/services/twilio-help/twilio-help.test.jsfor consistency and modern syntax.Checklist
If you have questions, please file a support ticket, or create a GitHub Issue in this repository.