mirror of
https://github.com/pnpm/pnpm.git
synced 2026-04-04 15:24:02 -04:00
refactor: break a long line into multiple lines (#8592)
This commit is contained in:
@@ -156,12 +156,24 @@ For options that may be used with `-r`, see "pnpm help recursive"',
|
||||
export type RunOpts =
|
||||
& Omit<RecursiveRunOpts, 'allProjects' | 'selectedProjectsGraph' | 'workspaceDir'>
|
||||
& { recursive?: boolean }
|
||||
& Pick<Config, 'bin' | 'dir' | 'engineStrict' | 'extraBinPaths' | 'pnpmHomeDir' | 'reporter' | 'scriptsPrependNodePath' | 'scriptShell' | 'shellEmulator' | 'enablePrePostScripts' | 'userAgent' | 'extraEnv' | 'nodeOptions'>
|
||||
& Pick<Config,
|
||||
| 'bin'
|
||||
| 'dir'
|
||||
| 'enablePrePostScripts'
|
||||
| 'engineStrict'
|
||||
| 'extraBinPaths'
|
||||
| 'extraEnv'
|
||||
| 'nodeOptions'
|
||||
| 'pnpmHomeDir'
|
||||
| 'reporter'
|
||||
| 'scriptShell'
|
||||
| 'scriptsPrependNodePath'
|
||||
| 'shellEmulator'
|
||||
| 'userAgent'
|
||||
>
|
||||
& (
|
||||
& { recursive?: false }
|
||||
& Partial<Pick<Config, 'allProjects' | 'selectedProjectsGraph' | 'workspaceDir'>>
|
||||
| { recursive: true }
|
||||
& Required<Pick<Config, 'allProjects' | 'selectedProjectsGraph' | 'workspaceDir'>>
|
||||
| { recursive?: false } & Partial<Pick<Config, 'allProjects' | 'selectedProjectsGraph' | 'workspaceDir'>>
|
||||
| { recursive: true } & Required<Pick<Config, 'allProjects' | 'selectedProjectsGraph' | 'workspaceDir'>>
|
||||
)
|
||||
& {
|
||||
argv?: {
|
||||
|
||||
Reference in New Issue
Block a user