New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details → →
Socket
Book a DemoSign in
Socket

@bonvoy/plugin-npm

Package Overview
Dependencies
Maintainers
1
Versions
9
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@bonvoy/plugin-npm

🚢 npm publishing plugin for bonvoy

latest
Source
npmnpm
Version
0.12.1
Version published
Maintainers
1
Created
Source

@bonvoy/plugin-npm 🚢

npm publishing plugin for bonvoy

Publishes packages to the npm registry with OIDC provenance support.

Installation

npm install @bonvoy/plugin-npm

Features

  • âś… Publishes packages to npm registry
  • âś… OIDC provenance support for supply chain security
  • âś… Skips already published versions
  • âś… Skips private packages
  • âś… Configurable access level (public/restricted)
  • âś… Custom registry support
  • âś… Dry-run support

Configuration

// bonvoy.config.js
export default {
  npm: {
    registry: 'https://registry.npmjs.org', // default
    access: 'public',                        // default for scoped packages
    provenance: true,                        // default in CI
    skipExisting: true,                      // default
  },
};

Hooks

This plugin taps into the following hooks:

HookAction
publishPublishes packages to npm registry

Requirements

For OIDC provenance in GitHub Actions:

permissions:
  id-token: write
  contents: read

Behavior

During the publish hook:

  • Checks if package is private (skips if true)
  • Checks if version already exists on npm (skips if true)
  • Publishes with npm publish --access public --provenance

Private Packages

Packages with "private": true in package.json are automatically skipped.

Scoped Packages

Scoped packages (e.g., @bonvoy/core) default to restricted access on npm. Set access: 'public' to publish publicly.

Custom Registry

export default {
  npm: {
    registry: 'https://npm.pkg.github.com',
  },
};

License

MIT

Keywords

bonvoy

FAQs

Package last updated on 11 Feb 2026

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