Merged
Conversation
There was a problem hiding this comment.
Pull request overview
This PR migrates the project from npm/yarn to pnpm as the package manager, enabling enhanced security features including a 24-hour age-gate for new package releases and controlled lifecycle script execution. The migration ensures safer dependency management while maintaining all existing functionality.
Key changes:
- Introduces pnpm configuration with security controls (24-hour minimum release age, restricted lifecycle scripts)
- Updates all package manager commands from npm/yarn to pnpm across scripts, documentation, and CI workflows
- Adds a new
ciscript for running linting and formatting checks locally
Reviewed changes
Copilot reviewed 5 out of 8 changed files in this pull request and generated 1 comment.
Show a summary per file
| File | Description |
|---|---|
| pnpm-workspace.yaml | New file configuring pnpm security features: 24-hour release age gate, lifecycle script restrictions |
| package.json | Updates scripts to use pnpm directly instead of yarn, adds packageManager field pinning pnpm@10.23.0, introduces new ci script |
| .github/workflows/ci.yml | Updates CI workflow commands from npm to pnpm, adds corepack enable step |
| README.md | Updates installation and usage instructions to use pnpm commands instead of npm |
| tsconfig.json | Removes trailing commas for cleaner JSON formatting |
| .prettierignore | Adds pnpm-lock.yaml to prevent formatting of lockfile |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
You can also share your feedback on Copilot code review for a chance to win a $100 gift card. Take the survey.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This will allow us to enforce an age-gate and limit lifecycle scripts.