| 3 | import spawn from class="st">'cross-spawn' |
| 4 | |
| 5 | interface InstallArgs { |
| 6 | /** |
| 7 | * Indicate whether to install packages using Yarn. |
| 8 | */ |
| 9 | useYarn: boolean |
| 10 | /** |
| 11 | * Indicate whether there is an active Internet connection. |
| 12 | */ |
| 13 | isOnline: boolean |
| 14 | /** |
| 15 | * Indicate whether the given dependencies are devDependencies. |
| 16 | */ |
| 17 | devDependencies?: boolean |
| 18 | } |
| 19 | |
| 20 | /** |
| 21 | * Spawn a package manager installation with either Yarn or NPM. |
nothing calls this directly
no outgoing calls
no test coverage detected