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

Switch to a hand-maintained Node.js facade #2918

Merged
merged 40 commits into from
Jun 8, 2022

Conversation

armanbilge
Copy link
Member

@armanbilge armanbilge commented Jun 5, 2022

Closes #2777. This replaces the 700+ files auto-generated by Scalably Typed with 10 files focused on the Node.js APIs we actually use. This lets us remove the ScalablyTyped and Bundler plugins and lockfiles.

One of the hazards of a hand-maintained facade is that we now rely entirely on runtime tests to know if any of this works, since a facade could be completely wrong and is not statically verified against anything. So there could be some regressions due to this change for any APIs lacking coverage. We can slowly improve this.

@armanbilge
Copy link
Member Author

armanbilge commented Jun 5, 2022

I published cc479f4 as 3.2.7-100-cc479f4-SNAPSHOT and ran CI for http4s and skunk. I think we're good.

(Aside: even better, I think the size of the generated JS artifact (which we monitor in http4s) decreased by 10%, but I can't understand why 🤔 ). Nope, was comparing numbers across scala versions by mistake.

@armanbilge armanbilge marked this pull request as ready for review June 5, 2022 16:17
@mpilquist mpilquist merged commit aeba0e4 into typelevel:main Jun 8, 2022
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.

Replace the auto-generated Node.js facade with a hand-maintained facade
2 participants