Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

auto-dist-tag

Package Overview
Dependencies
Maintainers
1
Versions
13
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

auto-dist-tag

Automatically rewrites the publishConfig.tag setting in your package.json file for you

  • 0.1.5
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
205
increased by3.54%
Maintainers
1
Weekly downloads
 
Created
Source

auto-dist-tag

Build Status npm

Automatically rewrites the publishConfig.tag setting in your package.json file for you

Install

npm install --global auto-dist-tag

Usage

$ auto-dist-tag --help

  Usage
    $ auto-dist-tag [path]

  Options
    --write, -w  Write calculated dist-tag to the package.json file

auto-dist-tag will automatically figure out what the best dist-tag is based on the version property in your package.json file and the previously published versions unless you explicitly specify a tag yourself.

Have a look at our tests to figure out what tags to expect as output.

Travis CI

If you are using Travis CI to automatically publish your package to npm you should add the following snippet to your .travis.yml file:

before_deploy:
  - npm install -g auto-dist-tag
  - auto-dist-tag --write

License

This project is licensed under the Apache License 2.0.

FAQs

Package last updated on 22 Dec 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

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