Skip to content
This repository was archived by the owner on May 10, 2021. It is now read-only.
This repository was archived by the owner on May 10, 2021. It is now read-only.

[BUG] node_modules is no longer entirely purged #7

@kfeinUI

Description

@kfeinUI

What / Why

It seems #1 made an undocumented behavioral change to how npm ci works. The intent of avoiding issues around symbolic linking by not deleting the directory makes sense. However, the implementation no longer executes a true purge. It removes only the assets around the packages leaving any other content/state in place such as a .cache directory.

When

4.0.7

Where

  • n/a

How

Current Behavior

  • node_modules is not truly purged. Contents not associated with a package are left in place.

Steps to Reproduce

  • Execute npm ci when the node_modules directory contains data not tied to a specific package such as the .cache psuedo-standard convention.

Expected Behavior

  • The contents of node_modules should be entirely purged.

Who

  • n/a

References

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions