mirror of
https://github.com/Luchexx/wacrm.git
synced 2026-11-02 17:29:45 +00:00
Adds .github/workflows/ci.yml running lint, typecheck, and build on pull_request + push to main. Node 20 (matches the engines we'll pin in the metadata PR), npm cache keyed on package-lock.json, concurrency cancel so force-pushes don't queue runs. Also adds a `typecheck` script to package.json — `tsc --noEmit`. Next runs its own typecheck during `build`, but exposing it as a script means editors and pre-commit hooks can invoke it cheaply, and CI can surface type errors separately from build errors. Build passes with dummy env vars (tested locally with .env.local moved aside); NEXT_PUBLIC_SUPABASE_URL, NEXT_PUBLIC_SUPABASE_ANON_KEY, and ENCRYPTION_KEY are set to placeholder values inside the workflow. Lint is wired up but marked continue-on-error for now: the repo has 14 pre-existing errors from React 19's new react-hooks/set-state-in- effect rule, across 8 files, that are out of scope for this PR. They still show up in the CI logs so regressions are visible; a follow-up PR will fix them and drop the non-blocking flag. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
43 lines
1.0 KiB
JSON
43 lines
1.0 KiB
JSON
{
|
|
"name": "wacrm",
|
|
"version": "0.1.0",
|
|
"private": true,
|
|
"scripts": {
|
|
"dev": "next dev",
|
|
"build": "next build",
|
|
"start": "next start",
|
|
"lint": "eslint",
|
|
"typecheck": "tsc --noEmit"
|
|
},
|
|
"dependencies": {
|
|
"@base-ui/react": "^1.4.0",
|
|
"@dnd-kit/core": "^6.3.1",
|
|
"@dnd-kit/sortable": "^10.0.0",
|
|
"@dnd-kit/utilities": "^3.2.2",
|
|
"@supabase/ssr": "^0.10.2",
|
|
"@supabase/supabase-js": "^2.103.3",
|
|
"class-variance-authority": "^0.7.1",
|
|
"clsx": "^2.1.1",
|
|
"date-fns": "^4.1.0",
|
|
"lucide-react": "^1.8.0",
|
|
"marked": "^18.0.2",
|
|
"next": "16.2.4",
|
|
"react": "19.2.4",
|
|
"react-dom": "19.2.4",
|
|
"shadcn": "^4.2.0",
|
|
"sonner": "^2.0.7",
|
|
"tailwind-merge": "^3.5.0",
|
|
"tw-animate-css": "^1.4.0"
|
|
},
|
|
"devDependencies": {
|
|
"@tailwindcss/postcss": "^4",
|
|
"@types/node": "^20",
|
|
"@types/react": "^19",
|
|
"@types/react-dom": "^19",
|
|
"eslint": "^9",
|
|
"eslint-config-next": "16.2.4",
|
|
"tailwindcss": "^4",
|
|
"typescript": "^5"
|
|
}
|
|
}
|