ADAMI — торговая компания, импорт и экспорт товаров из Южной Кореи
  • JavaScript 51.7%
  • TypeScript 30.7%
  • Shell 8.2%
  • CSS 8%
  • HTML 1%
  • Other 0.4%
Find a file
Andrei 5caf8280eb
All checks were successful
Forgejo Smoke Test / Smoke (push) Successful in 2s
Adami Site CI / lint-and-build (push) Successful in 31s
[CL-ADAMI-AUDIT] adami-site: CI (eslint+build), синхронизация package-lock, фикс rules-of-hooks в Stats
Что сделано: lock-файл пересобран (npm ci падал с EUSAGE — причина прошлых красных workflow); useCountUp вынесен из map-колбэка в компонент StatItem; добавлен Forgejo Actions workflow lint+build.
Зачем: вернуть рабочий CI на adami-site.
План тестирования: npm ci && npm run lint && npm run build локально на сервере — зелёные; workflow на push.
Где могу ошибаться: если прод-сборка сайта делалась со старым lock — поведение build могло измениться (semver-minor поднятия).
2026-06-10 14:25:39 +00:00
.forgejo [CL-ADAMI-AUDIT] adami-site: CI (eslint+build), синхронизация package-lock, фикс rules-of-hooks в Stats 2026-06-10 14:25:39 +00:00
.seo-agent [CL-SEO-AGENT-ADAMI-P1B] feat(seo): AI SEO Agent CLI + weekly Forgejo cron для adami.kr 2026-05-25 19:13:34 +03:00
public feat: ADAMI landing page — Apple-style redesign 2026-03-29 05:14:34 +03:00
scripts [CL-SEO] SEO audit -> deploy TG chat (server-owned, adami) (#7) 2026-05-25 19:51:14 +00:00
src [CL-ADAMI-AUDIT] adami-site: CI (eslint+build), синхронизация package-lock, фикс rules-of-hooks в Stats 2026-06-10 14:25:39 +00:00
.gitignore [CL-SEO-AGENT-ADAMI-P1B] feat(seo): AI SEO Agent CLI + weekly Forgejo cron для adami.kr 2026-05-25 19:13:34 +03:00
Dockerfile fix: use nginx template for dynamic PORT injection 2026-04-04 14:26:37 +03:00
eslint.config.js feat: ADAMI landing page — Apple-style redesign 2026-03-29 05:14:34 +03:00
index.html feat: ADAMI landing page — Apple-style redesign 2026-03-29 05:14:34 +03:00
nginx.conf fix: use $PORT variable for Railway compatibility 2026-04-04 14:26:34 +03:00
package-lock.json [CL-ADAMI-AUDIT] adami-site: CI (eslint+build), синхронизация package-lock, фикс rules-of-hooks в Stats 2026-06-10 14:25:39 +00:00
package.json feat: ADAMI landing page — Apple-style redesign 2026-03-29 05:14:34 +03:00
README.md feat: ADAMI landing page — Apple-style redesign 2026-03-29 05:14:34 +03:00
tsconfig.app.json feat: ADAMI landing page — Apple-style redesign 2026-03-29 05:14:34 +03:00
tsconfig.json feat: ADAMI landing page — Apple-style redesign 2026-03-29 05:14:34 +03:00
tsconfig.node.json feat: ADAMI landing page — Apple-style redesign 2026-03-29 05:14:34 +03:00
vite.config.ts feat: ADAMI landing page — Apple-style redesign 2026-03-29 05:14:34 +03:00

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:

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...
    },
  },
])