Socket
Book a DemoInstallSign in
Socket

component-release

Package Overview
Dependencies
Maintainers
1
Versions
11
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

component-release

Node.js based git-release for use with component

latest
Source
npmnpm
Version
3.0.0
Version published
Weekly downloads
0
-100%
Maintainers
1
Weekly downloads
 
Created
Source

component-release

Node.js based git-release for use with component and npm

Installation

$ npm install component-release -g

Usage

$ component-release 0.0.0

Features

  • Forces versions to be of the form /^(\d+)\.(\d+)\.(\d+)$/ and won't let you publish with a version number that isn't of that form.
  • Won't let you publish with a version that doesn't match the version in package.json and component.json if those files are present.
  • Will automatically update the other of those files if you have updated one of them.
  • Will update both for you if you say yes when it asks you.
  • Will never 'update' to an older version
  • Won't let you publish an older version if a newer one exists (and is tagged)
  • won't let you publish if component.json or package.json exists but is not valid json.

Provided you meet the requirements it will:

  • git commit -a -m "Release 0.0.0"
  • git tag 0.0.0 -a -m "0.0.0"
  • git push
  • git push --tags
  • if a package.json is present and not marked private: npm publish

FAQs

Package last updated on 24 Dec 2013

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