public class TaskRunNpmInstall extends Object implements FallibleCommand
npm install
after dependencies have been updated.
For internal use only. May be renamed or removed in a future release.
Modifier and Type | Field and Description |
---|---|
static String |
INSTALLING |
Modifier and Type | Method and Description |
---|---|
void |
execute()
Runs the given command.
|
protected String |
generateVersionsJson()
Generate versions json file for pnpm.
|
public static final String INSTALLING
public void execute() throws ExecutionFailedException
FallibleCommand
If execution fails then the command may throw an exception which may give a message and a cause of the failure.
execute
in interface FallibleCommand
ExecutionFailedException
- if there is an execution errorprotected String generateVersionsJson() throws IOException
IOException
- when file IO failsCopyright © 2025. All rights reserved.