@@ -6,19 +6,40 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
66
77## [ Unreleased]
88
9- ## 2.0.0 - 2018-02-01
9+ ## 2.0.0 - 2018-02-03
10+ v2.0.0 is a major release that refactored the most part of the boilerplate.
11+
1012### Added
1113- ESLint for code checking on Javascript files.
1214- Airbnb's extensible ` .eslintrc ` package & its' peer dependencies.
1315- ` .eslintrc ` that extends Airbnb's config and has customised rules configured.
16+ - _ Rule ` no-default-export ` is set for JavaScript files to align with
17+ TypeScript._
1418- ESLint plugin ` eslint-import-resolver-webpack ` for ESLint to resolve path
15- aliases set in Webpack config.
19+ aliases set in Webpack config.
1620- Webpack plugin ` copy-pkg-json-webpack-plugin ` to generate a ` package.json `
17- file and pack into Webpack's bundled package for production.
21+ file and pack into Webpack's bundled package for production.
22+ - Build commands ` build:mac ` & ` build:win ` to package & build the installer of
23+ your Electron app for macOS & Windows using ` electron-builder ` .
24+ - _ ` asar ` archiving is disabled by default for Windows build as some code
25+ will not work properly if it's on (saying based on experience). Users can
26+ turn it back on by removing ` asar: false ` in ` build ` section of
27+ ` package.json ` ._
1828
1929### Changed
2030- Refactored Webpack config file to have ` mainConfig ` & ` rendererConfig `
21- cleaned up, and set mode by environment variable.
31+ cleaned up, and set mode by environment variable.
32+ - ` .gitignore ` to ignore folder ` out/ ` which will be auto-generated during the
33+ build process.
34+ - README to refactor the changes made in ` v2.0.0 ` .
35+
36+ ### Fixed
37+ - CSS files fail to inject into views issue by setting Webpack to use
38+ ` style-loader ` alongside with ` css-loader ` to bundle the files in Webpack
39+ config file.
40+ - ` baseUrl ` in ` tsconfig.json ` points to root directory incorrectly issue.
41+ Corrected to current directory so VSCode can resolves the path aliases
42+ correctly.
2243
2344### Removed
2445- Redux & React-Redux related settings, including packages listed on
@@ -28,6 +49,10 @@ cleaned up, and set mode by environment variable.
2849 runs on Electron's ` main ` process rather then ` renderer ` process actually
2950 don't need React-Redux, ` redux ` & ` react-redux ` are no longer included in
3051 this boilerplate.
52+ - Redux & React-Redux can still be used on this boilerplate by installing the
53+ package yourself. For details, please refer to the corresponding library's
54+ documents, there's no different than working on any other project which
55+ isn't based on this boilerplate.
3156- Separated Webpack config files for ` development ` & ` production ` mode.
3257
3358[ Unreleased ] : https://github.com/Devtography/electron-react-typescript-webpack-boilerplate/compare/v2.0.0...HEAD
0 commit comments