@@ -6,19 +6,40 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
6
6
7
7
## [ Unreleased]
8
8
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
+
10
12
### Added
11
13
- ESLint for code checking on Javascript files.
12
14
- Airbnb's extensible ` .eslintrc ` package & its' peer dependencies.
13
15
- ` .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._
14
18
- ESLint plugin ` eslint-import-resolver-webpack ` for ESLint to resolve path
15
- aliases set in Webpack config.
19
+ aliases set in Webpack config.
16
20
- 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 ` ._
18
28
19
29
### Changed
20
30
- 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.
22
43
23
44
### Removed
24
45
- Redux & React-Redux related settings, including packages listed on
@@ -28,6 +49,10 @@ cleaned up, and set mode by environment variable.
28
49
runs on Electron's ` main ` process rather then ` renderer ` process actually
29
50
don't need React-Redux, ` redux ` & ` react-redux ` are no longer included in
30
51
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.
31
56
- Separated Webpack config files for ` development ` & ` production ` mode.
32
57
33
58
[ Unreleased ] : https://github.com/Devtography/electron-react-typescript-webpack-boilerplate/compare/v2.0.0...HEAD
0 commit comments