vip validate preflight [options]
Scan a Node.js codebase to identify issues that could prevent application code from building, deploying, or working as expected.
Options
Argument | Description |
---|---|
-d , --debug | Activate debug output |
-h , --help | Output the help for the (sub)command |
-j , --json | Output the results in JSON format |
-n , --node-version | Select a specific target Node.JS version in semver format (MAJOR.MINOR.PATCH) or a MAJOR |
-P , --path | Path to the app to be tested, defaults to current directory |
-p , --port | Configure the port to use for the app (defaults to a random port between 3001 and 3999) |
-w , --wait | Configure the time to wait in ms for the app to boot up (defaults to 3000ms) |
-V , --verbose | Increase logging level to include app build and server boot up messages |
-v , --version | Output the version number |
Examples
# Scan a Node.js codebase from within the codebase directory on the local machine $ vip @mysite.develop validate preflight
# Scan a Node.js codebase and specify the path to the codebase on the local machine $ vip @mysite.develop validate preflight --path=/Users/example-user/codebase
Global Options
Argument | Description |
---|---|
-a , --app=<app> | Specify the app |
-d , --debug | Activate debug output |
-e , --env=<env> | Specify the environment |
-h , --help | Output the help for the (sub)command |
-v , --version | Output the version number |
-y , --yes | Run the command in production without a confirmation prompt |
Last updated: November 28, 2022