Skip to content
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

Update the primer/primitives dependency to be 9.x || 10.x and move it to peer #3179

Merged
merged 7 commits into from
Nov 6, 2024

Conversation

langermank
Copy link
Contributor

@langermank langermank commented Oct 30, 2024

Closes https://github.com/github/primer/issues/4326

Update the @primer/primitives dependency to 9.x || 10.x and move it to peer dependencies.

  • package.json

    • Update the @primer/primitives version to 9.x || 10.x.
    • Move the @primer/primitives entry from dependencies to peerDependencies.
  • package-lock.json

    • Update the @primer/primitives version to 9.x || 10.x.
    • Add peerDependencies section with @primer/primitives entry.

For more details, open the Copilot Workspace session.

… to peer

Update the `@primer/primitives` dependency to `9.x || 10.x` and move it to peer dependencies.

* **demo/package.json**
  - Update the `@primer/primitives` version to `9.x || 10.x`.
  - Move the `@primer/primitives` entry from `dependencies` to `peerDependencies`.

* **package.json**
  - Update the `@primer/primitives` version to `9.x || 10.x`.
  - Move the `@primer/primitives` entry from `dependencies` to `peerDependencies`.

* **package-lock.json**
  - Update the `@primer/primitives` version to `9.x || 10.x`.
  - Add `peerDependencies` section with `@primer/primitives` entry.

* **demo/package-lock.json**
  - Update the `@primer/primitives` version to `9.x || 10.x`.
  - Add `peerDependencies` section with `@primer/primitives` entry.

---

For more details, open the [Copilot Workspace session](https://copilot-workspace.githubnext.com/primer/view_components?shareId=XXXX-XXXX-XXXX-XXXX).
@langermank langermank requested a review from a team as a code owner October 30, 2024 23:19
@langermank langermank requested a review from mperrotti October 30, 2024 23:19
Copy link

changeset-bot bot commented Oct 30, 2024

🦋 Changeset detected

Latest commit: 9bc95c8

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
@primer/view-components Patch

Not sure what this means? Click here to learn what changesets are.

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

* Remove `@primer/primitives` entry from `dependencies` section
"@rails/actioncable": "^7.2.100",
"@rails/ujs": "^7.1.400",
"turbolinks": "^5.2.0"
},
"peerDependencies": {
"@primer/primitives": "9.x || 10.x"
},
Copy link
Member

Choose a reason for hiding this comment

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

This change in the demo isn't necessary since we don't publish this package, it only effects what's being used in the lookbook

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Fixed this

@langermank langermank merged commit 93297d2 into main Nov 6, 2024
33 of 34 checks passed
@langermank langermank deleted the langermank/update-primer-primitives branch November 6, 2024 19:11
@primer primer bot mentioned this pull request Nov 5, 2024
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.

None yet

3 participants