Skip to content

Commit f78e4a5

Browse files
authored
Merge pull request #27 from CodeDead/feature/multiprocess
Feature/multiprocess
2 parents 8801b0f + a4ed734 commit f78e4a5

File tree

81 files changed

+20510
-15753
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

81 files changed

+20510
-15753
lines changed

.eslintignore

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
.github
2+
.yarn
3+
node_modules
4+
build
5+
src/serviceWorker.js

.eslintrc.json

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
{
2+
"env": {
3+
"browser": true,
4+
"es2020": true,
5+
"node": true
6+
},
7+
"extends": [
8+
"plugin:react/recommended",
9+
"airbnb"
10+
],
11+
"parserOptions": {
12+
"ecmaFeatures": {
13+
"jsx": true
14+
},
15+
"ecmaVersion": 11,
16+
"sourceType": "module"
17+
},
18+
"plugins": [
19+
"react"
20+
],
21+
"rules": {
22+
"react/prop-types": 0
23+
}
24+
}

.gitignore

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,4 +24,12 @@ yarn-error.log*
2424

2525
.idea
2626
.idea/*
27+
.vscode/*
2728
dist/*
29+
30+
.yarn/*
31+
!.yarn/releases
32+
!.yarn/plugins
33+
!.yarn/sdks
34+
!.yarn/versions
35+
.pnp.*
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
module.exports={name:"yarn-up-all-plugin",factory:a=>{const{Configuration:b,Project:c}=a("@yarnpkg/core"),{Cli:d,Command:e}=a("clipanion"),f=a("yup"),g=a("@yarnpkg/plugin-essentials"),h=(a,b)=>a?`@${a}/${b}`:b,i=(a,b)=>{const c=[...a.values()];return b?c.filter(a=>{const c=h(a[1].scope,a[1].name);return!b.includes(c)}):c};class j extends e{async execute(){if(!g.default.commands)throw new Error("Yarn commands are not available!");const a=await b.find(this.context.cwd,this.context.plugins),{workspace:e}=await c.find(a,this.context.cwd),f=[...e.manifest.dependencies,...e.manifest.devDependencies],j=i(f,this.exclude?this.exclude.split(" "):null),k=j.map(a=>h(a[1].scope,a[1].name)),l=d.from(g.default.commands);return l.runExit(["up",...k],this.context)}}return j.addOption("exclude",e.String("--exclude")),j.addPath("up-all"),j.schema=f.object().shape({exclude:f.string()}),j.usage=e.Usage({description:"Yarn2 plugin that will upgrade all dependencies to their latest version with one simple command",details:"This command will upgrade all dependencies to their latest version",examples:[["Upgrade all dependencies","yarn up-all"],["Upgrade all dependencies but exclude a single dependency","yarn up-all --exclude react-dom"],["Upgrade all dependencies but exclude multiple dependencies","yarn up-all --exclude \"react-dom react-router\""]]}),{commands:[j]}}};

.yarn/releases/yarn-2.2.2.cjs

Lines changed: 55 additions & 0 deletions
Large diffs are not rendered by default.

.yarnrc.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
nodeLinker: node-modules
2+
3+
plugins:
4+
- path: .yarn/plugins/yarn-up-all-plugin.cjs
5+
spec: "https://github.com/e5mode/yarn-up-all/releases/download/1.0.2/index.js"
6+
7+
yarnPath: .yarn/releases/yarn-2.2.2.cjs

README.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,16 @@
22

33
# DeadHash
44

5+
![GitHub package.json version](https://img.shields.io/github/package-json/v/CodeDead/DeadHash-js)
6+
![GitHub](https://img.shields.io/github/license/CodeDead/DeadHash-Js)
7+
![GitHub Releases (by Release)](https://img.shields.io/github/downloads/CodeDead/DeadHash-js/2.0.4/total)
8+
59
DeadHash is a free and open-source utility to calculate file and text hashes. The following hash calculations are supported:
10+
* MD4
611
* MD5
712
* SHA1
813
* SHA224
914
* SHA256
10-
* SHA3
1115
* SHA384
1216
* SHA512
1317
* RIPEMD160

assets/Icon-512x512.png

-11.4 KB
Binary file not shown.

package.json

Lines changed: 13 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "deadhash",
3-
"version": "2.0.4",
3+
"version": "2.1.0",
44
"description": "File and text hash calculator",
55
"homepage": "./",
66
"private": true,
@@ -18,13 +18,13 @@
1818
"nsis",
1919
"portable"
2020
],
21-
"icon": "assets/Icon-512x512.png"
21+
"icon": "public/logo512.png"
2222
},
2323
"linux": {
2424
"target": [
2525
"AppImage"
2626
],
27-
"icon": "assets/Icon-512x512.png"
27+
"icon": "public/logo512.png"
2828
},
2929
"nsis": {
3030
"license": "LICENSE",
@@ -38,14 +38,13 @@
3838
"@material-ui/core": "^4.11.0",
3939
"@material-ui/icons": "^4.9.1",
4040
"cross-env": "^7.0.2",
41-
"crypto-js": "^4.0.0",
4241
"electron-is-dev": "^1.2.0",
4342
"react": "^16.13.1",
4443
"react-contexify": "^4.1.1",
4544
"react-dom": "^16.13.1",
4645
"react-router": "^5.2.0",
4746
"react-router-dom": "^5.2.0",
48-
"react-scripts": "3.4.1"
47+
"react-scripts": "^3.4.3"
4948
},
5049
"scripts": {
5150
"react-start": "react-scripts start",
@@ -57,9 +56,6 @@
5756
"build": "yarn react-build && yarn electron-build -wl",
5857
"start": "concurrently \"cross-env BROWSER=none yarn react-start\" \"wait-on http://localhost:3000 && electron .\""
5958
},
60-
"eslintConfig": {
61-
"extends": "react-app"
62-
},
6359
"browserslist": {
6460
"production": [
6561
">0.2%",
@@ -73,9 +69,14 @@
7369
]
7470
},
7571
"devDependencies": {
76-
"concurrently": "^5.2.0",
77-
"electron": "^9.1.0",
78-
"electron-builder": "^22.7.0",
79-
"wait-on": "^5.1.0"
72+
"concurrently": "^5.3.0",
73+
"electron": "^10.1.3",
74+
"electron-builder": "^22.8.1",
75+
"eslint-config-airbnb": "^18.2.0",
76+
"eslint-plugin-import": "^2.22.1",
77+
"eslint-plugin-jsx-a11y": "^6.3.1",
78+
"eslint-plugin-react": "^7.21.2",
79+
"eslint-plugin-react-hooks": "^4.1.2",
80+
"wait-on": "^5.2.0"
8081
}
8182
}

public/Icon-512x512.png

-11.4 KB
Binary file not shown.

0 commit comments

Comments
 (0)