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
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This Pull Request updates dependency nwb from
v0.16.3
tov0.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
--[keep-]proptypes
flag replaces--no[-wrap]-proptypes
to disable wrapping ofpropTypes
in React component project builds so they'll be stripped from a production build.Fixed
babel.stage = false
config.hmre = false
Express middleware option for disabling use of React Transform to attempt to handle Hot Module Reloading for React components andrender()
error display [#263]Preact
preact-compat
configuration issues from v0.16.0.Added
Arguments
--no-clear[-console]
flag to disable clearing of the console when running the dev server.--no-html
flag to disable creation of anindex.html
file if you don't need one (e.g. you're serving your built apps via another means) [#278] [bwendt-mylo]Commands
nwb web (run|build)
command for quick development with vanilla JavaScript (i.e. you're in charge of rendering).Configuration
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 APIdevServer.https
can be used to enable HTTPSdevServer.proxy
can be used to proxy certain URLs to a separate API backend development servertype
option to nwb's Express middleware to set the project type (one ofreact
,preact
,inferno
orweb
) manually, enabling use of the middleware without a config file.React
babel.removePropTypes
config to disable or configure removal ofpropTypes
in React app production builds.babel.reactConstantElements
config to disable the use of the React constant element hoisting transform in React app production builds.Changed
npm modules
react-component
andweb-module
projects now usesbabel-preset-stage-1
, so you can use export extensions by default if you need to re-export a library's modules insrc/index.js
[#284]react-component
andweb-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 usingnwb preact run
. This has also been added to thepreact-app
template.For existing Preact apps, add the following to its entry point to enable this:
React components/libraries
prop-types
imports are now also removed from React component UMD production builds.Documentation
--copy-files
flag properly [#317]Dependencies
publicPath
option changesv0.17.1
0.17.1 / 2017-06-19
Fixed
'The app is running at...'
successful compilation message when using HTTPS.v0.18.0
0.18.0 / 2017-06-20
Breaking Changes
Updated to Webpack 3 - potentially breaking for some plugins [#326]
See the official release post for changes.
Removed support for configuration which was deprecated in nwb v0.15.0.
Fixed
Added
Added
webpack.hoisting
config to enable use of Webpack 3's newModuleConcatenationPlugin
for scope hoisting in production builds [#326]babel
,webpack
,devServer
,karma
andnpm
configuration can now be provided via arguments using dotted paths [#327]If you have a config file, arguments will override properties in it. This is primarily intended for one-off feature toggles without having to edit your config file, and to provide some level of configuration for quick development commands without needing a config file.
Changed
babel.plugins
,babel.presets
and locales inwebpack.compat
config now also accept single configuration as a String to make them usable via arguments [#327]Dependencies
v0.18.1
0.18.1 / 2017-06-20
Dependencies
v0.18.2
0.18.2 / 2017-06-22
Fixed
Dependencies
Documentation
v0.18.3
0.18.3 / 2017-06-22
Fixed
build
command config was being created before the defaultNODE_ENV = production
was applied, so output filenames didn't include a chunkhash by default.Dependencies
v0.17.2
0.17.2 / 2017-07-04
Fixed
Backported fixes from 0.18:
NODE_ENV = production
was applied, so output filenames didn't include a chunkhash by default.webpack.styles
config for custom preprocessor plugin rules.v0.18.4
0.18.4 / 2017-07-07
Fixed
@import
in CSS by addingident
back topostcss-loader
config [#311]webpack.styles
config for custom preprocessor plugin rules [#342]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:
Added support for the following arguments when building a React component's demo:
--title
- set the generated demoindex.html
's<title>
--vendor
- enable creation of a vendor bundle for modules imported fromnode_modules/
[#335]Dependencies
.babelrc
for cache identifier whenbabelrc=false
(nwb uses this option)ExtractTextPlugin
v0.17.3
0.17.3 / 2017-07-07
Fixed
Backported fixes from 0.18:
@import
in CSS by addingident
back topostcss-loader
config [#311]webpack.styles
rule.v0.18.5
0.18.5 / 2017-07-09
Dependencies
v0.18.6
0.18.6 / 2017-07-10
Dependencies
v0.18.7
0.18.7 / 2017-07-12
Changed
webpack.extractText
config tofalse
to disable extraction of stylesheets in builds [#343]Dependencies
Documentation
webpack.extractText
config.v0.18.8
0.18.8 / 2017-07-16
Dependencies
v0.18.9
0.18.9 / 2017-07-26
Changed
Dependencies
v0.18.10
0.18.10 / 2017-07-27
Fixed
Dependencies
v0.19.0
0.19.0 / 2017-10-02
Breaking Changes
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.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
babel.env
config to pass additional options forbabel-preset-env
.webpack.compat
for recent versions of React 15.Changed
babel-preset-env
instead of deprecatedbabel-preset-es201X
presets [#375]beautify: true
forwebpack.debug
output so code split bundles are readable.Dependencies
React.PureComponent
to the list of default super classesv0.19.1
0.19.1 / 2017-11-04
nwb.config.js
Config Changeswebpack.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
'createClass'
and'createReactClass'
to the factory function names React Transform looks for, so React component hot reloading will work for apps usingcreate-react-class
, imported as one of those names.Changed
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 newhmr
option is set tofalse
when creating builds to prevent inclusion of its HMR code.Dependencies
v0.19.2
0.19.2 / 2017-11-09
Fixed
preact/debug
in favour ofpreact/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
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 unintendeddefault
property [#402]Fixed
16.x
- fixes creating components with npm 2.Dependencies
Documentation
--unsafe-perm
workaround for PhantomJS' postinstall step failing on some OSes when installing globally with npm 5 [#383]v0.21.0
Breaking Changes
nwb.config.js
files has been expanded, so previously valid config files may now be invalid [#136]babel
,karma
,npm
andwebpack
configuration (i.e. anything that's not documented in the Configuration docs) are now treated as errors [#193]nwb check-config
to check your configuration file.webpack.uglify
config you have against the new version's options documentation - options for UglifyJS itself must now be passed as anuglifyOptions
object and some of UglifyJS' default options have changed.engines
config of nwb's dependencies.nwb.config.js
Config Changeswebpack.compat.sinon
flag for Sinon 1.x compatibility settings, as subsequent major versions since July 2017 support Webpack out of the box.Fixed
Added
--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]babel.config()
function which will be given the generated Babel config to do whatever it wants with.karma.config()
function which will be given the generated Karma config to do whatever it wants with [#408]Changed
webpack.compat
configDependencies
Docs
webpack.copy
config--copy-files
for component builds more visible [#407]v0.21.1
Fixed
webpack.extractText = false
config, which disables extraction of imported stylesheets into.css
files [#418]Dependencies
v0.21.2
Fixed
babel.env
config [#420] [ngyikp]Dependencies
v0.21.3
Changed
port
config indevServer
config will now be used if configured [#423]Dependencies
v0.21.4
Fixed
webpack.compat
locale properties [#425]devServer.port
is specified as aString
[#423]Dependencies
v0.21.5
Dependencies
Commits
insin/nwb
v0.18.9
609dba5
Release v0.18.9v0.18.10
aff5eb4
Fix CHANGES typosb8f467d
Update devServer config to include CORS header9b848ee
Merge pull request #357 from DethAriel/patch-101c6957
Update CHANGES22ae360
Update dependencies46828ac
Fix CHANGES8ef371c
Release v0.18.10v0.19.0
12d27e6
Update dependencies7c81777
Use beautify: true for webpack.debug so code splits are readable211699f
Revert use of preact/debug in favour of preact/devtoolsad8ba2f
Update webpack8c2114f
Removed hooking of React, Preact and Inferno render() functions in quick commands61695c4
Update dependenciesa97aeec
Update ReactComponents.md24eb78a
Merge pull request #370 from freefony/patch-14257d54
Update babel-runtime159c62e
CLI help documentation error4cb447a
Revert "Revert use of preact/debug in favour of preact/devtools"2bd49e5
Update dependenciesc32f892
Use babel-preset-env instead of deprecated babel-preset-es201X plugins8842ad9
Update dependencies67a873c
Merge pull request #377 from jamrizzi/jamrizzi/cli-doc-errorddbd30f
Fix CLI help alignment9a838a6
Update dependenciesd0ff1de
Update dependencies5172ccd
Added additional Enzyme compat config for recent versions of React 1547b9d74
Update dependencies19bd6ba
Update dependenciesb56d36d
Update dependenciesc04b2f4
Release v0.19.0v0.19.1
516484b
Tweak CHANGES.md24926b6
Update style-loader and disable inclusion of its HMR code in builds6c92302
Update extract-text-webpack-plugind61ff0e
Revert changes to webpack.compat.enzyme from v0.19.0 and deprecate it6e93166
Update dependencies916a050
Update dependencies86e3b1e
Update QuickDevelopment.md598f1f3
Merge pull request #393 from KevinBon/patch-1a313ba5
Update dependenciescff7caf
Run tests in Node 8 and prevent creation of a package-lock.json with npm 5a5de521
Update dependencies6fc5939
Add createClass and createReactClass to the list of factory function names React Transform will look for72985a5
Release v0.19.1v0.19.2
522b1cc
Turns out React 16 didn't break React Transform's HMR6aea316
Back out use of preact/debug in favour of preact/devtools8f41e2a
Release v0.19.24df3610
Update to Mocha 4v0.20.0
4ca2d46
Update dependencies0f54c39
Export the default export from UMD buildsfcc5895
Update dependencies51d92fa
Add note about workaround for PhantomJS install error on some OSes to README6b7956e
Bump the default React peerDependency version for react-component projects to 16.x8ab3537
Release v0.20.0v0.21.0
97d11c8
Fixed some missing/incorrect dependency updates in CHANGES1213fb9
Update dependencies2bd967c
Update dependencies4e1a8eb
Update Commands docs to make better use of headings8376b8b
Support a karma.config() function for modifying generated Karma confige820c7e
Update dependencies7c9ab76
Run tests in the webpack4 brancha1da579
Update dependencies and add a missing flow pragmac0a5950
Fix flow errors6f918ba
Config cleanup6b9bb31
Update to UglifyJsPlugin 1.x0f2434e
Default to Babel stage 1 when testing React component/library and web module projects9f57838
Add a hint for .extra config on unexpected Webpack and Karma config props4c2121c
Tag a CHANGES item with an exsiting issue number it resolves4d140e9
Add more loggin to express middleware test00adee2
Update dependenciesa00c064
Update dependencies12fbfc0
devServer.setup [deprecated] → devServer.before888e081
Merge pull request #415 from dtinth/patch-23e7a5db
Added an --open flag when running the development server60c4c27
Update dependenciesf9bc7f2
Fix template typoce38bd9
Use the current LTS version of node in template Travis CI configbf91482
Update dependenciesd326a52
Release v0.21.0v0.21.1
b585ab0
Fix config validation to allow webpack.extractText to be falsebca2750
Update dependenciesf2e4f8f
Tweak CHANGESee6745a
Actually fix webpack.extractText = false validation07ae908
Release v0.21.1v0.21.2
a35049d
Run tests in the babel7 branchdcf16c8
Fix config validation ofbabel.env
60fe735
Merge pull request #420 from ngyikp/fix-config-validation-babel-env03cfb05
Update CHANGES09a2ef4
Update dependenciescd2ed69
Release v0.21.2v0.21.3
6a5ba9a
Use devServer.port if it's configured0703b2e
Update dependencies2258a1d
Update flow7cc60ed
Release v0.21.3v0.21.4
9ad029d
Fix validation of webpack.compat locale propertiesb5f87b6
Update uglifyjs-webpack-pluginf706962
Ensure devServer.port is a Number for comparison with the available port8c0d4ce
Release v0.21.4v0.21.5
12a100f
Update cross-spawn65109ab
Release v0.21.5This PR has been generated by Renovate Bot.