Skip to content

Latest commit

 

History

History
44 lines (31 loc) · 1.3 KB

File metadata and controls

44 lines (31 loc) · 1.3 KB
title `glab dependency-firewall npm`
stage AI Coding
group Code Review
info To determine the technical writer assigned to the Stage/Group associated with this page, see <https://handbook.gitlab.com/handbook/product/ux/technical-writing/#assignments>

Run npm through the GitLab Dependency Firewall. (EXPERIMENTAL)

Synopsis

Run the npm binary through the GitLab Dependency Firewall. The command checks each package download and upload against the policy for the current project, refuses blocked packages, and summarizes the results after the run.

The command uses your package manager's registry or index configuration, and does not modify it.

All arguments are forwarded to npm verbatim.

This feature is an experiment and is not ready for production use. It might be unstable or removed at any time. For more information, see https://docs.gitlab.com/policy/development_stages_support/.

glab dependency-firewall npm <npm args> [flags]

Examples

# Install a package through the Dependency Firewall
glab dependency-firewall npm install left-pad

Options inherited from parent commands

  -h, --help   Show help for this command.