From fd84f4545ef074ab1f102f269d585a11aeb9eee7 Mon Sep 17 00:00:00 2001 From: yanglbme Date: Tue, 23 Nov 2021 14:22:01 +0800 Subject: [PATCH] chore: upgrade dependencies --- .github/workflows/build.yml | 1 + .github/workflows/compress.yml | 1 + README.md | 8 +++++--- package.json | 6 +++--- 4 files changed, 10 insertions(+), 6 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 35e8598..ca92183 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -3,6 +3,7 @@ name: Build and Deploy on: push: branches: [main] + workflow_dispatch: jobs: build-and-deploy: diff --git a/.github/workflows/compress.yml b/.github/workflows/compress.yml index 2685481..ce559d0 100644 --- a/.github/workflows/compress.yml +++ b/.github/workflows/compress.yml @@ -8,6 +8,7 @@ on: - "**.jpeg" - "**.png" - "**.webp" + workflow_dispatch: jobs: compress: diff --git a/README.md b/README.md index 9ff900e..87febe7 100644 --- a/README.md +++ b/README.md @@ -33,7 +33,8 @@ Markdown 文档自动即时渲染为微信图文,让你不再为微信文章 欢迎各位朋友随时提交 PR,让这款微信 Markdown 编辑器变得更好!如果你有新的想法,也欢迎在 [Discussions 讨论区](https://github.com/doocs/md/discussions)反馈。 ## 如何开发和部署 -``` sh + +```sh # 安装依赖 npm i @@ -45,12 +46,13 @@ npm run build ``` ## 测试 -``` sh + +```sh # 启动模拟服务 npm run mm ``` -``` sh +```sh npm run build # 访问 http://127.0.0.1:9000/md diff --git a/package.json b/package.json index 9dddc7c..1460c58 100644 --- a/package.json +++ b/package.json @@ -10,12 +10,12 @@ }, "dependencies": { "@vue/shared": "^3.0.11", - "ali-oss": "^6.15.2", + "ali-oss": "^6.16.0", "axios": "^0.21.2", "buffer-from": "^1.1.1", "codemirror": "^5.61.0", "core-js": "^3.11.0", - "cos-js-sdk-v5": "^1.2.9", + "cos-js-sdk-v5": "^1.3.1", "crypto-js": "^4.0.0", "element-ui": "^2.15.1", "jquery": "^3.6.0", @@ -23,7 +23,7 @@ "marked": "^2.0.3", "prettier": "^2.2.1", "prettify": "^0.1.7", - "qiniu-js": "^3.1.4", + "qiniu-js": "^3.4.0", "regenerator-runtime": "^0.13.7", "uuid": "^8.3.2", "vue": "^2.6.12",