Skip to content
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

Upgrade babel dependencies #5824

Merged
merged 2 commits into from
Nov 30, 2021

Conversation

britt6612
Copy link
Collaborator

@britt6612 britt6612 commented Nov 30, 2021

What does this PR do?

This PR updates all of the babel dependencies

Where should the reviewer start?

package.json

What testing has been done on this PR?

yarn build-storybook

How should this be manually tested?

Do Jest tests follow these best practices?

  • screen is used for querying.
  • The correct query is used. (Refer to this list of queries)
  • userEvent is used in place of fireEvent.
  • asFragment() is used for snapshot testing.

Any background context you want to provide?

loose: true was already set in tools/grommet-babel-preset-es2015.js
This was throwing an error because in the storybook babel it was not set to true which was causing mismatch between the babelconfig files

also referring to this PR #5419
if we change the loose: true this will increase grommet.min.js to about 30% larger.

What are the relevant issues?

grommet/hpe-design-system#2094

Screenshots (if appropriate)

Do the grommet docs need to be updated?

no

Should this PR be mentioned in the release notes?

no

Is this change backwards compatible or is it a breaking change?

backwards compatible

Copy link
Collaborator

@jcfilben jcfilben left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me

Copy link
Collaborator

@halocline halocline left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Related to #5419 (comment)

Additional context ☝️ in this PR comment.

@ericsoderberghp ericsoderberghp merged commit 96c2abd into grommet:master Nov 30, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants