Skip to content
This repository has been archived by the owner on Feb 4, 2018. It is now read-only.

chore(deps): update dependency nwb to v0.21.5 #26

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

Conversation

renovate[bot]
Copy link

@renovate renovate bot commented Jan 16, 2018

This Pull Request updates dependency nwb from v0.16.3 to v0.21.5

Release Notes

v0.17.0

0.17.0 / 2017-06-17

Breaking Changes

  • Now using Webpack Dev Server (instead of running a basic Express development server).

    Webpack Dev Server has security features which you may need to configure your way around if you're using --host or if your development setup involves hitting the dev server from a different host.

    Please create an issue if you're affected by this change and there's something nwb can do to mitigate dev server problems without compromising security.

React components/libraries

  • A --[keep-]proptypes flag replaces --no[-wrap]-proptypes to disable wrapping of propTypes in React component project builds so they'll be stripped from a production build.

Fixed

  • The process will now exit with a non-zero code when a Webpack build completes with errors [#​290]
  • Fixed transpiling of ES2017 features when use of a stage-X preset is disabled with babel.stage = false config.
  • Fixed hmre = false Express middleware option for disabling use of React Transform to attempt to handle Hot Module Reloading for React components and render() error display [#263]

Preact

  • Fixed importing React components when serving a Preact app - this was missed when fixing preact-compat configuration issues from v0.16.0.

Added

Arguments

  • Added a --no-clear[-console] flag to disable clearing of the console when running the dev server.
  • Added a --no-html flag to disable creation of an index.html file if you don't need one (e.g. you're serving your built apps via another means) [#278] [bwendt-mylo]

Commands

  • Added an nwb web (run|build) command for quick development with vanilla JavaScript (i.e. you're in charge of rendering).

Configuration

  • Added devServer config to configure Webpack Dev Server options, which include:
    • devServer.historyApiFallback.disableDotRule can be enabled if you need to use dots in your path when using the HTML5 History API
    • devServer.https can be used to enable HTTPS
    • devServer.proxy can be used to proxy certain URLs to a separate API backend development server
  • Added a type option to nwb's Express middleware to set the project type (one of react, preact, inferno or web) manually, enabling use of the middleware without a config file.

React

Changed

npm modules

  • Default Babel config for react-component and web-module projects now uses babel-preset-stage-1, so you can use export extensions by default if you need to re-export a library's modules in src/index.js [#284]
  • Default Travis CI config for react-component and web-module projects now only uses Node 6 by default for quicker builds.

Preact

  • preact/devtools is now imported in development mode to enable use of React Developer Tools when using nwb preact run. This has also been added to the preact-app template.

    For existing Preact apps, add the following to its entry point to enable this:

    if (process.env.NODE_ENV === 'development') {
      require('preact/devtools')
    }
    

React components/libraries

  • prop-types imports are now also removed from React component UMD production builds.

Documentation

Dependencies

  • babel-core: v6.24.1 → v6.25.0
  • babel-plugin-transform-react-remove-prop-types: v0.4.5 → v0.4.6 - fix use in Node 4
  • babel-preset-es2017: v6.24.1
  • detect-port: v1.1.3 → v1.2.1
  • extract-text-webpack-plugin: v2.1.0 → v2.1.2
  • file-loader: v0.11.1 → v0.11.2 - publicPath option changes
  • inquirer: v3.0.6 → v3.1.0
  • ora: v1.2.0 → v1.3.0
  • postcss-loader: v2.0.5 → v2.0.6
  • promise: v7.1.1 → v7.3.0
  • style-loader: v0.18.1 → v0.18.2
  • url-loader: v0.5.8 → v0.5.9
  • webpack-dev-server: v2.4.5

v0.17.1

0.17.1 / 2017-06-19

Fixed

  • Fixed using a custom port for the dev server - Webpack Dev Server's client didn't like the format we were specifying the URL for the Hot Module Reloading connection in [#328]
  • Use the correct protocol in the 'The app is running at...' successful compilation message when using HTTPS.

v0.18.0

0.18.0 / 2017-06-20

Breaking Changes

Fixed

  • Fixed display of user config errors when running the dev server.

Added

Changed

Dependencies

  • inquirer: v3.1.0→ v3.1.1
  • npm-install-webpack2-plugin: v4.1.1 → v5.0.0 - drop Webpack 1 and add Webpack 3 to peerDeps
  • promise: v7.3.0 → v8.0.0
  • webpack: v2.6.1 → v3.0.0
  • webpack-dev-server: v2.4.5 → v2.5.0

v0.18.1

0.18.1 / 2017-06-20

Dependencies

  • npm-install-webpack2-plugin: v5.0.0 → v5.0.1 - fix Webpack 3 support

v0.18.2

0.18.2 / 2017-06-22

Fixed

  • Fixed clearing the console by default when running the development server.

Dependencies

  • babel-loader: v7.0.0 → v7.1.0 - Webpack 3 support

Documentation


v0.18.3

0.18.3 / 2017-06-22

Fixed

  • Quick build command config was being created before the default NODE_ENV = production was applied, so output filenames didn't include a chunkhash by default.

Dependencies

  • webpack-dev-middleware: v1.10.2 → v1.11.0 - Webpack 3 support

v0.17.2

0.17.2 / 2017-07-04

Fixed

Backported fixes from 0.18:

  • Fixed display of user config errors when running the development server.
  • Fixed clearing the console by default when running the development server.
  • Quick build command config was being created before the default NODE_ENV = production was applied, so output filenames didn't include a chunkhash by default.
  • Fixed config validation error when running the development server and using webpack.styles config for custom preprocessor plugin rules.

v0.18.4

0.18.4 / 2017-07-07

Fixed

  • Fixed use of @import in CSS by adding ident back to postcss-loader config [#311]
  • Fixed config validation error being thrown when using webpack.styles config for custom preprocessor plugin rules [#342]
  • Fixed display of valid properties when an invalid property is used when configuring a custom webpack.styles rule.

Added

  • Added webpack.debug config to trigger creation of a more debuggable production build [#336]

    The recommended way to use this is via a config argument:

    npm run build -- --webpack.debug
  • Added support for the following arguments when building a React component's demo:

    • --title - set the generated demo index.html's <title>
    • --vendor - enable creation of a vendor bundle for modules imported from node_modules/ [#335]

Dependencies

  • autoprefixer: v7.1.1 → v7.1.2
  • babel-loader: v7.1.0 → v7.1.1 - don't read .babelrc for cache identifier when babelrc=false (nwb uses this option)
  • chalk: v1.1.3 → v2.0.1
  • extract-text-webpack-plugin: v2.1.2 → v3.0.0-beta.3 - Webpack 3 support
  • html-webpack-plugin: v2.28.0 → v2.29.0 - Webpack 3 support
  • karma-chrome-launcher: v2.1.1 → v2.2.0
  • webpack: v3.0.0 → v3.1.0 - perf boost; fix ordering in ExtractTextPlugin
  • webpack-hot-middleware: v2.18.0 → v2.18.2

v0.17.3

0.17.3 / 2017-07-07

Fixed

Backported fixes from 0.18:

  • Fixed use of @import in CSS by adding ident back to postcss-loader config [#311]
  • Fixed display of valid properties when an invalid property is used when configuring a custom webpack.styles rule.

v0.18.5

0.18.5 / 2017-07-09

Dependencies

  • extract-text-webpack-plugin: v3.0.0-beta.3 → v3.0.0-rc.1
  • karma-webpack: v2.0.3 → v2.0.4 - Webpack 3 support
  • webpack-dev-server: v2.5.0 → v2.5.1 - Webpack 3 support

v0.18.6

0.18.6 / 2017-07-10

Dependencies

  • extract-text-webpack-plugin: v3.0.0-rc.1 → v3.0.0-rc.2 - fix module sorting type error
  • inquirer: v3.1.1→ v3.2.0

v0.18.7

0.18.7 / 2017-07-12

Changed

Dependencies

  • extract-text-webpack-plugin: v3.0.0-rc.2 → v3.0.0
  • webpack: v3.1.0 → v3.2.0 - bug fixes

Documentation


v0.18.8

0.18.8 / 2017-07-16

Dependencies

  • promise: v8.0.0 → v8.0.1
  • webpack: v3.2.0 → v3.3.0 - bug fixes; now watches for missing directories being added

v0.18.9

0.18.9 / 2017-07-26

Changed

  • Now using preact/debug instead of preact/devtools in quick Preact commands and the Preact project skeleton - requires Preact >= 8.2.0

Dependencies

  • inquirer: v3.2.0 → v3.2.1
  • promise: v8.0.0 → v8.0.1
  • webpack: v3.2.0 → v3.4.0 - bug fixes; now watches for missing directories being added; perf improvements
  • webpack-dev-server: v2.5.1 → v2.6.1

v0.18.10

0.18.10 / 2017-07-27

Fixed

  • Fix dev server HMR for people running on different hosts or a different localhost port [#356] [DethAriel]

Dependencies

  • babel-runtime: v6.23.0 → v6.25.0
  • resolve: v1.3.3 → v1.4.0
  • webpack: v3.4.0 → v3.4.1

v0.19.0

0.19.0 / 2017-10-02

Breaking Changes

  • Removed hooking of React, Preact and Inferno render() functions in quick commands, as this won't work with ES modules builds (which are used by default in Webpack v3). This affected the current version of Preact at the time of writing.
    • If you're manually using render() with quick commands, you must now handle providing the target DOM node too - document.getElementById('app') is available in the default HTML template.

Added

Changed

  • Now using babel-preset-env instead of deprecated babel-preset-es201X presets [#375]
  • Use beautify: true for webpack.debug output so code split bundles are readable.

Dependencies

  • autoprefixer: v7.1.2 → v7.1.4
  • babel-cli: v6.24.1 → v6.26.0
  • babel-core: v6.24.1 → v6.26.0
  • babel-loader: v7.1.1 → v7.1.2
  • babel-plugin-istanbul: v4.1.4 → v4.1.5
  • babel-plugin-react-transform: v2.0.2 → v3.0.0 - add React.PureComponent to the list of default super classes
  • babel-plugin-transform-react-remove-prop-types: v0.4.6 → v0.4.8
  • babel-polyfill: v6.23.0 → v6.26.0
  • babel-runtime: v6.25.0 → v6.26.0
  • copy-webpack-plugin: v4.0.1 → v4.1.0
  • css-loader: v0.28.4 → v0.28.7
  • file-loader: v0.11.2 → v1.1.4
  • gzip-size: v3.0.0 → v4.0.0 - async interface now uses Promises
  • html-webpack-plugin: v2.29.0 → v2.30.1
  • inquirer: v3.2.1 → v3.3.0
  • karma-mocha-reporter: v2.2.3 → v2.2.4
  • karma: v1.7.0 → v1.7.1
  • mocha: v3.4.2 → v3.5.3
  • phantomjs-prebuilt: v2.1.14 → v2.1.15 - fix security issues with dependencies
  • webpack-dev-middleware: v1.11.0 → v1.12.0
  • webpack-dev-server: v2.6.1 → v2.9.1
  • webpack-hot-middleware: v2.18.2 → v2.19.0
  • webpack: v3.4.1 → v3.6.0

v0.19.1

0.19.1 / 2017-11-04

nwb.config.js Config Changes

  • Deprecated the webpack.compat.enzyme flag for Enzyme v2 compatibility settings. Upgrade to Enzyme v3 when you can, which supports React all the way back to v0.13.

Fixed

  • Added 'createClass' and 'createReactClass' to the factory function names React Transform looks for, so React component hot reloading will work for apps using create-react-class, imported as one of those names.

Changed

  • nwb is now also tested against Node 8 now that it's the Long Term Support version.
  • Reverted the Webpack settings change for webpack.compat.enzyme config in v0.19.0, as it only applied while the version numbers of published React packages were out of sync. The compatibility settings assume Enzyme v2 and React >= v15.5.
  • style-loader's new hmr option is set to false when creating builds to prevent inclusion of its HMR code.

Dependencies

  • autoprefixer: v7.1.4 → v7.1.6
  • babel-plugin-inferno: v3.2.0 → v3.3.0
  • babel-plugin-transform-react-remove-prop-types: v0.4.8 → v0.4.10
  • babel-preset-env: v1.6.0 → v1.6.1
  • copy-webpack-plugin: v4.1.0 → v4.2.0
  • extract-text-webpack-plugin: v3.0.0 → v3.0.2
  • file-loader: v1.1.4 → v1.1.5
  • filesize: v3.5.10 → v3.5.11
  • karma-mocha-reporter: v2.2.4 → v2.2.5
  • karma-webpack: v2.0.4 → v2.0.5
  • phantomjs-prebuilt: v2.1.15 → v2.1.16
  • postcss-loader: v2.0.6 → v2.0.7
  • resolve: v1.4.0 → v1.5.0
  • style-loader: v0.18.2 → v0.19.0
  • url-loader: v0.5.9 → v0.6.2
  • webpack: v3.6.0 → v3.8.1
  • webpack-dev-server: v2.9.1 → v2.9.4
  • webpack-hot-middleware: v2.19.1 → v2.20.0
  • webpack-merge: v4.1.0 → v4.1.1

v0.19.2

0.19.2 / 2017-11-09

Fixed

  • Backed out use of preact/debug in favour of preact/devtools, as the debug module tries to override the preact module's render export, which fails due to Webpack enforcing the read-only nature of ES module exports.

v0.20.0

Breaking Changes

  • Updated UMD build config to export the default export of the entry point, rather than an ES modules interop object which looks something like {__esModule: true, default: Getter}, which was unintended behaviour. This will break any existing usage of UMD builds which depended on manually accessing the unintended default property [#402]
  • Updated to Mocha 4, which comes with a number of breaking changes. These are mostly related to dropping support for older versions of Node.js and non-ES5-compliant browsers.

Fixed

  • Bump the default React peerDependency version for react-component projects to 16.x - fixes creating components with npm 2.

Dependencies

  • copy-webpack-plugin: v4.2.0 → v4.2.1
  • detect-port: v1.2.1 → v1.2.2
  • karma-webpack: v2.0.5 → v2.0.6
  • mocha: v3.4.2 → v4.0.1 - dropped support for old versions of Node.js and non-ES5-compliant browsers

Documentation

  • Documented --unsafe-perm workaround for PhantomJS' postinstall step failing on some OSes when installing globally with npm 5 [#383]

v0.21.0

Breaking Changes

  • Validation of the configuration object provided by nwb.config.js files has been expanded, so previously valid config files may now be invalid [#136]
    • Unexpected properties in top-level configuration or in babel, karma, npm and webpack configuration (i.e. anything that's not documented in the Configuration docs) are now treated as errors [#193]
    • Basic type checking is now performed for all documented configuration properties.
    • After upgrading, run nwb check-config to check your configuration file.
  • Updated to UglifyJSPlugin 1.x, which supports ES2015 syntax and adds options to enable filesystem caching and use multiple processes to improve build speed, which nwb enables by default [#412]
    • Review any custom webpack.uglify config you have against the new version's options documentation - options for UglifyJS itself must now be passed as an uglifyOptions object and some of UglifyJS' default options have changed.
  • Node.js 4.8.0 is now the minimum required version, based on the engines config of nwb's dependencies.

nwb.config.js Config Changes

  • Deprecated the webpack.compat.sinon flag for Sinon 1.x compatibility settings, as subsequent major versions since July 2017 support Webpack out of the box.

Fixed

  • Fixed testing React component/library and web module projects when using export extensions - the Babel stage preset wasn't being defaulted to preset-stage-1, which includes the export extensions plugin [#364]

Added

  • Added an --open flag to open the app in your default browser or in a named browser (e.g. --open="Google Chrome") after starting a Webpack dev server [#334]
  • You can now provide a babel.config() function which will be given the generated Babel config to do whatever it wants with.
  • You can now provide a karma.config() function which will be given the generated Karma config to do whatever it wants with [#408]

Changed

Dependencies

  • autoprefixer: v7.1.6 → v7.2.4
  • babel-plugin-inferno: v3.3.0 → v3.3.1
  • copy-webpack-plugin: v4.2.1 → v4.3.1
  • file-loader: v1.1.5 → v1.1.6
  • gzip-size: v4.0.0 → v4.1.0
  • karma: v1.7.1 → v2.0.0
  • karma-webpack: v2.0.6 → v2.0.9
  • mocha: v4.0.1 → v4.1.0
  • postcss-loader: v2.0.8 → v2.0.9
  • style-loader: v0.19.0→ v0.19.1
  • webpack: v3.8.1 → v3.10.0
  • webpack-dev-server: v2.9.4 → v2.9.7
  • webpack-dev-middleware: v1.12.0 → v1.12.2
  • webpack-hot-middleware: v2.20.0 → v2.21.0

Docs

  • Added missing docs for webpack.copy config
  • Added more headings to the Commands docs to make them easier to browse, and to make feature flags such as --copy-files for component builds more visible [#407]

v0.21.1

Fixed

  • Fixed validation of webpack.extractText = false config, which disables extraction of imported stylesheets into .css files [#418]

Dependencies

  • postcss-loader: v2.0.9 → v2.0.10
  • uglifyjs-webpack-plugin: v1.1.5 → v1.1.6

v0.21.2

Fixed

  • Fixed validation of babel.env config [#420] [ngyikp]

Dependencies


v0.21.3

Changed

Dependencies


v0.21.4

Fixed

  • Fixed validation of webpack.compat locale properties [#425]
  • Fixed false negative when checking if the port is available when devServer.port is specified as a String [#423]

Dependencies

  • uglifyjs-webpack-plugin: v1.1.6 → v1.1.8 - reduce memory consumption

v0.21.5

Dependencies

  • cross-spawn: v6.0.3 → v6.0.4

Commits

insin/nwb

v0.18.9

v0.18.10

v0.19.0

  • 12d27e6 Update dependencies
  • 7c81777 Use beautify: true for webpack.debug so code splits are readable
  • 211699f Revert use of preact/debug in favour of preact/devtools
  • ad8ba2f Update webpack
  • 8c2114f Removed hooking of React, Preact and Inferno render() functions in quick commands
  • 61695c4 Update dependencies
  • a97aeec Update ReactComponents.md
  • 24eb78a Merge pull request #​370 from freefony/patch-1
  • 4257d54 Update babel-runtime
  • 159c62e CLI help documentation error
  • 4cb447a Revert "Revert use of preact/debug in favour of preact/devtools"
  • 2bd49e5 Update dependencies
  • c32f892 Use babel-preset-env instead of deprecated babel-preset-es201X plugins
  • 8842ad9 Update dependencies
  • 67a873c Merge pull request #​377 from jamrizzi/jamrizzi/cli-doc-error
  • ddbd30f Fix CLI help alignment
  • 9a838a6 Update dependencies
  • d0ff1de Update dependencies
  • 5172ccd Added additional Enzyme compat config for recent versions of React 15
  • 47b9d74 Update dependencies
  • 19bd6ba Update dependencies
  • b56d36d Update dependencies
  • c04b2f4 Release v0.19.0

v0.19.1

  • 516484b Tweak CHANGES.md
  • 24926b6 Update style-loader and disable inclusion of its HMR code in builds
  • 6c92302 Update extract-text-webpack-plugin
  • d61ff0e Revert changes to webpack.compat.enzyme from v0.19.0 and deprecate it
  • 6e93166 Update dependencies
  • 916a050 Update dependencies
  • 86e3b1e Update QuickDevelopment.md
  • 598f1f3 Merge pull request #​393 from KevinBon/patch-1
  • a313ba5 Update dependencies
  • cff7caf Run tests in Node 8 and prevent creation of a package-lock.json with npm 5
  • a5de521 Update dependencies
  • 6fc5939 Add createClass and createReactClass to the list of factory function names React Transform will look for
  • 72985a5 Release v0.19.1

v0.19.2

  • 522b1cc Turns out React 16 didn't break React Transform's HMR
  • 6aea316 Back out use of preact/debug in favour of preact/devtools
  • 8f41e2a Release v0.19.2
  • 4df3610 Update to Mocha 4

v0.20.0

  • 4ca2d46 Update dependencies
  • 0f54c39 Export the default export from UMD builds
  • fcc5895 Update dependencies
  • 51d92fa Add note about workaround for PhantomJS install error on some OSes to README
  • 6b7956e Bump the default React peerDependency version for react-component projects to 16.x
  • 8ab3537 Release v0.20.0

v0.21.0

  • 97d11c8 Fixed some missing/incorrect dependency updates in CHANGES
  • 1213fb9 Update dependencies
  • 2bd967c Update dependencies
  • 4e1a8eb Update Commands docs to make better use of headings
  • 8376b8b Support a karma.config() function for modifying generated Karma config
  • e820c7e Update dependencies
  • 7c9ab76 Run tests in the webpack4 branch
  • a1da579 Update dependencies and add a missing flow pragma
  • c0a5950 Fix flow errors
  • 6f918ba Config cleanup
  • 6b9bb31 Update to UglifyJsPlugin 1.x
  • 0f2434e Default to Babel stage 1 when testing React component/library and web module projects
  • 9f57838 Add a hint for .extra config on unexpected Webpack and Karma config props
  • 4c2121c Tag a CHANGES item with an exsiting issue number it resolves
  • 4d140e9 Add more loggin to express middleware test
  • 00adee2 Update dependencies
  • a00c064 Update dependencies
  • 12fbfc0 devServer.setup [deprecated] → devServer.before
  • 888e081 Merge pull request #​415 from dtinth/patch-2
  • 3e7a5db Added an --open flag when running the development server
  • 60c4c27 Update dependencies
  • f9bc7f2 Fix template typo
  • ce38bd9 Use the current LTS version of node in template Travis CI config
  • bf91482 Update dependencies
  • d326a52 Release v0.21.0

v0.21.1

  • b585ab0 Fix config validation to allow webpack.extractText to be false
  • bca2750 Update dependencies
  • f2e4f8f Tweak CHANGES
  • ee6745a Actually fix webpack.extractText = false validation
  • 07ae908 Release v0.21.1

v0.21.2

  • a35049d Run tests in the babel7 branch
  • dcf16c8 Fix config validation of babel.env
  • 60fe735 Merge pull request #​420 from ngyikp/fix-config-validation-babel-env
  • 03cfb05 Update CHANGES
  • 09a2ef4 Update dependencies
  • cd2ed69 Release v0.21.2

v0.21.3

v0.21.4

  • 9ad029d Fix validation of webpack.compat locale properties
  • b5f87b6 Update uglifyjs-webpack-plugin
  • f706962 Ensure devServer.port is a Number for comparison with the available port
  • 8c0d4ce Release v0.21.4

v0.21.5


This PR has been generated by Renovate Bot.

@renovate renovate bot force-pushed the renovate/nwb-0.x branch from 6fca245 to d2590b0 Compare January 17, 2018 04:59
@renovate renovate bot changed the title chore(deps): update dependency nwb to v0.21.1 chore(deps): update dependency nwb to v0.21.2 Jan 17, 2018
@renovate renovate bot force-pushed the renovate/nwb-0.x branch from d2590b0 to 36565b2 Compare January 27, 2018 21:56
@renovate renovate bot changed the title chore(deps): update dependency nwb to v0.21.2 chore(deps): update dependency nwb to v0.21.3 Jan 27, 2018
@renovate renovate bot force-pushed the renovate/nwb-0.x branch from 36565b2 to 6c33a25 Compare January 31, 2018 00:31
@renovate renovate bot changed the title chore(deps): update dependency nwb to v0.21.3 chore(deps): update dependency nwb to v0.21.4 Jan 31, 2018
@renovate renovate bot force-pushed the renovate/nwb-0.x branch from 6c33a25 to e45a409 Compare February 1, 2018 23:54
@renovate renovate bot changed the title chore(deps): update dependency nwb to v0.21.4 chore(deps): update dependency nwb to v0.21.5 Feb 1, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant