Monorepo set up: workspaces, contracts package, placeholders

npm workspaces (packages/*, apps/*) with shared TypeScript, ESLint and
Jest setup and `npm run check`. @crosscode/contracts builds to CommonJS
and ESM (tsup) with the crosscode.<name>/<major> schema-name helpers.
packages/ui and apps/{accounts,website,app} are placeholders.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
2026-11-04 09:36:42 +02:00
co-authored by Claude Opus 5.5
commit 19f79dfb17
24 changed files with 7609 additions and 0 deletions
+31
View File
@@ -0,0 +1,31 @@
{
"name": "crosscode-platform",
"version": "0.0.0",
"private": true,
"description": "Cross Code platform monorepo: Accounts, Church Website, Church App and the shared contracts (see docs/ROADMAP-v3.md in hope-events)",
"workspaces": [
"packages/*",
"apps/*"
],
"scripts": {
"build": "npm run build --workspaces --if-present",
"test": "npm test --workspaces --if-present",
"typecheck": "npm run typecheck --workspaces --if-present",
"lint": "eslint .",
"check": "npm run lint && npm run typecheck && npm test && npm run build"
},
"engines": {
"node": ">=20"
},
"devDependencies": {
"@eslint/js": "^10.0.1",
"@types/jest": "^30.0.0",
"@types/node": "^20.19.43",
"eslint": "^10.13.0",
"jest": "^30.5.2",
"ts-jest": "^29.4.15",
"tsup": "^9.0.0",
"typescript": "^5.9.3",
"typescript-eslint": "^8.72.1"
}
}