@frontify/fondue-icons 0.1.43 → 0.1.44

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/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@frontify/fondue-icons",
3
3
  "type": "module",
4
- "version": "0.1.43",
4
+ "version": "0.1.44",
5
5
  "description": "Frontify's icon SVGs",
6
6
  "homepage": "https://github.com/Frontify/fondue",
7
7
  "repository": {
@@ -12,27 +12,44 @@
12
12
  "bugs": {
13
13
  "url": "https://github.com/frontify/fondue/issues"
14
14
  },
15
+ "keywords": [
16
+ "frontify",
17
+ "react",
18
+ "icons",
19
+ "design system"
20
+ ],
21
+ "main": "src/index.ts",
22
+ "types": "src/index.ts",
15
23
  "files": [
16
- "icons"
24
+ "icons",
25
+ "dist"
17
26
  ],
18
27
  "engines": {
19
28
  "node": ">=18"
20
29
  },
30
+ "peerDependencies": {
31
+ "react": "^18"
32
+ },
21
33
  "devDependencies": {
22
- "@frontify/eslint-config-basic": "^0.19.0",
23
- "@iconify/tools": "^4.0.0",
34
+ "@frontify/eslint-config-react": "^0.17.0",
35
+ "@iconify/tools": "^4.0.2",
24
36
  "@types/lodash": "^4.14.202",
25
- "@types/node": "^18.19.14",
37
+ "@types/node": "^20.11.19",
38
+ "@types/react": "^18.2.55",
26
39
  "dotenv-cli": "^7.3.0",
27
40
  "eslint": "^8.56.0",
28
41
  "figma-api": "^1.11.0",
29
42
  "lodash": "^4.17.21",
30
43
  "prettier": "^3.2.5",
31
- "tsx": "^4.7.0",
44
+ "react": "^18.2.0",
45
+ "svgson": "^5.3.1",
46
+ "tsx": "^4.7.1",
32
47
  "typescript": "^5.3.3"
33
48
  },
34
49
  "scripts": {
35
- "start": "dotenv tsx src/index.ts",
50
+ "build": "pnpm build:download-new-icons && pnpm build:generate-react-icons",
51
+ "build:download-new-icons": "dotenv tsx scripts/download_new_icons.ts",
52
+ "build:generate-react-icons": "tsx scripts/generate_react_icons.ts",
36
53
  "lint": "eslint .",
37
54
  "lint:fix": "eslint --fix .",
38
55
  "typecheck": "tsc --noEmit"
package/src/index.ts ADDED
@@ -0,0 +1,5 @@
1
+ /* (c) Copyright Frontify Ltd., all rights reserved. */
2
+
3
+ export * from './icons';
4
+ export * as icons from './icons';
5
+ export { type IconNode, IconSize, type FondueIcon, type FondueIconProps } from './createFondueIcon';