Strict frozen install for CI environments.
Implements npm ci behavior — validates lockfile matches package.json
exactly, cleans node_modules, and installs from lockfile only.
No lockfile modifications allowed.
Summary
Functions
Formats validation errors for display.
Determines if node_modules needs to be cleaned before install.
Checks if CI install is possible (all prerequisites met).
Validates that the lockfile is in sync with package.json.
Types
Functions
@spec format_errors([validation_error()]) :: String.t()
Formats validation errors for display.
Determines if node_modules needs to be cleaned before install.
Checks if CI install is possible (all prerequisites met).
@spec validate(String.t()) :: :ok | {:error, [validation_error()]}
Validates that the lockfile is in sync with package.json.