Skip to content

Commit 41afaef

Browse files
committed
Merge branch 'release/4.1.0' into develop
2 parents 696d775 + 541024a commit 41afaef

File tree

4 files changed

+47
-20
lines changed

4 files changed

+47
-20
lines changed

CHANGELOG_V4+.md

Lines changed: 17 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
55
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
66

77
## [Unreleased]
8+
9+
## [v4.1.0] - 2022-08-07
810
### Added
911
- `tsconfig.eslint.json` to avoid ESLint complains for file not being included
1012
in project provided.
@@ -34,11 +36,23 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
3436

3537
### Updates on package dependencies
3638
### Added
37-
- `eslint-import-resolver-typescript` *- Better TypeScript support for ESLint
39+
- `eslint-import-resolver-typescript` *- Enhanced TypeScript support for ESLint
3840
`import` plugin*
3941
- `webpack-merge` *- Replaced the sections using `lodash.deepClone()` in
4042
`webpack.config.js`*
4143

44+
### Updated
45+
- Major version updates:
46+
- `electron` - `19.0.9` -> `20.0.1`
47+
- `tsconfig-paths-webpack-plugin` - `3.5.2` -> `4.0.0`
48+
- Minor & patch version updates:
49+
- `@typescript-eslint/eslint-plugin` & `@typescript-eslint/parser` -
50+
`5.30.7` -> `5.32.0`
51+
- `eslint` - `8.20.0` -> `8.21.0`
52+
- `eslint-plugin-jest` - `26.6.0` -> `26.7.0`
53+
- `electron-builder` - `23.1.0` -> `23.3.3`
54+
- `tsconfig-paths` - `4.0.0` -> `4.1.0`
55+
4256
### Removed
4357
- `eslint-import-resolver-webpack` *- Not being used in any part of the
4458
boilerplate*
@@ -125,5 +139,6 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
125139
`ts-jest`*
126140
- `spectron` *- Deprecated package; No replacement*
127141

128-
[Unreleased]: https://github.com/Devtography/electron-react-typescript-webpack-boilerplate/compare/v4.0.0...HEAD
142+
[Unreleased]: https://github.com/Devtography/electron-react-typescript-webpack-boilerplate/compare/v4.1.0...HEAD
129143
[v4.0.0]: https://github.com/Devtography/electron-react-typescript-webpack-boilerplate/compare/v3.0.0...v4.0.0
144+
[v4.1.0]: https://github.com/Devtography/electron-react-typescript-webpack-boilerplate/compare/v4.0.0...v4.1.0

README.md

Lines changed: 27 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
# Electron-React-TypeScript-Webpack-Boilerplate
1+
# Electron-React-TypeScript-Webpack (ERTW) Boilerplate
22
A boilerplate that let you instantly start working on your next [Electron] app
3-
in [TypeScript] with no time wasted messing with the config files.
3+
project in [TypeScript] with no time wasted messing with the config files.
44

55
- Ready to use [Electron] project template with [React], [Webpack] and
66
[TypeScript] seamlessly integrated.
@@ -16,8 +16,8 @@ in [TypeScript] with no time wasted messing with the config files.
1616
doesn't work, please [file an issue].*
1717

1818
### Maintenance schedule
19-
Starting from `v4.0.0`, the project maintenance will become much more regular.
20-
A new release will be published on a monthly basis to keep the package
19+
Starting from [`v4.0.0`], this project is set to receive regular maintenances.
20+
New releases will be published on monthly basis to keep the package
2121
dependencies, package configurations and APIs / syntax up to date.
2222

2323
Maintenance work will begin on 1st of each month, and expect the new version to
@@ -27,9 +27,10 @@ especially on experimental features. If you want any particular feature to be
2727
implemented, please [file an issue], or consider make a [new pull request].
2828

2929
### Development plan
30-
- [ ] Create a `create-react-app`-like package initialiser __!!!__
30+
- [ ] Develop a `create-react-app`-like NPX tool __!!!__
31+
__*([working on it](https://github.com/Devtography/create-ertw-app))*__
3132
- [ ] Integrate another end-to-end testing framework to replace [Spectron]
32-
- [ ] Migrate to Webpack 5 `Asset Modules`
33+
- [ ] Migrate to Webpack 5 `Asset Modules` __*(pending for `v4.2.0`)*__
3334

3435
---
3536

@@ -48,6 +49,11 @@ implemented, please [file an issue], or consider make a [new pull request].
4849
`mocha` as your unit testing framework, please reference to `package.json`
4950
from [`v3.0.0`].
5051

52+
- [ESLint] config file `.eslintrc.cjs` introduced in [`v4.1.0`] is written in
53+
CommonJS syntax on purpose. As of the release of [`v4.1.0`], ESLint has yet
54+
to support ES module for its' config file. __Converting the config file to
55+
ES module will result in ESLint not working.__
56+
5157
---
5258

5359
## Getting started
@@ -123,7 +129,7 @@ To package your Electron app, run `npm run prod` to get your code compiled in
123129
meant to improve performance of reading files if bundler like Webpack is not
124130
being used. The app packaging workflow defined in this boilerplate already
125131
uses Webpack to minify your code in `production` builds, so there shouldn't
126-
be any significant performance different with `asar` archiving disabled.
132+
be any significant performance difference with `asar` archiving disabled.
127133

128134
## Project folders & files
129135
- `dist/` - [Webpack] output location
@@ -210,7 +216,7 @@ To package your Electron app, run `npm run prod` to get your code compiled in
210216
- `main/main.spec.ts` - Sample test file for `src/main/main`
211217
- `tsconfig.json` - TypeScript config file for `tests` module
212218
- `.eslintignore` - [ESLint] ignore file
213-
- `.eslintrc` - [ESLint] config file
219+
- `.eslintrc.cjs` - [ESLint] config file
214220

215221
Configured to use Airbnb's rules with [TypeScript] supported, and rules for
216222
[Jest] applied.
@@ -229,6 +235,7 @@ To package your Electron app, run `npm run prod` to get your code compiled in
229235
build config setup guides.
230236

231237
- `README.md`
238+
- `tsconfig.eslint.json` - [TypeScript] config file consume by [ESLint].
232239
- `tsconfig.json` - [TypeScript] config file
233240

234241
Module path aliases are configured here. [Jest] & [Webpack] will pick up the
@@ -240,13 +247,14 @@ To package your Electron app, run `npm run prod` to get your code compiled in
240247
Includes configurations targetting `electron-main`, `electron-preload`, and
241248
`electron-renderer` respectively.
242249

243-
## Author
244-
[Wing Chau](https://github.com/iamWing) [@Devtography](https://github.com/Devtography)
245-
246250
## Donation
247251
Maintaining this project takes time, lots of cups of coffee, and I do it for
248-
free. Consider buy me coffee via [donations]. 100% of donation will fund my
249-
coffee buying budget for quality coffee beans from great roasters I know 😉 ☕️️
252+
free. Consider buy me some coffee via [GitHub Sponsors] or [PayPal]. 100% of
253+
your donation will fund my coffee buying budget for quality coffee beans from
254+
great roasters I know 😉 ☕️️
255+
256+
## Author
257+
[Wing Chau](https://github.com/iamWing) [@Devtography](https://github.com/Devtography)
250258

251259
## License
252260
Electron React TypeScript Webpack Boilerplate is open source software
@@ -265,11 +273,15 @@ Electron React TypeScript Webpack Boilerplate is open source software
265273
[Playwright]: https://playwright.dev
266274
[WebdriverIO]: https://webdriver.io
267275
[Spectron Deprecation Notice]: https://www.electronjs.org/blog/spectron-deprecation-notice
268-
[`v3.0.0`]: https://github.com/Devtography/electron-react-typescript-webpack-boilerplate/releases/tag/v3.0.0
269276
[`Use this template`]: https://github.com/Devtography/electron-react-typescript-webpack-boilerplate/generate
270277
[`tsconfig-paths`]: https://github.com/dividab/tsconfig-paths
271278
[`tsconfig-paths-webpack-plugin`]: https://github.com/dividab/tsconfig-paths-webpack-plugin
272279
[Electron quick start guide]: https://www.electronjs.org/docs/latest/tutorial/quick-start
273280
[Electron Forge]: https://github.com/electron-userland/electron-forge
274281
[`electron-builder`'s document]: https://www.electron.build
275-
[donations]: https://github.com/sponsors/iamWing
282+
[GitHub Sponsors]: https://github.com/sponsors/iamWing
283+
[PayPal]: https://paypal.me/iamWing0w0
284+
285+
[`v3.0.0`]: https://github.com/Devtography/electron-react-typescript-webpack-boilerplate/releases/tag/v3.0.0
286+
[`v4.0.0`]: https://github.com/Devtography/electron-react-typescript-webpack-boilerplate/releases/tag/v4.0.0
287+
[`v4.1.0`]: https://github.com/Devtography/electron-react-typescript-webpack-boilerplate/releases/tag/v4.1.0

package-lock.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "electron-react-typescript-webpack-boilerplate",
3-
"version": "4.0.0",
3+
"version": "4.1.0",
44
"description": "Pre-configured boilerplate for Electron + React + TypeScript",
55
"type": "module",
66
"main": "./dist/main.bundle.js",

0 commit comments

Comments
 (0)