Skip to content

Conversation

@collin
Copy link
Contributor

@collin collin commented Aug 3, 2018

We had a stackathon student run into deprecation warnings for the stage-* babel presets.

Looks like those preset bundles are on the way out in favor of explicit opt-in.

I ran the codemod from babel: https://github.com/babel/babel-upgrade

And this is the result.

@collin collin requested review from glebec and tmkelly28 August 3, 2018 14:56
@collin collin closed this Aug 3, 2018
@collin collin reopened this Aug 3, 2018
@glebec
Copy link
Member

glebec commented Aug 3, 2018

Closes #126

"@babel/env"
/*
Babel uses these "presets" to know how to transpile your Javascript code. Here's what we're saying with these:
Copy link
Member

Choose a reason for hiding this comment

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

is there a reason for losing this line break? It seems arbitrary.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

No, just a copy/paste issue when putting the .babelrc back together.

Copy link
Member

@glebec glebec left a comment

Choose a reason for hiding this comment

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

This upgrades a lot of seemingly-unrelated packages. Are we concerned about that?

@collin
Copy link
Contributor Author

collin commented Aug 3, 2018

I am ambivalent re: the other package updates.

In theory they are all minor upgrades, but that's no guarantee.

Our micro test-suite passes... so do we feel good about that?

( This is a potential argument a blessed grace-shopper solution with tests that can stand as a QA tool for boilermaker upgrades. )

@glebec
Copy link
Member

glebec commented Aug 3, 2018

I feel similarly. Just wanted to bring it up as a sanity check.

@glebec glebec merged commit 8f51518 into master Aug 3, 2018
@glebec glebec deleted the babel-update branch August 3, 2018 15:19
EthanG19 pushed a commit to D3Doritos/AllSign that referenced this pull request Nov 26, 2019
* ran babel-upgrade to keep up with beta

* restore whitespace in .babelrc comments
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.

3 participants