MCPcopy Create free account
hub / github.com/arktypeio/arktype / installDevCommand

Function installDevCommand

ark/type/cli.ts:104–108  ·  view source on GitHub ↗
(pm: PackageManager, pkg: string)

Source from the content-addressed store, hash-verified

102}
103
104export const installDevCommand = (pm: PackageManager, pkg: string): string =>
105 pm === "pnpm" ? `pnpm add -D ${pkg}`
106 : pm === "bun" ? `bun add -d ${pkg}`
107 : pm === "yarn" ? `yarn add -D ${pkg}`
108 : `npm i -D ${pkg}`
109
110const detectedToolsOf = (
111 manifest: PackageManifest | undefined,

Callers 2

runAotFunction · 0.85
runInitFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected