Skip to content

Comments

Add option --install-npm to build.php to install from NPM directly.#453

Open
Sven65 wants to merge 1 commit intomainfrom
feat/install-npm
Open

Add option --install-npm to build.php to install from NPM directly.#453
Sven65 wants to merge 1 commit intomainfrom
feat/install-npm

Conversation

@Sven65
Copy link
Contributor

@Sven65 Sven65 commented Sep 24, 2024

No description provided.

@sonarqubecloud
Copy link

} elseif(file_exists('package-lock.json') && file_exists('gulp.js') && is_array($argv) && in_array('--allow-gulp', $argv)) {
$buildCommands[] = 'gulp';
if(is_array($argv) && !in_array('--install-npm', $argv)) {
$buildCommands[] = 'npm install --no-progress --no-audit';
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Old behaviour should be default, in order to be backwards compatible.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants