mirror of
https://github.com/jeffvli/feishin.git
synced 2026-11-20 00:51:26 -08:00
chore: upgrade dependencies, looks like prettier rules changed again (#2696)
* chore: upgrade dependencies, looks like prettier rules changed again * chore: update electron version in builder
This commit is contained in:
1 parent
e60dcc80e2
commit
302db1cc55
16 files changed
+2219
-2682
No files matched your search
@@ -1,7 +1,7 @@
|
||||
appId: org.jeffvli.feishin
|
||||
productName: Feishin
|
||||
artifactName: ${productName}-${version}-${os}-${arch}.${ext}
|
||||
electronVersion: 43.8.6
|
||||
electronVersion: 43.8.7
|
||||
directories:
|
||||
buildResources: assets
|
||||
files:
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
appId: org.jeffvli.feishin
|
||||
productName: Feishin
|
||||
artifactName: ${productName}-${version}-${os}-${arch}.${ext}
|
||||
electronVersion: 43.8.6
|
||||
electronVersion: 43.8.7
|
||||
directories:
|
||||
buildResources: assets
|
||||
files:
|
||||
|
||||
+53
-53
@@ -84,122 +84,122 @@
|
||||
"@atlaskit/pragmatic-drag-and-drop-hitbox": "^1.2.0",
|
||||
"@electron-toolkit/preload": "^3.0.2",
|
||||
"@electron-toolkit/utils": "^4.0.0",
|
||||
"@mantine/colors-generator": "^9.3.0",
|
||||
"@mantine/core": "^9.3.0",
|
||||
"@mantine/dates": "^9.3.0",
|
||||
"@mantine/form": "^9.3.0",
|
||||
"@mantine/hooks": "^9.3.0",
|
||||
"@mantine/modals": "^9.3.0",
|
||||
"@mantine/notifications": "^9.3.0",
|
||||
"@radix-ui/react-context-menu": "^2.3.0",
|
||||
"@mantine/colors-generator": "^9.7.5",
|
||||
"@mantine/core": "^9.7.5",
|
||||
"@mantine/dates": "^9.7.5",
|
||||
"@mantine/form": "^9.7.5",
|
||||
"@mantine/hooks": "^9.7.5",
|
||||
"@mantine/modals": "^9.7.5",
|
||||
"@mantine/notifications": "^9.7.5",
|
||||
"@radix-ui/react-context-menu": "^2.4.1",
|
||||
"@tanstack/react-query": "5.96.2",
|
||||
"@tanstack/react-query-devtools": "5.96.2",
|
||||
"@tanstack/react-query-persist-client": "5.96.2",
|
||||
"@ts-rest/core": "^3.52.1",
|
||||
"@wavesurfer/react": "^1.0.12",
|
||||
"@xhayper/discord-rpc": "^1.3.4",
|
||||
"@wavesurfer/react": "^1.0.14",
|
||||
"@xhayper/discord-rpc": "^1.5.1",
|
||||
"audiomotion-analyzer": "^4.5.4",
|
||||
"axios": "^1.17.0",
|
||||
"axios": "^1.21.0",
|
||||
"butterchurn": "3.0.0-beta.5",
|
||||
"butterchurn-presets": "3.0.0-beta.4",
|
||||
"cheerio": "^1.2.0",
|
||||
"clsx": "^2.1.1",
|
||||
"cmdk": "^1.1.1",
|
||||
"dayjs": "^1.11.21",
|
||||
"dompurify": "^3.4.11",
|
||||
"dayjs": "^1.11.23",
|
||||
"dompurify": "^3.4.17",
|
||||
"electron-debug": "^3.2.0",
|
||||
"electron-localshortcut": "^3.2.1",
|
||||
"electron-log": "^5.4.4",
|
||||
"electron-store": "^8.2.0",
|
||||
"electron-updater": "^6.8.9",
|
||||
"electron-updater": "^6.8.11",
|
||||
"fast-average-color": "9.5.0",
|
||||
"fast-xml-parser": "^5.8.0",
|
||||
"fast-xml-parser": "^5.12.0",
|
||||
"format-duration": "^3.0.2",
|
||||
"fuse.js": "^7.4.2",
|
||||
"fuse.js": "^7.5.0",
|
||||
"i18next": "^25.10.10",
|
||||
"icecast-metadata-stats": "^0.1.12",
|
||||
"idb-keyval": "^6.2.5",
|
||||
"idb-keyval": "^6.3.0",
|
||||
"immer": "^10.2.0",
|
||||
"is-electron": "^2.2.2",
|
||||
"kuroshiro": "^1.2.0",
|
||||
"kuroshiro": "^1.2.1",
|
||||
"kuroshiro-analyzer-kuromoji": "^1.1.0",
|
||||
"lodash": "^4.18.1",
|
||||
"md5": "^2.3.0",
|
||||
"motion": "^12.40.0",
|
||||
"motion": "^12.43.0",
|
||||
"mpris-service": "^2.1.2",
|
||||
"music-metadata": "^11.12.3",
|
||||
"nanoid": "^3.3.12",
|
||||
"music-metadata": "^11.16.1",
|
||||
"nanoid": "^3.3.20",
|
||||
"node-mpv": "github:jeffvli/Node-MPV#32b4d64395289ad710c41d481d2707a7acfc228f",
|
||||
"node-ssdp": "^4.0.1",
|
||||
"overlayscrollbars": "^2.16.0",
|
||||
"overlayscrollbars-react": "^0.5.6",
|
||||
"qs": "^6.15.2",
|
||||
"react": "^19.2.7",
|
||||
"overlayscrollbars": "^2.17.0",
|
||||
"overlayscrollbars-react": "^0.5.7",
|
||||
"qs": "^6.17.1",
|
||||
"react": "^19.3.1",
|
||||
"react-call": "^1.8.2",
|
||||
"react-dom": "^19.2.7",
|
||||
"react-dom": "^19.3.1",
|
||||
"react-error-boundary": "^5.0.0",
|
||||
"react-i18next": "^16.6.6",
|
||||
"react-icons": "^5.6.0",
|
||||
"react-icons": "^5.7.0",
|
||||
"react-player": "^2.16.1",
|
||||
"react-router": "^7.17.0",
|
||||
"react-split-pane": "^3.2.0",
|
||||
"react-router": "^7.18.5",
|
||||
"react-split-pane": "^3.3.0",
|
||||
"react-virtualized-auto-sizer": "^1.0.26",
|
||||
"react-window": "1.8.11",
|
||||
"react-window-v2": "npm:react-window@^2.2.7",
|
||||
"semver": "^7.8.2",
|
||||
"react-window-v2": "npm:react-window@^2.5.3",
|
||||
"semver": "^7.8.6",
|
||||
"string-to-color": "^2.2.2",
|
||||
"taglib-wasm": "^1.5.1",
|
||||
"taglib-wasm": "^1.8.3",
|
||||
"validate-color": "^2.2.4",
|
||||
"wavesurfer.js": "^7.12.7",
|
||||
"ws": "^8.21.0",
|
||||
"wavesurfer.js": "^7.12.12",
|
||||
"ws": "^8.22.2",
|
||||
"zod": "^3.25.76",
|
||||
"zustand": "^5.0.14"
|
||||
"zustand": "^5.1.0"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@commitlint/cli": "^21.2.2",
|
||||
"@commitlint/config-conventional": "^21.2.2",
|
||||
"@electron-toolkit/eslint-config-prettier": "^3.0.0",
|
||||
"@commitlint/cli": "^21.2.4",
|
||||
"@commitlint/config-conventional": "^21.2.4",
|
||||
"@electron-toolkit/eslint-config-prettier": "^3.0.1",
|
||||
"@electron-toolkit/eslint-config-ts": "^3.1.0",
|
||||
"@electron-toolkit/tsconfig": "^2.0.0",
|
||||
"@types/electron-localshortcut": "^3.1.3",
|
||||
"@types/lodash": "^4.17.24",
|
||||
"@types/lodash": "^4.17.27",
|
||||
"@types/md5": "^2.3.6",
|
||||
"@types/node": "^24.13.1",
|
||||
"@types/node": "^24.19.2",
|
||||
"@types/node-ssdp": "^4.0.5",
|
||||
"@types/react": "^19.2.17",
|
||||
"@types/react-dom": "^19.2.3",
|
||||
"@types/react": "^19.3.0",
|
||||
"@types/react-dom": "^19.3.0",
|
||||
"@types/react-window": "^1.8.8",
|
||||
"@types/source-map-support": "^0.5.10",
|
||||
"@types/ws": "^8.18.1",
|
||||
"@types/ws": "^8.18.2",
|
||||
"@vitejs/plugin-react": "^5.2.0",
|
||||
"babel-plugin-react-compiler": "^1.0.0",
|
||||
"concurrently": "^9.2.1",
|
||||
"concurrently": "^9.2.5",
|
||||
"cross-env": "^10.1.0",
|
||||
"electron": "^43.8.6",
|
||||
"electron-builder": "^26.15.7",
|
||||
"electron": "^43.8.7",
|
||||
"electron-builder": "^26.18.0",
|
||||
"electron-devtools-installer": "^4.0.0",
|
||||
"electron-vite": "^5.0.0",
|
||||
"eslint": "^9.39.4",
|
||||
"eslint": "^9.39.5",
|
||||
"eslint-plugin-perfectionist": "^4.15.1",
|
||||
"eslint-plugin-prettier": "^5.5.6",
|
||||
"eslint-plugin-prettier": "^5.5.7",
|
||||
"eslint-plugin-react": "^7.37.5",
|
||||
"eslint-plugin-react-hooks": "^7.1.1",
|
||||
"eslint-plugin-react-refresh": "^0.4.26",
|
||||
"i18next-parser": "^9.4.0",
|
||||
"lint-staged": "^17.3.0",
|
||||
"lint-staged": "^17.6.0",
|
||||
"postcss-preset-mantine": "^1.18.0",
|
||||
"postcss-simple-vars": "^7.0.1",
|
||||
"prettier": "^3.8.3",
|
||||
"prettier": "^3.9.10",
|
||||
"prettier-plugin-packagejson": "^2.5.22",
|
||||
"stylelint": "^16.26.1",
|
||||
"stylelint-config-css-modules": "^4.6.0",
|
||||
"stylelint-config-recess-order": "^7.7.0",
|
||||
"stylelint-config-recess-order": "^7.10.0",
|
||||
"stylelint-config-standard": "^39.0.1",
|
||||
"typescript": "^5.9.3",
|
||||
"vite": "^7.3.5",
|
||||
"vite": "^7.3.7",
|
||||
"vite-plugin-conditional-import": "^0.1.7",
|
||||
"vite-plugin-dynamic-import": "^1.6.0",
|
||||
"vite-plugin-ejs": "^1.7.0",
|
||||
"vite-plugin-ejs": "^1.8.0",
|
||||
"vite-plugin-pwa": "^1.3.0"
|
||||
},
|
||||
"packageManager": "[email protected]",
|
||||
|
||||
Generated
+2125
-2553
File diff suppressed because it is too large.
Load diff
@@ -658,8 +658,7 @@ export const JellyfinController: InternalControllerEndpoint = {
|
||||
const yearsFilter = yearsGroup.length ? yearsGroup.join(',') : undefined;
|
||||
|
||||
let artistQuery:
|
||||
| Omit<z.infer<typeof jfType._parameters.albumList>, 'IncludeItemTypes'>
|
||||
| undefined;
|
||||
Omit<z.infer<typeof jfType._parameters.albumList>, 'IncludeItemTypes'> | undefined;
|
||||
|
||||
if (query.artistIds) {
|
||||
// Based mostly off of observation, this is the behavior I've seen:
|
||||
|
||||
@@ -1221,9 +1221,7 @@ const DetailListHeader = memo(
|
||||
justifyContent: colTypeToJustifyContentMap[col.align],
|
||||
minWidth: isFixedColumn ? fixedWidth : 0,
|
||||
textAlign: colTypeToAlignMap[col.align] as
|
||||
| 'center'
|
||||
| 'left'
|
||||
| 'right',
|
||||
'center' | 'left' | 'right',
|
||||
};
|
||||
|
||||
return (
|
||||
|
||||
+1
-2
@@ -282,8 +282,7 @@ export const useItemDragDropState = <TElement extends HTMLElement = HTMLDivEleme
|
||||
const sourceItems = (args.source.item || []) as Song[];
|
||||
if (sourceItems.length > 0) {
|
||||
const sourcePlaylistId = args.source.metadata?.playlistId as
|
||||
| string
|
||||
| undefined;
|
||||
string | undefined;
|
||||
playerContext.addToQueueByData(
|
||||
sourceItems,
|
||||
{
|
||||
|
||||
+1
-2
@@ -89,8 +89,7 @@ export const useTableKeyboardNavigation = ({
|
||||
|
||||
const mainContainer = rowRef.current?.childNodes[0] as HTMLDivElement | undefined;
|
||||
const pinnedRightContainer = pinnedRightColumnRef.current?.childNodes[0] as
|
||||
| HTMLDivElement
|
||||
| undefined;
|
||||
HTMLDivElement | undefined;
|
||||
|
||||
// Use right pinned column scroll position if right-pinned columns exist
|
||||
const scrollContainer =
|
||||
|
||||
+2
-4
@@ -46,11 +46,9 @@ export const useTableScrollToIndex = ({
|
||||
(offset: number) => {
|
||||
const mainContainer = rowRef.current?.childNodes[0] as HTMLDivElement | undefined;
|
||||
const pinnedLeftContainer = pinnedLeftColumnRef.current?.childNodes[0] as
|
||||
| HTMLDivElement
|
||||
| undefined;
|
||||
HTMLDivElement | undefined;
|
||||
const pinnedRightContainer = pinnedRightColumnRef.current?.childNodes[0] as
|
||||
| HTMLDivElement
|
||||
| undefined;
|
||||
HTMLDivElement | undefined;
|
||||
|
||||
const behavior = 'instant';
|
||||
|
||||
|
||||
@@ -80,14 +80,7 @@ export interface ItemListHandle {
|
||||
}
|
||||
|
||||
export type ItemListItem =
|
||||
| Album
|
||||
| AlbumArtist
|
||||
| Artist
|
||||
| Folder
|
||||
| Genre
|
||||
| Playlist
|
||||
| Song
|
||||
| undefined;
|
||||
Album | AlbumArtist | Artist | Folder | Genre | Playlist | Song | undefined;
|
||||
|
||||
export interface ItemListTableComponentProps<TQuery> extends ItemListComponentProps<TQuery> {
|
||||
autoFitColumns?: boolean;
|
||||
|
||||
@@ -1160,34 +1160,32 @@ const AlbumArtistMetadataSimilarArtists = ({
|
||||
return [];
|
||||
}
|
||||
|
||||
return relatedArtists.map(
|
||||
(relatedArtist: RelatedArtist): AlbumArtist => ({
|
||||
_itemType: LibraryItem.ALBUM_ARTIST,
|
||||
_serverId: serverId || '',
|
||||
_serverType: (server?.type as ServerType) || ServerType.JELLYFIN,
|
||||
albumCount: null,
|
||||
biography: null,
|
||||
blurHash: null,
|
||||
dominantColor: null,
|
||||
duration: null,
|
||||
genres: [],
|
||||
id: relatedArtist.id,
|
||||
imageId: relatedArtist.imageId,
|
||||
imageUrl: relatedArtist.imageUrl,
|
||||
lastPlayedAt: null,
|
||||
mbz: null,
|
||||
missing: null,
|
||||
name: relatedArtist.name,
|
||||
playCount: null,
|
||||
ratedAt: null,
|
||||
similarArtists: null,
|
||||
songCount: null,
|
||||
starredAt: null,
|
||||
thumbHash: null,
|
||||
userFavorite: relatedArtist.userFavorite,
|
||||
userRating: relatedArtist.userRating,
|
||||
}),
|
||||
);
|
||||
return relatedArtists.map((relatedArtist: RelatedArtist): AlbumArtist => ({
|
||||
_itemType: LibraryItem.ALBUM_ARTIST,
|
||||
_serverId: serverId || '',
|
||||
_serverType: (server?.type as ServerType) || ServerType.JELLYFIN,
|
||||
albumCount: null,
|
||||
biography: null,
|
||||
blurHash: null,
|
||||
dominantColor: null,
|
||||
duration: null,
|
||||
genres: [],
|
||||
id: relatedArtist.id,
|
||||
imageId: relatedArtist.imageId,
|
||||
imageUrl: relatedArtist.imageUrl,
|
||||
lastPlayedAt: null,
|
||||
mbz: null,
|
||||
missing: null,
|
||||
name: relatedArtist.name,
|
||||
playCount: null,
|
||||
ratedAt: null,
|
||||
similarArtists: null,
|
||||
songCount: null,
|
||||
starredAt: null,
|
||||
thumbHash: null,
|
||||
userFavorite: relatedArtist.userFavorite,
|
||||
userRating: relatedArtist.userRating,
|
||||
}));
|
||||
}, [relatedArtists, server?.type, serverId]);
|
||||
|
||||
const carouselTitle = useMemo(
|
||||
|
||||
@@ -169,8 +169,7 @@ export const applyFavoriteOptimisticUpdates = (
|
||||
queryKey,
|
||||
updater: (
|
||||
current:
|
||||
| undefined
|
||||
| { pageParams: string[]; pages: AlbumListResponse[] },
|
||||
undefined | { pageParams: string[]; pages: AlbumListResponse[] },
|
||||
) => {
|
||||
if (!current) return current;
|
||||
const updatedPages = updateItemsInPages<Album, AlbumListResponse>(
|
||||
@@ -594,8 +593,7 @@ export const applyFavoriteOptimisticUpdates = (
|
||||
queryKey,
|
||||
updater: (
|
||||
current:
|
||||
| undefined
|
||||
| { pageParams: string[]; pages: SongListResponse[] },
|
||||
undefined | { pageParams: string[]; pages: SongListResponse[] },
|
||||
) => {
|
||||
if (!current) return current;
|
||||
const updatedPages = updateItemsInPages<Song, SongListResponse>(
|
||||
|
||||
@@ -103,14 +103,7 @@ interface CreateFuseOptions {
|
||||
}
|
||||
|
||||
type FuseSearchableItem =
|
||||
| Album
|
||||
| AlbumArtist
|
||||
| Artist
|
||||
| Genre
|
||||
| InternetRadioStation
|
||||
| Playlist
|
||||
| QueueSong
|
||||
| Song;
|
||||
Album | AlbumArtist | Artist | Genre | InternetRadioStation | Playlist | QueueSong | Song;
|
||||
|
||||
export const createFuseForLibraryItem = <T extends FuseSearchableItem>(
|
||||
items: T[],
|
||||
|
||||
@@ -691,8 +691,7 @@ export type LeafNode = {
|
||||
export type PlaylistFolderScope = 'owned' | 'shared';
|
||||
|
||||
export type PlaylistGroup =
|
||||
| { item: Playlist; type: 'root' }
|
||||
| { items: Playlist[]; name: string; type: 'folder' };
|
||||
{ item: Playlist; type: 'root' } | { items: Playlist[]; name: string; type: 'folder' };
|
||||
|
||||
export type TreeNode = FolderNode | LeafNode;
|
||||
|
||||
|
||||
@@ -21,11 +21,7 @@ export interface ButtonProps
|
||||
}
|
||||
|
||||
type ExtendedButtonVariant =
|
||||
| 'state-error'
|
||||
| 'state-info'
|
||||
| 'state-success'
|
||||
| 'state-warning'
|
||||
| ButtonVariant;
|
||||
'state-error' | 'state-info' | 'state-success' | 'state-warning' | ButtonVariant;
|
||||
|
||||
export const _Button = forwardRef<HTMLButtonElement, ButtonProps>(
|
||||
(
|
||||
|
||||
@@ -47,12 +47,7 @@ export enum SortOrder {
|
||||
export type AnyLibraryItem = Album | AlbumArtist | Artist | Playlist | QueueSong | Song;
|
||||
|
||||
export type AnyLibraryItems =
|
||||
| Album[]
|
||||
| AlbumArtist[]
|
||||
| Artist[]
|
||||
| Playlist[]
|
||||
| QueueSong[]
|
||||
| Song[];
|
||||
Album[] | AlbumArtist[] | Artist[] | Playlist[] | QueueSong[] | Song[];
|
||||
|
||||
export interface PlayerData {
|
||||
currentSong: QueueSong | undefined;
|
||||
|
||||
Reference in new issue
Block a user