From 3e6be09e6ebacf635fa7f2c414b31b1b122839ea Mon Sep 17 00:00:00 2001 From: terwer Date: Thu, 2 Feb 2023 23:46:39 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20#374=20=E4=BD=BF=E7=94=A8python?= =?UTF-8?q?=E9=87=8D=E6=9E=84=E9=A1=B9=E7=9B=AE=E6=9E=84=E5=BB=BA=E8=84=9A?= =?UTF-8?q?=E6=9C=AC-=E6=94=AF=E6=8C=81=E4=B8=80=E9=94=AE=E6=89=93?= =?UTF-8?q?=E5=8C=85?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- package.json | 3 ++- tech.md | 6 ++++++ 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/package.json b/package.json index ae9875e0..bb833407 100644 --- a/package.json +++ b/package.json @@ -13,7 +13,8 @@ "prepare": "husky install", "new": "python scripts/version.py 0.7.0", "widget": "python scripts/widget.py", - "ext": "python scripts/ext.py" + "ext": "python scripts/ext.py", + "package": "pnpm widget && pnpm ext" }, "dependencies": { "@element-plus/icons-vue": "^2.0.9", diff --git a/tech.md b/tech.md index 2b3ea3ae..f45888d9 100644 --- a/tech.md +++ b/tech.md @@ -200,6 +200,12 @@ pnpm dev http://localhost:3000/blog/index.html +## 一键打包 + +```bash +pnpm package +``` + ## 部署 从 0.0.3+ 版本开始,思源笔记发布辅助工具提供 3 种部署方式。