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

Test TSConfig Task Provider for multiroot #31232

Closed
3 tasks done
mjbvz opened this issue Jul 21, 2017 · 0 comments
Closed
3 tasks done

Test TSConfig Task Provider for multiroot #31232

mjbvz opened this issue Jul 21, 2017 · 0 comments

Comments

@mjbvz
Copy link
Contributor

mjbvz commented Jul 21, 2017

For #30415

Size: 2
OS:

Overview

The TSConfig task provider now supports multiroot workspaces. When using the tasks 2.0 build command, it should pick up all tsconfig files from all workspaces.

Scenarios

  1. In a single folder workspace, create top level tsconfig.json. Ensure it is picked up by the build task
  2. Now add some tsconfigs in subfolders. Ensure these are picked up too
  3. Add a new folder to the workspace. Create a tsconfig.json in this folder. Ensure this is picked up and that all previous configs are still shown too. The tsc tasks should now be labeled with the folder name at the start.
  4. Remove the added folder. Tsconfigs from this folder should be removed as well.
  5. Add the folder back. Ensure the tsconfigs from this folder are picked up again

Other things to try

  • We should support any tsconfig.*.json file names anywhere in a folder
  • file.exclude should prevent a tsconfig from being picked up
  • Try adding folders with the same name.
  • Try adding folders that are subfolders of each other. There should only be one entry for each tsconfig
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

5 participants