Skip to content

Commit fe4a77c

Browse files
committed
chore: add linter to unraid ui and simplify tsconfigs
1 parent 7a421ce commit fe4a77c

File tree

36 files changed

+398
-232
lines changed

36 files changed

+398
-232
lines changed

.github/workflows/main.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -203,6 +203,9 @@ jobs:
203203
cd ${{ github.workspace }}
204204
pnpm install --frozen-lockfile --filter @unraid/ui
205205
206+
- name: Lint
207+
run: pnpm run lint
208+
206209
- name: Build
207210
run: pnpm run build:wc
208211

api/dev/Unraid.net/myservers.cfg

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
[api]
2-
version="4.1.3"
3-
extraOrigins="https://google.com,https://test.com"
2+
version="4.4.1"
3+
extraOrigins="https://google.com, https://test.com"
44
[local]
55
sandbox="yes"
66
[remote]
77
wanaccess="yes"
8-
wanport="8443"
9-
upnpEnabled="no"
8+
wanport=""
9+
upnpEnabled="yes"
1010
apikey="_______________________BIG_API_KEY_HERE_________________________"
1111
localApiKey="_______________________LOCAL_API_KEY_HERE_________________________"
1212

api/dev/states/myservers.cfg

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
[api]
22
version="4.4.1"
3-
extraOrigins="https://google.com,https://test.com"
3+
extraOrigins="https://google.com, https://test.com"
44
[local]
55
sandbox="yes"
66
[remote]
77
wanaccess="yes"
8-
wanport="8443"
9-
upnpEnabled="no"
8+
wanport=""
9+
upnpEnabled="yes"
1010
apikey="_______________________BIG_API_KEY_HERE_________________________"
1111
localApiKey="_______________________LOCAL_API_KEY_HERE_________________________"
1212
@@ -18,7 +18,7 @@ idtoken=""
1818
refreshtoken=""
1919
dynamicRemoteAccessType="DISABLED"
2020
ssoSubIds=""
21-
allowedOrigins="/var/run/unraid-notifications.sock, /var/run/unraid-php.sock, /var/run/unraid-cli.sock, http://localhost:8080, https://localhost:4443, https://tower.local:4443, https://192.168.1.150:4443, https://tower:4443, https://192-168-1-150.thisisfourtyrandomcharacters012345678900.myunraid.net:4443, https://85-121-123-122.thisisfourtyrandomcharacters012345678900.myunraid.net:8443, https://10-252-0-1.hash.myunraid.net:4443, https://10-252-1-1.hash.myunraid.net:4443, https://10-253-3-1.hash.myunraid.net:4443, https://10-253-4-1.hash.myunraid.net:4443, https://10-253-5-1.hash.myunraid.net:4443, https://10-100-0-1.hash.myunraid.net:4443, https://10-100-0-2.hash.myunraid.net:4443, https://10-123-1-2.hash.myunraid.net:4443, https://221-123-121-112.hash.myunraid.net:4443, https://google.com, https://test.com, https://connect.myunraid.net, https://connect-staging.myunraid.net, https://dev-my.myunraid.net:4000, https://studio.apollographql.com"
21+
allowedOrigins="/var/run/unraid-notifications.sock, /var/run/unraid-php.sock, /var/run/unraid-cli.sock, http://localhost:8080, https://localhost:4443, https://tower.local:4443, https://192.168.1.150:4443, https://tower:4443, https://192-168-1-150.thisisfourtyrandomcharacters012345678900.myunraid.net:4443, https://10-252-0-1.hash.myunraid.net:4443, https://10-252-1-1.hash.myunraid.net:4443, https://10-253-3-1.hash.myunraid.net:4443, https://10-253-4-1.hash.myunraid.net:4443, https://10-253-5-1.hash.myunraid.net:4443, https://10-100-0-1.hash.myunraid.net:4443, https://10-100-0-2.hash.myunraid.net:4443, https://10-123-1-2.hash.myunraid.net:4443, https://221-123-121-112.hash.myunraid.net:4443, https://google.com, https://test.com, https://connect.myunraid.net, https://connect-staging.myunraid.net, https://dev-my.myunraid.net:4000, https://studio.apollographql.com"
2222
[connectionStatus]
2323
minigraph="ERROR_RETRYING"
24-
upnpStatus=""
24+
upnpStatus="Success: UPNP Lease Renewed [4/2/2025 12:00:00 PM] Public Port [41820] Local Port [443]"

pnpm-lock.yaml

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

unraid-ui/.eslintrc.js

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

0 commit comments

Comments
 (0)