-
-
Notifications
You must be signed in to change notification settings - Fork 4.2k
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
Making a release with new options / 1.19.0 “post mortem” #6887
Comments
@lydell If I understand correctly, what's missing in the release script is to change |
Another way would be to default |
Is this still a problem? There will be a new option in |
No longer a problem. The version in |
All options in Prettier have a
since: "x.y.z"
field.The new option in 1.19,
vueIndentScriptAndStyle
, hadsince: "1.19.0"
.prettier --support-info
apparently does not print stuff with a highersince
version than is specified in package.json.The release script bumps the version in package.json and then runs the tests. The tests for
prettier --support-info
then fail, because now it returns the new option added in 1.19.0 which isn’t in the snapshots.I worked around this issue by first making a commit where I bumped the version in package.json to
1.19.0-beta.1
and updated the snapshots:057e15d
However, we now have this in our code:
The questions of this issue are:
IsEDIT: Changed tosince: "1.19.0-beta.1"
a problem?since: "1.19.0"
in 1.19.1.vueIndentScriptAndStyle
have done something differently?@duailibe do you have any insight?
The text was updated successfully, but these errors were encountered: