diff --git a/.changeset/new-impalas-attack.md b/.changeset/new-impalas-attack.md new file mode 100644 index 00000000000..b82ce610d9b --- /dev/null +++ b/.changeset/new-impalas-attack.md @@ -0,0 +1,7 @@ +--- +'@primer/react': minor +--- + +Update dependency ranges to use caret ranges instead of pinned versions + + diff --git a/contributor-docs/versioning.md b/contributor-docs/versioning.md index 4d1d93aaeb7..e192bca7073 100644 --- a/contributor-docs/versioning.md +++ b/contributor-docs/versioning.md @@ -39,16 +39,21 @@ For a full list of releases, visit our [releases](https://github.com/primer/reac ## Changes -| Category | Type of change | semver bump | -| :-------- | :------------------------------------------------------------------ | :---------- | -| Component | A component is added | `minor` | -| | A component is deprecated | `minor` | -| | A component is removed | `major` | -| Props | A prop is added | `minor` | -| | [The type of a prop is broadened](#the-type-of-a-prop-is-broadened) | `minor` | -| | [The type of a prop is narrowed](#the-type-of-a-prop-is-narrowed) | `major` | -| | A prop is deprecated | `minor` | -| | A prop is removed | `major` | +| Category | Type of change | semver bump | +| :-------- | :--------------------------------------------------------------------------- | :---------- | +| Component | A component is added | `minor` | +| | A component is deprecated | `minor` | +| | A component is removed | `major` | +| Props | A prop is added | `minor` | +| | [The type of a prop is broadened](#the-type-of-a-prop-is-broadened) | `minor` | +| | [The type of a prop is narrowed](#the-type-of-a-prop-is-narrowed) | `major` | +| | A prop is deprecated | `minor` | +| | A prop is removed | `major` | +| Package | A dependency is added | `minor` | +| | A dependency is removed and it does not affect the public API of the package | `minor` | +| | A dependency is removed and it does affect the public API of the package | `major` | +| | The version of a dependency is increased to a newer minor or patch version | `minor` | +| | The version of a dependency is increased to a newer major version | `major` | ## Reference diff --git a/package-lock.json b/package-lock.json index 1c3b1f489d4..d8584a78011 100644 --- a/package-lock.json +++ b/package-lock.json @@ -13,10 +13,10 @@ "@github/markdown-toolbar-element": "^2.1.0", "@github/paste-markdown": "^1.4.0", "@github/relative-time-element": "^4.1.2", - "@lit-labs/react": "1.1.1", - "@primer/behaviors": "1.3.4", + "@lit-labs/react": "^1.1.1", + "@primer/behaviors": "^1.3.4", "@primer/octicons-react": "^19.3.0", - "@primer/primitives": "7.11.11", + "@primer/primitives": "^7.11.11", "@react-aria/ssr": "^3.1.0", "@styled-system/css": "^5.1.5", "@styled-system/props": "^5.1.5", @@ -30,11 +30,11 @@ "color2k": "^2.0.0", "deepmerge": "^4.2.2", "focus-visible": "^5.2.0", - "fzy.js": "0.4.1", + "fzy.js": "^0.4.1", "history": "^5.0.0", - "lodash.isempty": "4.4.0", - "lodash.isobject": "3.0.2", - "react-intersection-observer": "9.4.3", + "lodash.isempty": "^4.4.0", + "lodash.isobject": "^3.0.2", + "react-intersection-observer": "^9.4.3", "react-is": "^18.2.0", "styled-system": "^5.1.5" }, diff --git a/package.json b/package.json index 04f988415c7..b175f95fe9e 100644 --- a/package.json +++ b/package.json @@ -98,10 +98,10 @@ "@github/markdown-toolbar-element": "^2.1.0", "@github/paste-markdown": "^1.4.0", "@github/relative-time-element": "^4.1.2", - "@lit-labs/react": "1.1.1", - "@primer/behaviors": "1.3.4", + "@lit-labs/react": "^1.1.1", + "@primer/behaviors": "^1.3.4", "@primer/octicons-react": "^19.3.0", - "@primer/primitives": "7.11.11", + "@primer/primitives": "^7.11.11", "@react-aria/ssr": "^3.1.0", "@styled-system/css": "^5.1.5", "@styled-system/props": "^5.1.5", @@ -115,11 +115,11 @@ "color2k": "^2.0.0", "deepmerge": "^4.2.2", "focus-visible": "^5.2.0", - "fzy.js": "0.4.1", + "fzy.js": "^0.4.1", "history": "^5.0.0", - "lodash.isempty": "4.4.0", - "lodash.isobject": "3.0.2", - "react-intersection-observer": "9.4.3", + "lodash.isempty": "^4.4.0", + "lodash.isobject": "^3.0.2", + "react-intersection-observer": "^9.4.3", "react-is": "^18.2.0", "styled-system": "^5.1.5" },