From 2949ccd4edbfb997cbb75ed34587382c87434ab1 Mon Sep 17 00:00:00 2001 From: Hatem Hosny Date: Tue, 15 Aug 2023 19:28:02 +0300 Subject: [PATCH] feat(editor): support codeium AI code assistant --- scripts/build.js | 4 ++++ src/livecodes/html/app-base.html | 18 ++++++++++++++++++ src/livecodes/html/app.html | 1 + src/livecodes/main.ts | 28 +++++++++++++++------------- 4 files changed, 38 insertions(+), 13 deletions(-) create mode 100644 src/livecodes/html/app-base.html diff --git a/scripts/build.js b/scripts/build.js index 4559ba031..9b3c72109 100644 --- a/scripts/build.js +++ b/scripts/build.js @@ -78,6 +78,10 @@ const prepareDir = async () => { path.resolve(__dirname + '/../src/index.html'), path.resolve(outDir + '/index.html'), ); + await fs.promises.copyFile( + path.resolve(__dirname + '/../src/livecodes/html/app-base.html'), + path.resolve(outDir + '/livecodes/app.html'), + ); }; try { diff --git a/src/livecodes/html/app-base.html b/src/livecodes/html/app-base.html new file mode 100644 index 000000000..9a4ed2a5f --- /dev/null +++ b/src/livecodes/html/app-base.html @@ -0,0 +1,18 @@ + + + + + + + LiveCodes + + + + diff --git a/src/livecodes/html/app.html b/src/livecodes/html/app.html index a9ee5a35a..617a29f87 100644 --- a/src/livecodes/html/app.html +++ b/src/livecodes/html/app.html @@ -3,6 +3,7 @@ + LiveCodes