( permission: 'read-only' | 'read-write', scopeTeam: string, pkg: string, options?: ExecNpmOptions, )
| 486 | } |
| 487 | |
| 488 | export async function accessGrant( |
| 489 | permission: 'read-only' | 'read-write', |
| 490 | scopeTeam: string, |
| 491 | pkg: string, |
| 492 | options?: ExecNpmOptions, |
| 493 | ): Promise<NpmExecResult> { |
| 494 | validateScopeTeam(scopeTeam) |
| 495 | validatePackageName(pkg) |
| 496 | return execNpm(['access', 'grant', permission, scopeTeam, pkg], options) |
| 497 | } |
| 498 | |
| 499 | export async function accessRevoke( |
| 500 | scopeTeam: string, |
no test coverage detected