chore: cleanup package and dependencies - change compile target to es6#182
chore: cleanup package and dependencies - change compile target to es6#182johnnyreilly merged 11 commits intoTypeStrong:masterfrom
Conversation
6694c81 to
e1a2611
Compare
|
Thanks for this @SimonSchick! I'm a little hesitant about the targeting ES6 purely because it requires that all consumers need to be on > node 6.4. Mind you, for webpack 4 that ship sailed back in February so it's probably fine. And node 10 is now the LTS install. Yeah it's probably fine. @piotr-oles do you have any thoughts? |
|
@johnnyreilly The package does specify a minimum node version. or is that considered none binding? In any case you can release it as |
|
I think it's probably fine - I've already done this myself here: https://github.com/johnnyreilly/fork-ts-checker-notifier-webpack-plugin/blob/master/tsconfig.json I'd like to hear what @piotr-oles thinks about this but I think this looks generally fine. Could you address my comments please? |
|
Hi @SimonSchick, Please could you address my review comments? Thanks |
|
@johnnyreilly I don't see any review comments, are you sure you've submitted them? |
|
How about now? |
|
I'd consider all comments addressed. |
…s, bump build target
|
@johnnyreilly done |
|
Any reservations about the |
|
I'd also like to point out again that node v6 is not in the build matrix and I haven't tested my changes on node v6, I validated my changes again node.green however. |
|
@johnnyreilly thoughts? |
|
I was hoping @piotr-oles would comment but I guess he's busy. I think I'm fine with this though. I'd like to release it as 0.5 just in case there's any old node users out there. Do you want to update the |
|
I bumped up dev deps and added ts-loader@5 to the test matrix as well. Also do you have any plans to drop webpack 2-3 since v5 is around the corner? |
Not as long as supporting both remains straightforward (and so far it does). Also, I'm not that comfortable with the dropping of support for node 6 without @piotr-oles commenting first I'm afraid. |
|
All good, was just wondering if there were any plans :) |
|
@piotr-oles I went ahead and added public/private eveywhere and enabled the corresponding lint rule. While doing so I also noticed that the properties of |
|
Also please note, adding node v6 to the build matrix doubled the job count, adding v10 will triple it, you might want to consider dropping wp 2/3 in master and maintain them in a separate branch. |
|
Thank you @SimonSchick for your work. I'm aware that it will make builds a lot longer but it shouldn't be an issue in terms of development. You can still run your test locally on one node version and in 99% cases it will pass on all node versions :) |
piotr-oles
left a comment
There was a problem hiding this comment.
Ok, everything is fine - thank you :)
|
Let me just fix the build :) |
…er in test matrix
…ts-loader in test matrix
|
So turns out es2015 !== es6 build target 😅 |
|
@piotr-oles you should look into porting tests to TS too, turns out tests don't work in node v6. |
…es and ts-loader in test matrix
|
Sorry for the mess, I'm in the process of moving and haven't had a whole lot of time to work on this more than 5min in a block. |
|
This is why "squash and merge" was invented 😉 |
|
@johnnyreilly builds now~~ 🎉 |
|
Great - I've put a few more comments around the |
|
@johnnyreilly I don't see any new comments, did you forget to request the changes? Happens to me all the time 😛 |
|
Now? |
…p updates and ts-loader in test matrix
…ion, dep updates and ts-loader in test matrix
|
I think I got everything now, on a intercontinental flight atm, might not respond immediately. |
|
Happy landings! https://github.com/Realytics/fork-ts-checker-webpack-plugin/releases/tag/v0.5.0 Thanks for your help ❤️ |
Things done:
lodashwith native methodsresolvedependency.npmignoreas it is redundant since you usefilesin package.jsonlibs to fix tests