From 30d7f0e94cd81ab05ed7b3b269f26983ea421fbc Mon Sep 17 00:00:00 2001 From: tbxark Date: Wed, 28 Aug 2024 17:12:12 +0800 Subject: [PATCH 1/8] =?UTF-8?q?chore:=20=E6=B7=BB=E5=8A=A0=E6=8F=92?= =?UTF-8?q?=E4=BB=B6=E8=B0=83=E8=AF=95=E7=BD=91=E9=A1=B5=E9=83=A8=E7=BD=B2?= =?UTF-8?q?=E6=8C=87=E4=BB=A4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .gitignore | 1 - package.json | 1 + plugins/.gitignore | 1 + plugins/index.html | 4 ++-- vite.config.ts | 10 +++++++++- 5 files changed, 13 insertions(+), 4 deletions(-) create mode 100644 plugins/.gitignore diff --git a/.gitignore b/.gitignore index e705b29c..ad08e406 100644 --- a/.gitignore +++ b/.gitignore @@ -150,6 +150,5 @@ out /config.json /wrangler.toml /wrangler-test.toml -/plugins/interpolate.js /dist/index.cjs /dist/index.d.ts diff --git a/package.json b/package.json index a8904c74..4b688e6e 100644 --- a/package.json +++ b/package.json @@ -28,6 +28,7 @@ "deploy:dist": "wrangler deploy", "deploy:build": "npm run build && wrangler deploy", "deploy:vercel": "vercel deploy --prod", + "deploy:plugin": "BUILD_MODE=plugins-page vite build && wrangler pages deploy plugins", "start:dist": "node dist/index.js", "start:local": "CONFIG_PATH=./config.json TOML_PATH=./wrangler.toml tsx src/adapter/local/index.ts", "start:debug": "wrangler dev --local", diff --git a/plugins/.gitignore b/plugins/.gitignore new file mode 100644 index 00000000..3e221292 --- /dev/null +++ b/plugins/.gitignore @@ -0,0 +1 @@ +/dist \ No newline at end of file diff --git a/plugins/index.html b/plugins/index.html index d152cfba..5a982058 100644 --- a/plugins/index.html +++ b/plugins/index.html @@ -5,7 +5,7 @@ ChatGPT-Telegram-Workers - +