Releases: insin/nwb
Releases · insin/nwb
v0.6.2
Dependencies:
- argv-set-env: v1.0.0 → v1.0.1 - docs
- glob: v6.0.1 → v6.0.3 - v6.0.2 was reverted
- karma: v0.13.15 → v0.13.16
- karma-mocha-reporter: v1.1.3 → v1.1.4 - handle duplicate descriptions
- karma-phantomjs-launcher: v0.2.1 → v0.2.2
- react-transform-catch-errors: v1.0.0 → v1.0.1 - display the offending call stack more prominently
- rimraf: v2.4.5 → v2.5.0 - add glob option
- webpack-merge: v0.3.2 → v0.5.1 - fix recursive merging
v0.6.1
v0.6.0
Added:
- Added an
nwb init
command - same asnwb new
but creates a project in the current directory and uses the directory name by default [#25] - Added a new
web-app
project type - this is for anyone who wants to use nwb's build/serve/test setup but isn't using React [#24] - Added a
--reload
option to auto-reload the page when webpack hot module replacement gets stuck. This is primarily intended for use with the newweb-app
project type. - Command-line arguments can now be used to configure settings for
nwb new
.
Fixed:
- Production optimisations weren't being applied to React app builds.
- Demo apps weren't generating sourcemaps when bundling.
- Use a non-zero exit code when displaying usage or otherwise exiting due to missing arguments [#23]
Changed:
- Reorganised and coloured
nwb help
output. - Commands which create files now log details of what they've created [#26]
- The ES6 modules build for npm modules is now optional, controlled by a
jsNext
setting innwb.config.js
, defaulting totrue
[#27]- nwb 0.6 will default
jsNext
totrue
and log a warning when it's missing from a config file - this behaviour will be removed in nwb 0.7.
- nwb 0.6 will default
Dependencies:
- copy-template-dir: v1.1.0 → v1.2.0 - provide created file paths in callback
- css-loader: v0.23.0 → v0.23.1
- expect: v1.13.3 → v1.13.4 - comparing arrays of nested objects fix
- rimraf: v2.4.4 → v2.4.5
New help output screenshots on Windows and Linux:
v0.5.0
Added:
- Top-level Webpack config can now be provided for loaders which support it, as a
config
object in theirnwb.config.js
loaders
configuration. This is intended for loaders which can't use serialisablequery
config due to plugins, such as some CSS preprocessors [#18]
Fixed:
files
config from templatepackage.json
was being used when packing nwb for publishing. Renamed them to_package.json
to avoid this [#22]
Changed:
- Downgraded qs dependency so nwb can be used with Node.js 0.12.x [#19]
Dependencies:
- copy-template-dir: v1.0.5 → v1.1.0 - rename all files beginning with
_
- expect: v0.13.0 → v0.13.3 -
Map
,Set
and circular comparison fixes - qs: v6.0.0 → v5.2.0 - downgrade to lose Node.js >= 4.0.0 requirement
v0.4.1
v0.4.0
Added:
- Added
--fallback
option tonwb serve
, for serving the index page from any path when developing React apps which use the HTML5 History API [#16] - Added
"engines": {"node": ">=4.0.0"}
topackage.json
- nwb accidentally depends on this because it uses qs v6 - if it's a problem for you, please create an issue [#19] - Added
files
config to React component/web modulepackage.json
templates.- The
files
config for the React component template assumes that components published to npm withrequire()
calls for CSS which ships with it will use acss/
dir.
- The
- Added a default ES6 build with untranspiled ES6 module usage [#15]
- This is pointed to by
jsnext:main
in project templatepackage.json
for use by tree-shaking ES6 bundlers.
- This is pointed to by
Fixed:
- Added missing
main
config to React component/web modulepackage.json
templates, pointing at the ES5 build inlib/
. - Express middleware wasn't included in npm package.
Changed:
- 1.0.0 is now the default version for template projects.
v0.3.1
v0.3.0
v0.2.0
Added:
- Express middleware for running a React app on your own development server using nwb's Webpack config generation [#8]
Changed:
- Webpack loader config objects are now merged with webpack-merge; query objects will now be deep merged, with lists occurring at the same position in build and user config being concatenated instead of overwritten.
Fixed:
v0.1.0-beta.1
Added
- Allow Karma test path, frameworks, reporters and plugins to be configured
Changed:
- Handle reporting of invalid vs. missing config files better
Deps:
- Update webpack-hot-middleware to 2.6.0 - error overlay style improvements