[rush] Rush adds `globalOnlyBuiltDependencies` to my pnpm-config and then subsequently complains about it
Nobody has claimed this yet.
Assessment
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Newbie friendliness
- 70/100
- Issue type
- Bug
- Clarity
- Mostly clear
- Activity status
- Quiet
- Tech stack
- json, typescript
- Domain
- build-system, tooling
Research direction
Start with the pnpm-config schema at developer.microsoft.com/json-schemas/rush/v5/pnpm-config.schema.json and compare it with the generated common/config/rush/pnpm-config.json. Reproduce the warning using Rush 5.169.3 and pnpm 10.30.3, then update the schema so globalOnlyBuiltDependencies is accepted and verify that VS Code no longer reports the property as invalid.
Written by the indexing model from the issue text.
Description
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
- Upgrade to Rush 5.169.3 and pnpm 10.30.3
- Run
rush update - Run
rush-pnpm --subspace default approve-buildsand approve all of the dependencies - Open
common/config/rush/pnpm-config.jsonin vscode
Details
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 |
- Dominant language
- TypeScript
- Stars
- 6.5k
- Forks
- 708
- Avg merge
- 5d 19h
- Merged PRs (30d)
- 48
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from microsoft/rushstack
-
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 65/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
-
Difficulty 4/5 3-5 days Newbie friendliness 48/100
-
Difficulty 4/5 3-5 days Newbie friendliness 62/100
All issues in microsoft/rushstack
Similar issues
-
enhancement
Difficulty 2/5 1-3 hours Newbie friendliness 70/100
dennys-bd/agent-hive#184 ·
-
Add: hunch Open
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
AbdelStark/awesome-typesafe#104 ·
-
ai-observability bug team/ai-observability
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
vicharanashala/fln#563 ·