Skip to content

feat: update package.json config for publishing#8013

Open
joshblack wants to merge 2 commits into
mainfrom
feat/update-canvas-package-publishing
Open

feat: update package.json config for publishing#8013
joshblack wants to merge 2 commits into
mainfrom
feat/update-canvas-package-publishing

Conversation

@joshblack

Copy link
Copy Markdown
Member

Small update to our package.json to help with publishing to npm

Copilot AI review requested due to automatic review settings June 17, 2026 19:21
@joshblack joshblack requested a review from a team as a code owner June 17, 2026 19:21
@joshblack joshblack requested a review from liuliu-dev June 17, 2026 19:21
@changeset-bot

changeset-bot Bot commented Jun 17, 2026

Copy link
Copy Markdown

⚠️ No Changeset found

Latest commit: 2da7df2

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@joshblack joshblack added skip changeset This change does not need a changelog integration-tests: skipped manually Changes in this PR do not require an integration test labels Jun 17, 2026
@joshblack joshblack enabled auto-merge June 17, 2026 19:22
@github-actions github-actions Bot added the staff Author is a staff member label Jun 17, 2026

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Updates packages/canvas package metadata intended to support publishing @primer/react-canvas to npm.

Changes:

  • Bumps @primer/react-canvas version from 0.0.0 to 0.0.1
  • Adds files allowlist (publish dist/) and repository metadata 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

Comment on lines 2 to 6
"name": "@primer/react-canvas",
"version": "0.0.0",
"private": true,
"version": "0.0.1",
"type": "module",
"exports": {
Comment on lines 6 to 10
"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",
@joshblack joshblack changed the title feat: add in package.json config for publishing feat: update package.json config for publishing Jun 17, 2026
@joshblack

Copy link
Copy Markdown
Member Author

@copilot can you move @primer/react to devDependencies in the canvas package for me

Co-authored-by: joshblack <3901764+joshblack@users.noreply.github.com>
auto-merge was automatically disabled June 17, 2026 20:33

Head branch was pushed to by a user without write access

Copilot AI commented Jun 17, 2026

Copy link
Copy Markdown
Contributor

@copilot can you move @primer/react to devDependencies in the canvas package for me

Done in 2da7df2@primer/react is now under devDependencies in packages/canvas/package.json.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

integration-tests: skipped manually Changes in this PR do not require an integration test skip changeset This change does not need a changelog staff Author is a staff member

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants