Skip to content

Mention run settings in global settings; clarify enablePrePostScripts and ignoreScripts interaction #671

Open
@sdavids

Description

@sdavids

The three settings (enablePrePostScripts, scriptShell, and shellEmulator) mentioned on this page:
https://pnpm.io/cli/run#pnpm-workspaceyaml-settings

should also be included on this page:

https://pnpm.io/settings


Also, it should be clarified how enablePrePostScripts relates to ignoreScripts:

pnpm-workspace.yaml

enablePrePostScripts: true
ignoreScripts: true

or

pnpm-workspace.yaml

enablePrePostScripts: true

and

.npmrc

ignore-scripts=true

Are the pre-/post-scripts ignored with this setting combination, i.e. enablePrePostScripts has a lower precedence then ignoreScripts or is it the other way round?

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