@maintainer-pro/ai-ui 0.1.1 → 0.2.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,31 +1,27 @@
1
1
  {
2
2
  "name": "@maintainer-pro/ai-ui",
3
- "version": "0.1.1",
4
- "description": "React chat UI for Maintainer Pro",
3
+ "version": "0.2.1",
4
+ "description": "Embeddable chat widget for Maintainer Pro (script tag, any frontend)",
5
5
  "keywords": [
6
6
  "maintainer-pro",
7
7
  "ai",
8
8
  "chat",
9
- "react",
10
9
  "embed",
11
10
  "widget"
12
11
  ],
13
12
  "license": "MIT",
14
13
  "type": "module",
15
- "main": "./dist/index.cjs",
16
- "module": "./dist/index.js",
17
- "types": "./dist/index.d.ts",
14
+ "main": "./dist/ai-ui.iife.js",
15
+ "types": "./embed.d.ts",
18
16
  "exports": {
19
17
  ".": {
20
- "types": "./dist/index.d.ts",
21
- "import": "./dist/index.js",
22
- "require": "./dist/index.cjs"
18
+ "types": "./embed.d.ts",
19
+ "default": "./dist/ai-ui.iife.js"
23
20
  },
24
21
  "./embed": {
25
22
  "types": "./embed.d.ts",
26
23
  "default": "./dist/ai-ui.iife.js"
27
- },
28
- "./ai-ui.css": "./dist/ai-ui.css"
24
+ }
29
25
  },
30
26
  "files": [
31
27
  "dist",
@@ -38,29 +34,23 @@
38
34
  "access": "public"
39
35
  },
40
36
  "scripts": {
41
- "build:lib": "tsup src/index.ts --format esm,cjs --dts --external react --external react-dom --external @assistant-ui/react --external @assistant-ui/react-markdown --external remark-gfm --clean",
42
37
  "build:css": "tailwindcss -i ./src/embed.css -o ./dist/ai-ui.css --minify",
43
38
  "build:embed": "tsup --config tsup.embed.config.ts",
44
- "build": "npm run build:lib && npm run build:css && npm run build:embed",
45
- "dev": "tsup src/index.ts --format esm,cjs --dts --external react --external react-dom --external @assistant-ui/react --external @assistant-ui/react-markdown --external remark-gfm --watch"
46
- },
47
- "peerDependencies": {
48
- "@assistant-ui/react": "^0.14.0",
49
- "react": "^19.0.0",
50
- "react-dom": "^19.0.0"
39
+ "build": "npm run build:css && npm run build:embed",
40
+ "dev": "npm run build:css && tsup --config tsup.embed.config.ts --watch"
51
41
  },
52
42
  "dependencies": {
53
- "@assistant-ui/react-markdown": "0.14.7",
54
- "@maintainer-pro/ai-cli": "^0.1.0",
55
- "remark-gfm": "^4.0.1"
43
+ "@maintainer-pro/ai-cli": "^0.1.2"
56
44
  },
57
45
  "devDependencies": {
58
46
  "@assistant-ui/react": "^0.14.18",
47
+ "@assistant-ui/react-markdown": "0.14.7",
59
48
  "@tailwindcss/cli": "^4.1.11",
60
49
  "@types/react": "^19",
61
50
  "@types/react-dom": "^19",
62
51
  "react": "19.2.4",
63
52
  "react-dom": "19.2.4",
53
+ "remark-gfm": "^4.0.1",
64
54
  "tailwindcss": "^4.1.11",
65
55
  "tsup": "^8.5.0",
66
56
  "typescript": "^5"