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(scripts): try experimental-strip-types [skip-bc] #3764

Merged
merged 2 commits into from
Jan 9, 2025

Conversation

millotp
Copy link
Collaborator

@millotp millotp commented Sep 17, 2024

🧭 What and Why

Node 22 has --experimental-strip-types that uses swc under the hood to directly execute typescript, rendering all the bundler useless.

@millotp millotp self-assigned this Sep 17, 2024
@millotp millotp requested a review from a team as a code owner September 17, 2024 13:11
@algolia-bot
Copy link
Collaborator

algolia-bot commented Sep 17, 2024

✔️ Code generated!

Name Link
🪓 Triggered by 13b2d8b91644fea334ee82d0d3391ce0fea2b9de
🍃 Generated commit b7e9a7dfc647e7566bca97f4ce819ee3a540816b
🌲 Generated branch generated/chore/experimental-types
📊 Benchmark results

Benchmarks performed on the method using a mock server, the results might not reflect the real-world performance.

Language Req/s
go 1603
javascript 1567
php 1506
csharp 1297
java 1117
python 1100
ruby 834
swift 744

@millotp millotp marked this pull request as draft September 17, 2024 13:30
@shortcuts
Copy link
Member

Could be great to wait for active development before using this, but at the same time our scripts are pretty basic so I guess it's not a huge deal

It makes everything so much easier!

@millotp millotp force-pushed the chore/experimental-types branch from 0f3bd9e to 25f0ece Compare January 9, 2025 09:47
@millotp millotp marked this pull request as ready for review January 9, 2025 09:51
@millotp millotp changed the title chore(scripts): try experimental-strip-types chore(scripts): try experimental-strip-types [skip-bc] Jan 9, 2025
Copy link

github-actions bot commented Jan 9, 2025

Copy link
Contributor

@morganleroi morganleroi left a comment

Choose a reason for hiding this comment

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

Love it !

@millotp millotp merged commit 4f82b4b into main Jan 9, 2025
28 checks passed
@millotp millotp deleted the chore/experimental-types branch January 9, 2025 15:15
algolia-bot added a commit that referenced this pull request Jan 9, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants