Move root package.json pnpm settings into pnpm-workspace.yaml
Maintainers usually reply within 1 day
Nobody has claimed this yet.
Assessment
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Newbie friendliness
- 72/100
- Issue type
- Refactor
- Clarity
- Clearly specified
- Activity status
- Active
- Tech stack
- node.js, typescript
- Domain
- devtools
Research direction
The pnpm settings sit in the pnpm block of root package.json (lines 68-94), and pnpm-workspace.yaml already holds allowBuilds, packageExtensions and peerDependencyRules. Start by comparing the onlyBuiltDependencies and ignoredBuiltDependencies lists against allowBuilds, then move pnpm.overrides into the overrides key. Done when the pnpm block is gone from package.json, the workspace file carries every setting, and pnpm install --frozen-lockfile leaves pnpm-lock.yaml unchanged without the pnpm 11 warning.
Written by the indexing model from the issue text.
Description
Root package.json (package.json:68-94) still carries a "pnpm" configuration block (overrides, onlyBuiltDependencies, ignoredBuiltDependencies). When a host runs a pnpm 11 global binary (even when delegating to "packageManager": "[email protected]" via manage-package-manager-versions), every pnpm command prints:
[WARN] The "pnpm" field in package.json is no longer read by pnpm. The following keys were ignored: "pnpm.overrides", "pnpm.onlyBuiltDependencies". See https://pnpm.io/settings for the new home of each setting.
pnpm-workspace.yaml (pnpm-workspace.yaml:2-13, 84-109) already holds the workspace's other pnpm 10/11 settings (allowBuilds, packageExtensions, patchedDependencies, peerDependencyRules, minimumReleaseAge), which creates two problems:
- Duplicate, diverging build-script lists:
pnpm-workspace.yamldeclaresallowBuilds(withmsgpackr-extract: falseand without@tailwindcss/oxideoroxc-resolver), whilepackage.jsondeclarespnpm.onlyBuiltDependencies(including@tailwindcss/oxide,msgpackr-extract, andoxc-resolver) andpnpm.ignoredBuiltDependencies(@scarf/scarf). - Overrides live only in
package.json:pnpm.overrides(@tailwindcss/typography>postcss-selector-parser,@types/react,@types/react-dom,find-my-way@9,sharp,yaml@2) has not been moved tooverridesinpnpm-workspace.yaml, so upgradingpackageManagerto pnpm 11 (or running pnpm 11 directly) silently drops those overrides.
Suggested fix
Move pnpm.overrides into overrides in pnpm-workspace.yaml, reconcile pnpm.onlyBuiltDependencies / pnpm.ignoredBuiltDependencies into allowBuilds in pnpm-workspace.yaml, remove the "pnpm" key from root package.json, and verify pnpm install --frozen-lockfile leaves pnpm-lock.yaml intact.
- Dominant language
- TypeScript
- Stars
- 119
- Forks
- 19
- Avg merge
- 1d 18h
- Merged PRs (30d)
- 60
Getting set up
- Ships a Dockerfile or Docker Compose file
- No pull request template
- Read the contributing guide
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 DouglasNeuroInformatics/OpenDataCapture
-
A docs change can fail pnpm check, because outreach lint and gen:types both write .astro/ at oncePossibly taken @2389400626lh-ops claimed this today. OpenArea: Infrastructure Area: Outreach Bug Difficulty: Low Good First Issue Priority: Low
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
DouglasNeuroInformatics/OpenDataCapture#1956 ·
Maintainers usually reply within 1 day
-
apps/web preview overwrites newly built dist/index.html with stale dist/index.html.bak across buildsOpenArea: Infrastructure Area: Web Bug Difficulty: Low Priority: Medium
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
DouglasNeuroInformatics/OpenDataCapture#1938 ·
Maintainers usually reply within 1 day
-
Area: API Bug Difficulty: Low Priority: Low
Difficulty 2/5 1-3 hours Newbie friendliness 62/100
DouglasNeuroInformatics/OpenDataCapture#1937 ·
Maintainers usually reply within 1 day
-
Area: Infrastructure Bug Difficulty: Low Priority: Medium Security
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
DouglasNeuroInformatics/OpenDataCapture#1916 ·
Maintainers usually reply within 1 day
-
Area: Infrastructure Chore Difficulty: Low Priority: Medium
Difficulty 2/5 1-3 hours Newbie friendliness 70/100
DouglasNeuroInformatics/OpenDataCapture#1835 ·
Maintainers usually reply within 1 day
All issues in DouglasNeuroInformatics/OpenDataCapture
Similar issues
-
prio:low status:done type:content
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
davidsneighbour/samui-samui.de#1925 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
opensro-dev/opensro#4901 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
super-productivity/super-productivity#12128 · 2 comments ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
danielmiessler/LifeOS#3047 ·
Maintainers usually reply within 5 days
-
[Bug]: 64-tool catalog advisory counts the whole searchable catalog under Code Mode / Tool SearchOpenclawsweeper:needs-maintainer-review clawsweeper:needs-product-decision clawsweeper:no-new-fix-pr clawsweeper:source-repro issue-rating: 🦞 diamond lobster P3
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
openclaw/openclaw#208678 · 1 comment · 1 reaction ·
Maintainers usually reply within 1 day