-
Notifications
You must be signed in to change notification settings - Fork 116
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
Update tsconfig.json target to es2020
#2604
Conversation
Updates the target to es2020 to avoid downleveling features that should be baked into all of our supported browsers
🦋 Changeset detectedLatest commit: 4c9874f 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 |
.changeset/stupid-pears-flow.md
Outdated
@@ -0,0 +1,5 @@ | |||
--- | |||
"@primer/view-components": patch |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this could be considered breaking, but I don't know that it actually needs to be, if we don't believe this package is used by consumers who don't have a transpile step
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We don't release major versions of PVC at the moment. I would bump the minor version for this change, since it's not necessarily backwards-compatible.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Makes sense! I went back and forth between them! Updated
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just one comment, I'm a 👍 otherwise.
.changeset/stupid-pears-flow.md
Outdated
@@ -0,0 +1,5 @@ | |||
--- | |||
"@primer/view-components": patch |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We don't release major versions of PVC at the moment. I would bump the minor version for this change, since it's not necessarily backwards-compatible.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you! 🎉
What are you trying to accomplish?
Updates the target to es2020 to avoid downleveling features that should be baked into all of our supported browsers
Integration
No changes to production code
List the issues that this change affects.
fixes #2605
Closes # (type the GitHub issue number after #)
Risk Assessment
What approach did you choose and why?
Update tsconfig
Anything you want to highlight for special attention from reviewers?
Do we need to consider this a breaking change? Most consumers should be downleveling this if they need additional support, but technically it could be considered as such
Accessibility
Merge checklist
Take a look at the What we look for in reviews section of the contributing guidelines for more information on how we review PRs.