Skip to content

build: use secure npm package manager config#119

Open
lirantal wants to merge 1 commit into
mainfrom
build/secure-pkg-manager-config
Open

build: use secure npm package manager config#119
lirantal wants to merge 1 commit into
mainfrom
build/secure-pkg-manager-config

Conversation

@lirantal
Copy link
Copy Markdown
Owner

Scaffolds a secure package manager config file for this repo, following the recommendations in https://github.com/lirantal/npm-security-best-practices.

  • For npm repos: adds .npmrc (disables lifecycle scripts, blocks git sources, enforces a 30-day minimum release age).
  • For pnpm repos: adds pnpm-workspace.yaml with minimumReleaseAge, trustPolicy, strictDepBuilds, and blockExoticSubdeps.

This PR was opened as part of a bulk security-hardening pass across my repos. If this overwrites a custom config that was intentional, please close and revisit manually.

@lirantal lirantal self-assigned this May 14, 2026
@lirantal lirantal added the enhancement New feature or request label May 14, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant