Skip to content
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: drop ts-mocha for mocha and ts-node #4840

Conversation

pichlermarc
Copy link
Member

As it says on the tin. I've had this kicking around for a while but never got to actually open the PR.

@pichlermarc pichlermarc added dependencies Pull requests that update a dependency file Skip Changelog labels Jul 1, 2024
@pichlermarc pichlermarc marked this pull request as ready for review July 1, 2024 22:19
@pichlermarc pichlermarc requested a review from a team July 1, 2024 22:19
Copy link
Contributor

@trentm trentm left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could the ts-mocha also be dropped from here?

.github/workflows/unit-test.yml
159:          npm install @types/mocha@^7 mocha@^7 ts-loader@^8 ts-mocha@^8

@pichlermarc
Copy link
Member Author

Could the ts-mocha also be dropped from here?

.github/workflows/unit-test.yml
159:          npm install @types/mocha@^7 mocha@^7 ts-loader@^8 ts-mocha@^8

Yes, we should remove that too, good catch 👍 223fc40

@pichlermarc pichlermarc added this pull request to the merge queue Jul 3, 2024
Merged via the queue into open-telemetry:main with commit a037f84 Jul 3, 2024
19 checks passed
@pichlermarc pichlermarc deleted the chore/drop-ts-mocha-for-good branch July 3, 2024 14:50
trentm added a commit to trentm/opentelemetry-js-contrib that referenced this pull request Aug 10, 2024
tedious@18 adds its own .d.ts files. Compiling with them requires
TypeScript v5, and either target:'es2022' for 'AggregateError'
or using skipLibCheck:true in tsconfig.json.

This change limits the update to TypeScript v5 to just while
testing tedious@18 via test-all-versions' support for
'peerDependencies'.

THis also drops ts-mocha in favour of 'mocha --require ts-node/register'
as was done on opentelemetry-js.git in open-telemetry/opentelemetry-js#4840

Closes: open-telemetry#2266
trentm added a commit to open-telemetry/opentelemetry-js-contrib that referenced this pull request Aug 19, 2024
tedious@18 adds its own .d.ts files. Compiling with them requires
TypeScript v5, and either target:'es2022' for 'AggregateError'
or using skipLibCheck:true in tsconfig.json.

This change limits the update to TypeScript v5 to just while
testing tedious@18 via test-all-versions' support for
'peerDependencies'.

THis also drops ts-mocha in favour of 'mocha --require ts-node/register'
as was done on opentelemetry-js.git in open-telemetry/opentelemetry-js#4840

Closes: #2266
Zirak pushed a commit to Zirak/opentelemetry-js that referenced this pull request Sep 14, 2024
* chore: drop ts-mocha for mocha and ts-node

* fixup! chore: drop ts-mocha for mocha and ts-node
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file Skip Changelog
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants