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

release-checker

Package Overview
Dependencies
Maintainers
1
Versions
18
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

release-checker

Check your release before publishing

  • 0.3.0
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
22
increased by120%
Maintainers
1
Weekly downloads
 
Created
Source

Release Checker (alpha)

Build Status Build status npm version

There are numerous ways to "shoot yourself in the foot" using npm publish. The purpose of this module is to validate that your project is ready to be published in a safe way.

It checks the following:

  • package.json file is valid
  • build pass (unreleased)
  • tests pass
  • there is no sensitive data embedded in the package that will be send to the registry (unreleased)
  • there is no useless files (like tests files) embedded in the package that will be send to the registry (unreleased)
  • there is no vulnerable dependencies (unreleased)
  • there are no uncommitted changes in the working tree (unreleased)
  • there are no untracked files in the working tree (unreleased)
  • current branch is master (unreleased)
  • git tag matches version specified in the package.json (unreleased)

Install

  • local install

    npm install --save-dev release-checker
    

    Then add this script in the scripts section of the package.json file:

    "scripts": {
        "release-checker": "release-checker"
      },
    
  • global install

    npm install -g release-checker
    

Basic usage

  • local install

    npm run release-checker
    
  • global install

    release-checker
    
  • zero install

    npx release-checker
    

Command-line Options

When you specify no option, all checkers will run.

if you want to run only specific checkers, use the command-line options specific to these checkers.

-h, --help

Displays commands' usage information.

npx release-checker --help

-t, --test (unreleased)

Ensure that command npm test is successfull

npx release-checker --test

Authors

This project is a port of all validations provided by publish-please

Keywords

FAQs

Package last updated on 11 Jan 2019

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