react-intlayer 5.5.10 → 5.5.11
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 +2 -2
- package/package.json +17 -14
package/README.md
CHANGED
|
@@ -104,7 +104,7 @@ By default, Intlayer scans for files with the extension `.content.{json,ts,tsx,j
|
|
|
104
104
|
|
|
105
105
|
### Declare your content
|
|
106
106
|
|
|
107
|
-
`react-intlayer` is made to work with the [`intlayer` package](https://github.com/aymericzip/intlayer/blob/main/docs/en/packages/intlayer/index.md).`intlayer` is a package that allows you to declare your content anywhere in your code. It converts multilingual content declarations into structured dictionaries that integrate seamlessly into your application.
|
|
107
|
+
`react-intlayer` is made to work with the [`intlayer` package](https://github.com/aymericzip/intlayer/blob/main/docs/docs/en/packages/intlayer/index.md).`intlayer` is a package that allows you to declare your content anywhere in your code. It converts multilingual content declarations into structured dictionaries that integrate seamlessly into your application.
|
|
108
108
|
|
|
109
109
|
Here’s an example of content declaration:
|
|
110
110
|
|
|
@@ -190,7 +190,7 @@ const Component1Example = () => {
|
|
|
190
190
|
|
|
191
191
|
Intlayer provides a lot of features to help you internationalize your React application.
|
|
192
192
|
|
|
193
|
-
**To learn more about these features, refer to the [React Internationalization (i18n) with Intlayer and Vite and React](https://github.com/aymericzip/intlayer/blob/main/docs/en/intlayer_with_vite+react.md) guide for Vite and React Application, or the [React Internationalization (i18n) with Intlayer and React (CRA)](https://intlayer.org/doc/environment/create-react-app) guide for React Create App.**
|
|
193
|
+
**To learn more about these features, refer to the [React Internationalization (i18n) with Intlayer and Vite and React](https://github.com/aymericzip/intlayer/blob/main/docs/docs/en/intlayer_with_vite+react.md) guide for Vite and React Application, or the [React Internationalization (i18n) with Intlayer and React (CRA)](https://intlayer.org/doc/environment/create-react-app) guide for React Create App.**
|
|
194
194
|
|
|
195
195
|
## Functions provided by `react-intlayer` package
|
|
196
196
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "react-intlayer",
|
|
3
|
-
"version": "5.5.
|
|
3
|
+
"version": "5.5.11",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "Easily internationalize i18n your React applications with type-safe multilingual content management.",
|
|
6
6
|
"keywords": [
|
|
@@ -69,11 +69,11 @@
|
|
|
69
69
|
],
|
|
70
70
|
"dependencies": {
|
|
71
71
|
"js-cookie": "^3.0.5",
|
|
72
|
-
"@intlayer/
|
|
73
|
-
"@intlayer/
|
|
74
|
-
"@intlayer/
|
|
75
|
-
"@intlayer/
|
|
76
|
-
"@intlayer/editor-react": "5.5.
|
|
72
|
+
"@intlayer/config": "5.5.11",
|
|
73
|
+
"@intlayer/dictionaries-entry": "5.5.11",
|
|
74
|
+
"@intlayer/core": "5.5.11",
|
|
75
|
+
"@intlayer/api": "5.5.11",
|
|
76
|
+
"@intlayer/editor-react": "5.5.11"
|
|
77
77
|
},
|
|
78
78
|
"devDependencies": {
|
|
79
79
|
"@craco/types": "^7.1.0",
|
|
@@ -89,7 +89,9 @@
|
|
|
89
89
|
"tsc-alias": "^1.8.16",
|
|
90
90
|
"tsup": "^8.5.0",
|
|
91
91
|
"typescript": "^5.8.3",
|
|
92
|
-
"
|
|
92
|
+
"uuid": "^11.1.0",
|
|
93
|
+
"vitest": "^3.2.2",
|
|
94
|
+
"@intlayer/backend": "5.5.11",
|
|
93
95
|
"@utils/eslint-config": "1.0.4",
|
|
94
96
|
"@utils/ts-config": "1.0.4",
|
|
95
97
|
"@utils/ts-config-types": "1.0.4",
|
|
@@ -98,12 +100,12 @@
|
|
|
98
100
|
"peerDependencies": {
|
|
99
101
|
"react": ">=16.0.0",
|
|
100
102
|
"react-dom": ">=16.0.0",
|
|
101
|
-
"@intlayer/
|
|
102
|
-
"@intlayer/dictionaries-entry": "5.5.
|
|
103
|
-
"@intlayer/config": "5.5.
|
|
104
|
-
"@intlayer/
|
|
105
|
-
"@intlayer/
|
|
106
|
-
"intlayer": "5.5.
|
|
103
|
+
"@intlayer/editor-react": "5.5.11",
|
|
104
|
+
"@intlayer/dictionaries-entry": "5.5.11",
|
|
105
|
+
"@intlayer/config": "5.5.11",
|
|
106
|
+
"@intlayer/core": "5.5.11",
|
|
107
|
+
"@intlayer/api": "5.5.11",
|
|
108
|
+
"intlayer": "5.5.11"
|
|
107
109
|
},
|
|
108
110
|
"engines": {
|
|
109
111
|
"node": ">=14.18"
|
|
@@ -122,7 +124,8 @@
|
|
|
122
124
|
"prettier": "prettier . --check",
|
|
123
125
|
"prettier:fix": "prettier . --write",
|
|
124
126
|
"reset": "pnpm clean & pnpm build",
|
|
125
|
-
"test": "",
|
|
127
|
+
"test": "vitest run",
|
|
128
|
+
"test:watch": "vitest",
|
|
126
129
|
"typecheck": "tsup --project ./tsconfig.json --noEmit"
|
|
127
130
|
}
|
|
128
131
|
}
|