@qumra/fanar 0.0.2 → 0.0.4

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 (1) hide show
  1. package/package.json +69 -75
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@qumra/fanar",
3
- "version": "0.0.2",
3
+ "version": "0.0.4",
4
4
  "type": "module",
5
5
  "description": "Qumra's Arabic-first component library and design tokens. Tailwind 4, RSC-safe.",
6
6
  "license": "UNLICENSED",
@@ -13,56 +13,41 @@
13
13
  "arabic"
14
14
  ],
15
15
  "exports": {
16
- ".": "./src/index.ts",
17
- "./lib": "./src/lib.ts",
18
- "./tokens": "./src/tokens/tokens.ts",
19
- "./orb": "./src/orb/index.ts",
20
- "./editor": "./src/editor/index.ts",
21
- "./notifications": "./src/notifications/index.ts",
22
- "./ai": "./src/ai/index.ts",
23
- "./editor.css": "./src/editor/editor.css",
24
- "./tokens.css": "./src/tokens/tokens.css",
25
- "./tokens.json": "./src/tokens/tokens.json",
16
+ ".": {
17
+ "types": "./dist/index.d.ts",
18
+ "import": "./dist/index.js"
19
+ },
20
+ "./lib": {
21
+ "types": "./dist/lib.d.ts",
22
+ "import": "./dist/lib.js"
23
+ },
24
+ "./tokens": {
25
+ "types": "./dist/tokens.d.ts",
26
+ "import": "./dist/tokens.js"
27
+ },
28
+ "./orb": {
29
+ "types": "./dist/orb.d.ts",
30
+ "import": "./dist/orb.js"
31
+ },
32
+ "./editor": {
33
+ "types": "./dist/editor.d.ts",
34
+ "import": "./dist/editor.js"
35
+ },
36
+ "./notifications": {
37
+ "types": "./dist/notifications.d.ts",
38
+ "import": "./dist/notifications.js"
39
+ },
40
+ "./ai": {
41
+ "types": "./dist/ai.d.ts",
42
+ "import": "./dist/ai.js"
43
+ },
44
+ "./editor.css": "./dist/editor.css",
45
+ "./tokens.css": "./dist/tokens.css",
46
+ "./tokens.json": "./dist/tokens.json",
26
47
  "./package.json": "./package.json"
27
48
  },
28
49
  "publishConfig": {
29
- "access": "public",
30
- "main": "./dist/index.js",
31
- "types": "./dist/index.d.ts",
32
- "exports": {
33
- ".": {
34
- "types": "./dist/index.d.ts",
35
- "import": "./dist/index.js"
36
- },
37
- "./lib": {
38
- "types": "./dist/lib.d.ts",
39
- "import": "./dist/lib.js"
40
- },
41
- "./tokens": {
42
- "types": "./dist/tokens.d.ts",
43
- "import": "./dist/tokens.js"
44
- },
45
- "./orb": {
46
- "types": "./dist/orb.d.ts",
47
- "import": "./dist/orb.js"
48
- },
49
- "./editor": {
50
- "types": "./dist/editor.d.ts",
51
- "import": "./dist/editor.js"
52
- },
53
- "./notifications": {
54
- "types": "./dist/notifications.d.ts",
55
- "import": "./dist/notifications.js"
56
- },
57
- "./ai": {
58
- "types": "./dist/ai.d.ts",
59
- "import": "./dist/ai.js"
60
- },
61
- "./editor.css": "./dist/editor.css",
62
- "./tokens.css": "./dist/tokens.css",
63
- "./tokens.json": "./dist/tokens.json",
64
- "./package.json": "./package.json"
65
- }
50
+ "access": "public"
66
51
  },
67
52
  "files": [
68
53
  "dist"
@@ -70,29 +55,6 @@
70
55
  "sideEffects": [
71
56
  "*.css"
72
57
  ],
73
- "scripts": {
74
- "verify": "node scripts/verify.mjs",
75
- "typecheck": "tsc --noEmit",
76
- "lint": "eslint .",
77
- "format": "prettier --write .",
78
- "format:check": "prettier --check .",
79
- "check-tsconfig": "node scripts/check-tsconfig.mjs",
80
- "check-engines": "node scripts/check-engines.mjs",
81
- "check-tokens": "node scripts/check.mjs",
82
- "check-contrast": "node scripts/check-contrast.mjs",
83
- "test": "vitest run",
84
- "check-publish": "node scripts/check-publish.mjs",
85
- "test:watch": "vitest",
86
- "generate": "node scripts/generate.mjs",
87
- "generate:ts": "node scripts/generate-ts.mjs",
88
- "extract": "node scripts/extract.mjs",
89
- "build": "node scripts/generate.mjs && node scripts/generate-ts.mjs && node -e \"require('fs').rmSync('dist',{recursive:true,force:true})\" && tsup",
90
- "size": "size-limit",
91
- "dep-order": "node scripts/dep-order.mjs",
92
- "changeset": "changeset",
93
- "changeset:version": "changeset version",
94
- "changeset:publish": "changeset publish"
95
- },
96
58
  "devDependencies": {
97
59
  "@changesets/cli": "^3.0.1",
98
60
  "@eslint/js": "^10.0.1",
@@ -159,10 +121,12 @@
159
121
  },
160
122
  "peerDependencies": {
161
123
  "@google/model-viewer": ">=4.0.0",
124
+ "@qumra/jawab-ai": "^0.1.0",
125
+ "@types/react": "^19.0.0",
126
+ "@types/react-dom": "^19.0.0",
162
127
  "react": "^19.0.0",
163
128
  "react-dom": "^19.0.0",
164
129
  "tailwindcss": "^4.0.0",
165
- "@qumra/jawab-ai": "^0.1.0",
166
130
  "three": ">=0.171.0"
167
131
  },
168
132
  "peerDependenciesMeta": {
@@ -172,6 +136,12 @@
172
136
  "@qumra/jawab-ai": {
173
137
  "optional": true
174
138
  },
139
+ "@types/react": {
140
+ "optional": true
141
+ },
142
+ "@types/react-dom": {
143
+ "optional": true
144
+ },
175
145
  "tailwindcss": {
176
146
  "optional": true
177
147
  },
@@ -179,9 +149,33 @@
179
149
  "optional": true
180
150
  }
181
151
  },
182
- "packageManager": "pnpm@11.22.0",
183
152
  "engines": {
184
153
  "node": ">=22.22.2",
185
154
  "pnpm": ">=11.0.0"
186
- }
187
- }
155
+ },
156
+ "scripts": {
157
+ "verify": "node scripts/verify.mjs",
158
+ "typecheck": "tsc --noEmit",
159
+ "lint": "eslint .",
160
+ "format": "prettier --write .",
161
+ "format:check": "prettier --check .",
162
+ "check-tsconfig": "node scripts/check-tsconfig.mjs",
163
+ "check-engines": "node scripts/check-engines.mjs",
164
+ "check-tokens": "node scripts/check.mjs",
165
+ "check-contrast": "node scripts/check-contrast.mjs",
166
+ "test": "vitest run",
167
+ "check-publish": "node scripts/check-publish.mjs",
168
+ "test:watch": "vitest",
169
+ "generate": "node scripts/generate.mjs",
170
+ "generate:ts": "node scripts/generate-ts.mjs",
171
+ "extract": "node scripts/extract.mjs",
172
+ "build": "node scripts/generate.mjs && node scripts/generate-ts.mjs && node -e \"require('fs').rmSync('dist',{recursive:true,force:true})\" && tsup",
173
+ "size": "size-limit",
174
+ "dep-order": "node scripts/dep-order.mjs",
175
+ "changeset": "changeset",
176
+ "changeset:version": "changeset version",
177
+ "changeset:publish": "changeset publish"
178
+ },
179
+ "main": "./dist/index.js",
180
+ "types": "./dist/index.d.ts"
181
+ }