Skip to content

Commit 4492993

Browse files
authored
Merge pull request #211 from DnsChanger/refactor/ui-and-codebase-overhaul
Refactor/UI and codebase overhaul
2 parents da61760 + 3771199 commit 4492993

68 files changed

Lines changed: 16896 additions & 15467 deletions

File tree

Some content is hidden

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

.github/workflows/build.yml

Lines changed: 0 additions & 54 deletions
This file was deleted.

.github/workflows/pre-release.yml

Lines changed: 0 additions & 78 deletions
This file was deleted.

.github/workflows/pull.yml

Lines changed: 0 additions & 54 deletions
This file was deleted.

.github/workflows/release.yml

Lines changed: 35 additions & 35 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,8 @@ jobs:
2020
cache: npm
2121

2222
- name: Install dependencies
23-
run: npm ci
24-
23+
run: npm install --force
24+
2525
- name: Install electron-builder
2626
run: npm i electron-builder -g
2727

@@ -54,36 +54,36 @@ jobs:
5454
publish_on_macos:
5555
runs-on: macOS-latest
5656
steps:
57-
- name: Checkout repository
58-
uses: actions/checkout@v3
59-
60-
- name: Install Node v20
61-
uses: actions/setup-node@v3
62-
with:
63-
node-version: 20
64-
cache: npm
65-
66-
- name: Install Python
67-
run: brew install python@3.11
68-
69-
- name: "Install Python setuptools"
70-
run: brew install python-setuptools
71-
72-
- name: Install Build Tools
73-
run: |
74-
brew install libtool automake autoconf
75-
sudo xcode-select --reset
76-
77-
- name: Update node-gyp
78-
run: npm install -g node-gyp
79-
80-
- name: Install dependencies
81-
run: npm ci
82-
83-
- name: Install electron-builder
84-
run: npm i electron-builder -g
85-
86-
- name: Publish
87-
env:
88-
GH_TOKEN: ${{ secrets.TOKEN }}
89-
run: npm run publish:mac
57+
- name: Checkout repository
58+
uses: actions/checkout@v3
59+
60+
- name: Install Node v20
61+
uses: actions/setup-node@v3
62+
with:
63+
node-version: 20
64+
cache: npm
65+
66+
- name: Install Python
67+
run: brew install python@3.11
68+
69+
- name: "Install Python setuptools"
70+
run: brew install python-setuptools
71+
72+
- name: Install Build Tools
73+
run: |
74+
brew install libtool automake autoconf
75+
sudo xcode-select --reset
76+
77+
- name: Update node-gyp
78+
run: npm install -g node-gyp
79+
80+
- name: Install dependencies
81+
run: npm ci
82+
83+
- name: Install electron-builder
84+
run: npm i electron-builder -g
85+
86+
- name: Publish
87+
env:
88+
GH_TOKEN: ${{ secrets.TOKEN }}
89+
run: npm run publish:mac

biome.json

Lines changed: 66 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,21 @@
11
{
2-
"$schema": "https://biomejs.dev/schemas/1.9.2/schema.json",
2+
"$schema": "./node_modules/@biomejs/biome/configuration_schema.json",
33
"vcs": {
44
"enabled": false,
55
"clientKind": "git",
66
"useIgnoreFile": false
77
},
88
"files": {
9-
"ignoreUnknown": false,
10-
"ignore": []
9+
"ignoreUnknown": false
1110
},
1211
"formatter": {
1312
"enabled": true,
14-
"indentStyle": "tab"
15-
},
16-
"organizeImports": {
17-
"enabled": true
13+
"indentStyle": "tab",
14+
"indentWidth": 4,
15+
"lineWidth": 90,
16+
"lineEnding": "lf",
17+
"attributePosition": "auto",
18+
"formatWithErrors": false
1819
},
1920
"linter": {
2021
"enabled": true,
@@ -25,26 +26,76 @@
2526
"useButtonType": "off",
2627
"useKeyWithClickEvents": "off",
2728
"noSvgWithoutTitle": "off",
28-
"noLabelWithoutControl": "off"
29+
"noLabelWithoutControl": "off",
30+
"noStaticElementInteractions": "off",
31+
"useAriaPropsSupportedByRole": "off"
2932
},
3033
"style": {
3134
"useSelfClosingElements": "off",
32-
"useImportType": "off"
35+
"noParameterAssign": "off",
36+
"useConst": "off",
37+
"useTemplate": "off"
3338
},
3439
"suspicious": {
3540
"noExplicitAny": "off",
36-
"noArrayIndexKey": "off",
37-
"noDoubleEquals": "off"
41+
"noArrayIndexKey": "off"
42+
},
43+
"correctness": {
44+
"useExhaustiveDependencies": "off",
45+
"noUnusedVariables": "warn",
46+
"noUnusedImports": "warn",
47+
"useUniqueElementIds": "off"
3848
},
3949
"complexity": {
40-
"noUselessCatch": "off"
50+
"noUselessTernary": "off",
51+
"noImportantStyles": "off"
4152
}
4253
}
4354
},
4455
"javascript": {
4556
"formatter": {
4657
"quoteStyle": "single",
47-
"semicolons": "asNeeded"
58+
"semicolons": "asNeeded",
59+
"trailingCommas": "es5",
60+
"quoteProperties": "asNeeded",
61+
"bracketSpacing": true,
62+
"bracketSameLine": false,
63+
"arrowParentheses": "always",
64+
"jsxQuoteStyle": "double"
65+
}
66+
},
67+
"json": {
68+
"formatter": {
69+
"trailingCommas": "none",
70+
"indentStyle": "tab",
71+
"indentWidth": 4
72+
}
73+
},
74+
"assist": {
75+
"actions": {
76+
"source": {
77+
"organizeImports": "off"
78+
}
79+
}
80+
},
81+
"overrides": [
82+
{
83+
"includes": ["*.tsx", "*.jsx"],
84+
"javascript": {
85+
"formatter": {
86+
"jsxQuoteStyle": "double",
87+
"bracketSameLine": false
88+
}
89+
}
90+
},
91+
{
92+
"includes": ["package.json", "tsconfig.json"],
93+
"json": {
94+
"formatter": {
95+
"indentStyle": "space",
96+
"indentWidth": 2
97+
}
98+
}
4899
}
49-
}
50-
}
100+
]
101+
}

0 commit comments

Comments
 (0)