Socket
Book a DemoInstallSign in
Socket

@nevware21/publish-npm

Package Overview
Dependencies
Maintainers
0
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@nevware21/publish-npm

Tools to automate the publishing packages to npm.

0.1.4
latest
Source
npmnpm
Version published
Weekly downloads
43
-62.28%
Maintainers
0
Weekly downloads
 
Created
Source

@nevware21/publish-npm

Tools to automate the publishing packages to npm.

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"
    }
}

Keywords

typescript

FAQs

Package last updated on 19 Nov 2024

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

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.