Skip to content

Commit c39486f

Browse files
author
guasam
committed
Create foundation
0 parents  commit c39486f

26 files changed

+8000
-0
lines changed

.eslintrc.json

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
{
2+
"env": {
3+
"browser": true,
4+
"es6": true,
5+
"node": true
6+
},
7+
"extends": [
8+
"eslint:recommended",
9+
"plugin:react/recommended",
10+
"plugin:@typescript-eslint/eslint-recommended",
11+
"plugin:@typescript-eslint/recommended",
12+
"plugin:import/errors",
13+
"plugin:import/warnings"
14+
],
15+
"parser": "@typescript-eslint/parser",
16+
"settings": {
17+
"import/resolver": {
18+
"node": {
19+
"extensions": [".js", ".jsx", ".ts", ".tsx"]
20+
},
21+
"alias": {
22+
"map": [
23+
["@src", "./src"],
24+
["@assets", "./assets"]
25+
],
26+
"extensions": [".js", ".jsx", ".ts", ".tsx"]
27+
}
28+
},
29+
"react": {
30+
"version": "latest"
31+
}
32+
},
33+
"rules": {
34+
"react/prop-types": "off",
35+
"@typescript-eslint/no-var-requires": "off"
36+
}
37+
}

.gitignore

Lines changed: 89 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,89 @@
1+
# Logs
2+
logs
3+
*.log
4+
npm-debug.log*
5+
yarn-debug.log*
6+
yarn-error.log*
7+
lerna-debug.log*
8+
9+
# Diagnostic reports (https://nodejs.org/api/report.html)
10+
report.[0-9]*.[0-9]*.[0-9]*.[0-9]*.json
11+
12+
# Runtime data
13+
pids
14+
*.pid
15+
*.seed
16+
*.pid.lock
17+
.DS_Store
18+
19+
# Directory for instrumented libs generated by jscoverage/JSCover
20+
lib-cov
21+
22+
# Coverage directory used by tools like istanbul
23+
coverage
24+
*.lcov
25+
26+
# nyc test coverage
27+
.nyc_output
28+
29+
# node-waf configuration
30+
.lock-wscript
31+
32+
# Compiled binary addons (https://nodejs.org/api/addons.html)
33+
build/Release
34+
35+
# Dependency directories
36+
node_modules/
37+
jspm_packages/
38+
39+
# TypeScript v1 declaration files
40+
typings/
41+
42+
# TypeScript cache
43+
*.tsbuildinfo
44+
45+
# Optional npm cache directory
46+
.npm
47+
48+
# Optional eslint cache
49+
.eslintcache
50+
51+
# Optional REPL history
52+
.node_repl_history
53+
54+
# Output of 'npm pack'
55+
*.tgz
56+
57+
# Yarn Integrity file
58+
.yarn-integrity
59+
60+
# dotenv environment variables file
61+
.env
62+
.env.test
63+
64+
# parcel-bundler cache (https://parceljs.org/)
65+
.cache
66+
67+
# next.js build output
68+
.next
69+
70+
# nuxt.js build output
71+
.nuxt
72+
73+
# vuepress build output
74+
.vuepress/dist
75+
76+
# Serverless directories
77+
.serverless/
78+
79+
# FuseBox cache
80+
.fusebox/
81+
82+
# DynamoDB Local files
83+
.dynamodb/
84+
85+
# Webpack
86+
.webpack/
87+
88+
# Electron-Forge
89+
out/

.prettierrc

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
{
2+
"singleQuote": true,
3+
"trailingComma": "all",
4+
"jsxSingleQuote": true
5+
}

CHANGELOG.md

Lines changed: 146 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,146 @@
1+
# Change Log
2+
3+
All notable changes to the project are listed here.
4+
5+
For more information visit:
6+
https://github.com/codesbiome/electron-react-webpack-typescript-2021
7+
8+
9+
### v4.1.0
10+
11+
- 🎉 Electron core upgraded to version `v14`
12+
- Update application style properties
13+
- Enable `nativeWindowOpen` for main window
14+
- Remove `enableRemoteModule` from main window
15+
- Fix : Hot reloading issue caused by `liveReload` in webpack devServer
16+
- Added additional Webpack `devServer` configuration in `tools/forge/forge.config.js`
17+
- Upgraded outdated deps:
18+
- `@electron-forge` deps upgraded to `6.0.0-beta.60`
19+
- `@typescript-eslint` deps upgraded to `^4.30.0`
20+
- `@types/react` upgraded to `^17.0.19`
21+
- `electron` upgraded to `^14.0.0`
22+
- `eslint-plugin-import` upgraded to `^2.24.2`
23+
- `eslint-plugin-react` upgraded to `^7.25.1`
24+
- `typescript` upgraded to `^4.4.2`
25+
- `webpack` upgraded to `^5.51.1`
26+
27+
28+
### v4.0.1
29+
30+
- Update file-loader configuration for `assets` files
31+
- Add packager configuration for app executable file details
32+
- Update `README` with similar useful projects
33+
34+
35+
### v4.0.0
36+
37+
- Overhaul for Application default layout and styling.
38+
- Default window background color updated.
39+
- Default `minimal` stats output for main & renderer process via webpack.
40+
- Upgraded outdated deps :
41+
- `electron` upgraded to `^13.1.9`
42+
- `@electron-forge` packages upgraded to `6.0.0-beta.59`
43+
- `@typescript-eslint` packages upgraded to `^4.29.2`
44+
- `css-loader` upgraded to `^6.2.0`
45+
- `eslint` upgraded to `^7.32.0`
46+
- `fork-ts-checker-webpack-plugin` upgraded to `^6.3.2`
47+
- `less-loader` upgraded to `10.0.1`
48+
- `style-loader` upgraded to `^3.2.1`
49+
- `ts-loader` upgraded to `9.2.5`
50+
- `typescript` upgraded to `^4.3.5`
51+
- `webpack` upgraded to `^5.50.0`
52+
53+
54+
### v3.1.0
55+
56+
- Electron core 🚀 upgraded to version 13.
57+
- Expose Webpack Ports settings in forge configuration.
58+
- Upgraded outdated packages :
59+
- `electron` upgraded to `^13.0.1`
60+
- `@typescript-eslint` packages upgraded to `^4.26.0`
61+
- `eslint` upgraded to `^7.27.0`
62+
- `css-loader` upgraded to `^5.2.6`
63+
- `ts-loader` upgraded to `8.3.0`
64+
- `typescript` upgraded to `^4.3.2`
65+
- `webpack` upgraded to `^5.38.1`
66+
- `fork-ts-checker-webpack-plugin` upgraded to `^6.2.10`
67+
68+
69+
### v3.0.1
70+
71+
- Upgraded outdated packages
72+
- `electron'` upgraded to `^12.0.6`
73+
- `react` upgraded to `^17.0.2`
74+
- `react-dom` upgraded to `^17.0.2`
75+
- `css-loader` upgraded to `^5.2.4`
76+
- `eslint` upgraded to `^7.25.0`
77+
- `node-loader` upgraded to `2.0.0`
78+
- `ts-loader` upgraded to `8.2.0`
79+
- `typescript` upgraded to `^4.2.4`
80+
- `webpack` upgraded to `^5.36.2`
81+
82+
83+
### v3.0.0
84+
85+
- Overhaul for Application component layout and styling.
86+
- Project Files structure updated.
87+
- Move static images to `assets` directory.
88+
- Remove `.prettierignore` file.
89+
- Use `.tsx` file extension for `preload` and `renderer` incase we need to use components.
90+
- Introduce new `assets` webpack alias.
91+
- Modify aliases usage for new project structure.
92+
- Upgraded outdated dependencies
93+
- `electron` upgraded to `12.0.1`
94+
- `css-loader` upgraded to `5.1.3`
95+
- `eslint` upgraded to `7.22.0`
96+
- `less` upgraded to `4.1.1`
97+
- `less-loader` upgraded to `7.3.0`
98+
- `ts-loader` upgraded to `8.0.18`
99+
- `typescript` upgraded to `4.2.3`
100+
- `webpack` upgraded to `5.27.1`
101+
102+
### v2.1.0
103+
104+
- New Year 2021 🎉🎊
105+
- Upgraded outdated dependencies
106+
- `electron` version upgraded to `11.1.1`
107+
- `react` version upgraded to `17.0.1`
108+
- `hot-loader` version upgraded to `17.0.1`
109+
- `webpack` version upgraded to `5.13.0`
110+
- `typescript` version upgraded to `4.1.3`
111+
- `ts-loader` version upgraded to `8.0.14`
112+
- `css-loader` version upgraded to `5.0.1`
113+
- `style-loader` version upgraded to `2.0.0`
114+
- `less` version upgraded to `4.1.0`
115+
116+
### v2.0.2
117+
118+
- Upgraded outdated dependencies
119+
- `electron` version upgraded to `10.x`
120+
- `typescript` version upgraded to `4.x`
121+
- `less-loader` version upgraded to `7.x`
122+
123+
### v2.0.1
124+
125+
- Upgraded outdated dependencies
126+
127+
### v2.0.0
128+
129+
- Added electron window background color
130+
- Devtools opening on startup is disabled
131+
- Added `preload` script usage (preload.ts) 👍
132+
- Moved webpack `aliases` to separate file
133+
- Added new style & color changes to boilerplate layout
134+
- Added prettier configuration files `.prettierrc` `.prettierignore`
135+
- `contextIsolation` is enabled by default
136+
- `nodeIntegration` `enableRemoteModule` `nodeIntegrationInWorker` `nodeIntegrationInSubFrames` are disabled default
137+
138+
### v1.0.0
139+
140+
- Upgrade package dependencies to latest
141+
- Add hot module replacement (live reload)
142+
- Add linting via ESLint
143+
- Custom webpack configuration
144+
- Custom forge configuration for package/bundle
145+
- Add aliases for project paths
146+
- Image loader to display images

LICENSE

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
MIT License
2+
3+
Copyright (c) 2021 Codesbiome
4+
5+
Permission is hereby granted, free of charge, to any person obtaining a copy
6+
of this software and associated documentation files (the "Software"), to deal
7+
in the Software without restriction, including without limitation the rights
8+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9+
copies of the Software, and to permit persons to whom the Software is
10+
furnished to do so, subject to the following conditions:
11+
12+
The above copyright notice and this permission notice shall be included in all
13+
copies or substantial portions of the Software.
14+
15+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21+
SOFTWARE.

0 commit comments

Comments
 (0)