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

Update nwb to the latest version 🚀 #7

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

greenkeeper[bot]
Copy link

@greenkeeper greenkeeper bot commented Aug 3, 2018

Version 0.22.0 of nwb was just published.

Dependency nwb
Current Version 0.21.5
Type devDependency

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.0

This is the next release of nwb - you need to specify nwb@next or [email protected] when installing it.

Breaking Changes

  • Node.js 4 is no longer supported; Node.js 6.11.5 is now the minimum required version, as per Webpack 4 [#400]
  • Updated to Webpack 4 - if you were customising your build with nwb.config.js, some of the nwb config you depended on may have changed, and the options Webpack accepts may have changed [#409]
    • Webpack's new 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 in production mode instead of being explicitly configured, so nwb's webpack.hoisting config has been removed.
      • NamedModulesPlugin is now automatically used in development mode instead of being explicitly configured.
      • Development UMD builds for modules now use production mode with minimization disabled, as the new development mode defaults are unsuitable for code which will be published to npm.
    • Webpack's optimization options are now used for certain pieces of configuration:
      • optimization.noEmitOnErrors is used instead of NoEmitOnErrorsPlugin to prevent emission of assets when using Hot Module Replacement.
      • UglifyJS is now configured via optimization.minimize/optimization.minimizer instead of just adding UglifyJsPlugin directly to plugins.
      • CommonsChunkPlugin has been removed in Webpack 4 - optimization.runtimeChunk is now configured to create a runtime chunk (which replaces the old manifest chunk) and optimization.splitChunks is configured to create a vendor bundle.
    • Replaced used of ExtractTextPlugin with MiniCssExtractPlugin:
      • Separate CSS files are now created and loaded on-demand for code splits.
      • Replaced webpack.extractText config with webpack.extractCSS config - this is not backwards-compatible, as plugin options differ.
    • Webpack's default performance option size warnings have been disabled (for now).
  • Updated Inferno config for Inferno v4 - see the Inferno v4 migration guide for breaking changes [#429]
    • nwb new inferno-app now asks if you want to install inferno-compat as it's no longer a single dependency, defaulting to not installing it.
  • nwb new preact-app now asks if you want to install preact-compat, defaulting to not installing it.
  • Updated to Mocha 5, which dropped support for IE9 and IE10 and fixed some false positives.
  • Removed support for deprecated webpack.compat.enzyme, webpack.compat.sinon and webpack.style = 'old' config.

Known Issues

Added

  • Added an -f/--force flag to nwb new to accept defaults and skip questions.

Changed

  • The dev server's fallback 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

  • autoprefixer: v7.2.5 → v8.1.0
  • babel-loader: v7.1.2 → v7.1.4
  • babel-plugin-inferno: v3.3.1 → v4.0.0
  • case-sensitive-paths-webpack-plugin: v2.1.1 → v2.1.2
  • chalk: v2.3.0 → v2.3.2
  • copy-webpack-plugin: v4.3.1 → v4.5.1
  • cross-spawn: v6.0.4 → v6.0.5
  • css-loader: v0.28.9 → v0.28.10
  • extract-text-webpack-plugin v3.0.0 → mini-css-extract-plugin v0.2.0
  • filesize: v3.5.11 → v3.6.0
  • inquirer: v3.3.0 → v5.1.0 - latest version requires Node.js 6
  • karma-webpack: v2.0.9 → v2.0.13
  • mocha: v4.1.0 → v5.0.4
  • npm-install-webpack-plugin v4.0.5 → @insin/npm-install-webpack-plugin v5.0.0 - Webpack 4 compatibility
  • ora: v1.3.0 → v2.0.0
  • postcss-loader: v2.0.10 → v2.1.1
  • style-loader: v0.20.1 → v0.20.2 - skip empty url()s
  • uglifyjs-webpack-plugin: v1.1.8 → v1.2.3
  • url-loader: v0.6.2 → v1.0.1
  • webpack: v3.10.0 → v4.1.1
  • webpack-dev-middleware: v1.12.2 → v3.0.1
  • webpack-dev-server: v2.9.7 → v3.1.1
  • webpack-hot-middleware: v2.21.0 → v2.21.2
  • webpack-merge: v4.1.1 → v4.1.2

Internal

  • Updated StatusPlugin and InlineRuntimePlugin to use the Use the new Webpack 4 .hooks plugin API.

Docs

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 🌴

greenkeeper bot added a commit that referenced this pull request Aug 3, 2018
@greenkeeper
Copy link
Author

greenkeeper bot commented Aug 3, 2018

Version 0.23.0 just got published.

Update to this version instead 🚀

Commits

The new version differs by 37 commits.

  • 7345372 Release v0.23.0
  • b2aff81 Update dependencies
  • 2fb46fc Indicate that npm.umd.entry config is available from v0.23.0 onwards
  • aec1453 Update dependencies
  • e8bb5d2 Fix typo
  • bd32199 Update dependencies
  • 2df5ae1 Update dependencies
  • 6d828a1 Update Node.js version in template CONTRIBUTING files
  • cd6bd93 Update dependencies
  • 9b9ea9b Add Node.js 10 to test versions
  • 3e864bf Don't use destructuring in render shims
  • 27281f3 Update dependencies
  • cbf2b46 Missed a few ES6 → ES changes
  • 5e8f129 Update dependencies
  • 9ea6b20 Replace usage of "ES6" with plain old "ES"

There are 37 commits in total.

See the full diff

@codecov-io
Copy link

codecov-io commented Aug 3, 2018

Codecov Report

Merging #7 into master will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@          Coverage Diff          @@
##           master     #7   +/-   ##
=====================================
  Coverage     100%   100%           
=====================================
  Files           1      1           
  Lines           3      3           
=====================================
  Hits            3      3

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 85b1d32...b0046be. Read the comment docs.

greenkeeper bot added a commit that referenced this pull request Mar 8, 2020
@greenkeeper
Copy link
Author

greenkeeper bot commented Mar 8, 2020

  • The devDependency nwb was updated from 0.21.5 to 0.24.0.

Update to this version instead 🚀

Commits

The new version differs by 34 commits.

  • ae86f9e Release v0.24.0
  • ae2b06a Don't ask a question about React compatibility when creating a Preact app, as preact/compat is now always available
  • f500d24 Doc tweaks
  • 88a3e52 Fix Inferno Babel config and re-enable the new app test
  • c13e27e Remove some missed mentions of *-test.js from the docs
  • d556bad Update Node version in CONTRIBUTING templates
  • 81122b4 Update Preact config for Preact X
  • 908267f Update CHANGES
  • 08b3de4 Add document language option (#520)
  • a296ab9 Merge pull request #515 from rrapiteanu/remove-scope-from-pkg-name
  • 8c83fe8 Merge branch 'master' into remove-scope-from-pkg-name
  • bf531d0 Merge pull request #527 from adamweeks/patch-1
  • 4453022 Update to Babel 7
  • ee6063d Update dependencies
  • 92a04c8 docs(FAQ): fix links

There are 34 commits in total.

See the full diff

greenkeeper bot added a commit that referenced this pull request Mar 11, 2020
@greenkeeper
Copy link
Author

greenkeeper bot commented Mar 11, 2020

  • The devDependency nwb was updated from 0.21.5 to 0.24.1.

Update to this version instead 🚀

greenkeeper bot added a commit that referenced this pull request Mar 12, 2020
@greenkeeper
Copy link
Author

greenkeeper bot commented Mar 12, 2020

  • The devDependency nwb was updated from 0.21.5 to 0.24.2.

Update to this version instead 🚀

greenkeeper bot added a commit that referenced this pull request Mar 13, 2020
@greenkeeper
Copy link
Author

greenkeeper bot commented Mar 13, 2020

  • The devDependency nwb was updated from 0.21.5 to 0.24.3.

Update to this version instead 🚀

greenkeeper bot added a commit that referenced this pull request Mar 21, 2020
@greenkeeper
Copy link
Author

greenkeeper bot commented Mar 21, 2020

  • The devDependency nwb was updated from 0.21.5 to 0.24.4.

Update to this version instead 🚀

greenkeeper bot added a commit that referenced this pull request Mar 24, 2020
@greenkeeper
Copy link
Author

greenkeeper bot commented Mar 24, 2020

  • The devDependency nwb was updated from 0.21.5 to 0.24.5.

Update to this version instead 🚀

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

Successfully merging this pull request may close these issues.

1 participant