PHP WebShell
Текущая директория: /opt/BitGoJS/node_modules/@nrwl/devkit/src/tasks
Просмотр файла: install-packages-task.d.ts
import type { Tree } from 'nx/src/generators/tree';
import type { PackageManager } from 'nx/src/utils/package-manager';
/**
* Runs `npm install` or `yarn install`. It will skip running the install if
* `package.json` hasn't changed at all or it hasn't changed since the last invocation.
*
* @param tree - the file system tree
* @param alwaysRun - always run the command even if `package.json` hasn't changed.
*/
export declare function installPackagesTask(tree: Tree, alwaysRun?: boolean, cwd?: string, packageManager?: PackageManager): void;
Выполнить команду
Для локальной разработки. Не используйте в интернете!