mirror of
https://github.com/antebudimir/feishin.git
synced 2025-12-31 18:13:31 +00:00
clean up dependencies
This commit is contained in:
parent
e10a92a5c2
commit
1808f160b4
6 changed files with 224 additions and 26583 deletions
|
|
@ -10,3 +10,5 @@ htmlWhitespaceSensitivity: strict
|
||||||
endOfLine: lf
|
endOfLine: lf
|
||||||
singleAttributePerLine: true
|
singleAttributePerLine: true
|
||||||
bracketSpacing: true
|
bracketSpacing: true
|
||||||
|
plugins:
|
||||||
|
- prettier-plugin-packagejson
|
||||||
|
|
|
||||||
26645
package-lock.json
generated
26645
package-lock.json
generated
File diff suppressed because it is too large
Load diff
149
package.json
149
package.json
|
|
@ -1,27 +1,41 @@
|
||||||
{
|
{
|
||||||
"name": "feishin",
|
"name": "feishin",
|
||||||
"productName": "Feishin",
|
|
||||||
"version": "0.12.7",
|
"version": "0.12.7",
|
||||||
"description": "A modern self-hosted music player.",
|
"description": "A modern self-hosted music player.",
|
||||||
"main": "./out/main/index.js",
|
"keywords": [
|
||||||
|
"subsonic",
|
||||||
|
"navidrome",
|
||||||
|
"jellyfin",
|
||||||
|
"react",
|
||||||
|
"electron"
|
||||||
|
],
|
||||||
"homepage": "https://github.com/jeffvli/feishin",
|
"homepage": "https://github.com/jeffvli/feishin",
|
||||||
|
"bugs": {
|
||||||
|
"url": "https://github.com/jeffvli/feishin/issues"
|
||||||
|
},
|
||||||
|
"license": "GPL-3.0",
|
||||||
|
"author": {
|
||||||
|
"name": "jeffvli",
|
||||||
|
"url": "https://github.com/jeffvli/"
|
||||||
|
},
|
||||||
|
"main": "./out/main/index.js",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"format": "prettier --write .",
|
"build": "npm run typecheck && electron-vite build",
|
||||||
"lint": "eslint --cache --fix .",
|
|
||||||
"typecheck:node": "tsc --noEmit -p tsconfig.node.json --composite false",
|
|
||||||
"typecheck:web": "tsc --noEmit -p tsconfig.web.json --composite false",
|
|
||||||
"typecheck": "npm run typecheck:node && npm run typecheck:web",
|
|
||||||
"start": "electron-vite preview",
|
|
||||||
"dev": "electron-vite dev",
|
"dev": "electron-vite dev",
|
||||||
"dev:watch": "electron-vite dev --watch",
|
"dev:watch": "electron-vite dev --watch",
|
||||||
"build": "npm run typecheck && electron-vite build",
|
"format": "prettier --write .",
|
||||||
|
"i18next": "i18next -c src/i18n/i18next-parser.config.js",
|
||||||
"postinstall": "electron-builder install-app-deps",
|
"postinstall": "electron-builder install-app-deps",
|
||||||
"package": "npm run build && electron-builder --dir",
|
"lint": "eslint --cache --fix .",
|
||||||
"package:win": "npm run build && electron-builder --win",
|
"package": "npm run build && electron-builder",
|
||||||
"package:mac": "electron-vite build && electron-builder --mac",
|
|
||||||
"package:linux": "electron-vite build && electron-builder --linux",
|
|
||||||
"package:dev": "npm run build && electron-builder --dir",
|
"package:dev": "npm run build && electron-builder --dir",
|
||||||
"i18next": "i18next -c src/i18n/i18next-parser.config.js"
|
"package:linux": "electron-vite build && electron-builder --linux",
|
||||||
|
"package:mac": "electron-vite build && electron-builder --mac",
|
||||||
|
"package:win": "npm run build && electron-builder --win",
|
||||||
|
"start": "electron-vite preview",
|
||||||
|
"typecheck": "npm run typecheck:node && npm run typecheck:web",
|
||||||
|
"typecheck:node": "tsc --noEmit -p tsconfig.node.json --composite false",
|
||||||
|
"typecheck:web": "tsc --noEmit -p tsconfig.web.json --composite false"
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@ag-grid-community/client-side-row-model": "^28.2.1",
|
"@ag-grid-community/client-side-row-model": "^28.2.1",
|
||||||
|
|
@ -32,13 +46,13 @@
|
||||||
"@electron-toolkit/preload": "^3.0.1",
|
"@electron-toolkit/preload": "^3.0.1",
|
||||||
"@electron-toolkit/utils": "^4.0.0",
|
"@electron-toolkit/utils": "^4.0.0",
|
||||||
"@emotion/react": "^11.10.4",
|
"@emotion/react": "^11.10.4",
|
||||||
"@mantine/core": "^6.0.21",
|
"@mantine/core": "^6.0.22",
|
||||||
"@mantine/dates": "^6.0.21",
|
"@mantine/dates": "^6.0.22",
|
||||||
"@mantine/form": "^6.0.21",
|
"@mantine/form": "^6.0.22",
|
||||||
"@mantine/hooks": "^6.0.21",
|
"@mantine/hooks": "^6.0.22",
|
||||||
"@mantine/modals": "^6.0.21",
|
"@mantine/modals": "^6.0.22",
|
||||||
"@mantine/notifications": "^6.0.21",
|
"@mantine/notifications": "^6.0.22",
|
||||||
"@mantine/utils": "^6.0.21",
|
"@mantine/utils": "^6.0.22",
|
||||||
"@tanstack/react-query": "^4.32.1",
|
"@tanstack/react-query": "^4.32.1",
|
||||||
"@tanstack/react-query-devtools": "^4.32.1",
|
"@tanstack/react-query-devtools": "^4.32.1",
|
||||||
"@tanstack/react-query-persist-client": "^4.32.1",
|
"@tanstack/react-query-persist-client": "^4.32.1",
|
||||||
|
|
@ -61,7 +75,6 @@
|
||||||
"format-duration": "^2.0.0",
|
"format-duration": "^2.0.0",
|
||||||
"framer-motion": "^11.0.0",
|
"framer-motion": "^11.0.0",
|
||||||
"fuse.js": "^6.6.2",
|
"fuse.js": "^6.6.2",
|
||||||
"history": "^5.3.0",
|
|
||||||
"i18next": "^21.10.0",
|
"i18next": "^21.10.0",
|
||||||
"idb-keyval": "^6.2.1",
|
"idb-keyval": "^6.2.1",
|
||||||
"immer": "^9.0.21",
|
"immer": "^9.0.21",
|
||||||
|
|
@ -71,12 +84,10 @@
|
||||||
"memoize-one": "^6.0.0",
|
"memoize-one": "^6.0.0",
|
||||||
"mpris-service": "^2.1.2",
|
"mpris-service": "^2.1.2",
|
||||||
"nanoid": "^3.3.3",
|
"nanoid": "^3.3.3",
|
||||||
"net": "^1.0.2",
|
|
||||||
"node-mpv": "github:jeffvli/Node-MPV#32b4d64395289ad710c41d481d2707a7acfc228f",
|
"node-mpv": "github:jeffvli/Node-MPV#32b4d64395289ad710c41d481d2707a7acfc228f",
|
||||||
"overlayscrollbars": "^2.11.1",
|
"overlayscrollbars": "^2.11.1",
|
||||||
"overlayscrollbars-react": "^0.5.6",
|
"overlayscrollbars-react": "^0.5.6",
|
||||||
"react": "^18.2.0",
|
"qs": "^6.14.0",
|
||||||
"react-dom": "^18.2.0",
|
|
||||||
"react-error-boundary": "^3.1.4",
|
"react-error-boundary": "^3.1.4",
|
||||||
"react-i18next": "^11.18.6",
|
"react-i18next": "^11.18.6",
|
||||||
"react-icons": "^4.10.1",
|
"react-icons": "^4.10.1",
|
||||||
|
|
@ -98,123 +109,53 @@
|
||||||
"@electron-toolkit/eslint-config-prettier": "^3.0.0",
|
"@electron-toolkit/eslint-config-prettier": "^3.0.0",
|
||||||
"@electron-toolkit/eslint-config-ts": "^3.0.0",
|
"@electron-toolkit/eslint-config-ts": "^3.0.0",
|
||||||
"@electron-toolkit/tsconfig": "^1.0.1",
|
"@electron-toolkit/tsconfig": "^1.0.1",
|
||||||
"@electron/rebuild": "^3.6.0",
|
|
||||||
"@pmmmwh/react-refresh-webpack-plugin": "0.5.5",
|
|
||||||
"@stylelint/postcss-css-in-js": "^0.38.0",
|
"@stylelint/postcss-css-in-js": "^0.38.0",
|
||||||
"@teamsupercell/typings-for-css-modules-loader": "^2.5.1",
|
|
||||||
"@testing-library/jest-dom": "^5.16.4",
|
|
||||||
"@testing-library/react": "^13.0.0",
|
|
||||||
"@types/dompurify": "^3.0.5",
|
"@types/dompurify": "^3.0.5",
|
||||||
"@types/electron-localshortcut": "^3.1.0",
|
"@types/electron-localshortcut": "^3.1.0",
|
||||||
"@types/jest": "^27.4.1",
|
|
||||||
"@types/lodash": "^4.14.188",
|
"@types/lodash": "^4.14.188",
|
||||||
"@types/md5": "^2.3.2",
|
"@types/md5": "^2.3.2",
|
||||||
"@types/node": "^22.14.1",
|
"@types/node": "^22.14.1",
|
||||||
"@types/react": "^19.1.1",
|
"@types/react": "^18.3.1",
|
||||||
"@types/react-dom": "^19.1.2",
|
"@types/react-dom": "^18.3.1",
|
||||||
"@types/react-test-renderer": "^17.0.1",
|
|
||||||
"@types/react-virtualized-auto-sizer": "^1.0.1",
|
"@types/react-virtualized-auto-sizer": "^1.0.1",
|
||||||
"@types/react-window": "^1.8.5",
|
"@types/react-window": "^1.8.5",
|
||||||
"@types/react-window-infinite-loader": "^1.0.6",
|
"@types/react-window-infinite-loader": "^1.0.6",
|
||||||
"@types/source-map-support": "^0.5.10",
|
"@types/source-map-support": "^0.5.10",
|
||||||
"@types/styled-components": "^5.1.26",
|
"@types/styled-components": "^5.1.26",
|
||||||
"@types/terser-webpack-plugin": "^5.0.4",
|
"@types/ws": "^8.18.1",
|
||||||
"@types/webpack-bundle-analyzer": "^4.4.1",
|
|
||||||
"@types/webpack-env": "^1.16.3",
|
|
||||||
"@typescript-eslint/eslint-plugin": "^5.47.0",
|
"@typescript-eslint/eslint-plugin": "^5.47.0",
|
||||||
"@typescript-eslint/parser": "^5.47.0",
|
"@typescript-eslint/parser": "^5.47.0",
|
||||||
"@vitejs/plugin-react": "^4.3.4",
|
"@vitejs/plugin-react": "^4.3.4",
|
||||||
"browserslist-config-erb": "^0.0.3",
|
|
||||||
"chalk": "^4.1.2",
|
|
||||||
"concurrently": "^7.1.0",
|
"concurrently": "^7.1.0",
|
||||||
"core-js": "^3.21.1",
|
|
||||||
"cross-env": "^7.0.3",
|
"cross-env": "^7.0.3",
|
||||||
"css-loader": "^6.7.1",
|
|
||||||
"css-minimizer-webpack-plugin": "^3.4.1",
|
|
||||||
"detect-port": "^1.3.0",
|
|
||||||
"electron": "^35.1.5",
|
"electron": "^35.1.5",
|
||||||
"electron-builder": "^26.0.12",
|
"electron-builder": "^26.0.12",
|
||||||
"electron-devtools-installer": "^3.2.0",
|
"electron-devtools-installer": "^3.2.0",
|
||||||
"electron-notarize": "^1.2.1",
|
|
||||||
"electron-vite": "^3.1.0",
|
"electron-vite": "^3.1.0",
|
||||||
"electronmon": "^2.0.2",
|
|
||||||
"eslint": "^9.24.0",
|
"eslint": "^9.24.0",
|
||||||
"eslint-config-airbnb-base": "^15.0.0",
|
|
||||||
"eslint-config-erb": "^4.0.3",
|
|
||||||
"eslint-import-resolver-typescript": "^2.7.1",
|
|
||||||
"eslint-import-resolver-webpack": "^0.13.2",
|
|
||||||
"eslint-plugin-compat": "^4.2.0",
|
|
||||||
"eslint-plugin-import": "^2.26.0",
|
|
||||||
"eslint-plugin-jest": "^26.1.3",
|
|
||||||
"eslint-plugin-jsx-a11y": "^6.5.1",
|
|
||||||
"eslint-plugin-perfectionist": "^4.13.0",
|
"eslint-plugin-perfectionist": "^4.13.0",
|
||||||
"eslint-plugin-prettier": "^5.4.0",
|
"eslint-plugin-prettier": "^5.4.0",
|
||||||
"eslint-plugin-promise": "^6.0.0",
|
|
||||||
"eslint-plugin-react": "^7.37.5",
|
"eslint-plugin-react": "^7.37.5",
|
||||||
"eslint-plugin-react-hooks": "^5.2.0",
|
"eslint-plugin-react-hooks": "^5.2.0",
|
||||||
"eslint-plugin-react-refresh": "^0.4.19",
|
"eslint-plugin-react-refresh": "^0.4.19",
|
||||||
"eslint-plugin-sort-keys-fix": "^1.1.2",
|
|
||||||
"eslint-plugin-typescript-sort-keys": "^2.1.0",
|
|
||||||
"file-loader": "^6.2.0",
|
|
||||||
"html-webpack-plugin": "^5.5.0",
|
|
||||||
"husky": "^7.0.4",
|
|
||||||
"i18next-parser": "^9.0.2",
|
"i18next-parser": "^9.0.2",
|
||||||
"identity-obj-proxy": "^3.0.0",
|
|
||||||
"jest": "^27.5.1",
|
|
||||||
"lint-staged": "^12.3.7",
|
|
||||||
"mini-css-extract-plugin": "^2.6.0",
|
|
||||||
"postcss-scss": "^4.0.4",
|
|
||||||
"postcss-styled-syntax": "^0.5.0",
|
"postcss-styled-syntax": "^0.5.0",
|
||||||
"postcss-syntax": "^0.36.2",
|
|
||||||
"prettier": "^3.5.3",
|
"prettier": "^3.5.3",
|
||||||
"react": "^19.1.0",
|
"prettier-plugin-packagejson": "^2.5.14",
|
||||||
"react-dom": "^19.1.0",
|
"react": "^18.3.1",
|
||||||
"react-refresh": "^0.12.0",
|
"react-dom": "^18.3.1",
|
||||||
"react-refresh-typescript": "^2.0.4",
|
|
||||||
"react-test-renderer": "^18.0.0",
|
|
||||||
"rimraf": "^3.0.2",
|
|
||||||
"sass": "^1.49.11",
|
|
||||||
"sass-embedded": "^1.89.0",
|
"sass-embedded": "^1.89.0",
|
||||||
"sass-loader": "^12.6.0",
|
|
||||||
"style-loader": "^3.3.1",
|
|
||||||
"stylelint": "^15.10.3",
|
"stylelint": "^15.10.3",
|
||||||
"stylelint-config-css-modules": "^4.3.0",
|
"stylelint-config-css-modules": "^4.3.0",
|
||||||
"stylelint-config-recess-order": "^4.3.0",
|
"stylelint-config-recess-order": "^4.3.0",
|
||||||
"stylelint-config-standard": "^34.0.0",
|
"stylelint-config-standard": "^34.0.0",
|
||||||
"stylelint-config-standard-scss": "^4.0.0",
|
"stylelint-config-standard-scss": "^4.0.0",
|
||||||
"stylelint-config-styled-components": "^0.1.1",
|
"stylelint-config-styled-components": "^0.1.1",
|
||||||
"terser-webpack-plugin": "^5.3.1",
|
|
||||||
"ts-jest": "^27.1.4",
|
|
||||||
"ts-loader": "^9.2.8",
|
|
||||||
"ts-node": "^10.9.2",
|
|
||||||
"tsconfig-paths-webpack-plugin": "^4.0.0",
|
|
||||||
"tsx": "^4.16.2",
|
|
||||||
"typescript": "^5.8.3",
|
"typescript": "^5.8.3",
|
||||||
"typescript-plugin-styled-components": "^3.0.0",
|
"typescript-plugin-styled-components": "^3.0.0",
|
||||||
"url-loader": "^4.1.1",
|
"vite": "^6.3.5",
|
||||||
"vite": "^6.2.6",
|
|
||||||
"vite-plugin-conditional-import": "^0.1.7",
|
"vite-plugin-conditional-import": "^0.1.7",
|
||||||
"vite-plugin-dynamic-import": "^1.6.0",
|
"vite-plugin-dynamic-import": "^1.6.0"
|
||||||
"webpack": "^5.94.0",
|
|
||||||
"webpack-bundle-analyzer": "^4.5.0",
|
|
||||||
"webpack-cli": "^4.9.2",
|
|
||||||
"webpack-dev-server": "^4.8.0",
|
|
||||||
"webpack-merge": "^5.8.0"
|
|
||||||
},
|
},
|
||||||
"keywords": [
|
"productName": "Feishin"
|
||||||
"subsonic",
|
|
||||||
"navidrome",
|
|
||||||
"airsonic",
|
|
||||||
"jellyfin",
|
|
||||||
"react",
|
|
||||||
"electron"
|
|
||||||
],
|
|
||||||
"license": "GPL-3.0",
|
|
||||||
"bugs": {
|
|
||||||
"url": "https://github.com/jeffvli/feishin/issues"
|
|
||||||
},
|
|
||||||
"author": {
|
|
||||||
"name": "jeffvli",
|
|
||||||
"url": "https://github.com/jeffvli/"
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -42,7 +42,6 @@ interface RemoteConfig {
|
||||||
|
|
||||||
declare class StatefulWebSocket extends WebSocket {
|
declare class StatefulWebSocket extends WebSocket {
|
||||||
alive: boolean;
|
alive: boolean;
|
||||||
|
|
||||||
auth: boolean;
|
auth: boolean;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -90,7 +90,13 @@ const installExtensions = async () => {
|
||||||
extensions.map((name) => installer[name]),
|
extensions.map((name) => installer[name]),
|
||||||
forceDownload,
|
forceDownload,
|
||||||
)
|
)
|
||||||
.catch(console.log);
|
.then((installedExtensions) => {
|
||||||
|
createLog({
|
||||||
|
message: `Installed extension: ${installedExtensions}`,
|
||||||
|
type: 'info',
|
||||||
|
});
|
||||||
|
})
|
||||||
|
.catch(console.error);
|
||||||
});
|
});
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -14,7 +14,7 @@ import { useFullScreenPlayerStore, usePlayerData, usePlayerStore } from '/@/rend
|
||||||
import { useSettingsStore } from '/@/renderer/store/settings.store';
|
import { useSettingsStore } from '/@/renderer/store/settings.store';
|
||||||
import { PlayerData, QueueSong } from '/@/shared/types/domain-types';
|
import { PlayerData, QueueSong } from '/@/shared/types/domain-types';
|
||||||
|
|
||||||
const Image = styled(motion.img)<{ $useAspectRatio: boolean }>`
|
const Image = styled(motion.img)<any>`
|
||||||
position: absolute;
|
position: absolute;
|
||||||
max-width: 100%;
|
max-width: 100%;
|
||||||
height: 100%;
|
height: 100%;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue