Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

refactor: 优化翻译完成后的控制台输出信息 #9

Merged
merged 5 commits into from
Dec 17, 2024
Merged
Show file tree
Hide file tree
Changes from 4 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ jobs:

- name: Generate Changelog
run: |
npx conventional-changelog-cli -p angular -i CHANGELOG.md -s -r 0 || echo "Changelog generation failed"
npx changelogen@latest --release --bump || echo "Changelog generation failed"
h7ml marked this conversation as resolved.
Show resolved Hide resolved

- name: Create Release
id: create_release
Expand Down
49 changes: 35 additions & 14 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,44 +1,65 @@
## [1.0.7](https://github.com/h7ml/ai-markdown-translator/compare/v1.0.6...v1.0.7) (2024-12-14)
## v1.0.10

[compare changes](https://github.com/h7ml/ai-markdown-translator/compare/v1.0.10...v1.0.10)

### Features
### 💅 Refactors

* 优化 CLI 工具的输出文件处理逻辑 ([4bc6f4b](https://github.com/h7ml/ai-markdown-translator/commit/4bc6f4b4e25488d6f4740fb0b739d10a7dc69d01))
- 优化翻译完成后的控制台输出信息 ([fb80347](https://github.com/h7ml/ai-markdown-translator/commit/fb80347))

### 📖 Documentation

- **README:** Update README-zh.md ([8ceca79](https://github.com/h7ml/ai-markdown-translator/commit/8ceca79))

## [1.0.6](https://github.com/h7ml/ai-markdown-translator/compare/v1.0.5...v1.0.6) (2024-12-11)
### 🏡 Chore

- **release:** Update CHANGELOG for v1.0.10 [skip ci] ([d17947d](https://github.com/h7ml/ai-markdown-translator/commit/d17947d))

### ❤️ Contributors

## [1.0.5](https://github.com/h7ml/ai-markdown-translator/compare/v1.0.4...v1.0.5) (2024-12-11)
- H7ml ([@h7ml](http://github.com/h7ml))
- GitHub Action ([@dextr7](http://github.com/dextr7))

## v1.0.9

### Features
[compare changes](https://github.com/h7ml/ai-markdown-translator/compare/v1.0.10...v1.0.9)

* 添加版本号显示功能并更新版本信息 ([0dad053](https://github.com/h7ml/ai-markdown-translator/commit/0dad0536db4391ccc2ac9ed4c22fde732aadd5b7))
### 📖 Documentation

- **README:** Update README-zh.md ([8ceca79](https://github.com/h7ml/ai-markdown-translator/commit/8ceca79))
- **README:** Update README-zh.md ([687ae3f](https://github.com/h7ml/ai-markdown-translator/commit/687ae3f))

### 🏡 Chore

## [1.0.4](https://github.com/h7ml/ai-markdown-translator/compare/v1.0.3...v1.0.4) (2024-12-10)
- **release:** Update CHANGELOG for v1.0.10 [skip ci] ([d17947d](https://github.com/h7ml/ai-markdown-translator/commit/d17947d))

### ❤️ Contributors

### Bug Fixes
- GitHub Action ([@dextr7](http://github.com/dextr7))

* **version:** 更新软件包版本至 1.0.4 ([4969cf0](https://github.com/h7ml/ai-markdown-translator/commit/4969cf013a2716788743f65fb47194973b3fee3a))
## [1.0.7](https://github.com/h7ml/ai-markdown-translator/compare/v1.0.6...v1.0.7) (2024-12-14)

### Features

- 优化 CLI 工具的输出文件处理逻辑 ([4bc6f4b](https://github.com/h7ml/ai-markdown-translator/commit/4bc6f4b4e25488d6f4740fb0b739d10a7dc69d01))

## [1.0.3](https://github.com/h7ml/ai-markdown-translator/compare/v1.0.2...v1.0.3) (2024-12-10)
## [1.0.6](https://github.com/h7ml/ai-markdown-translator/compare/v1.0.5...v1.0.6) (2024-12-11)

## [1.0.5](https://github.com/h7ml/ai-markdown-translator/compare/v1.0.4...v1.0.5) (2024-12-11)

### Features

## [1.0.2](https://github.com/h7ml/ai-markdown-translator/compare/466d70df6f9a3d749be14648ba56f73b7120b798...v1.0.2) (2024-12-10)
- 添加版本号显示功能并更新版本信息 ([0dad053](https://github.com/h7ml/ai-markdown-translator/commit/0dad0536db4391ccc2ac9ed4c22fde732aadd5b7))

## [1.0.4](https://github.com/h7ml/ai-markdown-translator/compare/v1.0.3...v1.0.4) (2024-12-10)

### Features
### Bug Fixes

* 增加 npx 支持并优化用户体验 ([466d70d](https://github.com/h7ml/ai-markdown-translator/commit/466d70df6f9a3d749be14648ba56f73b7120b798))
- **version:** 更新软件包版本至 1.0.4 ([4969cf0](https://github.com/h7ml/ai-markdown-translator/commit/4969cf013a2716788743f65fb47194973b3fee3a))

## [1.0.3](https://github.com/h7ml/ai-markdown-translator/compare/v1.0.2...v1.0.3) (2024-12-10)

## [1.0.2](https://github.com/h7ml/ai-markdown-translator/compare/466d70df6f9a3d749be14648ba56f73b7120b798...v1.0.2) (2024-12-10)

### Features

- 增加 npx 支持并优化用户体验 ([466d70d](https://github.com/h7ml/ai-markdown-translator/commit/466d70df6f9a3d749be14648ba56f73b7120b798))
10 changes: 1 addition & 9 deletions README-zh.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,3 @@
这是合并后的`ai-markdown-translator`文档的修订版本,包括了`npx`和`./ai-markdown-translator`的示例:

---

# ai-markdown-translator

<div>
Expand Down Expand Up @@ -173,7 +169,7 @@ npx ai-markdown-translator -i example.md -o translated_example.md -l "日语"

## 版本信息

- **当前版本**: 1.0.8
- **当前版本**: 1.0.10
- **NPM 包**: [ai-markdown-translator](https://www.npmjs.com/package/ai-markdown-translator)

## CI 信息
Expand All @@ -192,7 +188,3 @@ npx ai-markdown-translator -i example.md -o translated_example.md -l "日语"
## 支持

如果您遇到任何问题或有任何疑问,请在此仓库中打开一个问题。

---

此版本将`npx`和独立可执行文件(`./ai-markdown-translator`)的使用示例合并为一个统一的部分。如果您需要进一步调整,请告诉我!
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,7 @@ npx ai-markdown-translator -i example.md -o translated_example.md -l "Japanese"

## Version Information

- **Current Version**: 1.0.8
- **Current Version**: 1.0.10
- **NPM Package**: [ai-markdown-translator](https://www.npmjs.com/package/ai-markdown-translator)

## CI Information
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "ai-markdown-translator",
"version": "1.0.8",
"version": "1.0.10",
"description": "CLI tool to translate Markdown files using OpenAI's language models while preserving the original formatting.",
"main": "dist/index.js",
"type": "module",
Expand Down
Loading
Loading