Skip to content

[rush] Rush adds globalOnlyBuiltDependencies to my pnpm-config and then subsequently complains about it #5683

@kgetz-arista

Description

@kgetz-arista

Summary

Rush prompts me to run rush-pnpm --subspace default approve-builds, which adds globalOnlyBuiltDependencies to my pnpm-config file. When I subsequently open that file in vscode, I get a warning on that property: Property globalOnlyBuiltDependencies is not allowed.

It seems that maybe the schema file (https://developer.microsoft.com/json-schemas/rush/v5/pnpm-config.schema.json) hasn't been updated?

Repro steps

  1. Upgrade to Rush 5.169.3 and pnpm 10.30.3
  2. Run rush update
  3. Run rush-pnpm --subspace default approve-builds and approve all of the dependencies
  4. Open common/config/rush/pnpm-config.json in vscode

Details

Image

Standard questions

Please answer these questions to help us investigate your issue more quickly:

Question Answer
@microsoft/rush globally installed version? 5.169.3
rushVersion from rush.json? 5.169.3
pnpmVersion, npmVersion, or yarnVersion from rush.json? 10.30.3
(if pnpm) useWorkspaces from pnpm-config.json? true
Operating system? Windows 11
Would you consider contributing a PR? No
Node.js version (node -v)? 24.12.0

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    Status

    Needs triage

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions