.npmrc ships pnpm-only shamefully-hoist=true — npm warns on every command
Nobody has claimed this yet.
Assessment
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Newbie friendliness
- 76/100
- Issue type
- Bug
- Clarity
- Clearly specified
- Activity status
- Quiet
- Domain
- build-system, tooling
Research direction
Inspect the template's .npmrc and the proposed pnpm-workspace.yaml location for the shamefully-hoist setting. Run an npm command in a fresh app to confirm the warning, then verify pnpm retains the intended behavior. Done means npm is silent while pnpm still uses the setting.
Written by the indexing model from the issue text.
Description
Every npm command in a fresh app from this template prints:
npm warn Unknown project config "shamefully-hoist". This will stop working in the next major version of npm.
The template's .npmrc sets shamefully-hoist=true, which is a pnpm-specific option — npm doesn't recognise it, warns on every single command, and the warning says the next npm major will stop tolerating unknown config keys entirely.
Suggestion: move the setting to pnpm-workspace.yaml, which pnpm reads for settings — same behaviour for pnpm users, silence for npm users, and no breakage when npm's next major lands. Happy to open the PR if that direction works for you.
Seen with npm 11.9.0 / Node 24 on Windows 11.
- Dominant language
- TypeScript
- Stars
- 197
- Forks
- 68
- Avg merge
- 4d 21h
- Merged PRs (30d)
- 4
Contributor 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 Shopify/shopify-app-template-react-router
-
Difficulty 4/5 3-5 days Newbie friendliness 35/100
Shopify/shopify-app-template-react-router#259 · 1 comment ·
-
Difficulty 4/5 3-5 days Newbie friendliness 35/100
-
Difficulty 4/5 3-5 days Newbie friendliness 48/100
Shopify/shopify-app-template-react-router#251 · 1 comment ·
-
Difficulty 4/5 3-5 days Newbie friendliness 38/100
Shopify/shopify-app-template-react-router#237 · 1 comment · 1 reaction ·
-
Difficulty 4/5 3-5 days Newbie friendliness 45/100
Shopify/shopify-app-template-react-router#194 · 6 comments · 1 reaction ·
All issues in Shopify/shopify-app-template-react-router
Similar issues
-
calcite-components needs triage refactor
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
Esri/calcite-design-system#15203 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 91/100
-
community first-timers-only good first issue hacktoberfest help wanted low hanging fruit up-for-grabs
Difficulty 1/5 Under an hour Newbie friendliness 95/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
Automattic/studio#4908 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 90/100