Files
Jules bc30c4cede refactor(civi-crm/web): drop CiviCRM integration
* refactor(civi-crm): remove case management pages and API

The Circle Case UI, its API routes and the CiviCRM query layer they used
are gone. Keeps the app shell out entirely: no pages remain, so the
layout, styles and UI dependencies go with them.

* refactor(civi-crm): drop CiviCRM write from the intake endpoint

Submissions now go to Notion and, for the steward form, n8n. The legacy
afformCircleContactForm name was CiviCRM-only and is no longer accepted;
the fields[] payload is ignored.

* chore(web): remove CiviCRM afform generator scripts

They fetched form definitions from the CiviCRM API, which is gone. The
generated files under lib/civicrm are hand-maintained from now on.

* refactor(web): trim funnel form definitions and move to lib/funnel-forms

Fields keep only what renders the form: formKey, label, inputType,
required, repeatable. The CiviCRM entity/join/fieldName plumbing and the
fields[] POST payload are gone, along with the unused circle contact
form.

country was marked required but exempt from validation through its
CiviCRM Address join, so it is now enforced like every other required
select.

* docs: rewrite civi-crm and funnel docs for the intake-only app

Drops the CiviCRM API guide and the case management architecture, and
updates the funnel reference to the Notion + n8n flow.
2026-08-13 22:44:23 +09:00

33 lines
846 B
JSON

{
"name": "civi-crm",
"private": true,
"type": "module",
"scripts": {
"dev": "next dev --port 3002",
"build": "next build",
"start": "next start",
"lint": "eslint . --max-warnings 0",
"lint:fix": "eslint . --fix",
"check-types": "tsc --noEmit",
"check-all": "pnpm lint && pnpm check-types && pnpm test",
"check-all:fix": "pnpm lint:fix && pnpm check-types && pnpm test",
"test": "vitest run"
},
"dependencies": {
"@repo/funnel": "workspace:*",
"next": "16.2.4",
"react": "^19.2.5",
"react-dom": "^19.2.5"
},
"devDependencies": {
"@repo/config": "workspace:*",
"@types/node": "25.6.0",
"@types/react": "^19.2.14",
"@types/react-dom": "19.2.3",
"@vitest/coverage-v8": "^4.1.5",
"eslint": "^10.2.1",
"typescript": "^6.0.3",
"vitest": "^4.1.5"
}
}