-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
chore(deps): update deps matching "@opentelemetry/*"; add dependency-check #72
Conversation
0.34.1 -> 0.35.0 @opentelemetry/host-metrics (range-bump) 0.34.1 -> 0.35.0 @opentelemetry/instrumentation-express (range-bump) 0.47.0 -> 0.48.0 @opentelemetry/exporter-logs-otlp-proto (range-bump) 0.47.0 -> 0.48.0 @opentelemetry/exporter-metrics-otlp-proto (range-bump) 0.47.0 -> 0.48.0 @opentelemetry/exporter-trace-otlp-grpc (range-bump) 0.47.0 -> 0.48.0 @opentelemetry/exporter-trace-otlp-http (range-bump) 0.47.0 -> 0.48.0 @opentelemetry/exporter-trace-otlp-proto (range-bump) 0.47.0 -> 0.48.0 @opentelemetry/instrumentation-http (range-bump) 0.47.0 -> 0.48.0 @opentelemetry/sdk-node (range-bump) 1.20.0 -> 1.21.0 @opentelemetry/resources
The package-lock changes show that we are using some deps without including in package.json deps, e.g.
What a PITA. |
My workaround here is to use |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
My workaround here is to use --skipLibCheck with tsc in the mockotlpserver package as we are already doing (for a separate reason) in the opentelemetry-node package. Is this reasonable?
Typing issues in Otel packages are well known and also its dependencies may have it as well. This is somethign we need to work in the upstream repo. I agree to use --skipLibCheck
since we have to comply with the exposed APIs that we use in our code but IMHO its not mandatory to do this kind of checks internally. Another benefit is that the int process becomes lighter/faster.
Maybe we could have a specific script to do this deep checking for inspection and analysis locally.
NOTE: tsc init
command which starts a TypeScript project generates a tsconfig.json
file with recommended config options and one of them is "skipLibCheck": true
npm run lint
to watch for missing or unused deps