Skip to content

ATA: Only download typings for dependencies in top-level package.json #12044

Closed
@octref

Description

@octref

When I was verifying ATA in VSCode, I found it downloaded typings for non-top-level deps.

I only added ~20 packages to my package.json, but in my cache I found:

image

IMO only typings for dependencies in package.json should be downloaded. This is also one of the factor that caused npm overload.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Working as IntendedThe behavior described is the intended behavior; this is not a bug

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions