diff --git a/bunfig.toml b/bunfig.toml index 3bb3a73..f4eed30 100644 --- a/bunfig.toml +++ b/bunfig.toml @@ -1,5 +1,12 @@ # Root bunfig.toml for Stock Bot Trading Platform # Configures Bun for the entire monorepo workspace +# Look for packages in workspace root + +peer = true +workspaces = true + +[install.scopes] +"@stock-bot" = { registry = "file:../../" } [test] # Configure coverage and test behavior diff --git a/libs/mongodb-client/package.json b/libs/mongodb-client/package.json index 3d4895c..2f2a942 100644 --- a/libs/mongodb-client/package.json +++ b/libs/mongodb-client/package.json @@ -16,6 +16,7 @@ "@stock-bot/config": "*", "@stock-bot/logger": "*", "@stock-bot/types": "*", + "@types/mongodb": "^4.0.7", "mongodb": "^6.17.0", "yup": "^1.6.1" }, @@ -43,5 +44,8 @@ "files": [ "dist", "README.md" - ] + ], + "paths": { + "*": ["node_modules/*", "../../node_modules/*"] + } } diff --git a/package.json b/package.json index 326bfa4..e9678cb 100644 --- a/package.json +++ b/package.json @@ -69,7 +69,7 @@ "bun": ">=1.1.0" }, "dependencies": { - "bullmq": "^5.53.2" + "bullmq": "^5.53.2", }, "trustedDependencies": ["mongodb"] }