Skip to content
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

Merged
merged 5 commits into from
Dec 24, 2018
Merged

Add support for webpack 5 #11

merged 5 commits into from
Dec 24, 2018

Conversation

johnnyreilly
Copy link
Owner

based on the advice given by @liangchunn here: TypeStrong/fork-ts-checker-webpack-plugin#166

Copy link

@liangchunn liangchunn left a 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",

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.

Copy link
Owner Author

Choose a reason for hiding this comment

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

Cool - will do

Copy link
Owner Author

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?

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

Copy link
Owner Author

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?

Choose a reason for hiding this comment

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

Nope, LGTM!

@johnnyreilly johnnyreilly merged commit c853c4b into master Dec 24, 2018
@johnnyreilly johnnyreilly deleted the feature/webpack5 branch December 24, 2018 08:31
@johnnyreilly
Copy link
Owner Author

published

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

Successfully merging this pull request may close these issues.

None yet

2 participants