diff --git a/apps/data-service/src/proxy-demo.ts b/apps/data-service/src/proxy-demo.ts index 1cb0194..59f7497 100644 --- a/apps/data-service/src/proxy-demo.ts +++ b/apps/data-service/src/proxy-demo.ts @@ -113,7 +113,7 @@ export { // If this file is run directly, execute the demo if (import.meta.main) { - // demonstrateProxyService() - demonstrateCustomProxySource() + demonstrateProxyService() + // demonstrateCustomProxySource() .catch(console.error); } diff --git a/apps/data-service/tsconfig.json b/apps/data-service/tsconfig.json index 9c66731..d505a53 100644 --- a/apps/data-service/tsconfig.json +++ b/apps/data-service/tsconfig.json @@ -3,7 +3,10 @@ "compilerOptions": { "outDir": "./dist", "rootDir": "./src", - "declaration": true + "declaration": true, + "moduleResolution": "bundler", + "allowSyntheticDefaultImports": true, + "esModuleInterop": true }, "include": [ "src/**/*" @@ -14,4 +17,12 @@ "**/*.test.ts", "**/*.spec.ts" ], + "references": [ + { "path": "../../libs/config" }, + { "path": "../../libs/logger" }, + { "path": "../../libs/http-client" }, + { "path": "../../libs/types" }, + { "path": "../../libs/cache" }, + { "path": "../../libs/utils" } + ] }