-
Notifications
You must be signed in to change notification settings - Fork 492
Conversation
@nickmccurdy I messed up the deps on master, so if you could rebase then that should fix failing CI! |
I fixed the package's own peer dependencies, but it seems like there are still unmet peer dependencies in the e2e tests. Let's see if I can fix them first. |
The other errors seem to be false positives. This should be ready to merge. Sorry I couldn't figure out how to rebase these together into one commit without having to resolve the same conflicts again, could you squash merge (should be equivalent)? |
Does this fix the warnings that
|
Yes, it should. |
Nice, Jest 23 coming along. CI seems happy, any plans when this will be released? In 2.18.0 perhaps? |
@@ -2,6 +2,6 @@ | |||
|
|||
'use strict'; | |||
|
|||
const tsJestPreprocessor = require('ts-jest/preprocessor'); | |||
const tsJestPreprocessor = require('ts-jest'); |
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.
Looks like we can remove this file and add
"transform": {
"^.+\\.tsx?$": "ts-jest",
}
into scripts/utils/createJestConfig.js
config.
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.
Would be nice to be able to remove this workaround, but it should be tested thoroughly.
There were some issues in the past regarding the proper resolution in both ejected and non-ejected environments. This wrapper file was a (kinda hacky, but working) way to get around these issues.
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.
Let's update jest
and ts-jest
as well.
"case-sensitive-paths-webpack-plugin": "2.1.1", | ||
"chalk": "1.1.3", | ||
"css-loader": "0.28.7", | ||
"dotenv": "4.0.0", | ||
"dotenv-expand": "4.2.0", | ||
"extract-text-webpack-plugin": "3.0.2", | ||
"file-loader": "1.1.5", | ||
"fork-ts-checker-webpack-plugin": "^0.2.8", | ||
"fork-ts-checker-webpack-plugin": "0.4.4", |
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.
The latest version is 0.4.9
.
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.
On master this dependency version was upgraded and then downgraded back to 0.2.x, any idea why?
I'm closing this now that facebook/create-react-app#4837 is merged into CRA. |
Fixes #373.
Continued from #376, merged with master, and tested to fix all peer dependency warnings.