Skip to content

Commit ccca105

Browse files
committed
biome support / arkhamesque parallel investigators support
1 parent 6db811c commit ccca105

File tree

317 files changed

+13855
-14889
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

317 files changed

+13855
-14889
lines changed

package-lock.json

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

package.json

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,14 @@
11
{
22
"name": "arkham-divider",
33
"private": true,
4-
"version": "1.3.0",
4+
"version": "1.3.1",
55
"type": "module",
66
"scripts": {
77
"dev": "vite",
88
"build": "tsc -b && vite build",
99
"lint": "eslint .",
10-
"preview": "vite preview"
10+
"preview": "vite preview",
11+
"biome": "npx @biomejs/biome format --write ./src"
1112
},
1213
"dependencies": {
1314
"@react-pdf/renderer": "^4.1.5",
@@ -21,7 +22,6 @@
2122
"dotenv": "^16.4.5",
2223
"file-saver": "^2.0.5",
2324
"i18next": "^23.14.0",
24-
"jimp": "^1.6.0",
2525
"jszip": "^3.10.1",
2626
"konva": "^9.3.16",
2727
"qrcode.react": "^4.0.1",
@@ -46,7 +46,6 @@
4646
"@eslint/js": "^9.9.0",
4747
"@types/dom-to-image": "^2.6.7",
4848
"@types/file-saver": "^2.0.7",
49-
"@types/jimp": "^0.2.28",
5049
"@types/jszip": "^3.4.1",
5150
"@types/node": "^20",
5251
"@types/pdfkit": "^0.13.8",

src/app/App.tsx

Lines changed: 85 additions & 86 deletions
Original file line numberDiff line numberDiff line change
@@ -1,100 +1,99 @@
1-
import { Routes, HashRouter, Route, Outlet } from 'react-router-dom';
2-
import S from './App.module.scss'
3-
import '@/app/fonts';
1+
import { Routes, HashRouter, Route, Outlet } from "react-router-dom";
2+
import S from "./App.module.scss";
3+
import "@/app/fonts";
44

5-
import {
6-
AppLoader,
7-
AppSettings,
8-
LayoutMenu,
9-
AddDividers,
10-
Col,
11-
Footer,
12-
LayoutInfo,
13-
CategoryInfo,
14-
ActivePopup,
15-
WithLayoutSupport,
16-
Layout,
17-
WithBrowserSupport
18-
} from '@/components';
5+
import {
6+
AppLoader,
7+
AppSettings,
8+
LayoutMenu,
9+
AddDividers,
10+
Col,
11+
Footer,
12+
LayoutInfo,
13+
CategoryInfo,
14+
ActivePopup,
15+
WithLayoutSupport,
16+
Layout,
17+
WithBrowserSupport,
18+
} from "@/components";
1919

20-
import { useAppSelector } from '@/shared/lib/hooks/useAppSelector';
21-
import { selectDividers } from '@/app/store/features/dividers/dividers';
22-
import { useAppNavigation } from '@/shared/lib/hooks/useAppNavigation';
23-
import { useAppDispatch } from '@/shared/lib/hooks/useAppDispatch';
24-
import { loadAppData } from '@/app/store/features/app/app';
25-
import { useEffect } from 'react';
20+
import { useAppSelector } from "@/shared/lib/hooks/useAppSelector";
21+
import { selectDividers } from "@/app/store/features/dividers/dividers";
22+
import { useAppNavigation } from "@/shared/lib/hooks/useAppNavigation";
23+
import { useAppDispatch } from "@/shared/lib/hooks/useAppDispatch";
24+
import { loadAppData } from "@/app/store/features/app/app";
25+
import { useEffect } from "react";
2626

27-
28-
import './index.scss'
27+
import "./index.scss";
2928

3029
const App = () => {
31-
return (
32-
<HashRouter>
33-
<Routes>
34-
<Route path="/" element={<AppLayout />}>
35-
<Route path=':language'>
36-
<Route path='orientation/:orientation'/>
37-
<Route path='category/:categoryId' element={<CategoryInfo/>}>
38-
<Route path=':layoutId' element={<LayoutInfo/>}>
39-
<Route path=':type'>
40-
<Route path=':storyId'/>
41-
</Route>
42-
</Route>
43-
</Route>
30+
return (
31+
<HashRouter>
32+
<Routes>
33+
<Route path="/" element={<AppLayout />}>
34+
<Route path=":language">
35+
<Route path="orientation/:orientation" />
36+
<Route path="category/:categoryId" element={<CategoryInfo />}>
37+
<Route path=":layoutId" element={<LayoutInfo />}>
38+
<Route path=":type">
39+
<Route path=":storyId" />
40+
</Route>
41+
</Route>
42+
</Route>
43+
44+
<Route path="color" />
45+
<Route path="grayscale" />
4446

45-
<Route path='color'/>
46-
<Route path='grayscale'/>
47-
48-
<Route path='layout/:layoutId' element={<LayoutInfo/>}>
49-
<Route path=':type'>
50-
<Route path=':storyId'/>
51-
</Route>
52-
</Route>
53-
</Route>
54-
</Route>
55-
</Routes>
56-
</HashRouter>
57-
)
58-
}
47+
<Route path="layout/:layoutId" element={<LayoutInfo />}>
48+
<Route path=":type">
49+
<Route path=":storyId" />
50+
</Route>
51+
</Route>
52+
</Route>
53+
</Route>
54+
</Routes>
55+
</HashRouter>
56+
);
57+
};
5958

6059
const AppLayout = () => {
61-
const dispatch = useAppDispatch();
60+
const dispatch = useAppDispatch();
6261

63-
useEffect(() => {
64-
dispatch(loadAppData());
65-
}, [dispatch]);
62+
useEffect(() => {
63+
dispatch(loadAppData());
64+
}, [dispatch]);
6665

67-
useAppNavigation();
66+
useAppNavigation();
6867

69-
const dividers = useAppSelector(selectDividers);
68+
const dividers = useAppSelector(selectDividers);
7069

71-
const showLayout = dividers.length > 0;
70+
const showLayout = dividers.length > 0;
7271

73-
return (
74-
<WithBrowserSupport>
75-
<AppLoader>
76-
<Col className={S.container}>
77-
<AppSettings/>
78-
<Col className={S.content}>
79-
<Outlet/>
80-
<LayoutMenu/>
81-
<div className={S.addDividers}>
82-
<AddDividers/>
83-
</div>
84-
<WithLayoutSupport fallback={true}>
85-
{showLayout && (
86-
<div className={S.layout}>
87-
<Layout/>
88-
</div>
89-
)}
90-
</WithLayoutSupport>
91-
</Col>
92-
<Footer/>
93-
</Col>
94-
<ActivePopup/>
95-
</AppLoader>
96-
</WithBrowserSupport>
97-
);
98-
}
72+
return (
73+
<WithBrowserSupport>
74+
<AppLoader>
75+
<Col className={S.container}>
76+
<AppSettings />
77+
<Col className={S.content}>
78+
<Outlet />
79+
<LayoutMenu />
80+
<div className={S.addDividers}>
81+
<AddDividers />
82+
</div>
83+
<WithLayoutSupport fallback={true}>
84+
{showLayout && (
85+
<div className={S.layout}>
86+
<Layout />
87+
</div>
88+
)}
89+
</WithLayoutSupport>
90+
</Col>
91+
<Footer />
92+
</Col>
93+
<ActivePopup />
94+
</AppLoader>
95+
</WithBrowserSupport>
96+
);
97+
};
9998

100-
export default App
99+
export default App;

src/app/fonts/Alegreya/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
import './index.scss'
1+
import "./index.scss";

src/app/fonts/Arkhamic/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
import './index.scss'
1+
import "./index.scss";

src/app/fonts/ArnoPro/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
import './index.scss'
1+
import "./index.scss";
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
import './index.scss'
1+
import "./index.scss";
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
import './index.scss'
1+
import "./index.scss";

src/app/fonts/Conkordia/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
import './index.scss'
1+
import "./index.scss";

src/app/fonts/LineSeedKR/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
import './index.scss'
1+
import "./index.scss";

0 commit comments

Comments
 (0)