8 lines
189 B
TypeScript
8 lines
189 B
TypeScript
import whichPmRuns from 'which-pm-runs'
|
|
|
|
const pm = whichPmRuns()
|
|
if (pm?.name !== 'bun')
|
|
throw new Error(
|
|
`\`${pm?.name} install\` is not supported. Please run \`bun install\``,
|
|
)
|