GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages


Manual Reference Pages  -  NPM-VERSION (3)

NAME

npm-version - Bump a package version

CONTENTS

Description

SYNOPSIS

npm.commands.version(newversion, callback)

DESCRIPTION

Run this in a package directory to bump the version and write the new data back to the package.json file.

If run in a git repo, it will also create a version commit and tag, and fail if the repo is not clean.

Like all other commands, this function takes a string array as its first parameter. The difference, however, is this function will fail if it does not have exactly one element. The only element should be a version number.

Search for    or go to Top of page |  Section 3 |  Main Index


NPM-VERSION (3) October 2015

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with manServer 1.07.