diff --git a/packages/chat/bbs/index.html b/packages/chat/bbs/index.html
new file mode 100644
index 000000000..907c972a3
--- /dev/null
+++ b/packages/chat/bbs/index.html
@@ -0,0 +1,21 @@
+
+
+
+
+
+ Nestia A.I. Chatbot (TypeScript Class Demonstration)
+
+
+
+
+
+
diff --git a/packages/chat/build/deploy.mjs b/packages/chat/build/deploy.mjs
index 3028ac7e6..b2f019fd1 100644
--- a/packages/chat/build/deploy.mjs
+++ b/packages/chat/build/deploy.mjs
@@ -44,14 +44,18 @@ const main = async () => {
cwd: `${__dirname}/..`,
stdio: "inherit",
});
- execute("npm run build");
- execute(`npm publish --tag ${tag}`);
-
- await fs.promises.writeFile(
- `${__dirname}/../package.json`,
- JSON.stringify(packageJson, null, 2),
- "utf8",
- );
+ try {
+ execute("npm run build");
+ execute(`npm publish --tag ${tag}`);
+ } catch (error) {
+ throw error;
+ } finally {
+ await fs.promises.writeFile(
+ `${__dirname}/../package.json`,
+ JSON.stringify(packageJson, null, 2),
+ "utf8",
+ );
+ }
};
main().catch((error) => {
console.log(error);
diff --git a/packages/chat/index.html b/packages/chat/index.html
index ce5328a31..068abc3ba 100644
--- a/packages/chat/index.html
+++ b/packages/chat/index.html
@@ -16,6 +16,6 @@
-
+