Skip to content

Commit eb2a6a6

Browse files
authored
Merge pull request #52 from Shimada666/1.x
update readme
2 parents 520e980 + 3dc28cf commit eb2a6a6

4 files changed

Lines changed: 13 additions & 7 deletions

File tree

README-zh.md

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -185,9 +185,10 @@ v-code-diff 的 1.x 版本相较于 0.x 版本,具有打包体积减小、性
185185

186186
## 变更记录
187187

188-
### 1.0.0-alpha.0
189-
190-
1. 重构后第一版
188+
### 1.0.0
189+
重构后第一版
190+
1. 移除 diff2html 依赖,自行绘制 ui。由于摆脱了 diff2html 依赖,解决了之前很多样式问题
191+
2. 更准确的语法高亮,更快的高亮速度
191192

192193
### 0.3.12
193194

README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -193,7 +193,8 @@ simultaneously.
193193

194194
### 1.0.0-alpha.0
195195

196-
1. The first version after restructuring.
196+
1. Remove the diff2html dependency and draw the UI by self. By getting rid of the diff2html dependency, many styling problems have been resolved.
197+
2. More accurate syntax highlighting and faster highlighting speed.
197198

198199
### 0.3.12
199200

package.json

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,8 +33,12 @@
3333
},
3434
"author": "Shimada666<649940882@qq.com>",
3535
"license": "MIT",
36+
"bugs": {
37+
"url": "https://github.com/Shimada666/v-code-diff/issues"
38+
},
3639
"repository": {
37-
"type": "git"
40+
"type": "git",
41+
"url": "git+https://github.com/Shimada666/v-code-diff.git"
3842
},
3943
"peerDependencies": {
4044
"@vue/composition-api": "^1.4.9",
@@ -48,7 +52,7 @@
4852
"dependencies": {
4953
"diff": "^5.0.0",
5054
"highlight.js": "^11.6.0",
51-
"vue-demi": "latest"
55+
"vue-demi": "^0.13.11"
5256
},
5357
"devDependencies": {
5458
"@antfu/eslint-config": "^0.34.0",

pnpm-lock.yaml

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)