Skip to content

Commit

Permalink
refactor: ♻️ Do some refactor and fix typos.
Browse files Browse the repository at this point in the history
  • Loading branch information
Jisu-Woniu committed Dec 7, 2023
1 parent 75e2f6b commit 0887238
Show file tree
Hide file tree
Showing 13 changed files with 905 additions and 780 deletions.
10 changes: 8 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,10 @@ All notable changes to this project will be documented in this file.

- :memo: Add links in README.

### Refactor

- :recycle: Do some refactor and fix typos.

## [1.2.0] - 2023-11-25

### Miscellaneous Tasks
Expand Down Expand Up @@ -50,7 +54,6 @@ All notable changes to this project will be documented in this file.
- :pushpin: Fix pnpm lockfile.
- :lipstick: Merge CSS rules.
- :bug: Fix the color scheme issues.
- :lock: CVE-2023-46115 fix.
- :white_check_mark: Successfully extracted signature form packet.
- :bug: Move file name fetching to backend, allowing for platform specific handling of path separators.

Expand Down Expand Up @@ -106,6 +109,10 @@ All notable changes to this project will be documented in this file.
- :recycle: Refactor commands into its own module.
- :recycle: Refactor test code for readability.

### Security

- :lock: CVE-2023-46115 fix.

### Build

- :art: Add stylelint related tools.
Expand All @@ -114,4 +121,3 @@ All notable changes to this project will be documented in this file.
- :hammer: Add Makefile for some repetitive work.
- :wrench: Add build config for Vite.

<!-- generated by git-cliff -->
2 changes: 1 addition & 1 deletion README.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ Rust 语言具有强大的性能、友好的编译期提示,以及由所有权

密码学函数部分借助了 https://github.com/rpgp/rpgp[rPGP] 项目和 https://github.com/RustCrypto[RustCrypto] 项目,并封装在单独的 crate 中,以优化增量构建场景下的编译速度。

rGPG 是一个纯 Rust 的 OpenPGP 实现,其提供了密钥生成、签名、加密、解密等功能。
rPGP 是一个纯 Rust 的 OpenPGP 实现,其提供了密钥生成、签名、加密、解密等功能。

RustCrypto 是一个 Rust 的密码学库,其提供了对称加密算法、非对称加密算法、数字签名算法、哈希函数、认证加密算法等多种密码学算法的实现。

Expand Down
10 changes: 3 additions & 7 deletions cliff.toml
Original file line number Diff line number Diff line change
Expand Up @@ -29,13 +29,9 @@ body = """
# remove the leading and trailing whitespace from the template
trim = true
# changelog footer
footer = """
<!-- generated by git-cliff -->
"""
footer = ""
# postprocessors
postprocessors = [
# { pattern = '<REPO>', replace = "https://github.com/orhun/git-cliff" }, # replace repository URL
]
postprocessors = []
[git]
# parse the commits based on https://www.conventionalcommits.org
conventional_commits = true
Expand All @@ -49,6 +45,7 @@ commit_preprocessors = [
]
# regex for parsing and grouping commits
commit_parsers = [
{ message = ":lock:", group = "Security" },
{ message = "^feat", group = "Features" },
{ message = "^fix", group = "Bug Fixes" },
{ message = "^doc", group = "Documentation" },
Expand All @@ -61,7 +58,6 @@ commit_parsers = [
{ message = "^chore\\(pr\\)", skip = true },
{ message = "^chore\\(pull\\)", skip = true },
{ message = "^chore|ci", group = "Miscellaneous Tasks" },
{ body = ".*security", group = "Security" },
{ message = "^revert", group = "Revert" },
]
# protect breaking changes from being skipped due to matching a skipping commit_parser
Expand Down
30 changes: 15 additions & 15 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,39 +18,39 @@
"tauri:build": "tauri build -b none"
},
"dependencies": {
"@fontsource/noto-sans-sc": "^5.0.16",
"@fontsource/noto-sans-sc": "^5.0.17",
"@fontsource/roboto": "^5.0.8",
"@tauri-apps/api": "^1.5.1",
"@vueuse/core": "^10.6.1",
"vue": "^3.3.9",
"vuetify": "^3.4.3"
"@vueuse/core": "^10.7.0",
"vue": "^3.3.10",
"vuetify": "^3.4.6"
},
"devDependencies": {
"@iconify-json/ic": "^1.1.14",
"@iconify-json/ic": "^1.1.16",
"@mdi/js": "^7.3.67",
"@tauri-apps/cli": "^1.5.6",
"@types/node": "^20.10.0",
"@vitejs/plugin-vue": "^4.5.0",
"@tauri-apps/cli": "^1.5.7",
"@types/node": "^20.10.4",
"@vitejs/plugin-vue": "^4.5.1",
"@vue/eslint-config-prettier": "^8.0.0",
"@vue/eslint-config-typescript": "^12.0.0",
"@vue/tsconfig": "^0.4.0",
"autoprefixer": "^10.4.16",
"browserslist": "^4.22.1",
"eslint": "^8.54.0",
"eslint-plugin-vue": "^9.18.1",
"browserslist": "^4.22.2",
"eslint": "^8.55.0",
"eslint-plugin-vue": "^9.19.2",
"npm-run-all2": "^6.1.1",
"postcss": "^8.4.31",
"postcss": "^8.4.32",
"postcss-preset-env": "^9.3.0",
"prettier": "^3.1.0",
"stylelint": "^15.11.0",
"stylelint-config-html": "^1.1.0",
"stylelint-config-recommended-vue": "^1.5.0",
"stylelint-config-standard": "^34.0.0",
"stylelint-prettier": "^4.1.0",
"typescript": "^5.3.2",
"typescript": "^5.3.3",
"unplugin-icons": "^0.17.4",
"vite": "^5.0.2",
"vue-tsc": "^1.8.22"
"vite": "^5.0.6",
"vue-tsc": "^1.8.25"
},
"browserslist": [
"chrome >= 105",
Expand Down
Loading

0 comments on commit 0887238

Please sign in to comment.