-
Notifications
You must be signed in to change notification settings - Fork 14
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
Add support for webpack 5 #11
Conversation
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.
Look great! We also might want to remove node6 from the test matrix.
package.json
Outdated
@@ -27,15 +27,19 @@ | |||
"url": "https://github.com/johnnyreilly/fork-ts-checker-notifier-webpack-plugin/issues" | |||
}, | |||
"dependencies": { | |||
"fork-ts-checker-webpack-plugin": "^1.0.0-alpha.0", |
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 feel like this should be moved into peerDependencies
instead. Reasoning is that a user might want a different version of fTCWP, and the user can override fTCNWP's tTCWP 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.
Cool - will do
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.
It's now listed as a devDependency
of:
"fork-ts-checker-webpack-plugin": "^1.0.0-alpha.1",
and a peerDependency
of:
"fork-ts-checker-webpack-plugin": "*"
Sound about right?
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.
We might want to use something like 1.x
or ^1.0.0
since this upgrade won’t support fTCWP below 1.0
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.
Good shout - just pushed. Any other thoughts before I publish an alpha?
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.
Nope, LGTM!
published |
based on the advice given by @liangchunn here: TypeStrong/fork-ts-checker-webpack-plugin#166