Skip to content

docs: Missing documentation for package.json settings #657

Open
@MelodicsPavol

Description

@MelodicsPavol

The PR #656 has removed a lot of documentation from https://pnpm.io/package_json page, such as pnpm.onlyBuiltDependencies.

Those have been moved into https://pnpm.io/settings but I cannot find indication saying that these can be used in package.json as the format has been changed to YAML and the top of the page does not mention package.json:

pnpm gets its configuration from the command line, environment variables, pnpm-workspace.yaml, and .npmrc files.

Is this intentional and it means that "pnpm" settings in package.json are deprecated?

Confusingly there are now two Configuration pages related to pnpm-workspace.yaml

  1. Settings (pnpm-workspace.yaml)
  2. pnpm-workspace.yaml

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