@sheet-i18n/react 0.1.2-canary.2 → 0.1.2-canary.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 +56 -2
- package/package.json +4 -4
package/README.md
CHANGED
|
@@ -1,3 +1,57 @@
|
|
|
1
|
-
#
|
|
1
|
+
# @sheet-i18n/react
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
i18n client logic based on React, part of the `sheet-i18n` ecosystem.
|
|
4
|
+
|
|
5
|
+
## Installation
|
|
6
|
+
|
|
7
|
+
To install this package, use your preferred package manager:
|
|
8
|
+
|
|
9
|
+
```bash
|
|
10
|
+
npm install @sheet-i18n/react
|
|
11
|
+
# or
|
|
12
|
+
yarn add @sheet-i18n/react
|
|
13
|
+
# or
|
|
14
|
+
pnpm add @sheet-i18n/react
|
|
15
|
+
```
|
|
16
|
+
|
|
17
|
+
## ✨ Features
|
|
18
|
+
|
|
19
|
+
✅ Combines `@sheet-i18n/react-core` and `@sheet-i18n/react-client` for a comprehensive i18n solution.
|
|
20
|
+
|
|
21
|
+
✅ Provides robust client-side logic for handling translations in React applications.
|
|
22
|
+
|
|
23
|
+
✅ Fully compatible with the `sheet-i18n` ecosystem.
|
|
24
|
+
|
|
25
|
+
## 📜 Scripts
|
|
26
|
+
|
|
27
|
+
These scripts are available in the package:
|
|
28
|
+
|
|
29
|
+
- **build**: Builds the library using `tsup`.
|
|
30
|
+
- **dev**: Watches for changes and rebuilds during development.
|
|
31
|
+
|
|
32
|
+
## 📦 Exports
|
|
33
|
+
|
|
34
|
+
The package provides the following exports:
|
|
35
|
+
|
|
36
|
+
- **CommonJS**: `./dist/index.js`
|
|
37
|
+
- **ES Module**: `./dist/index.mjs`
|
|
38
|
+
|
|
39
|
+
## ⚠️ Peer Dependencies
|
|
40
|
+
|
|
41
|
+
This package works best when used with compatible React and `sheet-i18n` libraries.
|
|
42
|
+
|
|
43
|
+
## 🛠️ Development Dependencies
|
|
44
|
+
|
|
45
|
+
- **@sheet-i18n/typescript-config**: Shared TypeScript configuration presets.
|
|
46
|
+
- **@swc/core**: A fast compiler for JavaScript and TypeScript.
|
|
47
|
+
|
|
48
|
+
## 🔑 Keywords
|
|
49
|
+
|
|
50
|
+
- `sheet-i18n`
|
|
51
|
+
- `react`
|
|
52
|
+
|
|
53
|
+
## 👨💻 Author
|
|
54
|
+
|
|
55
|
+
- **devAnderson**
|
|
56
|
+
- [GitHub Profile](https://github.com/chltjdrhd777)
|
|
57
|
+
- 📧 [Email](mailto:chltjdrhd777@gmail.com)
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@sheet-i18n/react",
|
|
3
|
-
"version": "0.1.2-canary.
|
|
3
|
+
"version": "0.1.2-canary.3",
|
|
4
4
|
"description": "i18n client logic based on react",
|
|
5
5
|
"main": "./dist/index.js",
|
|
6
6
|
"module": "./dist/index.mjs",
|
|
@@ -29,11 +29,11 @@
|
|
|
29
29
|
"license": "ISC",
|
|
30
30
|
"devDependencies": {
|
|
31
31
|
"@swc/core": "^1.10.2",
|
|
32
|
-
"@sheet-i18n/typescript-config": "0.2.3-canary.
|
|
32
|
+
"@sheet-i18n/typescript-config": "0.2.3-canary.1"
|
|
33
33
|
},
|
|
34
34
|
"dependencies": {
|
|
35
|
-
"@sheet-i18n/react-core": "0.1.2-canary.
|
|
36
|
-
"@sheet-i18n/react-client": "0.1.2-canary.
|
|
35
|
+
"@sheet-i18n/react-core": "0.1.2-canary.1",
|
|
36
|
+
"@sheet-i18n/react-client": "0.1.2-canary.3"
|
|
37
37
|
},
|
|
38
38
|
"scripts": {
|
|
39
39
|
"build": "tsup",
|