@smarter.sh/ui-chat 0.0.1 → 0.0.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/README.md +0 -4
- package/package.json +3 -2
package/README.md
CHANGED
|
@@ -126,10 +126,6 @@ example http response:
|
|
|
126
126
|
- `make build`: Build the react.js project. saves vite.js output to `./build` in the root of this project.
|
|
127
127
|
- `make release`: Deploy the react.js project. **REQUIRES awscli + keypair with sufficient permissions**. Publishes the contents of the `./build` folder to an AWS S3 bucket served by the host defined by the value of `CDN_HOST_BASE_URL` located in shared/constant.js. For example, the react app for the Smarter workbench is initialized and served from these endpoints: a. [index.html](https://cdn.platform.smarter.sh/ui-chat/index.html): the react app build artifacts, and b. [app-loader.js](https://cdn.platform.smarter.sh/ui-chat/app-loader.js): a script to insert the react app build artifacts into the DOM.
|
|
128
128
|
|
|
129
|
-
### Hello world app
|
|
130
|
-
|
|
131
|
-
Note that `make build` also generates a simple '[hello-world.html](https://cdn.platform.smarter.sh/ui-chat/hello-world.html)' app that demonstrates how to integrate Smarter Chat to an existing web page.
|
|
132
|
-
|
|
133
129
|
### Architecture
|
|
134
130
|
|
|
135
131
|
- [Vite](https://vitejs.dev/)
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@smarter.sh/ui-chat",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.2",
|
|
4
4
|
"description": "chatbot React.js component for the https://smarter.sh no-code, plugin based AI platform",
|
|
5
5
|
"homepage": "https://smarter.sh",
|
|
6
6
|
"main": "dist/index.js",
|
|
@@ -80,7 +80,8 @@
|
|
|
80
80
|
"vite": "^6.1.0",
|
|
81
81
|
"vite-plugin-babel": "^1.3.0",
|
|
82
82
|
"vite-plugin-comlink": "^5.1.0",
|
|
83
|
-
"vite-plugin-html": "^3.2.2"
|
|
83
|
+
"vite-plugin-html": "^3.2.2",
|
|
84
|
+
"vite-tsconfig-paths": "^5.1.4"
|
|
84
85
|
},
|
|
85
86
|
"peerDependencies": {
|
|
86
87
|
"react": "^18.2.0",
|