vlt / docs

  • PricingBenchmarks (opens in new window)Community (opens in new window)Feedback
  • Overview
  • bugs
  • build
  • cache
  • ci
  • config
  • create
  • docs
  • exec-cache
  • exec-local
  • exec
  • help
  • init
  • install
  • list
  • login
  • logout
  • pack
  • ping
  • pkg
  • publish
  • query
  • registry
  • repo
  • run-exec
  • run
  • setup
  • token
  • uninstall
  • version
  • whoami
  • Lifecycle scripts
  • Options
  1. Client
  2. /
  3. Commands
  4. /
  5. ci

vlt ci

Usage:

Terminal
$ vlt ci

Clean install for CI pipelines. Removes node_modules and installs dependencies exactly as specified in vlt-lock.json, failing if the lockfile is missing or out of date.

Lifecycle scripts

Like vlt install, vlt ci runs no lifecycle scripts of dependencies by default. To opt in:

Terminal
# Allow scripts for specific packages
$ vlt ci --allow-scripts="#esbuild"

# Persist the query for ci in vlt.json

$ vlt config set "command.ci.allow-scripts=#esbuild"

# Or build after install (skips packages with malware alerts)

$ vlt ci && vlt build

See vlt build for build targets.

Options

FlagDescription
--allow-scripts=<query>Allow matching packages to run lifecycle scripts

PreviouscacheNextconfig

On this page

  • Lifecycle scripts
  • Options
Edit this page

Deploy your package on vlt.io

Publish scoped and private packages, manage organizations and access, and give every developer and CI environment a consistent source for public and private JavaScript dependencies.

Publish now