0.1.4 • Published 12 months ago

@nevware21/publish-npm v0.1.4

Weekly downloads
-
License
MIT
Repository
github
Last release
12 months ago

GitHub Workflow Status (main) npm version downloads downloads

Description

Simple tools for automating the publishing of packages to npm.

Quick Start

Install the npm packare: npm install @nevware21/publish-npm --save-dev

It is suggested / recommended that you use the following definition in your package.json so that you are compatible with any future releases as they become available we do not intend to make ANY known breaking changes moving forward until v2.x

"@nevware21/publish-npm": ">= 0.1.4 < 2.x"

Create a configuration file with your group settings, where the

  • default identifies the default group when no group is passed on the command line
  • each group identifies the path to the repo where the package.json will be loaded to obtain the name
// ------------------------------
// NPM Publish group definitions
// ------------------------------
{
    "repoRoot": "../../..",
    "default": "all",
    "groups": {
        "all": [
            "./lib/pre-proc",
            "./lib/coverage-tools",
            "./lib/publish-npm"
        ],
        "preProc": [
            "./lib/pre-proc"
        ],
        "mergeCoverage": [
            "./lib/coverage-tools"
        ],
        "npmPublish": [
            "./lib/publish-npm"
        ]
    }
}

And then just used the helper in your package.json

{
    "scripts": {
        "publish-npm": "publish-npm groupName"
    }
}
0.1.4

12 months ago

0.1.3

12 months ago

0.1.2

12 months ago

0.1.1

12 months ago

0.1.0

12 months ago