mirror of
https://github.com/pnpm/pnpm.git
synced 2026-05-19 06:07:59 -04:00
10 lines
260 B
TypeScript
10 lines
260 B
TypeScript
import {PnpmOptions} from '../types'
|
|
import {sync as runScriptSync} from '../runScript'
|
|
|
|
export default function (input: string[], opts: PnpmOptions) {
|
|
return runScriptSync('npm', ['run'].concat(input), {
|
|
cwd: process.cwd(),
|
|
stdio: 'inherit',
|
|
})
|
|
}
|