feat: update package.json config for publishing#8013
Conversation
|
There was a problem hiding this comment.
Pull request overview
Updates packages/canvas package metadata intended to support publishing @primer/react-canvas to npm.
Changes:
- Bumps
@primer/react-canvasversion from0.0.0to0.0.1 - Adds
filesallowlist (publishdist/) andrepositorymetadata to the package manifest
Show a summary per file
| File | Description |
|---|---|
| packages/canvas/package.json | Adjusts package metadata (version, published files, repository) in support of npm publishing |
Copilot's findings
- Files reviewed: 1/1 changed files
- Comments generated: 3
| "name": "@primer/react-canvas", | ||
| "version": "0.0.0", | ||
| "private": true, | ||
| "version": "0.0.1", | ||
| "type": "module", | ||
| "exports": { |
| "exports": { | ||
| ".": "./dist/index.js", | ||
| "./deprecated": "./dist/deprecated.js", | ||
| "./experimental": "./dist/experimental.js", | ||
| "./next": "./dist/next.js" |
| "name": "@primer/react-canvas", | ||
| "version": "0.0.0", | ||
| "private": true, | ||
| "version": "0.0.1", |
|
@copilot can you move |
Co-authored-by: joshblack <3901764+joshblack@users.noreply.github.com>
Head branch was pushed to by a user without write access
Done in |
Small update to our
package.jsonto help with publishing tonpm