-
Notifications
You must be signed in to change notification settings - Fork 601
build: upgrade TypeScript to 5.9.2, fix CommonJS module resolution #3032
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
base: main
Are you sure you want to change the base?
build: upgrade TypeScript to 5.9.2, fix CommonJS module resolution #3032
Conversation
This package does not have an assigned component owner and is considered unmaintained. As such this package is in feature-freeze and this PR will be closed with 14 days unless a new owner or a sponsor (a member of @open-telemetry/javascript-approvers) for the feature is found. It is the responsibility of the author to find a sponsor for this feature. |
bf84a6f
to
6bf51ae
Compare
FYI upgrading |
cec6ae8
to
b162c62
Compare
…ks for Bedrock tests
b162c62
to
7674f99
Compare
… formdata-node dep
…missing dependencies
…k 5 ESM compatibility
3587cee
to
67d76fa
Compare
For sure. I've been playing with the version number to see how far we can comfortably upgrade. It's whack-a-mole with this much code so I'm thinking we leave it at 5.0.4, and focus on consolidating the devdependencies. |
46d0c8a
to
dda7df9
Compare
DRAFT
What this does
Upgrades TypeScript from 5.0.4 to 5.9.2 and hoists all build devDependencies to the root package.json.
Key changes
TypeScript configuration
node16
tonode
/bundler
(TS 5.9.2 requires file extensions with node16)skipLibCheck: true
to instrumentation-openai for @types/node compatibility issuesTest fixes
Dependencies
Package-specific changes
@opentelemetry/instrumentation-socket.io
import * as expect
toimport expect
(expect v29 uses default export)@opentelemetry/instrumentation-dns
@opentelemetry/instrumentation-aws-sdk
@opentelemetry/instrumentation-openai
skipLibCheck: true
for @types/node Buffer/ArrayBuffer incompatibilities@opentelemetry/resource-detector-gcp
Browser packages (propagator-aws-xray, propagator-instana, instrumentation-user-interaction, instrumentation-long-task)
The changes are mostly mechanical fixes required by the TypeScript upgrade and dependency restructuring.