-
Notifications
You must be signed in to change notification settings - Fork 13.1k
Export executeCommandLine from public API (internal for now) #58057
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
Export executeCommandLine from public API (internal for now) #58057
Conversation
|
Looks like you're introducing a change to the public API surface area. If this includes breaking changes, please document them on our wiki's API Breaking Changes page. Also, please make sure @DanielRosenwasser and @RyanCavanaugh are aware of the changes, just as a heads up. |
|
I've made it internal again, but, I will note that some people do actually want to use this API in public, though. I don't think it's a big deal to leave it internal for the time being in any case. |
|
@typescript-bot perf test this faster |
|
@jakebailey Here they are:
tscComparison Report - baseline..pr
System info unknown
Hosts
Scenarios
Developer Information: |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||

This extracts just the
executeCommandLineand public API changes from #57703. My intent is that I can make a mini tsc using the public API such that we can long-term perf test changes like #58045 which only affect the public API, without writing all of the code to directly use Program/build mode.I've opted to export theexecuteCommandLinefunction in public with a simplified signature, but I could also just leave this all internal.Exporting this increases the package size by 40KB, not that bad.
Overall package size
Files
lib/typescript.d.tslib/typescript.js