- BaserowClient : CRUD rows, listRows pagination/filter/search, resolveTableIds, healthCheck - DocmostClient : auth session cookie auto-relogin, spaces/pages/shares CRUD, healthCheck - RedisCache : cache-aside, invalidation pattern SCAN, idempotence webhooks, rate limit sliding window - errors.ts : BridgeError typee + 11 ErrorCode (AUTH/RG_VIOLATION/BASEROW_UNAVAILABLE...) - bumps mineurs deps (hono, ofetch, ioredis, zod, pino) + ajout pino-pretty dev tsc strict mode clean, biome ci clean. Tests unit a venir (Bloc 6 via bridge-tester). Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
44 lines
1.2 KiB
JSON
44 lines
1.2 KiB
JSON
{
|
|
"name": "@acadenice/bridge",
|
|
"version": "0.1.0",
|
|
"private": true,
|
|
"description": "Bridge service Acadenice formation-hub — expose Baserow comme nodes Tiptap dans Docmost",
|
|
"license": "AGPL-3.0-or-later",
|
|
"type": "module",
|
|
"engines": {
|
|
"node": ">=22.0.0"
|
|
},
|
|
"scripts": {
|
|
"dev": "tsx watch src/index.ts",
|
|
"build": "tsc -p tsconfig.json",
|
|
"start": "node dist/index.js",
|
|
"typecheck": "tsc --noEmit",
|
|
"lint": "biome ci .",
|
|
"lint:fix": "biome check --write .",
|
|
"test": "vitest run",
|
|
"test:unit": "vitest run tests/unit",
|
|
"test:integration": "vitest run tests/integration",
|
|
"test:watch": "vitest",
|
|
"test:coverage": "vitest run --coverage"
|
|
},
|
|
"dependencies": {
|
|
"@hono/node-server": "^1.19.14",
|
|
"decimal.js": "^10.6.0",
|
|
"dotenv": "^16.6.1",
|
|
"hono": "^4.12.18",
|
|
"ioredis": "^5.10.1",
|
|
"ofetch": "^1.5.1",
|
|
"pino": "^9.14.0",
|
|
"pino-pretty": "^13.1.3",
|
|
"zod": "^3.25.76"
|
|
},
|
|
"devDependencies": {
|
|
"@biomejs/biome": "^1.9.0",
|
|
"@types/node": "^22.0.0",
|
|
"@vitest/coverage-v8": "^2.1.0",
|
|
"testcontainers": "^11.14.0",
|
|
"tsx": "^4.19.0",
|
|
"typescript": "^5.6.0",
|
|
"vitest": "^2.1.0"
|
|
}
|
|
}
|