mirror of
https://github.com/pnpm/pnpm.git
synced 2026-04-27 18:46:18 -04:00
12 command test suites had near-identical ~50-field DEFAULT_OPTS objects copy-pasted between them. Extract the common fields into a single shared package so each suite only declares its overrides.
15 lines
314 B
TypeScript
15 lines
314 B
TypeScript
import { DEFAULT_OPTS as BASE_OPTS, REGISTRY_URL } from '@pnpm/testing.command-defaults'
|
|
|
|
export { REGISTRY_URL as REGISTRY }
|
|
|
|
export const DEFAULT_OPTS = {
|
|
...BASE_OPTS,
|
|
bail: false,
|
|
deployAllFiles: false,
|
|
supportedArchitectures: {
|
|
os: ['current'],
|
|
cpu: ['current'],
|
|
libc: ['current'],
|
|
},
|
|
}
|