Upgrade dependency @types/prettier from ^2.0.0 to ^3.0.0 | Hypermod.io#261
Open
github-actions[bot] wants to merge 1 commit intomainfrom
Open
Upgrade dependency @types/prettier from ^2.0.0 to ^3.0.0 | Hypermod.io#261github-actions[bot] wants to merge 1 commit intomainfrom
github-actions[bot] wants to merge 1 commit intomainfrom
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.
Automated update for @types/prettier to version 3.0.0.
The @types/prettier major version update to 3.0.0 involves critical changes due to Prettier's shift to ECMAScript Modules, changes to plugin interfaces, and other adjustments detailed below.
Description
This update will migrate @types/prettier from version 2.0.0 to 3.0.0, reflecting significant changes in the Prettier 3.0 release. Updates include new module styles, alterations to plugin and parser functionality, and configuration changes such as the default trailing comma behavior.
Workflow
Step 1
Ensure all Prettier plugins and dependencies are compatible with ECMAScript Modules.
Step 2
Update Prettier configuration files to support ECMAScript Modules, if applicable.
Step 3
Update any Prettier CLI commands to reflect new script paths and configurations.
Step 4
Adapt to changes in trailing commas if your project relies on them (default is now
'all').Step 5
For projects using ".css" parser, update settings to avoid confusion with Less or Scss by specifying correct parsers or removing parser option for autodetection.
Potential Issues
Other Dependencies
Dependencies potentially affected by the upgrade:
References
Workflow:
Upgrade Dependency
Move File
Move File
@types/prettier@3.0.0-cli-command-updates
Create File
"trailingComma": "es5"
}
PR created automatically by the Hypermod Dependency Bot configured by: Daniel Del Core.
Deployment created using Hypermod.io 💫
documentation | support