MCPcopy Create free account
hub / github.com/BuilderIO/framework-benchmarks / install

Function install

src/helpers/install.ts:4–6  ·  view source on GitHub ↗
(framework: string, packageName?: string)

Source from the content-addressed store, hash-verified

2import { getFrameworks } from './get-frameworks.js';
3
4export async function install(framework: string, packageName?: string) {
5 return $`cd frameworks/${framework} && npm install ${packageName || ''}`;
6}
7
8// Fresh uses deno, so we do not npm install dependencies
9const noInstallFrameworks = new Set(['fresh']);

Callers 1

installAllFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected