@kbach/react 0.6.51 → 1.0.0-beta.1

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,17 +1,26 @@
1
1
  {
2
2
  "name": "@kbach/react",
3
- "version": "0.6.51",
4
- "description": "React / React Native components and hooks for the Kbach framework",
3
+ "version": "1.0.0-beta.1",
4
+ "description": "A utility-first styling engine for React, powered by a real Rust/WASM core — Tailwind CSS v4 feature parity with Kbach's own color palette.",
5
+ "keywords": ["css", "react", "tailwind", "utility-first", "wasm", "styling"],
5
6
  "license": "MIT",
7
+ "author": "semsakadanupol",
6
8
  "repository": {
7
9
  "type": "git",
8
10
  "url": "git+https://github.com/semsakadanupol/kbach.git",
9
11
  "directory": "packages/react"
10
12
  },
11
13
  "homepage": "https://github.com/semsakadanupol/kbach#readme",
12
- "bugs": "https://github.com/semsakadanupol/kbach/issues",
14
+ "bugs": {
15
+ "url": "https://github.com/semsakadanupol/kbach/issues"
16
+ },
17
+ "publishConfig": {
18
+ "access": "public"
19
+ },
20
+ "files": ["dist"],
13
21
  "source": "./src/index.ts",
14
22
  "main": "./dist/index.js",
23
+ "module": "./dist/index.mjs",
15
24
  "types": "./dist/index.d.ts",
16
25
  "exports": {
17
26
  ".": {
@@ -32,73 +41,38 @@
32
41
  "import": "./dist/jsx-dev-runtime.mjs",
33
42
  "require": "./dist/jsx-dev-runtime.js"
34
43
  },
35
- "./types": {
36
- "types": "./types.d.ts"
37
- },
38
44
  "./vite": {
39
45
  "types": "./dist/vite-plugin.d.ts",
40
- "source": "./src/vite-plugin.ts",
46
+ "source": "./src/vite-plugin/index.ts",
41
47
  "import": "./dist/vite-plugin.mjs",
42
48
  "require": "./dist/vite-plugin.js"
43
- },
44
- "./native": {
45
- "types": "./dist/native.d.ts",
46
- "source": "./src/native/index.ts",
47
- "import": "./dist/native.js",
48
- "require": "./dist/native.js"
49
- },
50
- "./babel": "./src/native/babel/index.js",
51
- "./babel-plugin": "./src/native/babel-plugin/index.js"
49
+ }
52
50
  },
53
51
  "scripts": {
54
52
  "build": "tsup",
55
53
  "dev": "tsup --watch",
56
54
  "test": "vitest run --passWithNoTests",
57
55
  "lint": "tsc --noEmit",
58
- "postinstall": "node scripts/postinstall.js"
56
+ "generate:colors": "node ../core-engine/scripts/generate-palette.mjs src/generatedPalette.ts"
57
+ },
58
+ "dependencies": {
59
+ "@kbach/core-engine": "1.0.0-beta.2"
59
60
  },
60
61
  "devDependencies": {
61
- "@babel/core": "^7.29.7",
62
- "@testing-library/react": "^16.3.2",
63
- "@types/node": "^20.19.42",
64
62
  "@types/react": "^19.2.0",
65
- "@types/react-dom": "^19.2.4",
66
63
  "jsdom": "^30.0.1",
67
- "react-dom": "^19.2.3",
68
64
  "tsup": "^8.0.0",
65
+ "typescript": "^6.0.0",
69
66
  "vite": "^5.4.21",
70
67
  "vitest": "^1.0.0"
71
68
  },
72
69
  "peerDependencies": {
73
- "@babel/core": "^7.0.0",
74
70
  "react": ">=18.0.0",
75
- "react-native": ">=0.70.0",
76
71
  "vite": ">=4.0.0"
77
72
  },
78
73
  "peerDependenciesMeta": {
79
- "@babel/core": {
80
- "optional": true
81
- },
82
- "react-native": {
83
- "optional": true
84
- },
85
74
  "vite": {
86
75
  "optional": true
87
76
  }
88
- },
89
- "publishConfig": {
90
- "access": "public"
91
- },
92
- "files": [
93
- "dist",
94
- "scripts",
95
- "src/native/babel-plugin",
96
- "src/native/babel",
97
- "types.d.ts",
98
- "jsx-runtime.js",
99
- "jsx-dev-runtime.js",
100
- "kbach-react.md",
101
- "KBACH.md",
102
- "README.md"
103
- ]
77
+ }
104
78
  }