Skip to content

Is there a way to execute corepack up/use without trigerring install script? #737

@RahulGautamSingh

Description

@RahulGautamSingh

I run corepack use to update the packageManager field in my package.json. But, this also triggers pnpm install after updating the package.json.

I went through the code, and it isn't possible to skip the execution of the install script.

If I missed something, please refer me to the solution. Or, if this is not currently possible, will the team be okay with the implementation of a flag, say skip-install, for the use and up commands for this purpose.

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