@gamecrafters/base-ui-icons 0.0.5 → 0.0.6

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 CHANGED
@@ -44,9 +44,6 @@
44
44
 
45
45
  ## Getting Started
46
46
 
47
- To use the icons, install the published package. To work on the icon set itself,
48
- clone the repo and run the build pipeline locally.
49
-
50
47
  ### Prerequisites
51
48
 
52
49
  * Node.js 24 or later
@@ -67,7 +64,7 @@ clone the repo and run the build pipeline locally.
67
64
  ## Usage
68
65
 
69
66
  ```jsx
70
- import { AddCircleRegular, AlertRegular } from '@gamecrafters/base-ui-icons/react'
67
+ import { AddCircleRegular, AlertRegular } from '@gamecrafters/base-ui-icons'
71
68
 
72
69
  const Toolbar = () => {
73
70
  return (
package/package.json CHANGED
@@ -1,19 +1,19 @@
1
1
  {
2
2
  "name": "@gamecrafters/base-ui-icons",
3
- "version": "0.0.5",
3
+ "version": "0.0.6",
4
4
  "description": "",
5
- "main": "./lib/react/index.js",
6
- "module": "./lib/react/index.mjs",
7
- "types": "./lib/react/index.d.ts",
5
+ "main": "./lib/index.js",
6
+ "module": "./lib/index.mjs",
7
+ "types": "./lib/index.d.ts",
8
8
  "exports": {
9
- "./react": {
9
+ ".": {
10
10
  "import": {
11
- "types": "./lib/react/index.d.mts",
12
- "default": "./lib/react/index.mjs"
11
+ "types": "./lib/index.d.mts",
12
+ "default": "./lib/index.mjs"
13
13
  },
14
14
  "require": {
15
- "types": "./lib/react/index.d.ts",
16
- "default": "./lib/react/index.js"
15
+ "types": "./lib/index.d.ts",
16
+ "default": "./lib/index.js"
17
17
  }
18
18
  }
19
19
  },
@@ -24,9 +24,9 @@
24
24
  "scripts": {
25
25
  "build:optimize": "svgo icons --config svgo.config.js",
26
26
  "build:data": "node scripts/build.js generate-data -i \"icons/**/*.svg\" -o build/data.json -k keywords.json",
27
- "build:react": "node scripts/build.js generate-icons -i build/data.json -o build/react",
27
+ "build:icons": "node scripts/build.js generate-icons -i build/data.json -o build",
28
28
  "build:bundle": "rollup --config rollup.config.mjs",
29
- "build": "npm run build:optimize && npm run build:data && npm run build:react && npm run build:bundle",
29
+ "build": "npm run build:optimize && npm run build:data && npm run build:icons && npm run build:bundle",
30
30
  "typecheck": "tsc --noEmit"
31
31
  },
32
32
  "publishConfig": {
File without changes
File without changes
File without changes
File without changes