🚨 Shai-Hulud Strikes Again:834 Packages Compromised.Technical Analysis →
Socket
Book a DemoInstallSign in
Socket

@buildshipapp/git-manager

Package Overview
Dependencies
Maintainers
2
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@buildshipapp/git-manager

CLI tool to manage git repositories for BuildShip workflows

latest
npmnpm
Version
1.0.1
Version published
Maintainers
2
Created
Source

Git Manager for BuildShip Workflows

This package contains a CLI tool to manage Git repositories within BuildShip workflows.

Usage

npx @buildshipapp/git-manager <operation> [options]
npm i @buildshipapp/git-manager -g
git-manager <operation> [options]

Manual

git-manager - A CLI tool for managing Git repositories in BuildShip workflows.

COMMANDS
    validate-workflows
        Validates the schema for Git workflows defined in the BuildShip project.

Validate Workflows

git-manager validate-workflows <repo-path> [report-inputs]

OPTIONS
    <repo-path>
        Path to the local Git repository to validate.

    [report-inputs]
        Optional, set to "true" to include invalid input values in the report for debugging purposes

Pre-commit hook

To set up the Git Manager as a pre-commit hook:

  • Install the package in your repository:
npm install --save-dev @buildshipapp/git-manager
  • Create a .husky directory (if using Husky):
npx husky init
  • Create a pre-commit hook file at .husky/pre-commit:
#!/bin/sh
npx @buildshipapp/git-manager validate-workflows . true
  • Make the hook executable:
chmod +x .husky/pre-commit

Alternatively, without Husky, create .git/hooks/pre-commit directly:

#!/bin/sh
npx @buildshipapp/git-manager validate-workflows . true

The hook will now validate workflows before each commit.

Keywords

BuildShip

FAQs

Package last updated on 26 Nov 2025

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts