Skip to content

Commit

Permalink
add a peer dependency between rum and logs packages
Browse files Browse the repository at this point in the history
  • Loading branch information
agrobbin committed Aug 2, 2022
1 parent d4c60b8 commit b443795
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 0 deletions.
8 changes: 8 additions & 0 deletions packages/logs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,14 @@
"dependencies": {
"@datadog/browser-core": "4.16.0"
},
"peerDependencies": {
"@datadog/rum": "4.16.0"
},
"peerDependenciesMeta": {
"@datadog/rum": {
"optional": true
}
},
"devDependencies": {
"@types/sinon": "9.0.10",
"sinon": "9.2.4"
Expand Down
8 changes: 8 additions & 0 deletions packages/rum/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,14 @@
"@datadog/browser-core": "4.16.0",
"@datadog/browser-rum-core": "4.16.0"
},
"peerDependencies": {
"@datadog/logs": "4.16.0"
},
"peerDependenciesMeta": {
"@datadog/logs": {
"optional": true
}
},
"repository": {
"type": "git",
"url": "https://github.com/DataDog/browser-sdk.git",
Expand Down

0 comments on commit b443795

Please sign in to comment.