refactor(frontend): outfox foxact, foxts, and eslint-plugin-sukka (#8808)

* chore(eslint): remove eslint-plugin-sukka

* refactor(frontend): remove foxts and inline local utilities

* refactor(frontend): remove foxact and replace with local hooks

* refactor(proxy): reuse local storage for group preferences
This commit is contained in:
Tunglies
2026-12-02 01:34:55 +00:00
committed by GitHub
parent 87de9bd5bf
commit 186ec116fa
14 changed files with 409 additions and 318 deletions
-80
View File
@@ -248,12 +248,6 @@ importers:
dayjs:
specifier: 1.11.23
version: 1.11.23
foxact:
specifier: ^0.3.12
version: 0.3.12(react-dom@19.3.1(react@19.3.1))(react@19.3.1)
foxts:
specifier: ^5.9.1
version: 5.9.1
i18next:
specifier: ^27.0.0
version: 27.0.1(typescript@6.0.3)
@@ -393,9 +387,6 @@ importers:
eslint-plugin-react-refresh:
specifier: ^0.5.7
version: 0.5.7(eslint@10.16.0(jiti@2.7.0))
eslint-plugin-sukka:
specifier: ^10.2.0
version: 10.2.0(eslint@10.16.0(jiti@2.7.0))(typescript@6.0.3)
eslint-plugin-unused-imports:
specifier: ^4.4.1
version: 4.4.1(@typescript-eslint/eslint-plugin@8.74.0(@typescript-eslint/parser@8.74.0(eslint@10.16.0(jiti@2.7.0))(typescript@6.0.3))(eslint@10.16.0(jiti@2.7.0))(typescript@6.0.3))(eslint@10.16.0(jiti@2.7.0))
@@ -2569,9 +2560,6 @@ packages:
resolution: {integrity: sha512-zlnpg0jNcibNrO7GG9IeHH7maWFeCz+Ja1wx/7tZNU5ASSSSZ+/qZciM0/LHCYxSdqv5h2sdbQ/PXYdOuetXvA==}
engines: {node: '>=0.10'}
client-only@0.0.1:
resolution: {integrity: sha512-IV3Ou0jSMzZrd3pZ48nLkT9DA7Ag1pnPzaiQhpW7c3RbcqqzvzzVu+L8gfqMp/8IM2MQtSiqaCxrrcfu8I8rMA==}
clsx@2.1.1:
resolution: {integrity: sha512-eYm0QWBtUrBWZWG0d386OGAw16Z995PiOVo2B7bjWSbHedGl5e0ZWaq65kOGgUSNesEIDkB9ISbTg/JK9dhCZA==}
engines: {node: '>=6'}
@@ -2850,12 +2838,6 @@ packages:
eslint: '*'
typescript: '*'
eslint-plugin-sukka@10.2.0:
resolution: {integrity: sha512-BbErYY/fymqL7Te5yiDeBGfSF7QMxzZrT4SQpFI2e8ecRun3oYbL5aJm4kzFfeUzNZ/hET8T7pedpaH1fuXXHg==}
peerDependencies:
eslint: '>=9.29.0'
typescript: '*'
eslint-plugin-unused-imports@4.4.1:
resolution: {integrity: sha512-oZGYUz1X3sRMGUB+0cZyK2VcvRX5lm/vB56PgNNcU+7ficUCKm66oZWKUubXWnOuPjQ8PvmXtCViXBMONPe7tQ==}
peerDependencies:
@@ -2929,9 +2911,6 @@ packages:
event-emitter@0.3.5:
resolution: {integrity: sha512-D9rRn9y7kLPnJ+hMq7S/nhvoKwwvVJahBi2BPmx3bvbsEdK3W9ii8cBSGjP+72/LnM4n6fo3+dkCX5FeTQruXA==}
event-target-bus@1.1.0:
resolution: {integrity: sha512-24JX34nM0qRcsj7KvtLbVpMcX8ZQYmb0+0a6viaV2GJtVFg5UGyJyDLITkBipJIG0fSscNskI2PxdhTBIMeg8g==}
expect-type@1.4.0:
resolution: {integrity: sha512-KfYbmpRm0VbLjEvVa9yGwCi9GI34xvi7A/HXYWQO65CSD2u3MczUJSuwXKFIxlGsgBQizV9q5J9NHj4VG0n+pA==}
engines: {node: '>=12.0.0'}
@@ -2945,10 +2924,6 @@ packages:
fast-deep-equal@3.1.3:
resolution: {integrity: sha512-f3qQ9oQy9j2AhBe/H9VC91wLmKBCCU/gDOnKNAYG5hswO7BLKj09Hc5HYNz9cGI++xlpDCIgDaitVs03ATR84Q==}
fast-fnv1a@1.0.0:
resolution: {integrity: sha512-Y7iaFmz24pNJX+nqXgDuyHYFTfV9XPWJRfqp0hlG0Xuz1vKnelwLwvmKkbvVVvp5WzYWnrovBTLdk2PWkOYzCg==}
engines: {node: ^22.15.0 || ^23.8.0 || >=24.0.0}
fast-json-stable-stringify@2.1.0:
resolution: {integrity: sha512-lhd/wF+Lk98HZoTCtlVraHtfh5XYijIjalXck7saUtuanSDyLMxnHhSXEDJqHxD7msR8D0uCmqlkwjCV8xvwHw==}
@@ -2983,10 +2958,6 @@ packages:
flatted@3.4.4:
resolution: {integrity: sha512-5+ybhBZANEJxaH3X5evAFatUxLfEHSr7n6kYJ+1Qd0mUqr4eu9gIf6GDbWHf8RJijHrjjO8G+la14SlL2SeS1Q==}
fnv1a52@1.0.0:
resolution: {integrity: sha512-dUnV6Uok578HuGYTC/EM0LqeXewXBCHsh/kmLkdcqN1zgSy7K3gCIrshPBS5JwW20XSaRv4Vnz7z8lMjOV8jWw==}
engines: {node: '>=18.0.0'}
follow-redirects@1.16.2:
resolution: {integrity: sha512-/kVP2U8z596Ia0gwFrwyIeo74ta5aVmSeU1FfAUMAmcEP5EP7zydmag3SLiN64NaRKef3lxsq7i/g7ltJQDGow==}
engines: {node: '>=4.0'}
@@ -3005,20 +2976,6 @@ packages:
engines: {node: ^20.12.0 || >=22}
hasBin: true
foxact@0.3.12:
resolution: {integrity: sha512-sXE1plDgAUsKWzqbAMq/+ifRI3TSOnDPmyZGoaniW9AhtZqk3cOEUSC0jC4a4srvLf4PXwtCB+zQczBdxHGSDA==}
peerDependencies:
react: '*'
react-dom: '*'
peerDependenciesMeta:
react:
optional: true
react-dom:
optional: true
foxts@5.9.1:
resolution: {integrity: sha512-NrIHGlf4LZGTjjGlVi3gmMbtvC4871SFUflu9yb8X91FYppAk+WMiYS6ZlaEgkPqAkgIGNeq+Y5YCL80GL6v8g==}
fsevents@2.3.3:
resolution: {integrity: sha512-5xoDfX+fL7faATnagmWPpbFtwh/R77WmMMqqHGS65C3vvB0YHrgF+B1YmZ3441tMj5n63k0212XNoJwzlhffQw==}
engines: {node: ^8.16.0 || ^10.6.0 || >=11.0.0}
@@ -3833,9 +3790,6 @@ packages:
engines: {node: '>=10'}
hasBin: true
server-only@0.0.1:
resolution: {integrity: sha512-qepMx2JxAa5jjfzxG79yPPq+8BuFToHd1hm7kI+Z4zAq1ftQiP7HcxMhDDItrbtwVeLg/cY2JnKnrcFkmiswNA==}
shebang-command@2.0.0:
resolution: {integrity: sha512-kHxr2zZpYtdmrN1qDjrrX/Z1rR1kG8Dx+gkpK1G4eXmvXswmcE1hTWBWYUzlraYw1/yZp6YuDY77YtvbN0dmDA==}
engines: {node: '>=8'}
@@ -6390,8 +6344,6 @@ snapshots:
memoizee: 0.4.17
timers-ext: 0.1.8
client-only@0.0.1: {}
clsx@2.1.1: {}
combined-stream@1.0.8:
@@ -6728,16 +6680,6 @@ snapshots:
transitivePeerDependencies:
- supports-color
eslint-plugin-sukka@10.2.0(eslint@10.16.0(jiti@2.7.0))(typescript@6.0.3):
dependencies:
'@typescript-eslint/types': 8.74.0
'@typescript-eslint/utils': 8.70.0(eslint@10.16.0(jiti@2.7.0))(typescript@6.0.3)
eslint: 10.16.0(jiti@2.7.0)
foxts: 5.9.1
typescript: 6.0.3
transitivePeerDependencies:
- supports-color
eslint-plugin-unused-imports@4.4.1(@typescript-eslint/eslint-plugin@8.74.0(@typescript-eslint/parser@8.74.0(eslint@10.16.0(jiti@2.7.0))(typescript@6.0.3))(eslint@10.16.0(jiti@2.7.0))(typescript@6.0.3))(eslint@10.16.0(jiti@2.7.0)):
dependencies:
eslint: 10.16.0(jiti@2.7.0)
@@ -6835,8 +6777,6 @@ snapshots:
d: 1.0.2
es5-ext: 0.10.64
event-target-bus@1.1.0: {}
expect-type@1.4.0: {}
ext@1.7.0:
@@ -6847,8 +6787,6 @@ snapshots:
fast-deep-equal@3.1.3: {}
fast-fnv1a@1.0.0: {}
fast-json-stable-stringify@2.1.0: {}
fast-levenshtein@2.0.6: {}
@@ -6880,8 +6818,6 @@ snapshots:
flatted@3.4.4: {}
fnv1a52@1.0.0: {}
follow-redirects@1.16.2(debug@4.4.3):
optionalDependencies:
debug: 4.4.3
@@ -6904,20 +6840,6 @@ snapshots:
transitivePeerDependencies:
- '@clack/prompts'
foxact@0.3.12(react-dom@19.3.1(react@19.3.1))(react@19.3.1):
dependencies:
client-only: 0.0.1
event-target-bus: 1.1.0
server-only: 0.0.1
optionalDependencies:
react: 19.3.1
react-dom: 19.3.1(react@19.3.1)
foxts@5.9.1:
dependencies:
fast-fnv1a: 1.0.0
fnv1a52: 1.0.0
fsevents@2.3.3:
optional: true
@@ -7921,8 +7843,6 @@ snapshots:
semver@7.8.5: {}
server-only@0.0.1: {}
shebang-command@2.0.0:
dependencies:
shebang-regex: 3.0.0