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

nitro-release

Package Overview
Dependencies
Maintainers
3
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

nitro-release

A release package for nitro. Manage your releases with ease.

latest
Source
npmnpm
Version
0.1.1
Version published
Maintainers
3
Created
Source

nitro-release

With this package, Nitro can produce releases by using gulp release on the CLI. You can influence the version bump by using the --bump option.

All possibilities in examples:

$ gulp release --bump
\> Version bumped from 0.0.0 -> 0.0.1

$ gulp release --bump=minor
\> Version bumped from 0.0.1 -> 0.1.0

$ gulp release --bump=major
\> Version bumped from 0.1.0 -> 1.0.0

$ gulp release --bump=patch
\> Version bumped from 1.0.0 -> 1.0.1

The release configuration can be found in config.json.

Configuration options

release.bumpFiles (Array)

A list of files, where a version bump should be processed.

  • example: ["package.json"]

release.commit (Boolean)

Defines, if the bumpFiles should be committed. A commit will have the message Release VERSION.

  • example: false

release.commitMessage (String)

Defines the commit message. Use %VERSION% to replace with current (bumped) version.

  • example: "Release %VERSION%"

release.push (Boolean)

Defines, if a commit should be pushed automatically. Only pushes, if commit is set to true.

  • example: false

release.pushBranch (String)

Defines the branch, which should be pushed. This should be the name of the branch, where the release happens.

  • example: "master"

release.pushTo (String)

Defines the remote origin name.

  • example: "origin"

release.tag (Boolean)

Defines, if a release git tag should be created. The name is vVERSION, e.g. v0.1.0.

  • example: false

release.tagName (String)

Defines the tag name. Use %VERSION% to replace with current (bumped) version.

  • example: "v%VERSION%"

Example Release Config

"release": {
    "bumpFiles": ["package.json"],
    "commit": false,
    "push": false,
    "pushBranch": "master",
    "pushTo": "origin",
    "tag": false
}

Keywords

nitro

FAQs

Package last updated on 07 Nov 2017

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