feat(M1.2): Manifest V3 配置 (v0.0.2)
This commit is contained in:
parent
8ffb8a941d
commit
f6f3fca1c4
@ -7,7 +7,7 @@
|
||||
## 版本速查
|
||||
|
||||
### 当前版本
|
||||
`0.0.1` → 下一目标 `0.0.2` ([M1.2](./M1.md))
|
||||
`0.0.2` → 下一目标 `0.0.3` ([M1.3](./M1.md))
|
||||
|
||||
### 模块版本范围
|
||||
|
||||
|
||||
@ -64,9 +64,9 @@ M11.10完成 → 1.0.0 (正式发布)
|
||||
|
||||
## 当前状态
|
||||
|
||||
**当前版本**: `0.0.1`
|
||||
**当前进度**: 1/97 (1%)
|
||||
**下一任务**: [M1.2 Manifest V3 配置](./M1.md#m12-manifest-v3-配置--目标版本-0002)
|
||||
**当前版本**: `0.0.2`
|
||||
**当前进度**: 2/97 (2%)
|
||||
**下一任务**: [M1.3 构建工具配置](./M1.md#m13-构建工具配置--目标版本-0003)
|
||||
|
||||
---
|
||||
|
||||
|
||||
@ -18,7 +18,7 @@
|
||||
| 任务 | 版本 | 描述 | 状态 | 日期 |
|
||||
|------|------|------|------|------|
|
||||
| M1.1 | 0.0.1 | 项目初始化 | ✅ | 2026-02-09 |
|
||||
| M1.2 | 0.0.2 | Manifest V3 配置 | ⬜ | - |
|
||||
| M1.2 | 0.0.2 | Manifest V3 配置 | ✅ | 2026-02-09 |
|
||||
| M1.3 | 0.0.3 | 构建工具配置 | ⬜ | - |
|
||||
| M1.4 | 0.0.4 | 模块间通信工具 | ⬜ | - |
|
||||
| M1.5 | 0.0.5 | 开发环境验证 | ⬜ | - |
|
||||
|
||||
43
manifest.json
Normal file
43
manifest.json
Normal file
@ -0,0 +1,43 @@
|
||||
{
|
||||
"manifest_version": 3,
|
||||
"name": "沙拉查词",
|
||||
"version": "0.0.2",
|
||||
"description": "聚合词典划词翻译",
|
||||
"permissions": [
|
||||
"storage",
|
||||
"contextMenus",
|
||||
"clipboardWrite"
|
||||
],
|
||||
"optional_permissions": [
|
||||
"clipboardRead"
|
||||
],
|
||||
"host_permissions": [
|
||||
"<all_urls>"
|
||||
],
|
||||
"background": {
|
||||
"service_worker": "src/background/index.js",
|
||||
"type": "module"
|
||||
},
|
||||
"content_scripts": [
|
||||
{
|
||||
"matches": ["<all_urls>"],
|
||||
"js": ["src/content/index.js"],
|
||||
"run_at": "document_end"
|
||||
}
|
||||
],
|
||||
"action": {
|
||||
"default_popup": "src/popup/index.html",
|
||||
"default_title": "沙拉查词",
|
||||
"default_icon": {
|
||||
"16": "assets/icons/icon16.png",
|
||||
"48": "assets/icons/icon48.png",
|
||||
"128": "assets/icons/icon128.png"
|
||||
}
|
||||
},
|
||||
"icons": {
|
||||
"16": "assets/icons/icon16.png",
|
||||
"48": "assets/icons/icon48.png",
|
||||
"128": "assets/icons/icon128.png"
|
||||
},
|
||||
"options_page": "src/options/index.html"
|
||||
}
|
||||
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "salad-dict",
|
||||
"version": "0.0.1",
|
||||
"version": "0.0.2",
|
||||
"description": "聚合词典划词翻译",
|
||||
"private": true,
|
||||
"type": "module",
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user