react-rx 4.2.2 → 4.2.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +10 -5
- package/package.json +15 -32
package/README.md
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
[](https://github.com/sanity-io/react-rx/actions/workflows/ci.yml) [](https://www.npmjs.com/package/react-rx)
|
|
2
2
|
|
|
3
3
|
[](https://react-rx.dev/)
|
|
4
4
|
|
|
@@ -25,9 +25,14 @@ Although they share a lot of similarities, and reactiveComponent is built on top
|
|
|
25
25
|
|
|
26
26
|
---
|
|
27
27
|
|
|
28
|
-
# Contributing and
|
|
28
|
+
# Contributing and releasing new versions to npm
|
|
29
29
|
|
|
30
|
-
|
|
31
|
-
Make the default branch, `current`, should be preselected. Check "Release new version" and press "Run workflow'.
|
|
30
|
+
This package lives in the [`react-rx` monorepo](https://github.com/sanity-io/react-rx) and uses [Changesets](https://github.com/changesets/changesets) to manage versioning and publishing.
|
|
32
31
|
|
|
33
|
-
|
|
32
|
+
When you make a change that should be released, add a changeset to your pull request:
|
|
33
|
+
|
|
34
|
+
```sh
|
|
35
|
+
pnpm changeset
|
|
36
|
+
```
|
|
37
|
+
|
|
38
|
+
Once pull requests with changesets are merged into the `current` branch, a "Version Packages" pull request is opened (and kept up to date) that bumps the affected package versions and updates their changelogs. Merging that pull request publishes the packages to npm through the [`Release` workflow](https://github.com/sanity-io/react-rx/actions/workflows/release.yml), which uses npm [Trusted Publishing](https://docs.npmjs.com/trusted-publishers) (OIDC).
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "react-rx",
|
|
3
|
-
"version": "4.2.
|
|
3
|
+
"version": "4.2.3",
|
|
4
4
|
"description": "React + RxJS = <3",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"action",
|
|
@@ -37,7 +37,8 @@
|
|
|
37
37
|
},
|
|
38
38
|
"repository": {
|
|
39
39
|
"type": "git",
|
|
40
|
-
"url": "git+https://github.com/sanity-io/react-rx.git"
|
|
40
|
+
"url": "git+https://github.com/sanity-io/react-rx.git",
|
|
41
|
+
"directory": "packages/react-rx"
|
|
41
42
|
},
|
|
42
43
|
"license": "MIT",
|
|
43
44
|
"author": "Sanity.io <hello@sanity.io>",
|
|
@@ -62,17 +63,7 @@
|
|
|
62
63
|
"dist",
|
|
63
64
|
"src"
|
|
64
65
|
],
|
|
65
|
-
"scripts": {
|
|
66
|
-
"build": "pkg build --strict --clean --check",
|
|
67
|
-
"dev": "pnpm --filter 'react-rx-website' dev",
|
|
68
|
-
"format": "prettier --cache --write .",
|
|
69
|
-
"lint": "eslint --cache .",
|
|
70
|
-
"prepublishOnly": "pnpm build",
|
|
71
|
-
"test": "vitest run --typecheck",
|
|
72
|
-
"watch": "pnpm build -- --watch"
|
|
73
|
-
},
|
|
74
66
|
"browserslist": "extends @sanity/browserslist-config",
|
|
75
|
-
"prettier": "@sanity/prettier-config",
|
|
76
67
|
"dependencies": {
|
|
77
68
|
"observable-callback": "^1.0.3",
|
|
78
69
|
"react-compiler-runtime": "1.0.0",
|
|
@@ -80,37 +71,29 @@
|
|
|
80
71
|
},
|
|
81
72
|
"devDependencies": {
|
|
82
73
|
"@sanity/browserslist-config": "^1.0.5",
|
|
83
|
-
"@sanity/pkg-utils": "^8.1.
|
|
84
|
-
"@sanity/prettier-config": "^1.0.6",
|
|
85
|
-
"@sanity/semantic-release-preset": "^5.0.0",
|
|
74
|
+
"@sanity/pkg-utils": "^8.1.23",
|
|
86
75
|
"@testing-library/dom": "^10.4.1",
|
|
87
76
|
"@testing-library/react": "^16.3.0",
|
|
88
77
|
"@types/node": "^24.3.0",
|
|
89
|
-
"@types/react": "^19.2.
|
|
90
|
-
"@types/react-dom": "^19.2.
|
|
91
|
-
"@typescript-eslint/eslint-plugin": "^8.41.0",
|
|
92
|
-
"@typescript-eslint/parser": "^8.41.0",
|
|
78
|
+
"@types/react": "^19.2.7",
|
|
79
|
+
"@types/react-dom": "^19.2.3",
|
|
93
80
|
"@vitejs/plugin-react": "^5.0.3",
|
|
94
81
|
"babel-plugin-react-compiler": "1.0.0",
|
|
95
|
-
"eslint": "^9.34.0",
|
|
96
|
-
"eslint-config-prettier": "^10.1.8",
|
|
97
|
-
"eslint-plugin-react": "^7.37.5",
|
|
98
|
-
"eslint-plugin-react-hooks": "7.0.0",
|
|
99
|
-
"eslint-plugin-simple-import-sort": "^12.1.1",
|
|
100
82
|
"jsdom": "^26.1.0",
|
|
101
|
-
"
|
|
102
|
-
"react": "^19.2.
|
|
103
|
-
"react-
|
|
104
|
-
"react-test-renderer": "^19.1.1",
|
|
83
|
+
"react": "^19.2.1",
|
|
84
|
+
"react-dom": "^19.2.1",
|
|
85
|
+
"react-test-renderer": "^19.2.1",
|
|
105
86
|
"rxjs": "^7.8.2",
|
|
106
|
-
"semantic-release": "^24.2.7",
|
|
107
87
|
"typescript": "5.9.2",
|
|
108
|
-
"typescript-eslint": "^8.41.0",
|
|
109
88
|
"vitest": "^3.2.4"
|
|
110
89
|
},
|
|
111
90
|
"peerDependencies": {
|
|
112
91
|
"react": "^18.3 || >=19.0.0-0",
|
|
113
92
|
"rxjs": "^7"
|
|
114
93
|
},
|
|
115
|
-
"
|
|
116
|
-
|
|
94
|
+
"scripts": {
|
|
95
|
+
"build": "pkg build --strict --clean --check",
|
|
96
|
+
"test": "vitest run --typecheck",
|
|
97
|
+
"watch": "pnpm build -- --watch"
|
|
98
|
+
}
|
|
99
|
+
}
|