-
Notifications
You must be signed in to change notification settings - Fork 199
Refactor/use babel 6 #269
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
Open
Scarysize
wants to merge
3
commits into
master
Choose a base branch
from
refactor/use-babel-6
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Refactor/use babel 6 #269
Changes from all commits
Commits
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 hidden or 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,4 +1,12 @@ | ||
| { | ||
| "stage": 0, | ||
| "loose": "all" | ||
| "presets": [ | ||
| "react", | ||
| "es2015" | ||
| ], | ||
| "plugins": [ | ||
| "transform-object-rest-spread", | ||
| "transform-class-properties", | ||
| "transform-decorators-legacy", | ||
| "transform-export-extensions" | ||
| ] | ||
| } |
This file contains hidden or 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,3 +1,12 @@ | ||
| { | ||
| "stage": 0 | ||
| "presets": [ | ||
| "react", | ||
| "es2015" | ||
| ], | ||
| "plugins": [ | ||
| "transform-object-rest-spread", | ||
| "transform-class-properties", | ||
| "transform-decorators-legacy", | ||
| "transform-export-extensions" | ||
| ] | ||
| } |
This file contains hidden or 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 |
|---|---|---|
|
|
@@ -5,7 +5,7 @@ | |
| "main": "server.js", | ||
| "scripts": { | ||
| "test": "echo \"Error: no test specified\" && exit 1", | ||
| "start": "node -r babel/register server.js" | ||
| "start": "node -r babel-core/register server.js" | ||
| }, | ||
| "author": "Andrew Clark <[email protected]>", | ||
| "license": "MIT", | ||
|
|
||
This file contains hidden or 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 |
|---|---|---|
|
|
@@ -8,15 +8,18 @@ | |
| "author": "Andrew Clark <[email protected]>", | ||
| "license": "MIT", | ||
| "devDependencies": { | ||
| "babel": "^5.8.23", | ||
| "babel-core": "^5.8.23", | ||
| "babel-loader": "^5.3.2", | ||
| "babel-plugin-react-transform": "^1.0.3", | ||
| "babel-runtime": "^5.8.20", | ||
| "babel-cli": "^6.10.1", | ||
| "babel-core": "^6.2.1", | ||
| "babel-loader": "^6.2.4", | ||
| "babel-plugin-transform-class-properties": "^6.11.5", | ||
| "babel-plugin-transform-decorators-legacy": "^1.3.4", | ||
| "babel-plugin-transform-export-extensions": "^6.8.0", | ||
| "babel-plugin-transform-object-rest-spread": "^6.8.0", | ||
| "babel-preset-es2015": "^6.1.18", | ||
| "babel-preset-react": "^6.1.18", | ||
| "express": "^4.13.3", | ||
| "lodash": "^3.10.1", | ||
| "query-string": "^2.4.1", | ||
| "react-transform-hmr": "^1.0.1", | ||
| "redux": "^2.0.0", | ||
| "serialize-javascript": "^1.1.2", | ||
| "webpack": "^1.12.1", | ||
|
|
||
This file contains hidden or 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 |
|---|---|---|
|
|
@@ -5,7 +5,7 @@ | |
| "main": "server.js", | ||
| "scripts": { | ||
| "test": "echo \"Error: no test specified\" && exit 1", | ||
| "start": "node -r babel/register server.js" | ||
| "start": "node -r babel-core/register server.js" | ||
| }, | ||
| "author": "Andrew Clark <[email protected]>", | ||
| "license": "MIT", | ||
|
|
||
This file contains hidden or 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 hidden or 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 hidden or 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
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.
@halt-hammerzeit I had to remove this error message after the babel6 update. Could you take look?
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.
@Scarysize don't know why is that. if you redid
npm installthen maybe React got updated to 15.3https://twitter.com/reactjs/status/759099486513704961
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.
No
npm ls | grep reactshows me[email protected]. Seems to be the correct minor version.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.
@Scarysize So what is the error message now?
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.
Basically the two other Strings the test checks for.
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.
@Scarysize I meant what was the error message in your terminal when running tests before you removed the lines
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.
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.
@Scarysize Well then why do you ask me in the first place and also delete the test line when it tells you in plain English what needs to be corrected.
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.
I wanted your opinion on the matter, because you added the test. I don't want to blindly remove stuff from tests, just to make them pass.
Sorry to waste your precious time 😒