Skip to content

Commit

Permalink
chore: rename metrics packages to prevent lerna linking (#2629)
Browse files Browse the repository at this point in the history
  • Loading branch information
dyladan authored Nov 20, 2021
1 parent a58f510 commit 13acbd3
Show file tree
Hide file tree
Showing 11 changed files with 4 additions and 35 deletions.
3 changes: 2 additions & 1 deletion experimental/packages/opentelemetry-api-metrics/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
{
"name": "@opentelemetry/api-metrics",
"name": "@opentelemetry/api-metrics-wip",
"version": "0.27.0",
"private": true,
"description": "Public metrics API for OpenTelemetry",
"main": "build/src/index.js",
"module": "build/esm/index.js",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,6 @@
"test/**/*.ts"
],
"references": [
{
"path": "../opentelemetry-api-metrics"
},
{
"path": "../opentelemetry-exporter-metrics-otlp-http"
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,6 @@
"src/**/*.ts"
],
"references": [
{
"path": "../opentelemetry-api-metrics/tsconfig.esm.json"
},
{
"path": "../opentelemetry-exporter-trace-otlp-http/tsconfig.esm.json"
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,6 @@
"test/**/*.ts"
],
"references": [
{
"path": "../opentelemetry-api-metrics"
},
{
"path": "../opentelemetry-exporter-trace-otlp-http"
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,6 @@
"test/**/*.ts"
],
"references": [
{
"path": "../opentelemetry-api-metrics"
},
{
"path": "../opentelemetry-exporter-metrics-otlp-http"
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,5 @@
"include": [
"src/**/*.ts",
"test/**/*.ts"
],
"references": [
{
"path": "../opentelemetry-api-metrics"
}
]
}
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,6 @@
"test/**/*.ts"
],
"references": [
{
"path": "../opentelemetry-api-metrics"
},
{
"path": "../opentelemetry-instrumentation"
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,5 @@
},
"include": [
"src/**/*.ts"
],
"references": [
{
"path": "../opentelemetry-api-metrics/tsconfig.esm.json"
}
]
}
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,5 @@
"include": [
"src/**/*.ts",
"test/**/*.ts"
],
"references": [
{
"path": "../opentelemetry-api-metrics"
}
]
}
Original file line number Diff line number Diff line change
Expand Up @@ -63,8 +63,9 @@
"peerDependencies": {
"@opentelemetry/api": "^1.0.3"
},
"todo": "Move API metrics to peer dependencies. While it is using an unpublished name, lerna doesn't properly link it if it is in peer dependencies",
"dependencies": {
"@opentelemetry/api-metrics": "0.27.0",
"@opentelemetry/api-metrics-wip": "0.27.0",
"@opentelemetry/core": "1.0.1",
"@opentelemetry/resources": "1.0.1",
"lodash.merge": "4.6.2"
Expand Down
3 changes: 0 additions & 3 deletions experimental/packages/opentelemetry-sdk-node/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,6 @@
"test/**/*.ts"
],
"references": [
{
"path": "../opentelemetry-api-metrics"
},
{
"path": "../opentelemetry-instrumentation"
}
Expand Down

0 comments on commit 13acbd3

Please sign in to comment.