All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
2.0.1 - 2018-02-05
v2.0.1 is a minor hotfix release patched the NODE_ENV not set on Windows
issue.
- Package
cross-envasdevDependencies. - README section "Author".
- NPM scripts won't set environment variables on Windows issue.
v2.0.0 is a major release that most part of the boilerplate has been rewritten.
- ESLint for code checking on Javascript files.
- Airbnb's extensible
.eslintrcpackage & its' peer dependencies. .eslintrcthat extends Airbnb's config and has customised rules configured.- Rule
no-default-exportis set for JavaScript files to align with TypeScript.
- Rule
- ESLint plugin
eslint-import-resolver-webpackfor ESLint to resolve path aliases set in Webpack config. - Webpack plugin
copy-pkg-json-webpack-pluginto generate apackage.jsonfile and pack into Webpack's bundled package for production. - Build commands
build:mac&build:winto package & build the installer of your Electron app for macOS & Windows usingelectron-builder. - README section "Building the installer for your Electron app" & sub-section "Extra options".
- Refactored Webpack config file to have
mainConfig&rendererConfigcleaned up, and set mode by environment variable. .gitignoreto ignore folderout/which will be auto-generated during the build process.- README section "How does it work?" is now renamed to "Getting started" & completed the documentation of this section.
- README section "Folder structure" to reflect the changes in
v2.0.0.
- CSS files fail to inject into views issue by setting Webpack to use
style-loaderalongside withcss-loaderto bundle the files in Webpack config file. baseUrlintsconfig.jsonpoints to root directory incorrectly issue. Corrected to current directory so VSCode can resolves the path aliases correctly.
- Redux & React-Redux related settings, including packages listed on
devDependencies, path aliases & folders listed in folder structure.- Since Electron's built-in IPC & basic React states should be enough to get
the works done, and most Electron apps which have their application logic
runs on Electron's
mainprocess rather thenrendererprocess actually don't need React-Redux,redux&react-reduxare no longer included in this boilerplate. - Redux & React-Redux can still be used on this boilerplate by installing the package yourself. For details, please refer to the corresponding library's documents, there's no different than working on any other project which isn't based on this boilerplate.
- Since Electron's built-in IPC & basic React states should be enough to get
the works done, and most Electron apps which have their application logic
runs on Electron's
- Separated Webpack config files for
development&productionmode.