-
-
Notifications
You must be signed in to change notification settings - Fork 18
Closed
Description
Summary
Generated Aurelia 2 app/plugin scaffolds include .npmrc with pnpm-only config (shamefully-hoist, auto-install-peers). When users run npm install, npm prints warnings about unknown config keys. This happens for
both app and plugin templates.
Repro
- Scaffold any project:
npx makes aurelia my-app
- Run:
npm install
- Observe warnings:
npm warn Unknown project config "shamefully-hoist".
npm warn Unknown project config "auto-install-peers".
Expected
- No npm warnings in a freshly generated project.
Actual
- npm warns about pnpm-only config keys because .npmrc is always present.
Impact
- First-run experience looks noisy/buggy.
- Users think they misconfigured npm or the scaffold.
Proposed fix
- Remove pnpm-specific settings from the default template.
- Only create .npmrc with pnpm settings when pnpm is explicitly chosen during install.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels