Skip to content

Commit

Permalink
Fix package.json dependency issues (microsoft#847)
Browse files Browse the repository at this point in the history
* fix: move @opentelemetry/semantic-conventions to dependencies, mark applicationinsights-native-metrics as a peer

* add @opentelemetry/core dependency
  • Loading branch information
darthtrevino authored Sep 24, 2021
1 parent ec12907 commit 47c408e
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 3 deletions.
3 changes: 1 addition & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

11 changes: 10 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,6 @@
"node": ">=8.0.0"
},
"devDependencies": {
"@opentelemetry/semantic-conventions": "^0.24.0",
"@types/cls-hooked": "^4.3.3",
"@types/mocha": "^7.0.2",
"@types/node": "^8.0.0",
Expand All @@ -58,10 +57,20 @@
"dependencies": {
"@azure/core-http": "^2.2.0",
"@opentelemetry/api": "^1.0.3",
"@opentelemetry/core": "^0.23.0",
"@opentelemetry/tracing": "^0.23.0",
"@opentelemetry/semantic-conventions": "^0.24.0",
"cls-hooked": "^4.2.2",
"continuation-local-storage": "^3.2.1",
"diagnostic-channel": "1.0.0",
"diagnostic-channel-publishers": "1.0.3"
},
"peerDependencies": {
"applicationinsights-native-metrics": "*"
},
"peerDependenciesMeta": {
"applicationinsights-native-metrics": {
"optional": true
}
}
}

0 comments on commit 47c408e

Please sign in to comment.