We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 690ba52 commit b898b1eCopy full SHA for b898b1e
packages/auto-install/src/index.ts
@@ -42,7 +42,8 @@ export default function autoInstall(opts: RollupAutoInstallOptions = {}): Plugin
42
// intentionally undocumented options. used for tests
43
commands: {
44
npm: 'npm install',
45
- pnpm: 'pnpm install',
+ // Prevent pnpm from treating test fixtures as part of the workspace
46
+ pnpm: 'pnpm install --ignore-workspace',
47
yarn: 'yarn add'
48
},
49
manager: fs.existsSync('yarn.lock') ? 'yarn' : fs.existsSync('pnpm-lock.yaml') ? 'pnpm' : 'npm',
0 commit comments