learning_ai_notes/backend/package.json
saravanakumardb1 623d02c32f test(notes): verify phase1 transcript→note import against @bytelyst/events schemas
- Add @bytelyst/events dependency for contract validation
- Expand ecosystem-phase1 tests from 1 to 13 focused tests:
  - transcript artifact import from disk
  - transcript capture event load + missing file graceful
  - note creation with productId, sourceType, links, tags
  - note artifact doc for internal persistence
  - artifact.created event with upstream causation propagation
  - artifact.linked event chained from artifact.created
  - provenance lineage preservation (lysnrai→notelett)
  - NoteArtifactEnvelopeSchema conformance (no contract drift)
  - ArtifactCreatedEventSchema conformance
  - ArtifactLinkedEventSchema conformance
  - disk persistence + index file verification
  - graceful degradation without capture event
- Fix server.test.ts route count (7→8) for ecosystem-phase1 route
2026-04-03 19:13:55 -07:00

46 lines
1.3 KiB
JSON

{
"name": "@notelett/backend",
"version": "0.1.0",
"private": true,
"packageManager": "pnpm@10.6.5",
"description": "NoteLett product backend — notes, workspaces, relationships, tasks, artifacts, agent actions",
"type": "module",
"scripts": {
"dev": "tsx watch src/server.ts",
"build": "tsc",
"start": "node dist/server.js",
"test": "vitest run",
"test:watch": "vitest",
"typecheck": "tsc --noEmit",
"lint": "eslint src/"
},
"dependencies": {
"@azure/cosmos": "^4.2.0",
"@bytelyst/auth": "^0.1.0",
"@bytelyst/backend-config": "^0.1.0",
"@bytelyst/backend-flags": "^0.1.0",
"@bytelyst/backend-telemetry": "^0.1.0",
"@bytelyst/config": "^0.1.0",
"@bytelyst/cosmos": "^0.1.0",
"@bytelyst/datastore": "^0.1.0",
"@bytelyst/errors": "^0.1.0",
"@bytelyst/events": "^0.1.0",
"@bytelyst/fastify-auth": "^0.1.0",
"@bytelyst/fastify-core": "^0.1.0",
"@bytelyst/field-encrypt": "^0.1.0",
"@bytelyst/logger": "^0.1.0",
"fastify": "5.7.4",
"jose": "^6.0.8",
"zod": "^3.24.2"
},
"devDependencies": {
"@bytelyst/testing": "^0.1.0",
"@types/node": "^22.12.0",
"eslint": "^9.0.0",
"tsx": "^4.19.2",
"typescript": "^5.7.3",
"typescript-eslint": "^8.0.0",
"vitest": "^3.0.5"
}
}