@botpress/webchat 2.6.1 → 2.6.2-beta.0

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.
@@ -1,5 +1,5 @@
1
1
 
2
- > @botpress/webchat@2.6.1 build /home/runner/work/genisys/genisys/packages/webchat-components
2
+ > @botpress/webchat@2.6.2-beta.0 build /home/runner/work/genisys/genisys/packages/webchat-components
3
3
  > vite build
4
4
 
5
5
  vite v5.4.8 building for production...
@@ -15,8 +15,8 @@ computing gzip size...
15
15
  [vite:dts] Start rollup declaration files...
16
16
  Analysis will use the bundled TypeScript version 5.4.2
17
17
  *** The target project appears to use TypeScript 5.6.2 which is newer than the bundled compiler engine; consider upgrading API Extractor.
18
- [vite:dts] Declaration files built in 29683ms.
18
+ [vite:dts] Declaration files built in 31756ms.
19
19
 
20
20
  dist/style.css  40.03 kB │ gzip: 7.37 kB
21
21
  dist/index.umd.cjs 771.48 kB │ gzip: 241.47 kB
22
- ✓ built in 38.55s
22
+ ✓ built in 39.95s
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@botpress/webchat",
3
- "version": "2.6.1",
3
+ "version": "2.6.2-beta.0",
4
4
  "type": "module",
5
5
  "license": "MIT",
6
6
  "main": "./dist/index.umd.cjs",
@@ -13,16 +13,7 @@
13
13
  "require": "./dist/index.umd.cjs"
14
14
  }
15
15
  },
16
- "scripts": {
17
- "check:type": "tsc --noEmit",
18
- "build": "vite build",
19
- "test": "vitest run",
20
- "storybook": "cross-env BROWSER=none storybook dev -p 6902",
21
- "build-storybook": "storybook build",
22
- "chromatic": "chromatic --exit-zero-on-changes --exit-once-uploaded"
23
- },
24
16
  "dependencies": {
25
- "@botpress/webchat-client": "workspace:*",
26
17
  "@bpinternal/webchat-http-client": "0.2.6",
27
18
  "@floating-ui/react": "^0.25.4",
28
19
  "@headlessui/react": "^2.2.0",
@@ -46,8 +37,6 @@
46
37
  "mime": "^4.0.4",
47
38
  "nanoid": "^3.3.4",
48
39
  "qs": "^6.12.1",
49
- "react": "^18.3.1",
50
- "react-dom": "^18.3.1",
51
40
  "react-dropzone": "^14.2.3",
52
41
  "react-markdown": "^9.0.1",
53
42
  "react-scroll-to-bottom": "^4.2.0",
@@ -58,12 +47,15 @@
58
47
  "theme-colors": "^0.1.0",
59
48
  "uuid": "^9.0.1",
60
49
  "zod": "^3.22.4",
61
- "zustand": "^4.4.1"
50
+ "zustand": "^4.4.1",
51
+ "@botpress/webchat-client": "0.1.1"
52
+ },
53
+ "peerDependencies": {
54
+ "react": ">=18.0.0",
55
+ "react-dom": ">=18.0.0"
62
56
  },
63
57
  "devDependencies": {
64
58
  "@chromatic-com/storybook": "^3.2.2",
65
- "@repo/eslint-config": "workspace:*",
66
- "@repo/typescript-config": "workspace:*",
67
59
  "@storybook/addon-essentials": "^8.4.7",
68
60
  "@storybook/addon-interactions": "^8.4.7",
69
61
  "@storybook/addon-onboarding": "^8.4.7",
@@ -83,11 +75,23 @@
83
75
  "cross-env": "^7.0.3",
84
76
  "eslint-plugin-storybook": "^0.9.0",
85
77
  "prop-types": "^15.8.1",
78
+ "react": "^18.3.1",
79
+ "react-dom": "^18.3.1",
86
80
  "storybook": "^8.4.7",
87
81
  "vite": "^5.4.8",
88
82
  "vite-plugin-dts": "^3.5.4",
89
83
  "vite-plugin-libcss": "^1.1.1",
90
84
  "vite-plugin-svgr": "^4.2.0",
91
- "vitest": "1.6.0"
85
+ "vitest": "1.6.0",
86
+ "@repo/typescript-config": "0.0.0",
87
+ "@repo/eslint-config": "0.0.0"
88
+ },
89
+ "scripts": {
90
+ "check:type": "tsc --noEmit",
91
+ "build": "vite build",
92
+ "test": "vitest run",
93
+ "storybook": "cross-env BROWSER=none storybook dev -p 6902",
94
+ "build-storybook": "storybook build",
95
+ "chromatic": "chromatic --exit-zero-on-changes --exit-once-uploaded"
92
96
  }
93
- }
97
+ }