@icons-pack/react-simple-icons 13.11.1 → 13.11.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.
Files changed (2) hide show
  1. package/README.md +2 -8
  2. package/package.json +6 -13
package/README.md CHANGED
@@ -3,7 +3,7 @@
3
3
 
4
4
  # react-simple-icons
5
5
 
6
- This package provides the [Simple Icons 16.1.0](https://github.com/simple-icons/simple-icons/releases/tag/16.1.0)
6
+ This package provides the [Simple Icons 16.8.0](https://github.com/simple-icons/simple-icons/releases/tag/16.8.0)
7
7
  packaged as a set of [React](https://facebook.github.io/react/) components.
8
8
 
9
9
  [![www.npmjs.com!](https://img.shields.io/npm/v/@icons-pack/react-simple-icons?color=CB061D&style=flat-square)](https://www.npmjs.com/package/@icons-pack/react-simple-icons)
@@ -16,11 +16,9 @@ packaged as a set of [React](https://facebook.github.io/react/) components.
16
16
  Install the package in your project directory with:
17
17
 
18
18
  ```shell
19
- npm i @icons-pack/react-simple-icons
19
+ npm add @icons-pack/react-simple-icons
20
20
  ```
21
21
 
22
- > TypeScript Support
23
-
24
22
  ## Usage
25
23
 
26
24
  You can use [simpleicons.org](https://simpleicons.org) to find a specific icon. When importing an icon, keep in mind
@@ -31,10 +29,6 @@ that the names of the icons are [upperCamelCase](https://github.com/samverschuer
31
29
  - [`azure devOps`](https://simpleicons.org/?q=azure%20devOps) is exposed as
32
30
  `{ SiAzuredevops } from @icons-pack/react-simple-icons`
33
31
 
34
- ## Demo
35
-
36
- [Edit codesandbox](https://codesandbox.io/s/interesting-yonath-x7o7g?file=/src/App.js)
37
-
38
32
  ## Basic example
39
33
 
40
34
  ```jsx
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@icons-pack/react-simple-icons",
3
- "version": "13.11.1",
3
+ "version": "13.11.2",
4
4
  "description": "This package provides the Simple Icons packaged as a set of React components.",
5
5
  "keywords": [
6
6
  "react",
@@ -38,6 +38,10 @@
38
38
  "./icons/*": "./icons/*"
39
39
  },
40
40
  "sideEffects": false,
41
+ "engines": {
42
+ "node": ">=24",
43
+ "pnpm": ">=10"
44
+ },
41
45
  "files": [
42
46
  "./src/icons",
43
47
  "icons",
@@ -48,28 +52,19 @@
48
52
  "*.mjs",
49
53
  "*.cjs"
50
54
  ],
51
- "lint-staged": {
52
- "./**/*.+(js|json)": [
53
- "prettier --write"
54
- ]
55
- },
56
55
  "devDependencies": {
57
56
  "@changesets/changelog-github": "0.5.2",
58
57
  "@changesets/cli": "2.29.8",
59
58
  "@commitlint/cli": "19.4.0",
60
59
  "@commitlint/config-conventional": "19.2.2",
60
+ "@j178/prek": "0.3.2",
61
61
  "@types/node": "22.3.0",
62
62
  "@types/react": "^18",
63
63
  "@vitejs/plugin-react": "4.3.1",
64
- "husky": "9.1.4",
65
- "lint-staged": "15.2.9",
66
- "prettier": "3.3.3",
67
- "prettier-eslint": "16.3.0",
68
64
  "react": "^18",
69
65
  "rimraf": "6.0.1",
70
66
  "signale": "1.4.0",
71
67
  "simple-icons": "16.8.0",
72
- "turbo": "2.0.14",
73
68
  "typescript": "5.5.4",
74
69
  "uppercamelcase": "3.0.0",
75
70
  "vite": "5.4.1",
@@ -84,12 +79,10 @@
84
79
  "scripts": {
85
80
  "clean": "rimraf -rf icons base.cjs base.d.ts base.mjs index.cjs index.d.ts index.mjs types.d.ts",
86
81
  "build": "pnpm clean && vite build",
87
- "lint:types": "tsc --noEmit",
88
82
  "clean:icons": "rimraf -rf ./src/icons/**",
89
83
  "clean:files": "rimraf -rf ./src/index.ts",
90
84
  "bump": "pnpm install -D simple-icons@latest && node scripts/update-readme.mjs",
91
85
  "generate:icons": "pnpm clean:icons && pnpm clean:files && node scripts/generate-icons.mjs",
92
- "prettier:format": "prettier --config .prettierrc \"./**/*.+(js|json|ts|tsx)\" --write",
93
86
  "changeset": "changeset",
94
87
  "version": "changeset version",
95
88
  "release": "changeset publish"