@bot-brewers/chat-widget 1.0.1 → 1.7.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.
- package/README.md +21 -2
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -12,11 +12,11 @@ Zero-code embeddable AI chat widget for any website. Add intelligent support wit
|
|
|
12
12
|
|
|
13
13
|
### npm
|
|
14
14
|
```bash
|
|
15
|
-
npm install @
|
|
15
|
+
npm install @bot-brewers/chat-widget
|
|
16
16
|
```
|
|
17
17
|
|
|
18
18
|
```javascript
|
|
19
|
-
import '@
|
|
19
|
+
import '@bot-brewers/chat-widget';
|
|
20
20
|
```
|
|
21
21
|
|
|
22
22
|
## Configuration
|
|
@@ -37,6 +37,25 @@ import '@ai-enhanced/chat-widget';
|
|
|
37
37
|
| `position` | string | "bottom-right" | Widget position: `bottom-right`, `bottom-left` |
|
|
38
38
|
| `accent-color` | string | "#6366f1" | Primary widget color |
|
|
39
39
|
|
|
40
|
+
## For Maintainers: Manual Release
|
|
41
|
+
|
|
42
|
+
To manually publish a new version:
|
|
43
|
+
|
|
44
|
+
1. Go to the [Actions tab](https://github.com/ai-enhanced-engineer/chat-widget-dist/actions)
|
|
45
|
+
2. Select "Publish Release" workflow
|
|
46
|
+
3. Click "Run workflow"
|
|
47
|
+
4. Fill in the required inputs:
|
|
48
|
+
- **Version**: The version to publish (e.g., "1.0.0")
|
|
49
|
+
- **Widget URL**: Direct download URL for the widget file from the main repository release
|
|
50
|
+
- **Release notes**: Optional description of the release
|
|
51
|
+
5. Click "Run workflow" to start the release process
|
|
52
|
+
|
|
53
|
+
The workflow will:
|
|
54
|
+
- Download the widget file
|
|
55
|
+
- Publish to npm as `@bot-brewers/chat-widget`
|
|
56
|
+
- Create a GitHub release
|
|
57
|
+
- Update the package version
|
|
58
|
+
|
|
40
59
|
## Browser Support
|
|
41
60
|
|
|
42
61
|
- Chrome 63+
|