New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

file-version-bump

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

file-version-bump

Bump versions in any file with the standard NPM version command

  • 0.0.2
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
5
decreased by-37.5%
Maintainers
1
Weekly downloads
 
Created
Source

File Version Bump

npm version

file-version-bump is an NPM module that works with the built in npm version command to update semver version numbers in files other than package.json. This all conveniently configured in your package.json.

Usage

Use the standard npm version commands. For example:

npm version patch

See here for more info.

Installation

It is advised to install file-version-bump as a devDependencies in your package.json, as you will only need this for development purposes. To install this module, simply run:

npm install --save-dev file-version-bump

Configuration

{
  "name": "my-amazing-module",
  "version": "0.0.0",
  "main": "index.js",
  "scripts": {
    "test": "exit 1",
    "version": "file-version-bump"
  },
  "file-version-bump": [
    "scss/_version.scss",
    "README.md"
  ]
}

You need to add both the scripts entry for file-version-bump and also the file-version-bump entry with an array of globs specifying the files that you would like to have bumped.

FAQs

Package last updated on 10 Jul 2016

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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc