This repository was archived by the owner on Aug 12, 2020. It is now read-only.
This repository was archived by the owner on Aug 12, 2020. It is now read-only.
npm publishing should error on publishing prerelease to npmjs.com #29
Open
Description
one possibility to make this work:
use a npm scripts prepublish task that checks that npm get registry is registry.npmjs.com AND version in package.json consists only of major.minor.patch numbers. The latter can be done from JavaScript by require'ing package.json and maniplating the json e.g. with a RegExp
Metadata
Metadata
Assignees
Labels
No labels