No description
- TypeScript 89.5%
- CSS 9.8%
- JavaScript 0.6%
| Filename | Latest commit message | Latest commit date |
|---|---|---|
|
All checks were successful
Deploy gotolib to AWS (Nginx) / deploy (push) Successful in 8m38s
- 총 권수 표시 자리에 연도 칩(.seg 재사용, 2020~올해, 최신 연도부터)을 두고 눌러서 전환한다. 고른 해(17개 출판사)만 모으므로 작업량이 최대 1400여 건 → 17건으로 줄어든다. - useKoreanNovels: 탭을 열면 이미 들렀던 모든 해의 캐시를 네트워크 없이 먼저 불러와 칩에 권수를 보여주고, 지금 고른 해만 부족분을 긁는다. 연도를 바꾸면 이전 해를 긁던 워커는 멈춘다(토큰으로 구분). '새로고침'도 전체가 아니라 지금 고른 해만 다시 긁는다(db.clearNovelCacheForYear). - 쪽 번호는 연도를 바꾸면 1쪽으로 되돌린다. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com> |
||
| .claude | ||
| .forgejo/workflows | ||
| codemod/rules | ||
| public | ||
| scripts | ||
| src | ||
| tests | ||
| .gitignore | ||
| budget.config.json | ||
| budget.txt | ||
| bun.lock | ||
| eslint.config.js | ||
| index.html | ||
| package.json | ||
| pwa-assets.config.ts | ||
| README.md | ||
| sgconfig.yml | ||
| tsconfig.app.json | ||
| tsconfig.json | ||
| tsconfig.node.json | ||
| vite.config.ts | ||
React + TypeScript + Vite
This template provides a minimal setup to get React working in Vite with HMR and some ESLint rules.
Currently, two official plugins are available:
- @vitejs/plugin-react uses Babel (or oxc when used in rolldown-vite) for Fast Refresh
- @vitejs/plugin-react-swc uses SWC for Fast Refresh
React Compiler
The React Compiler is not enabled on this template because of its impact on dev & build performances. To add it, see this documentation.
Expanding the ESLint configuration
If you are developing a production application, we recommend updating the configuration to enable type-aware lint rules:
export default defineConfig([
globalIgnores(['dist']),
{
files: ['**/*.{ts,tsx}'],
extends: [
// Other configs...
// Remove tseslint.configs.recommended and replace with this
tseslint.configs.recommendedTypeChecked,
// Alternatively, use this for stricter rules
tseslint.configs.strictTypeChecked,
// Optionally, add this for stylistic rules
tseslint.configs.stylisticTypeChecked,
// Other configs...
],
languageOptions: {
parserOptions: {
project: ['./tsconfig.node.json', './tsconfig.app.json'],
tsconfigRootDir: import.meta.dirname,
},
// other options...
},
},
])
You can also install eslint-plugin-react-x and eslint-plugin-react-dom for React-specific lint rules:
// eslint.config.js
import reactX from 'eslint-plugin-react-x'
import reactDom from 'eslint-plugin-react-dom'
export default defineConfig([
globalIgnores(['dist']),
{
files: ['**/*.{ts,tsx}'],
extends: [
// Other configs...
// Enable lint rules for React
reactX.configs['recommended-typescript'],
// Enable lint rules for React DOM
reactDom.configs.recommended,
],
languageOptions: {
parserOptions: {
project: ['./tsconfig.node.json', './tsconfig.app.json'],
tsconfigRootDir: import.meta.dirname,
},
// other options...
},
},
])