From 23883b5c18fed1a497c505b13f46fe01837bc7c3 Mon Sep 17 00:00:00 2001 From: Lukas Oppermann Date: Sun, 27 Oct 2024 11:57:27 +0100 Subject: [PATCH] Allow primitives dep to be if version 9 OR 10 and add it to peerDep --- .changeset/spotty-rice-explain.md | 5 ++++ package-lock.json | 47 +++++-------------------------- packages/react/package.json | 2 +- 3 files changed, 13 insertions(+), 41 deletions(-) create mode 100644 .changeset/spotty-rice-explain.md diff --git a/.changeset/spotty-rice-explain.md b/.changeset/spotty-rice-explain.md new file mode 100644 index 00000000000..38a5aeed6eb --- /dev/null +++ b/.changeset/spotty-rice-explain.md @@ -0,0 +1,5 @@ +--- +'@primer/react': patch +--- + +Allow primitives dep to be if version 9 OR 10 and add it to peerDep diff --git a/package-lock.json b/package-lock.json index 48c76c6bd04..47671736bbd 100644 --- a/package-lock.json +++ b/package-lock.json @@ -62,7 +62,7 @@ "name": "example-app-router", "version": "0.0.0", "dependencies": { - "@primer/react": "37.0.0-rc.11", + "@primer/react": "37.0.1", "next": "^14.2.10", "react": "^18.3.1", "react-dom": "^18.3.1", @@ -81,7 +81,7 @@ "react-dom": "^18.3.1" }, "devDependencies": { - "@primer/react": "37.0.0-rc.11", + "@primer/react": "37.0.1", "@types/react": "^18.3.11", "@types/react-dom": "^18.3.0", "@typescript-eslint/eslint-plugin": "^7.11.0", @@ -99,7 +99,7 @@ "name": "example-consumer-test", "version": "0.0.0", "dependencies": { - "@primer/react": "37.0.0-rc.11", + "@primer/react": "37.0.1", "@types/react": "^18.3.11", "@types/react-dom": "^18.2.19", "@types/styled-components": "^5.1.11", @@ -125,7 +125,7 @@ "version": "0.0.0", "dependencies": { "@primer/octicons-react": "^19.9.0", - "@primer/react": "37.0.0-rc.11", + "@primer/react": "37.0.1", "clsx": "^1.2.1", "next": "^14.2.10", "react": "^18.3.1", @@ -19628,6 +19628,7 @@ }, "node_modules/make-synchronized": { "version": "0.2.8", + "dev": true, "license": "MIT", "funding": { "url": "https://github.com/fisker/make-synchronized?sponsor=1" @@ -30099,7 +30100,7 @@ }, "packages/react": { "name": "@primer/react", - "version": "37.0.0-rc.11", + "version": "37.0.1", "license": "MIT", "dependencies": { "@github/relative-time-element": "^4.4.2", @@ -30109,7 +30110,6 @@ "@primer/behaviors": "^1.7.2", "@primer/live-region-element": "^0.7.1", "@primer/octicons-react": "^19.9.0", - "@primer/primitives": "^9.0.3", "@styled-system/css": "^5.1.5", "@styled-system/props": "^5.1.5", "@styled-system/theme-get": "^5.1.2", @@ -30237,6 +30237,7 @@ "npm": ">=7" }, "peerDependencies": { + "@primer/primitives": "9.x || 10.x", "@types/react": "^18.0.0", "@types/react-dom": "^18.0.0", "@types/styled-components": "^5.1.11", @@ -30256,27 +30257,6 @@ } } }, - "packages/react/node_modules/@prettier/sync": { - "version": "0.5.2", - "license": "MIT", - "dependencies": { - "make-synchronized": "^0.2.8" - }, - "funding": { - "url": "https://github.com/prettier/prettier-synchronized?sponsor=1" - }, - "peerDependencies": { - "prettier": "*" - } - }, - "packages/react/node_modules/@primer/primitives": { - "version": "9.1.1", - "license": "MIT", - "dependencies": { - "@prettier/sync": "^0.5.2", - "prettier": "3.3" - } - }, "packages/react/node_modules/@rollup/plugin-commonjs": { "version": "25.0.4", "dev": true, @@ -30477,19 +30457,6 @@ "url": "https://github.com/sponsors/sindresorhus" } }, - "packages/react/node_modules/prettier": { - "version": "3.3.3", - "license": "MIT", - "bin": { - "prettier": "bin/prettier.cjs" - }, - "engines": { - "node": ">=14" - }, - "funding": { - "url": "https://github.com/prettier/prettier?sponsor=1" - } - }, "packages/react/node_modules/rollup-plugin-visualizer": { "version": "5.9.2", "dev": true, diff --git a/packages/react/package.json b/packages/react/package.json index 32b37b76e72..a5aed81896b 100644 --- a/packages/react/package.json +++ b/packages/react/package.json @@ -85,7 +85,6 @@ "@primer/behaviors": "^1.7.2", "@primer/live-region-element": "^0.7.1", "@primer/octicons-react": "^19.9.0", - "@primer/primitives": "^9.0.3", "@styled-system/css": "^5.1.5", "@styled-system/props": "^5.1.5", "@styled-system/theme-get": "^5.1.2", @@ -209,6 +208,7 @@ "yaml": "2.3.4" }, "peerDependencies": { + "@primer/primitives": "9.x || 10.x", "@types/react": "^18.0.0", "@types/react-dom": "^18.0.0", "@types/styled-components": "^5.1.11",