-
Notifications
You must be signed in to change notification settings - Fork 0
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
Update nwb to the latest version 🚀 #7
base: master
Are you sure you want to change the base?
Conversation
Version 0.23.0 just got published.Update to this version instead 🚀 CommitsThe new version differs by 37 commits.
There are 37 commits in total. See the full diff |
Codecov Report
@@ Coverage Diff @@
## master #7 +/- ##
=====================================
Coverage 100% 100%
=====================================
Files 1 1
Lines 3 3
=====================================
Hits 3 3 Continue to review full report at Codecov.
|
Update to this version instead 🚀 CommitsThe new version differs by 34 commits.
There are 34 commits in total. See the full diff |
|
|
|
|
|
Version 0.22.0 of nwb was just published.
The version 0.22.0 is not covered by your current version range.
If you don’t accept this pull request, your project will work just like it did before. However, you might be missing out on a bunch of new features, fixes and/or performance improvements from the dependency update.
It might be worth looking into these changes and trying to get this project onto the latest version of nwb.
If you have a solid test suite and good coverage, a passing build is a strong indicator that you can take advantage of these changes directly by merging the proposed change into your project. If the build fails or you don’t have such unconditional trust in your tests, this branch is a great starting point for you to work on the update.
Release Notes
v0.22.0Breaking Changes
nwb.config.js
, some of the nwb config you depended on may have changed, and the options Webpack accepts may have changed [#409]mode
option is now set to activate Webpack 4's new defaults, which removes the need for a bunch of manual configuration nwb was doing:ModuleConcatenationPlugin
is now automatically enabled inproduction
mode instead of being explicitly configured, so nwb'swebpack.hoisting
config has been removed.NamedModulesPlugin
is now automatically used indevelopment
mode instead of being explicitly configured.production
mode with minimization disabled, as the newdevelopment
mode defaults are unsuitable for code which will be published to npm.optimization
options are now used for certain pieces of configuration:optimization.noEmitOnErrors
is used instead ofNoEmitOnErrorsPlugin
to prevent emission of assets when using Hot Module Replacement.optimization.minimize
/optimization.minimizer
instead of just addingUglifyJsPlugin
directly toplugins
.CommonsChunkPlugin
has been removed in Webpack 4 -optimization.runtimeChunk
is now configured to create aruntime
chunk (which replaces the oldmanifest
chunk) andoptimization.splitChunks
is configured to create avendor
bundle.ExtractTextPlugin
withMiniCssExtractPlugin
:webpack.extractText
config withwebpack.extractCSS
config - this is not backwards-compatible, as plugin options differ.performance
option size warnings have been disabled (for now).nwb new inferno-app
now asks if you want to installinferno-compat
as it's no longer a single dependency, defaulting to not installing it.nwb new preact-app
now asks if you want to installpreact-compat
, defaulting to not installing it.webpack.compat.enzyme
,webpack.compat.sinon
andwebpack.style = 'old'
config.Known Issues
.mjs
files to npm, which is breakinginferno-*
packages with Webpack 4, so e.g.inferno-compat
won't work if you want to reuse React components.Added
-f/--force
flag tonwb new
to accept defaults and skip questions.Changed
index.html
serving can now be configured with dot arguments - e.g. pass--fallback.disableDotRule
if you need to use dots in your path when using the HTML5 History API.--no-polyfill
can now be used to disable default polyfills for app projects as well as quick commands.Dependencies
url()
sInternal
StatusPlugin
andInlineRuntimePlugin
to use the Use the new Webpack 4.hooks
plugin API.Docs
publicPath
docs, as Webpack'soutput.publicPath
config can't benull
[#432] [stephenwf]Commits
The new version differs by 29 commits.
cbba39e
Release v0.22.0 as nwb@next
f0f9412
Doc cleanup
e4791d6
Use a temporary scoped version of NpmInstallPlugin which supports Webpack 4
245dbe9
Allow dev server fallback serving to be configured with dot arguments
ebdcae4
Add --no-polyfill support to app commands
6b7948d
Added inferno-* .mjs publishing to Known Issues
6e271eb
Fixed webpack.debug - beautify is no longer a top-level option in UglifyJsPlugin
b741485
Use createComponentVNode for exported components in the Inferno render shim
5692966
Update CHANGES for the uppgrade to Webpack 4 & dropping Node.js 4 support
c21d9e2
Update lint config
e3a91fe
Update uglify-webpack-plugin
558e36b
Use production mode for all UMD builds
16849ef
Upgrade to Webpack 4
a218457
Re-disable inferno test
75f51b9
Update dependencies
There are 29 commits in total.
See the full diff
FAQ and help
There is a collection of frequently asked questions. If those don’t help, you can always ask the humans behind Greenkeeper.
Your Greenkeeper bot 🌴