🚀 DAY 3 OF LAUNCH WEEK: Introducing Webhook Events for Pull Request Scans.Learn more →
Socket
Book a DemoInstallSign in
Socket

@shepherdorg/versionist

Package Overview
Dependencies
Maintainers
2
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@shepherdorg/versionist

Creates or prefers version for shepherd docker building

latest
npmnpm
Version
5.2.1
Version published
Maintainers
2
Created
Source

Versionist

in British English

  • someone who creates or prefers a version

Scope

This module handles version determination for shepherd docker building.

This package handles determining semantic version and git hash, intended to use for tagging docker images, but may have other uses.

Input: Directory containing a Dockerfile to create a version for.

Output: Image name (docker repository), docker tags, semantic version and git sha for docker sources.

Coupling

This module is tightly coupled with git, it is considered a base library here, and is therefore used from unit tests.

To consider

Consider options to ignore files in .dockerignore when generating git hash.

Usecases include determining whether a docker image needs to be built in a monorepo using the git hash and consistent versioning of docker images.

$ Todo before merge

Output test report as something that can be embedded in the readme

  • Upgrade all packages dependencies.
  • Test

FAQs

Package last updated on 05 Jan 2022

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