mirror of
https://github.com/pnpm/pnpm.git
synced 2026-03-24 10:01:48 -04:00
* refactor: remove installation engine code * refactor: remove engine tests * fix: sets correct user-agent * refactor: remove redundant dependencies * chore: add supi as dependency * docs: remove programmatic API * feat: making the bin file also the main file * chore(greenkeeper): ignore supi
10 lines
275 B
TypeScript
10 lines
275 B
TypeScript
import {PnpmOptions} from 'supi'
|
|
import path = require('path')
|
|
|
|
export default function testDefaults (opts?: PnpmOptions): PnpmOptions & {store: string} {
|
|
return Object.assign({
|
|
store: path.resolve('..', '.store'),
|
|
registry: 'http://localhost:4873/',
|
|
}, opts)
|
|
}
|