Skip to content

Commit

Permalink
fix(events): bind gateway to events package
Browse files Browse the repository at this point in the history
  • Loading branch information
makelicious committed Nov 21, 2024
1 parent 93e2e68 commit 2f45ca7
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
3 changes: 2 additions & 1 deletion packages/events/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,8 @@
"noImplicitAny": true,
"strictNullChecks": true,
"noUnusedLocals": true,
"types": ["fhir", "jest"]
"types": ["fhir", "jest"],
"composite": true
},
"include": ["src/**/*.ts", "typings", "tslint-rules"],
"exclude": ["node_modules", "build", "scripts", "acceptance-tests"]
Expand Down
2 changes: 2 additions & 0 deletions packages/gateway/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,8 @@
"@hapi/h2o2": "^9.1.0",
"@hapi/hapi": "^20.0.1",
"@opencrvs/commons": "^1.3.0",
"@opencrvs/events": "^1.3.0",
"superjson": "1.9.0-0",
"@trpc/client": "^11.0.0-rc.532",
"@types/archiver": "^3.0.0",
"@types/flat": "^0.0.28",
Expand Down
3 changes: 2 additions & 1 deletion packages/gateway/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"baseUrl": "./src",
"paths": {
"@gateway/*": ["./*"],
"@events/*": ["../../events/src/*"]
"@events/*": ["../../events/src/index.ts"]
},
"target": "es6",
"module": "node16",
Expand All @@ -23,6 +23,7 @@
"types": ["fhir", "jest"],
"esModuleInterop": true
},
"references": [{ "path": "../events" }],
"include": ["src/**/*.ts", "typings"],
"exclude": ["node_modules", "build", "scripts", "acceptance-tests"]
}

0 comments on commit 2f45ca7

Please sign in to comment.