@fichap/icons-react 1.0.16 → 1.0.17
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 +4 -0
- package/package.json +3 -3
package/README.md
CHANGED
|
@@ -8,6 +8,8 @@ React icon package generated from the shared `svgs/` source in the monorepo.
|
|
|
8
8
|
pnpm add @fichap/icons-react
|
|
9
9
|
```
|
|
10
10
|
|
|
11
|
+
Compatible with React 17, 18, and 19.
|
|
12
|
+
|
|
11
13
|
## Usage
|
|
12
14
|
|
|
13
15
|
```tsx
|
|
@@ -94,3 +96,5 @@ Notes:
|
|
|
94
96
|
```bash
|
|
95
97
|
pnpm --filter @fichap/icons-react build
|
|
96
98
|
```
|
|
99
|
+
|
|
100
|
+
This command regenerates `packages/react/src` from the shared `svgs/` source before compiling the package.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@fichap/icons-react",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.17",
|
|
4
4
|
"description": "Fichap Iconly-based icon library for React.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"keywords": [
|
|
@@ -36,12 +36,12 @@
|
|
|
36
36
|
}
|
|
37
37
|
},
|
|
38
38
|
"peerDependencies": {
|
|
39
|
-
"react": "
|
|
39
|
+
"react": "^17.0.0 || ^18.0.0 || ^19.0.0"
|
|
40
40
|
},
|
|
41
41
|
"devDependencies": {
|
|
42
42
|
"@types/react": "^18.2.0"
|
|
43
43
|
},
|
|
44
44
|
"scripts": {
|
|
45
|
-
"build": "tsup src/index.ts --format cjs,esm --dts --clean"
|
|
45
|
+
"build": "node ../../scripts/build.js && tsup src/index.ts --format cjs,esm --dts --clean"
|
|
46
46
|
}
|
|
47
47
|
}
|