Skip to content

Commit 2408281

Browse files
Upgrade yarn & catalogize react/react-dom (and types)
1 parent 01c0d60 commit 2408281

File tree

14 files changed

+7815
-9275
lines changed

14 files changed

+7815
-9275
lines changed

.yarn/plugins/@yarnpkg/plugin-interactive-tools.cjs

Lines changed: 0 additions & 541 deletions
This file was deleted.

.yarn/plugins/@yarnpkg/plugin-typescript.cjs

Lines changed: 0 additions & 9 deletions
This file was deleted.

.yarn/plugins/@yarnpkg/plugin-workspace-tools.cjs

Lines changed: 0 additions & 28 deletions
This file was deleted.

.yarn/releases/yarn-3.5.0.cjs

Lines changed: 0 additions & 873 deletions
This file was deleted.

.yarn/releases/yarn-4.12.0.cjs

Lines changed: 942 additions & 0 deletions
Large diffs are not rendered by default.

.yarnrc.yml

Lines changed: 11 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,17 @@
1+
catalog:
2+
"@types/react": ~18.3.27
3+
"@types/react-dom": ~18.3.7
4+
react: ~18.3.1
5+
react-dom: ~18.3.1
6+
17
checksumBehavior: update
28

9+
compressionLevel: mixed
10+
11+
enableGlobalCache: false
12+
313
initScope: stream-io
414

515
nodeLinker: node-modules
616

7-
plugins:
8-
- path: .yarn/plugins/@yarnpkg/plugin-interactive-tools.cjs
9-
spec: "@yarnpkg/plugin-interactive-tools"
10-
- path: .yarn/plugins/@yarnpkg/plugin-workspace-tools.cjs
11-
spec: "@yarnpkg/plugin-workspace-tools"
12-
- path: .yarn/plugins/@yarnpkg/plugin-typescript.cjs
13-
spec: "@yarnpkg/plugin-typescript"
14-
15-
yarnPath: .yarn/releases/yarn-3.5.0.cjs
17+
yarnPath: .yarn/releases/yarn-4.12.0.cjs

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"name": "@stream-io/feeds-js-root",
33
"description": "Stream Feeds JS SDKs",
44
"author": "https://getstream.io",
5-
"packageManager": "yarn@3.5.0",
5+
"packageManager": "yarn@4.12.0",
66
"private": true,
77
"license": "See license in LICENSE",
88
"workspaces": [

packages/feeds-client/package.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -56,12 +56,11 @@
5656
},
5757
"devDependencies": {
5858
"@stream-io/node-sdk": "0.6.0",
59-
"@types/react": "^17",
59+
"@types/react": "catalog:",
6060
"@vitest/coverage-v8": "3.2.4",
6161
"concurrently": "^9.2.1",
6262
"dotenv": "^16.4.5",
6363
"human-id": "^4.1.1",
64-
"react": "^17",
6564
"rimraf": "^6.0.1",
6665
"typescript": "^5.9.3",
6766
"vite": "^7",

packages/react-native-sdk/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@
4949
"@testing-library/react-native": "13.2.0",
5050
"@types/eslint": "9.6.1",
5151
"@types/jest": "^30.0.0",
52-
"@types/react": "^19.0.0",
52+
"@types/react": "catalog:",
5353
"@types/react-test-renderer": "19.0.0",
5454
"@types/use-sync-external-store": "^1",
5555
"eslint": "^9.28.0",
@@ -58,7 +58,7 @@
5858
"eslint-plugin-react-native": "^5.0.0",
5959
"jest": "^30.0.0",
6060
"prettier": "^3.5.3",
61-
"react": "19.0.0",
61+
"react": "catalog:",
6262
"react-native": "0.79.5",
6363
"react-native-builder-bob": "0.40.12",
6464
"react-test-renderer": "19.0.0",

packages/react-sdk/package.json

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -11,13 +11,10 @@
1111
},
1212
"scripts": {
1313
"build": "rimraf ./dist; tsc",
14-
"prepare": "yarn run build",
15-
"prepack": "cp ../../LICENSE ./LICENSE",
16-
"postpack": "rimraf ./LICENSE",
17-
"version": "echo \"export default /$npm_package_version';\" > src/version.ts"
14+
"prepublishOnly": "yarn run build"
1815
},
1916
"peerDependencies": {
20-
"react": "^18 || ^19"
17+
"react": "^17 || ^18 || ^19"
2118
},
2219
"files": [
2320
"dist"

0 commit comments

Comments
 (0)