New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

gitversion-patcher

Package Overview
Dependencies
Maintainers
1
Versions
10
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

gitversion-patcher

Tool for patching package.json file with version from gitversion

latest
npmnpm
Version
2.0.0
Version published
Maintainers
1
Created
Source

Gitversion patcher

Description

Simple, lightweight no-dependency tool for patching package.json file with gitversion full semver. Right now it could get only FullSemVer field from gitversion output, but feel free to ask for improvements. If you (just like me) for some reasons don't want or can't to use version settings via lerna or npm version perhaps could find that simple package useful.

Installation

yarn add gitversion-patcher

Usage

This package should be used as a cli utility and could be executed as a yarn prepack hook, or somewhere like this. The only important things:

  • You should have gitversion installed
  • You should have run that util in a folder which contains package.json file

Keywords

gitversion

FAQs

Package last updated on 26 Nov 2021

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