MCPcopy
hub / github.com/vercel/next.js / InstallArgs

Interface InstallArgs

packages/next-codemod/lib/install.ts:5–18  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3import spawn from 'cross-spawn'
4
5interface 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.

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…