No description
Find a file
Vadym Samoilenko 9146ebfbf0 Remove --skip-cloud-checks to fix TinaCloud schema sync
--skip-cloud-checks was also skipping syncProject() which is the API call
that tells TinaCloud to refresh its schema. Without it, TinaCloud never
indexed the pages collection, causing 'Expected to find collection named pages'
errors in the admin.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-18 22:48:57 +00:00
.github/workflows Deploy nginx.conf to server in CI/CD pipeline 2026-03-18 22:08:39 +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 Add Page Builder: 15 block types + publish/unpublish via TinaCMS 2026-03-18 22:29:51 +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 Regenerate TinaCMS schema for pages collection 2026-03-18 22:34:04 +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 package-lock.json with puppeteer and mime-types 2026-03-18 21:44:30 +00:00
package.json Remove --skip-cloud-checks to fix TinaCloud schema sync 2026-03-18 22:48:57 +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...
    },
  },
])