Skip to content
This repository has been archived by the owner on Jun 8, 2019. It is now read-only.

Babel 7 upgrade #145

Merged
merged 7 commits into from
Sep 12, 2018
Merged

Babel 7 upgrade #145

merged 7 commits into from
Sep 12, 2018

Conversation

bj00rn
Copy link
Contributor

@bj00rn bj00rn commented Aug 23, 2018

Upgrade to Babel 7

Resolves: #146 #132 #122

@ykzts
Copy link
Contributor

ykzts commented Aug 28, 2018

@bj00rn
Copy link
Contributor Author

bj00rn commented Aug 29, 2018

@ykzts 👍

@@ -155,7 +156,7 @@ function transform(filePath, options = {}, {multiplePasses = false} = {}) {
return [plugin, {
...BASE_OPTIONS,
...options,
}];
}, uuidv1()];
Copy link
Contributor Author

Choose a reason for hiding this comment

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

somewhat dirty fix, need to add random string suffix to allow plugin to run more than once

@tstirrat15
Copy link

Two things: one is that Babel 7.0.0 (i.e. non-beta) is out. Is it worth upgrading directly to that?

The other is that I'd love to see this work go through. What's the status? Is there any way that I can help it along?

@bj00rn
Copy link
Contributor Author

bj00rn commented Aug 30, 2018

@tstirrat15 moved to 7.0

@bj00rn
Copy link
Contributor Author

bj00rn commented Aug 31, 2018

@ericf what are the chances of having this merged?

@@ -1,8 +1,6 @@
sudo: false
language: node_js
node_js:
- 4.2
- 5
- 6
Copy link
Member

Choose a reason for hiding this comment

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

I think we should have testing on v8 and v10 right now.

Copy link
Contributor Author

@bj00rn bj00rn Sep 4, 2018

Choose a reason for hiding this comment

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

seems a little out-of-scope for this, dont you think? maybe a separate PR for this?

package.json Outdated
@@ -10,29 +10,33 @@
"main": "lib/index.js",
"author": "Eric Ferraiuolo <[email protected]>",
"dependencies": {
"babel-runtime": "^6.2.0",
"@babel/runtime": "7.0.0",
Copy link
Member

Choose a reason for hiding this comment

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

Why it's not semver style like ^7.0.0? any concern?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

fixed. thanks

didn't notice. i just ran babel-upgrade https://github.com/babel/babel-upgrade

@redonkulus redonkulus mentioned this pull request Sep 10, 2018
Copy link
Member

@redonkulus redonkulus left a comment

Choose a reason for hiding this comment

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

I'm ok with this. We are going to need to release this as a major version bump.

@okuryu once you approve, we can merge and release.

Copy link
Member

@okuryu okuryu left a comment

Choose a reason for hiding this comment

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

👍

@okuryu okuryu merged commit def4084 into formatjs:master Sep 12, 2018
@okuryu okuryu mentioned this pull request Sep 12, 2018
@okuryu
Copy link
Member

okuryu commented Sep 12, 2018

I just published [email protected]. Please try to test!

@@ -4,7 +4,7 @@
* See the accompanying LICENSE file for terms.
*/

import * as p from 'path';
Copy link

Choose a reason for hiding this comment

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

Issue seems to be here where upath is clearly used in library code, but not added to normal dependencies but only devDependencies.

Copy link
Member

Choose a reason for hiding this comment

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

@serwer-WittGruppe want to test it out and open a PR with the fix?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants