glab(1)
β¨ glab(1) β the dependency firewall glow-up β¨
Okay bestie, this is the <pink>glab(1)</pink> manual page, and today we're talking about the npm-flavored Dependency Firewall. Yes, it's still in beta. No, that doesn't make it any less iconic. π
πΈ NAME πΈ
glab-dependency-firewall-npm β run npm through the GitLab Dependency Firewall. (BETA) π
π¦ SYNOPSIS π¦
glab dependency-firewall npm [flags]
That's it. That's the whole vibe check. β¨
π DESCRIPTION π
So basically: this command runs the npm binary through the GitLab Dependency Firewall. Every single package download and upload gets checked against the policy for the current project. If a package is blocked? It gets refused, periodt. π« And after the whole run finishes, it hits you with a summary of the results. Obsessed.
It uses your package manager's registry or index configuration β and it does not modify it. Not touching your config. Never. That's main character restraint. π«Ά
All arguments are forwarded to npm verbatim. Like, word for word, no editing, no remixing. π
β οΈ Heads up bestie: this feature is in beta and might not be ready for production use. It might be unstable, and breaking changes can occur outside of major releases. For more information, see https://docs.gitlab.com/policy/development_stages_support/.
No cap, read that link before you ship it to prod. π
π OPTIONS INHERITED FROM PARENT COMMANDS π
-h,--help[=false]β show help for this command. The classic. The goat. When in doubt, ask for help. π
π EXAMPLE π
Here's where it gets fun. Actual commands, actual slay. π₯
Install dependencies through the Dependency Firewall:
# Install dependencies through the Dependency Firewall
glab dependency-firewall npm install
Install a package through the Dependency Firewall:
# Install a package through the Dependency Firewall
glab dependency-firewall npm install left-pad
Clean install from the lockfile through the Dependency Firewall:
# Clean install from the lockfile through the Dependency Firewall
glab dependency-firewall npm ci
Publish a package through the Dependency Firewall:
# Publish a package through the Dependency Firewall
glab dependency-firewall npm publish
left-pad as the example package? The dev who wrote this is a person of culture, fr fr. π
π§ SEE ALSO π§
glab-dependency-firewall(1)β go read the parent one too, iykyk π¦
And that's the page!! This beautiful thing was auto generated by spf13/cobra back in Nov 2026, and it's serving glab(1) energy from the very first line to the last. Mwah. πβ¨π
π¦ where this page comes from
- arch rolling: glab 1.128.0-1 Β· MIT
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms