Skip to content

Commit 0eee8d6

Browse files
author
bin.han
committed
0.0.4
1 parent 5a37c5d commit 0eee8d6

File tree

12 files changed

+4938
-3191
lines changed

12 files changed

+4938
-3191
lines changed

.DS_Store

0 Bytes
Binary file not shown.

CHANGELOG.md

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,11 @@
1+
# 0.0.4
2+
- 切换到智普模型,可以自己申请免费的智普token
3+
- 修复savepath只能保存一个翻译结果的问题
4+
- 修复一些历史问题
5+
16
# 0.0.3
27

3-
anki没有打开时写入配置的备用文件中,后续可以手动导入anki。默认文件存放在:$HOME/Library/Application Support/com.ripperhe.Bob/VirtualSandbox/Documents/InstalledPluginSandbox/com.roojay.bobplug.anki/anki.txt
8+
anki没有打开时写入配置的备用文件中,后续可以手动导入anki。默认文件存放在:~/Library/Containers/com.hezongyidev.Bob/Data/Documents/InstalledPluginSandbox/com.roojay.bobplug.anki/anki.txt
49

510
# 0.0.2
611

package.json

Lines changed: 19 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,24 @@
11
{
22
"name": "anki",
3-
"version": "0.0.3",
3+
"version": "0.0.4",
44
"description": "生成anki卡片",
55
"homepage": "https://github.com/robbinhan/bob-anki",
66
"repository": "https://github.com/robbinhan/bob-anki.git",
77
"author": "robbinhan",
88
"license": "MIT",
99
"main": "src/main.js",
1010
"keywords": [
11+
"bob-plugin",
1112
"bobplugin",
12-
"translate"
13+
"translate",
14+
"anki"
1315
],
1416
"scripts": {
1517
"clear": "rimraf ./dist && rimraf ./release",
1618
"initInfo": "node ./scripts/init-info.js",
1719
"install": "npm run initInfo",
1820
"dev": "cross-env NODE_ENV=development rollup -c rollup.config.js --watch",
19-
"build": "npm run clear && npm run initInfo && cross-env NODE_ENV=production rollup -c && node ./scripts/build-zip.js",
21+
"build": "npm run clear && npm run initInfo && rollup -c rollup.config.js --configPlugin typescript --bundleConfigAsCjs && node ./scripts/build-zip.js",
2022
"type-check": "tsc --noEmit --allowJs",
2123
"type-check:watch": "tsc --noEmit --allowJs --watch",
2224
"prettier:fix": "prettier --config .prettierrc.js --write .",
@@ -26,18 +28,21 @@
2628
"version": "npm run initInfo && npm run changelog && git add CHANGELOG.md src/info.json"
2729
},
2830
"dependencies": {
29-
"@bob-plug/core": "^0.1.3",
31+
"@bob-plug/core": "^0.1.6",
3032
"querystring": "^0.2.1"
3133
},
3234
"devDependencies": {
3335
"@babel/core": "^7.14.6",
3436
"@babel/preset-env": "^7.14.7",
3537
"@babel/preset-typescript": "^7.14.5",
36-
"@rollup/plugin-babel": "^5.3.0",
37-
"@rollup/plugin-commonjs": "^19.0.0",
38-
"@rollup/plugin-json": "^4.1.0",
39-
"@rollup/plugin-node-resolve": "^13.0.0",
38+
"@bob-translate/types": "^1.0.2",
39+
"@rollup/plugin-babel": "^6.0.4",
40+
"@rollup/plugin-commonjs": "^28.0.3",
41+
"@rollup/plugin-json": "^6.1.0",
42+
"@rollup/plugin-node-resolve": "^16.0.1",
43+
"@rollup/plugin-typescript": "12.1.2",
4044
"@types/eslint-plugin-prettier": "^3.1.0",
45+
"@types/node": "^22.14.1",
4146
"@typescript-eslint/eslint-plugin": "^4.28.2",
4247
"@typescript-eslint/parser": "^4.28.2",
4348
"adm-zip": "^0.5.5",
@@ -52,10 +57,11 @@
5257
"fs-extra": "^10.0.0",
5358
"prettier": "^2.3.2",
5459
"rimraf": "^3.0.2",
55-
"rollup": "^2.52.8",
56-
"rollup-plugin-copy": "^3.4.0",
57-
"rollup-plugin-esbuild": "^4.5.0",
58-
"rollup-plugin-polyfill-node": "^0.6.2",
59-
"typescript": "^4.3.5"
60+
"rollup": "4.40.0",
61+
"rollup-plugin-copy": "^3.5.0",
62+
"rollup-plugin-esbuild": "^6.2.1",
63+
"rollup-plugin-polyfill-node": "^0.13.0",
64+
"tslib": "^2.8.1",
65+
"typescript": "5.7.3"
6066
}
6167
}

0 commit comments

Comments
 (0)