Skip to content

Commit

Permalink
Merge branch 'master' into master
Browse files Browse the repository at this point in the history
  • Loading branch information
mohuishou authored Sep 6, 2024
2 parents 30de902 + 8a4eb8a commit 34a35ac
Show file tree
Hide file tree
Showing 6 changed files with 142 additions and 14 deletions.
2 changes: 1 addition & 1 deletion helper/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
"url": "https://github.com/mohuishou/utools.git"
},
"devDependencies": {
"@types/node": "^15.12.4",
"@types/node": "v20.16.0",
"@types/throttle-debounce": "^2.1.0",
"typescript": "^4.2.4",
"utools-api-types": "^2.0.3"
Expand Down
58 changes: 58 additions & 0 deletions helper/pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion helper/src/config/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ export abstract class Config implements IConfig {
if (data && this.key in data.data) return data.data[this.key];

// 值不存在,初始化,并且保存
if (!data) data = { _id: "config", _rev: "", data: {} };
if (!data) data = { _id: "config", data: {} };
data.data[this.key] = this.default;
let res = utools.db.put(data);
if (!res.ok) throw new Error(res.message);
Expand Down
8 changes: 4 additions & 4 deletions plugins/vscode/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,11 @@
"main": "index.js",
"license": "MIT",
"devDependencies": {
"@types/node": "^20.6.0",
"@types/sql.js": "^1.4.3",
"utools-api-types": "^2.0.3"
"@types/node": "20.16.0",
"@types/sql.js": "^1.4.9",
"utools-api-types": "^2.6.4"
},
"dependencies": {
"utools-helper": "^2.0.0"
"utools-helper": "^2.1.0"
}
}
70 changes: 70 additions & 0 deletions plugins/vscode/pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

16 changes: 8 additions & 8 deletions readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,14 +14,14 @@

| 插件 | 状态 | 说明 |
| ------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------- |
| [iconfont 搜索](./plugins/iconfont) | ![GitHub Workflow Status](https://img.shields.io/github/workflow/status/mohuishou/utools/build%20iconfont?label=iconfont) | iconfont 图标搜索,支持下载 |
| [vscode 历史搜索](./plugins/vscode) | ![GitHub Workflow Status](https://img.shields.io/github/workflow/status/mohuishou/utools/build%20vscode?label=vscode) | utools 插件,搜索 vscode 历史项目,点击回车打开 |
| [otp 两步验证](./plugins/otp) | ![GitHub Workflow Status](https://img.shields.io/github/workflow/status/mohuishou/utools/build%20otp?label=otp) | 保存 TOTP 两步验证,如 Google Auth 等 |
| [chrome-history](./plugins/chrome-history) | ![GitHub Workflow Status](https://img.shields.io/github/workflow/status/mohuishou/utools/chrome-history?label=chrome-history) | chrome 历史记录搜索插件 |
| [sourcetree 项目搜索](./plugins/sourcetree) | ![GitHub Workflow Status](https://img.shields.io/github/workflow/status/mohuishou/utools/build%20sourcetree?label=sourcetree) | 搜索并打开 sourcetree 项目 |
| [语雀搜索](./plugins/yuque) | ![GitHub Workflow Status](https://img.shields.io/github/workflow/status/mohuishou/utools/build%20yuque?label=yuque) | 快速搜索语雀知识库,支持复制为 markdown |
| [视频解析](./plugins/vedio-parse) | ![GitHub Workflow Status](https://img.shields.io/github/workflow/status/mohuishou/utools/vedio-parse?label=视频解析) | 获取当前浏览器窗口地址,跳转到解析地址 |
| [进程管理](./plugins/process) | ![GitHub Workflow Status](https://img.shields.io/github/workflow/status/mohuishou/utools/process?label=进程管理) | 进程管理,可以查看、搜索、关闭进程 |
| [iconfont 搜索](./plugins/iconfont) | ![GitHub Workflow Status](https://img.shields.io/github/actions/workflow/status/mohuishou/utools/iconfont.yml?branch=master) | iconfont 图标搜索,支持下载 |
| [vscode 历史搜索](./plugins/vscode) | ![GitHub Workflow Status](https://img.shields.io/github/actions/workflow/status/mohuishou/utools/vscode.yml?branch=master) | utools 插件,搜索 vscode 历史项目,点击回车打开 |
| [otp 两步验证](./plugins/otp) | ![GitHub Workflow Status](https://img.shields.io/github/actions/workflow/status/mohuishou/utools/otp.yml?branch=master) | 保存 TOTP 两步验证,如 Google Auth 等 |
| [chrome-history](./plugins/chrome-history) | ![GitHub Workflow Status](https://img.shields.io/github/actions/workflow/status/mohuishou/utools/chrome-history.yml?branch=master) | chrome 历史记录搜索插件 |
| [sourcetree 项目搜索](./plugins/sourcetree) | ![GitHub Workflow Status](https://img.shields.io/github/actions/workflow/status/mohuishou/utools/sourcetree.yml?branch=master) | 搜索并打开 sourcetree 项目 |
| [语雀搜索](./plugins/yuque) | ![GitHub Workflow Status](https://img.shields.io/github/actions/workflow/status/mohuishou/utools/yuque.yml?branch=master) | 快速搜索语雀知识库,支持复制为 markdown |
| [视频解析](./plugins/vedio-parse) | ![GitHub Workflow Status](https://img.shields.io/github/actions/workflow/status/mohuishou/utools/vedio-parse.yml?branch=master) | 获取当前浏览器窗口地址,跳转到解析地址 |
| [进程管理](./plugins/process) | ![GitHub Workflow Status](https://img.shields.io/github/actions/workflow/status/mohuishou/utools/process.yml?branch=master) | 进程管理,可以查看、搜索、关闭进程 |

## 文档插件

Expand Down

0 comments on commit 34a35ac

Please sign in to comment.