No description
Find a file
Vadym Samoilenko 17a90e5821
Some checks failed
Deploy to Server / deploy (push) Has been cancelled
TinaCMS content update
2026-03-19 12:25:27 +00:00
.github/workflows Fix TinaCloud schema sync: force re-index before build 2026-03-18 23:01:15 +00:00
assets Initial commit: Aimpress website 2026-03-08 13:47:37 +00:00
chatbot-api Add multi-language support (EN/UK) across entire site 2026-03-09 13:32:04 +00:00
content TinaCMS content update 2026-03-19 12:25:27 +00:00
email-api Add markdown rendering in chat widget + opportunities for new leads 2026-03-08 21:30:49 +00:00
public Add public/uploads directory for TinaCloud media storage 2026-03-12 22:02:41 +00:00
scripts Add Page Builder: 15 block types + publish/unpublish via TinaCMS 2026-03-18 22:29:51 +00:00
server Fix CSP violations: allow PostHog, TinaCMS visual editor framing 2026-03-18 22:03:33 +00:00
specs/001-multi-language Add multi-language support (EN/UK) across entire site 2026-03-09 13:32:04 +00:00
src Fix TypeScript unused import errors blocking CI build 2026-03-18 22:41:52 +00:00
tina Fix TinaCloud schema: add pages collection to tina-lock.json 2026-03-19 11:58:22 +00:00
.dockerignore Initial commit: Aimpress website 2026-03-08 13:47:37 +00:00
.gitignore Add visual editing via useTina + configure tina collections for SPA 2026-03-12 21:42:05 +00:00
CLAUDE.md Add multi-language support (EN/UK) across entire site 2026-03-09 13:32:04 +00:00
docker-compose.yml Initial commit: Aimpress website 2026-03-08 13:47:37 +00:00
Dockerfile Initial commit: Aimpress website 2026-03-08 13:47:37 +00:00
eslint.config.js Initial commit: Aimpress website 2026-03-08 13:47:37 +00:00
index.html Add JSON-LD schemas: FAQ, HowTo, BlogPosting, Person, AggregateRating 2026-03-18 21:37:21 +00:00
package-lock.json Update TinaCMS to v3.6.3 and @tinacms/cli to v2.1.11 2026-03-19 12:12:01 +00:00
package.json Update TinaCMS to v3.6.3 and @tinacms/cli to v2.1.11 2026-03-19 12:12:01 +00:00
README.md Initial commit: Aimpress website 2026-03-08 13:47:37 +00:00
tsconfig.app.json Add TinaCMS Cloud integration (Phase 1) 2026-03-12 20:34:35 +00:00
tsconfig.json Initial commit: Aimpress website 2026-03-08 13:47:37 +00:00
tsconfig.node.json Initial commit: Aimpress website 2026-03-08 13:47:37 +00:00
vite.config.ts Initial commit: Aimpress website 2026-03-08 13:47:37 +00: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...
    },
  },
])