npmrc-config

Community

Secure NPM registry, streamline monorepo setup.

Authormetasaver
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Incorrect .npmrc configurations can lead to critical security vulnerabilities (e.g., committing authentication tokens), broken package resolution in monorepos, and inconsistent dependency versioning. This skill automates the setup and validation of secure and efficient .npmrc files.

Core Features & Use Cases

  • GitHub Package Registry: Configures @metasaver scope for GitHub Packages, using a secure ${GITHUB_TOKEN} placeholder.
  • pnpm Hoisting: Sets shamefully-hoist=true and node-linker=hoisted for proper module resolution in monorepos.
  • Exact Version Management: Enforces save-exact=true to prevent unexpected dependency updates.
  • Security Validation: Critically checks for and prevents the accidental inclusion of real authentication tokens.
  • Use Case: Generate a new .npmrc.template for a monorepo, ensuring secure GitHub Package Registry access and correct pnpm hoisting, then audit it to confirm no real tokens are present.

Quick Start

Audit the current .npmrc.template for MetaSaver compliance and security.

Dependency Matrix

Required Modules

None required

Components

assets

đź’» Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: npmrc-config
Download link: https://github.com/metasaver/claude-marketplace/archive/main.zip#npmrc-config

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.