Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 0 additions & 19 deletions .eslintrc.cjs

This file was deleted.

47 changes: 25 additions & 22 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,35 +2,38 @@ name: CI / CD

on:
push:
branches: [ main ]
branches: [main]
pull_request:
branches: [ main ]
branches: [main]

jobs:
build:
runs-on: ubuntu-latest

strategy:
matrix:
node-version: [18.x, 20.x]
node-version: [20.x, 22.x]

steps:
- uses: actions/checkout@v4

- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
cache: 'npm'

- name: Install dependencies
run: npm ci

- name: Check types
run: npm run build-only # Or just use tsc if build-only is not present
continue-on-error: false

- name: Build application
run: npm run build
env:
GEMINI_API_KEY: ${{ secrets.GEMINI_API_KEY }}
- uses: actions/checkout@v4

- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
cache: "npm"

- name: Install dependencies
run: npm ci

- name: Lint code
run: npm run lint

- name: Check types
run: npm run typecheck
continue-on-error: false

- name: Build application
run: npm run build
env:
VITE_GEMINI_API_KEY: ${{ secrets.VITE_GEMINI_API_KEY }}
22 changes: 11 additions & 11 deletions BACKLOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -72,14 +72,14 @@

## 🎯 BACKLOG TRACKER

| Ticket ID | Title | Severity | Status |
| --- | --- | --- | --- |
| SEC-001 | Migrate Gemini API to Backend Proxy | CRITICAL | IN PROGRESS |
| ARC-001 | Implement True PWA (manifest + ServiceWorker) | CRITICAL | DONE |
| UX-001 | Fix AI Chat Modal Overflow Constraints | HIGH | DONE |
| A11Y-001 | Implement ARIA labels & Modal Focus Traps | HIGH | DONE |
| ARC-002 | Refactor App.tsx into isolated components | MEDIUM | DONE |
| PRF-001 | Remove @google/genai from client bundle | MEDIUM | To-Do |
| ENG-001 | Scaffold Vitest & Core Unit Tests | MEDIUM | To-Do |
| STY-001 | Migrate inline CSS to index.css | LOW | DONE |
| UX-002 | Replace Lead Form Alert with Formspree Integration | LOW | To-Do |
| Ticket ID | Title | Severity | Status |
| --------- | ------------------------------------------------- | -------- | ----------- |
| SEC-001 | Migrate Gemini API to Backend Proxy | CRITICAL | IN PROGRESS |
| ARC-001 | Implement True PWA (manifest + ServiceWorker) | CRITICAL | DONE |
| UX-001 | Fix AI Chat Modal Overflow Constraints | HIGH | DONE |
| A11Y-001 | Implement ARIA labels & Modal Focus Traps | HIGH | DONE |
| ARC-002 | Refactor App.tsx into isolated components | MEDIUM | DONE |
| PRF-001 | Remove @google/genai from client bundle | MEDIUM | To-Do |
| ENG-001 | Scaffold Vitest & Core Unit Tests | MEDIUM | To-Do |
| STY-001 | Migrate inline CSS to index.css | LOW | DONE |
| UX-002 | Replace Lead Form Alert with Formspree Integration | LOW | To-Do |
27 changes: 27 additions & 0 deletions eslint.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
import eslint from '@eslint/js';
import tseslint from 'typescript-eslint';
import reactHooks from 'eslint-plugin-react-hooks';
import reactRefresh from 'eslint-plugin-react-refresh';

export default tseslint.config(
eslint.configs.recommended,
...tseslint.configs.recommended,
{
ignores: ['dist/**', '.eslintrc.cjs'],
},
{
files: ['**/*.{ts,tsx}'],
plugins: {
'react-hooks': reactHooks,
'react-refresh': reactRefresh,
},
rules: {
...reactHooks.configs.recommended.rules,
'react-refresh/only-export-components': [
'warn',
{ allowConstantExport: true },
],
'@typescript-eslint/no-explicit-any': 'warn',
},
}
);
Loading
Loading