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

Allow --composite false or --composite null on the command line #36997

Merged
merged 10 commits into from
Feb 26, 2020

Conversation

sheetalkamat
Copy link
Member

Allows running typecheck only builds on composite projects and handles #36917

@sheetalkamat
Copy link
Member Author

@weswigham @RyanCavanaugh good to go? I assume we want this in 3.8.3

@sheetalkamat
Copy link
Member Author

@typescript-bot cherry-pick this to release-3.8 branch

@typescript-bot
Copy link
Collaborator

typescript-bot commented Feb 26, 2020

Heya @sheetalkamat, I've started to run the task to cherry-pick this into release-3.8 on this PR at 604cc98. You can monitor the build here.

@sheetalkamat sheetalkamat changed the title Allow --composite false or --composite undefined on the command line Allow --composite false or --composite null on the command line Feb 26, 2020
@typescript-bot
Copy link
Collaborator

Hey @sheetalkamat, I couldn't open a PR with the cherry-pick. (You can check the log here). You may need to squash and pick this PR into release-3.8 manually.

@sheetalkamat sheetalkamat added this to the TypeScript 3.8.3 milestone Feb 26, 2020
@sheetalkamat sheetalkamat merged commit d07761f into master Feb 26, 2020
@sheetalkamat sheetalkamat deleted the allowCompositeFalse branch February 26, 2020 23:27
sheetalkamat added a commit that referenced this pull request Feb 26, 2020
* Add tests for specifying composite as command line option

* Allow passing --composite false on commandline

* Add test to verify tsc --composite false from command line

* Handle "undefined" as option value to be set to undefined for that option

* Support "null" as option to be converted to undefined which is normally end result from our config file as well

* Support null as option for any tsconfig only option as well, and dont support undefined

* Fix public api test case

* Validates objects instead of stringify result

* Add composite true to base source
sheetalkamat added a commit that referenced this pull request Feb 27, 2020
…) (#37062)

* Add tests for specifying composite as command line option

* Allow passing --composite false on commandline

* Add test to verify tsc --composite false from command line

* Handle "undefined" as option value to be set to undefined for that option

* Support "null" as option to be converted to undefined which is normally end result from our config file as well

* Support null as option for any tsconfig only option as well, and dont support undefined

* Fix public api test case

* Validates objects instead of stringify result

* Add composite true to base source
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants