@kbach/ui 0.1.0-beta.7 → 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,105 +1,45 @@
1
1
  {
2
2
  "name": "@kbach/ui",
3
- "version": "0.1.0-beta.7",
4
- "description": "Tailwind-like utility classes and components for React web, React Native, and Expo",
3
+ "version": "1.0.0-beta.1",
4
+ "description": "A tiny, dependency-free clsx-style className composerjoin strings, arrays, and objects into one className, skipping anything falsy.",
5
+ "keywords": ["css", "classnames", "clsx", "tailwind", "utility-first", "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/ui"
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
+ "sideEffects": false,
21
+ "files": ["dist"],
13
22
  "source": "./src/index.ts",
14
23
  "main": "./dist/index.js",
24
+ "module": "./dist/index.mjs",
15
25
  "types": "./dist/index.d.ts",
16
26
  "exports": {
17
27
  ".": {
18
28
  "types": "./dist/index.d.ts",
19
29
  "source": "./src/index.ts",
20
- "react-native": "./dist/index.js",
21
30
  "import": "./dist/index.mjs",
22
31
  "require": "./dist/index.js"
23
- },
24
- "./jsx-runtime": {
25
- "types": "./dist/jsx-runtime.d.ts",
26
- "source": "./src/jsx-runtime.tsx",
27
- "import": "./dist/jsx-runtime.mjs",
28
- "require": "./dist/jsx-runtime.js"
29
- },
30
- "./jsx-dev-runtime": {
31
- "types": "./dist/jsx-dev-runtime.d.ts",
32
- "source": "./src/jsx-dev-runtime.tsx",
33
- "import": "./dist/jsx-dev-runtime.mjs",
34
- "require": "./dist/jsx-dev-runtime.js"
35
- },
36
- "./types": {
37
- "types": "./types.d.ts"
38
- },
39
- "./vite": {
40
- "types": "./dist/vite-plugin.d.ts",
41
- "source": "./src/vite-plugin.ts",
42
- "import": "./dist/vite-plugin.mjs",
43
- "require": "./dist/vite-plugin.js"
44
- },
45
- "./native": {
46
- "types": "./dist/native.d.ts",
47
- "source": "./src/native/index.ts",
48
- "import": "./dist/native.mjs",
49
- "require": "./dist/native.js"
50
- },
51
- "./babel": "./src/native/babel/index.js",
52
- "./babel-plugin": "./src/native/babel-plugin/index.js"
32
+ }
53
33
  },
54
34
  "scripts": {
55
35
  "build": "tsup",
56
36
  "dev": "tsup --watch",
57
37
  "test": "vitest run --passWithNoTests",
58
- "lint": "tsc --noEmit",
59
- "postinstall": "node scripts/postinstall.js"
38
+ "lint": "tsc --noEmit"
60
39
  },
61
40
  "devDependencies": {
62
- "@babel/core": "^7.29.7",
63
- "@testing-library/react": "^16.3.2",
64
- "@types/node": "^20.19.42",
65
- "@types/react": "^19.2.0",
66
- "@types/react-dom": "^19.2.4",
67
- "jsdom": "^30.0.1",
68
- "react-dom": "^19.2.3",
69
41
  "tsup": "^8.0.0",
70
- "vite": "^5.4.21",
42
+ "typescript": "^6.0.0",
71
43
  "vitest": "^1.0.0"
72
- },
73
- "peerDependencies": {
74
- "@babel/core": "^7.0.0",
75
- "react": ">=18.0.0",
76
- "react-native": ">=0.70.0",
77
- "vite": ">=4.0.0"
78
- },
79
- "peerDependenciesMeta": {
80
- "@babel/core": {
81
- "optional": true
82
- },
83
- "react-native": {
84
- "optional": true
85
- },
86
- "vite": {
87
- "optional": true
88
- }
89
- },
90
- "publishConfig": {
91
- "access": "public"
92
- },
93
- "files": [
94
- "dist",
95
- "scripts",
96
- "src/native/babel-plugin",
97
- "src/native/babel",
98
- "types.d.ts",
99
- "jsx-runtime.js",
100
- "jsx-dev-runtime.js",
101
- "kbach-ui.md",
102
- "KBACH.md",
103
- "README.md"
104
- ]
44
+ }
105
45
  }