breeze-plugin-nhentai 0.0.3 → 0.0.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -63,15 +63,27 @@ git init
63
63
 
64
64
  然后修改 `src/common.ts` 的 `PLUGIN_ID` 和 `src/get-info.ts` 的插件信息。
65
65
 
66
- ## 开发
67
-
68
- ```bash
69
- pnpm run dev
70
- ```
71
-
72
- dev server 启动后输出 bundle 地址,在 Breeze 中通过"网络安装"加载即可调试。支持热更新。
73
-
74
- ## 构建
66
+ ## 开发
67
+
68
+ ```bash
69
+ pnpm run dev
70
+ ```
71
+
72
+ dev server 启动后输出 bundle 地址,在 Breeze 中通过"网络安装"加载即可调试。支持热更新。
73
+
74
+ ## 标签翻译数据库
75
+
76
+ 标签翻译使用 [EhTagTranslation/Database](https://github.com/EhTagTranslation/Database) 的最新 Release 数据。首次构建前需要下载数据库:
77
+
78
+ ```powershell
79
+ $env:GITHUB_TOKEN = "your_token"
80
+ pnpm run init
81
+ pnpm run build
82
+ ```
83
+
84
+ 生成的 `src/data.js` 仅作为本地构建数据,不纳入 Git;插件打包后会将翻译数据一并内置。
85
+
86
+ ## 构建
75
87
 
76
88
  ```bash
77
89
  pnpm run build