-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
chore: Enable npm package provenance for all published packages #11268
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
This commit adds `provenance: true` to the `publishConfig` section of all main publishable packages: - @swc/core - @swc/helpers - @swc/html - @swc/minifier - @swc/react-compiler - @swc/types Package provenance provides transparency about how and where packages are built and published, enhancing supply chain security by allowing users to verify the authenticity and origin of published packages. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <[email protected]>
|
|
Claude finished @kdy1's task —— View job PR Review: Enable npm package provenanceThis PR successfully adds npm package provenance to all main SWC packages. Here's my comprehensive review: ✅ Code Quality & Best PracticesExcellent Implementation:
|
|
Review the following changes in direct dependencies. Learn more about Socket for GitHub.
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull Request Overview
This PR enables npm package provenance for the main SWC packages by adding provenance: true to their publishConfig sections. This improves supply chain security by providing transparency about package origins and build authenticity.
Key Changes
- Added
provenance: trueconfiguration to 6 main publishable packages - Modified
publishConfigsections in package.json files with proper JSON formatting
Reviewed Changes
Copilot reviewed 6 out of 6 changed files in this pull request and generated no comments.
Show a summary per file
| File | Description |
|---|---|
| packages/types/package.json | Added provenance configuration to @swc/types package |
| packages/react-compiler/package.json | Added provenance configuration to @swc/react-compiler package |
| packages/minifier/package.json | Added provenance configuration to @swc/minifier package |
| packages/html/package.json | Added provenance configuration to @swc/html package |
| packages/helpers/package.json | Added provenance configuration to @swc/helpers package |
| packages/core/package.json | Added provenance configuration to @swc/core package |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Binary Sizes
Commit: 26d22d3 |
CodSpeed Performance ReportMerging #11268 will not alter performanceComparing Summary
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull Request Overview
Copilot reviewed 4 out of 4 changed files in this pull request and generated no new comments.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Summary
This PR adds
provenance: trueto thepublishConfigsection of all main publishable packages to enable npm package provenance.Changes
provenance: truetopublishConfigin the following packages:@swc/core@swc/helpers@swc/html@swc/minifier@swc/react-compiler@swc/typesBenefits
Package provenance provides:
🤖 Generated with Claude Code
Closes #11266