Skip to content

Running bump in monorepo using pnpm clears node_modules #955

Open
@kjellknapen

Description

When using the bump or publish command my node_modules (of the root workspace) are always cleared since the changes in #942.

When running the same command pnpm install --lockfile-only --ignore-scripts in my terminal if the package versions have been bumped, the node_modules are not removed.

I have checked the codebase of execa (package used to call pnpm) and in the pnpm codebase. But I can't seem to find any reason why it deletes the node_modules when running through beachball and why they are not deleted when running the pnpm command myself.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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