Skip to content

build: use secure npm package manager config#321

Merged
lirantal merged 1 commit into
mainfrom
build/secure-pkg-manager-config
Jun 8, 2026
Merged

build: use secure npm package manager config#321
lirantal merged 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 merged commit 7df5f07 into main Jun 8, 2026
13 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant