- server: @nestjs/* 11.2.7, @modelcontextprotocol/sdk 1.32.1, @fastify/multipart 10.1.2, pino-pretty 13.2.0, socket.io 4.8.4 - client: axios 1.20.0, katex 0.19.0, i18next-http-backend 4.0.2 - root: nx 23.3.0, concurrently 10.0.6, dompurify 3.4.16 - overrides: fastify 5.12.5, fast-uri 3.1.8, ip-address 10.7.3, brace-expansion@^5 5.0.12, smol-toml 1.9.0, katex 0.19.0 - re-resolve handlebars, proxy-addr, engine.io, @fastify/busboy, source-map-js, fast-copy, brace-expansion@1 to patched versions |
||
|---|---|---|
| .. | ||
| public | ||
| src | ||
| .dockerignore | ||
| .gitignore | ||
| eslint.config.mjs | ||
| index.html | ||
| package.json | ||
| postcss.config.js | ||
| README.md | ||
| tsconfig.json | ||
| tsconfig.node.json | ||
| vite.config.ts | ||
| vitest.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 for Fast Refresh
- @vitejs/plugin-react-swc uses SWC for Fast Refresh
Expanding the ESLint configuration
If you are developing a production application, we recommend updating the configuration to enable type aware lint rules:
- Configure the top-level
parserOptionsproperty like this:
parserOptions: {
ecmaVersion: 'latest',
sourceType: 'module',
project: ['./tsconfig.json', './tsconfig.node.json'],
tsconfigRootDir: __dirname,
},
- Replace
plugin:@typescript-eslint/recommendedtoplugin:@typescript-eslint/recommended-type-checkedorplugin:@typescript-eslint/strict-type-checked - Optionally add
plugin:@typescript-eslint/stylistic-type-checked - Install eslint-plugin-react and add
plugin:react/recommended&plugin:react/jsx-runtimeto theextendslist