@verbaly/react 0.86.0 → 0.86.2
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 +7 -7
- package/package.json +6 -6
package/README.md
CHANGED
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
<p align="center">
|
|
2
|
-
<img src="https://raw.githubusercontent.com/
|
|
2
|
+
<img src="https://raw.githubusercontent.com/verbaly-i18n/verbaly/develop/assets/logo.png" alt="Verbaly" width="300" />
|
|
3
3
|
</p>
|
|
4
4
|
|
|
5
5
|
<p align="center"><em>React bindings for Verbaly: hooks over the reactive core.</em></p>
|
|
6
6
|
|
|
7
7
|
<p align="center">
|
|
8
8
|
<a href="https://www.npmjs.com/package/@verbaly/react"><img src="https://img.shields.io/npm/v/@verbaly/react?logo=npm&color=cb3837" alt="npm version" /></a>
|
|
9
|
-
<a href="https://verbaly
|
|
10
|
-
<a href="https://scorecard.dev/viewer/?uri=github.com/
|
|
9
|
+
<a href="https://verbaly.dev/docs/frameworks/react"><img src="https://img.shields.io/npm/dependency-version/@verbaly/react/peer/react?logo=react&logoColor=61DAFB&label=React&color=20232A" alt="supported React versions" /></a>
|
|
10
|
+
<a href="https://scorecard.dev/viewer/?uri=github.com/verbaly-i18n/verbaly"><img src="https://api.scorecard.dev/projects/github.com/verbaly-i18n/verbaly/badge" alt="OpenSSF Scorecard" /></a>
|
|
11
11
|
<a href="https://www.npmjs.com/package/@verbaly/react#provenance"><img src="https://img.shields.io/badge/provenance-SLSA%20v1-3fb950?logo=npm" alt="published with npm provenance" /></a>
|
|
12
|
-
<a href="https://github.com/
|
|
12
|
+
<a href="https://github.com/verbaly-i18n/verbaly/blob/develop/LICENSE"><img src="https://img.shields.io/npm/l/@verbaly/react?color=blue" alt="MIT" /></a>
|
|
13
13
|
</p>
|
|
14
14
|
|
|
15
15
|
---
|
|
16
16
|
|
|
17
|
-
React hooks for [Verbaly](https://github.com/
|
|
17
|
+
React hooks for [Verbaly](https://github.com/verbaly-i18n/verbaly): a thin layer (React 18/19) over the reactive core via `useSyncExternalStore`.
|
|
18
18
|
|
|
19
19
|
**Preact works too**, through `preact/compat`, with no extra package and no configuration of ours: the test suite runs a second time with React resolved to `preact/compat` (hooks, locale switching, `<Trans>` and server rendering), so this is measured, not assumed.
|
|
20
20
|
|
|
@@ -106,10 +106,10 @@ import { Trans } from '@verbaly/react/server';
|
|
|
106
106
|
|
|
107
107
|
In Next.js, `@verbaly/next/server` exports a `<Trans>` that finds the request's instance itself.
|
|
108
108
|
|
|
109
|
-
📖 Docs: **https://verbaly
|
|
109
|
+
📖 Docs: **https://verbaly.dev/docs/frameworks/react**
|
|
110
110
|
|
|
111
111
|
> ⚠️ Early development (`0.x`): API not stable yet.
|
|
112
112
|
|
|
113
113
|
## License
|
|
114
114
|
|
|
115
|
-
[MIT](https://github.com/
|
|
115
|
+
[MIT](https://github.com/verbaly-i18n/verbaly/blob/develop/LICENSE) © Aron Soto
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@verbaly/react",
|
|
3
|
-
"version": "0.86.
|
|
3
|
+
"version": "0.86.2",
|
|
4
4
|
"description": "React bindings for Verbaly: hooks over the reactive core.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"i18n",
|
|
@@ -12,12 +12,12 @@
|
|
|
12
12
|
"author": "Aron Soto",
|
|
13
13
|
"repository": {
|
|
14
14
|
"type": "git",
|
|
15
|
-
"url": "git+https://github.com/
|
|
15
|
+
"url": "git+https://github.com/verbaly-i18n/verbaly.git",
|
|
16
16
|
"directory": "packages/react"
|
|
17
17
|
},
|
|
18
|
-
"homepage": "https://verbaly
|
|
18
|
+
"homepage": "https://verbaly.dev/docs/frameworks/react",
|
|
19
19
|
"bugs": {
|
|
20
|
-
"url": "https://github.com/
|
|
20
|
+
"url": "https://github.com/verbaly-i18n/verbaly/issues"
|
|
21
21
|
},
|
|
22
22
|
"funding": {
|
|
23
23
|
"type": "github",
|
|
@@ -62,7 +62,7 @@
|
|
|
62
62
|
},
|
|
63
63
|
"peerDependencies": {
|
|
64
64
|
"react": "^18.0.0 || ^19.0.0",
|
|
65
|
-
"verbaly": "^0.86.
|
|
65
|
+
"verbaly": "^0.86.2"
|
|
66
66
|
},
|
|
67
67
|
"devDependencies": {
|
|
68
68
|
"@types/react": "^19.3.0",
|
|
@@ -72,7 +72,7 @@
|
|
|
72
72
|
"preact-render-to-string": "^6.8.3",
|
|
73
73
|
"react": "^19.3.1",
|
|
74
74
|
"react-dom": "^19.3.1",
|
|
75
|
-
"verbaly": "^0.86.
|
|
75
|
+
"verbaly": "^0.86.2"
|
|
76
76
|
},
|
|
77
77
|
"scripts": {
|
|
78
78
|
"build": "tsdown",
|