@agenticindiedev/ui 0.2.0 → 0.2.2

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
@@ -31,13 +31,11 @@
31
31
  "description": "@agenticindiedev/ui - Modern React component library",
32
32
  "devDependencies": {
33
33
  "@happy-dom/global-registrator": "20.0.11",
34
- "@storybook/addon-essentials": "8.6.14",
35
- "@storybook/addon-interactions": "8.6.14",
34
+ "@storybook/addon-docs": "10.1.10",
36
35
  "@storybook/addon-links": "10.1.10",
37
- "@storybook/blocks": "8.6.14",
36
+ "@storybook/addon-vitest": "10.1.10",
38
37
  "@storybook/react": "10.1.10",
39
38
  "@storybook/react-vite": "10.1.10",
40
- "@storybook/test": "8.6.14",
41
39
  "@tailwindcss/postcss": "4.1.18",
42
40
  "@testing-library/jest-dom": "6.9.1",
43
41
  "@testing-library/react": "16.3.1",
@@ -48,6 +46,8 @@
48
46
  "@typescript-eslint/eslint-plugin": "8.50.1",
49
47
  "@typescript-eslint/parser": "8.50.1",
50
48
  "@vitejs/plugin-react": "5.1.2",
49
+ "@vitest/browser-playwright": "^4.0.16",
50
+ "@vitest/coverage-v8": "^4.0.16",
51
51
  "ajv": "8.17.1",
52
52
  "autoprefixer": "10.4.23",
53
53
  "eslint": "9.39.2",
@@ -55,22 +55,28 @@
55
55
  "eslint-plugin-prettier": "5.5.4",
56
56
  "eslint-plugin-react": "7.37.5",
57
57
  "eslint-plugin-react-hooks": "7.0.1",
58
+ "eslint-plugin-storybook": "^10.1.10",
59
+ "husky": "^9.1.7",
60
+ "lint-staged": "^16.2.7",
61
+ "playwright": "^1.57.0",
58
62
  "postcss": "8.5.6",
59
63
  "postcss-cli": "11.0.1",
60
64
  "prettier": "3.7.4",
61
65
  "react": "19.2.3",
62
66
  "react-dom": "19.2.3",
67
+ "sass": "^1.97.1",
63
68
  "storybook": "10.1.10",
64
69
  "tailwindcss": "4.1.18",
65
70
  "typescript": "5.9.3",
66
71
  "vite": "7.3.0",
67
- "vite-plugin-dts": "4.5.4"
72
+ "vite-plugin-dts": "4.5.4",
73
+ "vitest": "^4.0.16"
68
74
  },
69
75
  "exports": {
70
76
  ".": {
71
- "types": "./dist/index.d.ts",
72
77
  "import": "./dist/index.js",
73
- "require": "./dist/index.cjs"
78
+ "require": "./dist/index.cjs",
79
+ "types": "./dist/index.d.ts"
74
80
  },
75
81
  "./styles.css": "./dist/styles.css"
76
82
  },
@@ -85,6 +91,15 @@
85
91
  "agenticindiedev"
86
92
  ],
87
93
  "license": "MIT",
94
+ "lint-staged": {
95
+ "*.{json,md,css,scss,yml,yaml}": [
96
+ "prettier --write"
97
+ ],
98
+ "*.{ts,tsx,js,jsx}": [
99
+ "eslint --fix",
100
+ "prettier --write"
101
+ ]
102
+ },
88
103
  "main": "./dist/index.cjs",
89
104
  "module": "./dist/index.js",
90
105
  "name": "@agenticindiedev/ui",
@@ -104,25 +119,28 @@
104
119
  "scripts": {
105
120
  "build": "bun run build:lib && bun run build:css",
106
121
  "build-storybook": "storybook build",
107
- "build:css": "bunx postcss ./src/styles/globals.css -o ./dist/styles.css --verbose",
108
- "build:lib": "vite build",
122
+ "build:css": "bunx postcss ./src/styles/globals.scss -o ./dist/styles.css --verbose",
123
+ "build:lib": "./scripts/build-lib.sh",
124
+ "deploy:storybook": "bun run build-storybook",
109
125
  "dev": "storybook dev -p 6006",
110
126
  "format:check": "prettier --check .",
111
127
  "format:fix": "prettier --write .",
112
128
  "lint:check": "eslint .",
113
129
  "lint:fix": "eslint . --fix",
114
130
  "pre:install": "bun update --latest --recursive && bun install",
115
- "prepare": "bun run build",
131
+ "prepare": "husky",
116
132
  "prepare:deploy": "bun run format:fix && bun run lint:fix && bun run build",
117
133
  "prepublishOnly": "node -e \"const fs = require('fs'); if (!fs.existsSync('dist')) { console.error('ERROR: dist directory not found. Run \\\"bun run build\\\" first.'); process.exit(1); }\"",
118
134
  "storybook": "storybook dev -p 6006",
119
135
  "test": "bun test",
136
+ "test:coverage": "bunx vitest run --coverage",
120
137
  "typecheck": "tsc --noEmit"
121
138
  },
122
139
  "sideEffects": [
123
- "**/*.css"
140
+ "**/*.css",
141
+ "**/*.scss"
124
142
  ],
125
143
  "type": "module",
126
144
  "types": "./dist/index.d.ts",
127
- "version": "0.2.0"
145
+ "version": "0.2.2"
128
146
  }