(framework: string, packageName?: string)
| 2 | import { getFrameworks } from './get-frameworks.js'; |
| 3 | |
| 4 | export 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 |
| 9 | const noInstallFrameworks = new Set(['fresh']); |