chore(knip): trim dead exports and tool noise

This commit is contained in:
plebeius
2026-03-08 16:37:34 +08:00
parent b2137c7f91
commit 90a01057f2
30 changed files with 106 additions and 383 deletions
+1 -4
View File
@@ -72,7 +72,7 @@
"electron:build:mac:x64": "yarn build && yarn build:preload && electron-forge make --platform=darwin --arch=x64",
"electron:build:mac:arm64": "yarn build && yarn build:preload && electron-forge make --platform=darwin --arch=arm64",
"electron:before": "yarn electron:before:delete-data",
"electron:before:delete-data": "rimraf .plebbit",
"electron:before:delete-data": "node -e \"fs.rmSync('.plebbit', { recursive: true, force: true })\"",
"android:build:icons": "cordova-res android --skip-config --copy --resources /tmp/plebbit-react-android-icons --icon-source ./android/icons/icon.png --splash-source ./android/icons/splash.png --icon-foreground-source ./android/icons/icon-foreground.png --icon-background-source '#ffffee'",
"knip": "knip --production --include dependencies,unlisted,binaries --no-progress",
"knip:full": "knip --no-progress --no-exit-code",
@@ -118,8 +118,6 @@
"@electron-forge/maker-dmg": "7.8.0",
"@electron-forge/maker-squirrel": "7.8.0",
"@electron-forge/maker-zip": "7.8.0",
"@electron-forge/plugin-auto-unpack-natives": "7.8.0",
"@react-scan/vite-plugin-react-scan": "0.1.8",
"@reforged/maker-appimage": "5.1.1",
"@types/lodash": "4.17.23",
"@types/memoizee": "0.4.9",
@@ -152,7 +150,6 @@
"react-scan": "0.4.3",
"stream-browserify": "3.0.0",
"vite": "npm:rolldown-vite@7.3.1",
"vite-plugin-node-polyfills": "0.24.0",
"vite-plugin-pwa": "1.2.0",
"vitest": "4.0.15",
"wait-on": "9.0.3",