autoui-react 0.0.3-alpha → 0.0.4-alpha

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,6 +1,6 @@
1
1
  {
2
2
  "name": "autoui-react",
3
- "version": "0.0.3-alpha",
3
+ "version": "0.0.4-alpha",
4
4
  "description": "Generate goal-oriented UIs in real-time using LLMs and your data schema",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.mjs",
@@ -14,10 +14,14 @@
14
14
  "test": "vitest run",
15
15
  "test:watch": "vitest",
16
16
  "test:coverage": "vitest run --coverage",
17
- "lint": "eslint src --ext .ts,.tsx",
17
+ "lint": "eslint .",
18
+ "lint:fix": "eslint . --fix",
18
19
  "format": "prettier --write \"src/**/*.{ts,tsx}\"",
19
20
  "example": "cd example && npm run dev",
20
- "prepublishOnly": "npm run build"
21
+ "prepublishOnly": "npm run build",
22
+ "setup-shadcn": "node ./scripts/setup-shadcn.js",
23
+ "autoui:install-components": "npx shadcn@latest add --path=components/ui",
24
+ "example-setup": "npm run build && cd examples/basic-demo && bash setup.sh"
21
25
  },
22
26
  "keywords": [
23
27
  "react",
@@ -38,28 +42,58 @@
38
42
  },
39
43
  "dependencies": {
40
44
  "@ai-sdk/openai": "^1.3.22",
45
+ "@hookform/resolvers": "^5.0.1",
46
+ "@radix-ui/react-checkbox": "^1.3.1",
47
+ "@radix-ui/react-dialog": "^1.1.13",
48
+ "@radix-ui/react-dropdown-menu": "^2.1.14",
49
+ "@radix-ui/react-label": "^2.1.6",
50
+ "@radix-ui/react-radio-group": "^1.3.6",
51
+ "@radix-ui/react-select": "^2.2.4",
52
+ "@radix-ui/react-slot": "^1.2.2",
53
+ "@radix-ui/react-tabs": "^1.1.11",
41
54
  "ai": "^4.3.15",
42
- "zod": "^3.21.0"
55
+ "class-variance-authority": "^0.7.1",
56
+ "clsx": "^2.1.1",
57
+ "lucide-react": "^0.509.0",
58
+ "react-hook-form": "^7.56.3",
59
+ "tailwind-merge": "^3.2.0",
60
+ "zod": "^3.24.4"
43
61
  },
44
62
  "devDependencies": {
63
+ "@eslint/js": "^9.26.0",
64
+ "@tailwindcss/postcss": "^4.1.6",
65
+ "@testing-library/jest-dom": "^6.6.3",
45
66
  "@testing-library/react": "^14.0.0",
46
67
  "@types/react": "^18.0.0",
47
68
  "@types/react-dom": "^18.0.0",
48
69
  "@typescript-eslint/eslint-plugin": "^5.60.0",
49
70
  "@typescript-eslint/parser": "^5.60.0",
50
- "eslint": "^8.43.0",
71
+ "autoprefixer": "^10.4.21",
72
+ "eslint": "^8.57.1",
51
73
  "eslint-config-airbnb-base": "^15.0.0",
52
74
  "eslint-config-prettier": "^8.8.0",
53
75
  "eslint-plugin-import": "^2.27.5",
54
- "eslint-plugin-react": "^7.32.2",
76
+ "eslint-plugin-react": "^7.37.5",
55
77
  "eslint-plugin-react-hooks": "^4.6.0",
78
+ "globals": "^16.1.0",
56
79
  "jsdom": "^22.1.0",
80
+ "postcss": "^8.5.3",
57
81
  "prettier": "^2.8.8",
82
+ "tailwindcss": "^4.1.6",
58
83
  "tsup": "^7.1.0",
59
84
  "typescript": "^5.1.3",
85
+ "typescript-eslint": "^8.32.0",
60
86
  "vitest": "^0.32.2"
61
87
  },
62
88
  "publishConfig": {
63
89
  "access": "public"
90
+ },
91
+ "peerDependenciesMeta": {
92
+ "@shadcn/ui": {
93
+ "optional": true
94
+ },
95
+ "tailwindcss": {
96
+ "optional": true
97
+ }
64
98
  }
65
99
  }