Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dependencies update #14

Open
wants to merge 41 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
41 commits
Select commit Hold shift + click to select a range
362aa05
Dependencies update
MrRefactoring Oct 6, 2018
ad50dcc
dependencies updated
MrRefactoring Jan 19, 2019
5841b32
Greenkeeper/initial (#1)
MrRefactoring Jan 24, 2019
0901458
📚 GreenKeeper label removed
MrRefactoring Feb 19, 2019
24b6ce7
Update webpack to version 4.29.5 (#2)
MrRefactoring Feb 19, 2019
dbcd9f5
Update webpack-cli to version 3.2.3 (#3)
MrRefactoring Feb 19, 2019
a9f48d5
Update react (#4)
MrRefactoring Feb 19, 2019
52889fc
📚 Update readme
MrRefactoring Feb 19, 2019
fd752d5
Create .travis.yml
MrRefactoring Feb 19, 2019
8c669e7
Update package.json
MrRefactoring Feb 19, 2019
dd5d8c2
fixes
MrRefactoring Feb 19, 2019
3dc911b
dependencies versions bumped
MrRefactoring Mar 28, 2019
8e37b48
migration to new version of babel
MrRefactoring Mar 28, 2019
2d6b7b6
updated dependency and readme
MrRefactoring Mar 31, 2019
01ded16
versions bumped
MrRefactoring Apr 6, 2019
20a1cfa
webpack version update
MrRefactoring Apr 14, 2019
15706e5
update electron 4 -> electron 5
MrRefactoring Apr 27, 2019
bb2345c
dependecies update
MrRefactoring Jun 10, 2019
98c9bf3
Bump file-loader from 4.3.0 to 6.0.0 (#6)
dependabot-preview[bot] May 24, 2020
f71e3e3
Bump css-loader from 2.1.1 to 3.5.3 (#7)
dependabot-preview[bot] May 24, 2020
acdf7ab
Bump cross-env from 5.2.1 to 7.0.2 (#8)
dependabot-preview[bot] May 24, 2020
50ee916
Bump babel-loader from 8.0.6 to 8.1.0 (#9)
dependabot-preview[bot] May 24, 2020
f33e381
Bump electron from 5.0.13 to 9.0.0 (#5)
dependabot-preview[bot] May 24, 2020
f1707da
dependencies updates
MrRefactoring May 24, 2020
d4056c1
Bump @babel/preset-react from 7.9.4 to 7.10.0 (#10)
dependabot-preview[bot] May 27, 2020
7d20f9e
Bump @babel/core from 7.9.6 to 7.10.0 (#11)
dependabot-preview[bot] May 27, 2020
97f3953
Bump @babel/preset-env from 7.9.6 to 7.10.0 (#12)
dependabot-preview[bot] May 27, 2020
dbfc8b4
Bump @babel/preset-react from 7.10.0 to 7.10.1 (#15)
dependabot-preview[bot] Jun 1, 2020
27cb346
Bump @babel/core from 7.10.0 to 7.10.2 (#17)
dependabot-preview[bot] Jun 1, 2020
08d9f07
Bump electron from 9.0.0 to 9.0.2 (#19)
dependabot-preview[bot] Jun 3, 2020
62c9141
Bump css-loader from 3.5.3 to 3.6.0 (#22)
dependabot-preview[bot] Jun 16, 2020
af82f7d
Bump @babel/preset-env from 7.10.0 to 7.10.2 (#16)
dependabot-preview[bot] Jun 16, 2020
6e5535e
Bump electron from 9.0.2 to 9.0.4 (#21)
dependabot-preview[bot] Jun 16, 2020
549f6d4
Bump webpack-cli from 3.3.11 to 3.3.12 (#23)
dependabot-preview[bot] Jun 19, 2020
d8ec257
Bump electron from 9.0.4 to 9.0.5 (#26)
dependabot-preview[bot] Jun 23, 2020
539078e
Bump @babel/preset-env from 7.10.2 to 7.10.3 (#24)
dependabot-preview[bot] Jun 23, 2020
1de51c0
Bump @babel/preset-env from 7.10.3 to 7.10.4 (#29)
dependabot-preview[bot] Jul 5, 2020
5353718
Bump electron from 9.0.5 to 9.1.0 (#30)
dependabot-preview[bot] Jul 7, 2020
e0a7dd9
Bump @babel/core from 7.10.2 to 7.10.4 (#27)
dependabot-preview[bot] Jul 7, 2020
a37150d
Bump @babel/preset-react from 7.10.1 to 7.10.4 (#28)
dependabot-preview[bot] Jul 7, 2020
9084259
upgrading
MrRefactoring Sep 22, 2021
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 11 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
root = true

[*]
indent_style = space
indent_size = 2
tab_width = 2
end_of_line = lf
charset = utf-8
trim_trailing_whitespace = true
insert_final_newline = true
max_line_length = 120
43 changes: 4 additions & 39 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,40 +1,5 @@
#
*-lock.json
node_modules/
dist/
.idea/

# Logs
logs
*.log
npm-debug.log*

# Runtime data
pids
*.pid
*.seed

# Directory for instrumented libs generated by jscoverage/JSCover
lib-cov

# Coverage directory used by tools like istanbul
coverage

# nyc test coverage
.nyc_output

# Grunt intermediate storage (http://gruntjs.com/creating-plugins#storing-task-files)
.grunt

# node-waf configuration
.lock-wscript

# Compiled binary addons (http://nodejs.org/api/addons.html)
build/Release

# Dependency directories
node_modules
jspm_packages

# Optional npm cache directory
.npm

# Optional REPL history
.node_repl_history
.DS_Store
21 changes: 21 additions & 0 deletions LICENSE
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
MIT License

Copyright (c) 2021 Vladislav Tupikin

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
20 changes: 12 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# electron-react-webpack
Try this Electron & React 16 & Webpack 4 template for a quick development and prototyping.
# Electron React Webpack template

[![dependencies Status](https://david-dm.org/MrRefactoring/electron-react-webpack/status.svg?style=flat-square)](https://david-dm.org/MrRefactoring/electron-react-webpack)
[![devDependencies Status](https://david-dm.org/MrRefactoring/electron-react-webpack/dev-status.svg?style=flat-square)](https://david-dm.org/MrRefactoring/electron-react-webpack?type=dev)

Try this Electron 15 & React 17 & Webpack 5 template for a quick development and prototyping.

![w10 sample](https://user-images.githubusercontent.com/11739632/37350993-59ad48d4-26da-11e8-9ac5-d3539cf1e2f9.PNG)

Expand Down Expand Up @@ -48,21 +52,21 @@ $ npm start

├── components/ # React Components
├── Link/ # To keep them modularized follow this structure:
├── index.jsx # Your component's React code
├── index.ts # Your component's React code
├── styles.css # Your component's scoped CSS
├── Logo/
├── index.jsx
├── index.ts
├── styles.css

├── App.jsx # React main component where everything is tied up
├── renderer_process.js # Electron's renderer-process, where you React app is called.
├── app.tsx # React main component where everything is tied up
├── rendererProcess.tsx # Electron's renderer-process, where you React app is called.
├── global.css # Global CSS and global constants go here

├── index.html # This HTML only uses build/ folder's files

├── main_process.js # Electron's main process. Whole app is launched from here
├── main.js # Electron's configuration. Whole app is launched from here
├── package.json
├── webpack.config.js # Webpack 4 setup
├── webpack.config.ts # Webpack 4 setup
```

## Related
Expand Down
53 changes: 0 additions & 53 deletions app/build/bundle.css

This file was deleted.

475 changes: 0 additions & 475 deletions app/build/bundle.js

This file was deleted.

12 changes: 0 additions & 12 deletions app/index.html

This file was deleted.

57 changes: 0 additions & 57 deletions app/src/App.jsx

This file was deleted.

Binary file removed app/src/assets/electron.png
Binary file not shown.
Binary file removed app/src/assets/react.png
Binary file not shown.
Binary file removed app/src/assets/webpack.png
Binary file not shown.
19 changes: 0 additions & 19 deletions app/src/components/Link/index.jsx

This file was deleted.

8 changes: 0 additions & 8 deletions app/src/components/Logo/index.jsx

This file was deleted.

9 changes: 0 additions & 9 deletions app/src/renderer_process.js

This file was deleted.

16 changes: 16 additions & 0 deletions main.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
const { app, BrowserWindow } = require('electron');

require('electron-reload')(__dirname);

let mainWindow;

app.on('ready', () => {
mainWindow = new BrowserWindow({
width: 800,
height: 600,
webPreferences: {
nodeIntegration: true
}
});
mainWindow.loadURL(`file://${__dirname}/src/index.html`);
});
17 changes: 0 additions & 17 deletions main_process.js

This file was deleted.

Loading