Limit auto import provider project size#39855
Limit auto import provider project size#39855DanielRosenwasser merged 7 commits intomicrosoft:masterfrom
Conversation
|
@typescript-bot pack this |
|
Heya @DanielRosenwasser, I've started to run the tarball bundle task on this PR at 787ea50. You can monitor the build here. |
|
This should be obvious from the many explanations you've given me, but I keep getting mixed up - are @types packages counted towards the cap? |
|
Hey @DanielRosenwasser, I've packed this into an installable tgz. You can install it for testing by referencing it in your and then running There is also a playground for this build. |
|
It’s actually not totally obvious @amcasey; the answer is that it depends on the user’s tsconfig.json setting. By default, @types packages will be included automatically in the main program, therefore they would not count against this cap, because the cap applies after we’ve filtered out dependencies that are already present in the main program. But if the user sets an explicit |
|
@typescript-bot pack this |
|
Heya @DanielRosenwasser, I've started to run the tarball bundle task on this PR at 5abf67c. You can monitor the build here. |
|
Hey @DanielRosenwasser, I've packed this into an installable tgz. You can install it for testing by referencing it in your and then running There is also a playground for this build. |
Don’t create an AutoImportProviderProject if it would result in pulling in more than 10 direct dependencies. The angular starter template, for reference, has five.