-
-
Notifications
You must be signed in to change notification settings - Fork 9.3k
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
Babel 7 #3746
+4,600
−5,285
Merged
Babel 7 #3746
Changes from all commits
Commits
Show all changes
84 commits
Select commit
Hold shift + click to select a range
c704d60
Initial move to babel 7
Hypnosphi 69cc530
Merge remote-tracking branch 'origin/master' into babel-7
Hypnosphi cb988d0
Move lib/core to babel@7
Hypnosphi a4f9a2e
Move back to .babelrc
Hypnosphi 084671c
Fix lint error
Hypnosphi 113c182
Merge master
Hypnosphi 73dc63b
Update dependencies
Hypnosphi b6153d1
Merge master
Hypnosphi 0f93c5e
Add @babel/runtime dependency to all the packages with server-side part
Hypnosphi ee5c7c7
Update dependencies
Hypnosphi 720bb23
Migration guide
Hypnosphi e496dfb
Update CLI
Hypnosphi 87312a6
Fix vue build
Hypnosphi a050bcb
Update lockfile
Hypnosphi 74475b9
Fix jest
Hypnosphi c4e468a
Fix jest
Hypnosphi ee6472d
Fix RN test
Hypnosphi 170160d
Revert CLI changes for RN
Hypnosphi 3c0e383
Add babel-loader peer dep
Hypnosphi 6da0f7a
Commit snapshot
Hypnosphi 4b169ab
Fix version choice logic
Hypnosphi ba544ef
Merge branch 'master' into babel-7
ndelangen d0b7972
FIX snapshots
ndelangen e0ad03d
Merge branch 'master' into babel-7
ndelangen a87d16d
FIX snapshots
ndelangen 0ec2bc0
REMOVE smoke-tests in cli (static build examples are now all in teamc…
ndelangen 6371e1f
Merge branch 'master' into babel-7
ndelangen a039c96
Merge branch 'master' into babel-7
ndelangen 6e2d8c1
UPDATE "babel-plugin-react-docgen": "^2.0.0-babel7.0",
ndelangen a8e41c9
REVERT incorrect removal of package relating to angular
ndelangen fe86390
REMOVE unneeded tslint config
ndelangen e6c055c
FIX snapshots
ndelangen bf3c2e5
UPGRADE to babel7-rc.1
ndelangen b649f24
REMOVE stage presets and replace with plugins we need
ndelangen f7cd337
FIX eslint
ndelangen 9a1abf2
FIX cli-tests
ndelangen 3ae34e5
FIX cli test snapshots
ndelangen 850b083
FIX angular example with a hack?
ndelangen 1209703
REVERT changes to angular require-context (BROKEN)
ndelangen 7ed57a8
FIX a warning in polymer storybook
ndelangen 04f6ef8
Fix jest-ts-babel.js
igor-dv 3c027a4
Try to fix CLI
igor-dv 41d6168
CHANGE tot use babel7 everywhere (not just for our own build, but als…
ndelangen 29e1c02
SORT package.json files
ndelangen 107f5e0
FIX cli snapshots
ndelangen f627592
FIX incorrect dependency in app/html
ndelangen 2b4f05b
FIX lockfile
ndelangen f36869a
TEMP FIX for hyperapp in netlify
ndelangen df723e0
REVERT deletion of smoke tests on cli output && REVERT babel6 cli fix…
ndelangen 61d5c09
REVERT version-change for react in app/html
ndelangen 224e1f9
UPDATE react & react-dom for app/svelte
ndelangen aadd8f0
CHANGE the installBabel to only install babel-loader & RENAME to inst…
ndelangen 4fcf8cb
FIX snapshots
ndelangen 3dec3ba
FIX lockfile
ndelangen 5b9226b
CHANGE docs for migrating to babel 7
ndelangen c6dd3e4
REMOVE unneeded dependency
ndelangen 773821d
CHANGE cli tests to e2e
ndelangen bfccae4
FIX package.json
ndelangen bbf7d8a
no message
ndelangen 30fe991
FIX package.json in root version
ndelangen 7b5dc84
FIX verdaccio.yaml
ndelangen 40274f9
FIX cli/run_tests to install for each run individually
ndelangen 165e996
FIX so tests are run in correct folder
ndelangen cb69d42
FIX so legacy packages *are* proxied
ndelangen 305fff1
FIX webpack-react cli example
ndelangen f8332e7
CHANGE meteor generator babel file
ndelangen c0cd951
REMOVE the babel-root-slash-import module completely. It's not used b…
ndelangen 7102951
Merge branch 'master' into babel-7
ndelangen 451b8af
CHANGE teamcity config to test cli e2e via new script
ndelangen a05565b
UPGRADE to rc.2
ndelangen 72e4b84
REVERT ci tests for ci via yarn test --cli
ndelangen ad78be3
CHANGE to silent installs during e2e
ndelangen 70d9094
CHANGE to fixed version, otherwise they keep changing when testing
ndelangen 2028cd4
Removed the added @babel/core everywhere
pksunkara 94a049c
Revert "CHANGE the installBabel to only install babel-loader & RENAME…
pksunkara f1cf6d2
Remove unnecessary babel bridge installation in installBabel
pksunkara 9c4cff4
Use installBabel for meteor cli
pksunkara 9648d20
FIX scripts/test.js
ndelangen bb3e725
Pass registry url to lerna
pksunkara 961fdef
Fixed cli test issues
pksunkara 36a2676
Cleanup not needed anymore
Hypnosphi 489d55d
Added babel-loader to app/svelte
pksunkara 06d799c
Use 'babel-loader' without "require.resolve"
igor-dv c5f5433
Try to bring the CLI back
igor-dv File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,33 @@ | ||
{ | ||
"presets": ["env", "stage-0", "react"], | ||
"env": { | ||
"test": { | ||
"plugins": ["require-context-hook"] | ||
}, | ||
"plugins": [ | ||
"emotion", | ||
"babel-plugin-macros", | ||
["transform-runtime", { | ||
"polyfill": false, | ||
"presets": [ | ||
"@babel/preset-env", | ||
"@babel/preset-react", | ||
"@babel/preset-flow" | ||
], | ||
"plugins": [ | ||
"babel-plugin-emotion", | ||
"babel-plugin-macros", | ||
"@babel/plugin-proposal-class-properties", | ||
"@babel/plugin-proposal-export-default-from", | ||
[ | ||
"@babel/plugin-transform-runtime", | ||
{ | ||
"regenerator": true | ||
}] | ||
} | ||
] | ||
} | ||
], | ||
"env": { | ||
"test": { | ||
"plugins": ["babel-plugin-require-context-hook"] | ||
} | ||
}, | ||
"overrides": [ | ||
{ | ||
"test": "./examples/vue-kitchen-sink", | ||
"presets": [ | ||
"@babel/preset-env", | ||
"babel-preset-vue" | ||
] | ||
} | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,6 @@ | ||
import PropTypes from 'prop-types'; | ||
import React from 'react'; | ||
|
||
// TODO: FIX this dependency cycle | ||
/* eslint-disable import/no-cycle */ | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. ESLint packages update seems quite irrelevant to this PR, and it makes it harder to review =( |
||
import Shape from './Shape'; | ||
import OneOfType from './OneOfType'; | ||
import ArrayOf from './ArrayOf'; | ||
|
@@ -11,7 +9,6 @@ import OneOf from './OneOf'; | |
import InstanceOf from './InstanceOf'; | ||
import Signature from './Signature'; | ||
import Literal from './Literal'; | ||
/* eslint-enable import/no-cycle */ | ||
|
||
import { TypeInfo } from './proptypes'; | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.
Is there anything left that it still disallows?
BTW this rule is about performance so we probably shouldn't shut it up like this
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.
Shall we restrict this after merger and fix issues that come up then?
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.
Sounds good