Skip to content

Commit

Permalink
chore(metadata): 完善 metadata 的配置清单 | Improve the manifest of `metad…
Browse files Browse the repository at this point in the history
…ata`.
  • Loading branch information
Zuoqiu-Yingyi committed Jun 18, 2023
1 parent 2b396a6 commit 6d0faa5
Show file tree
Hide file tree
Showing 5 changed files with 167 additions and 14 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# 更改日志 | CHANGE LOG

## 2023-06-18

- 完善 `metadata` 的配置清单 | Improve the manifest of `metadata`.

## 2023-06-17

- 新增 `json-schema` 相关依赖 | Add `json-schema` related dependencies.
Expand Down
2 changes: 1 addition & 1 deletion workspace/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,6 @@
"prettier": "^2.8.8",
"siyuan": "^0.7.4",
"turbo": "^1.10.3",
"zhi-siyuan-api": "^1.13.0"
"zhi-siyuan-api": "^1.14.0"
}
}
2 changes: 1 addition & 1 deletion workspace/packages/apis/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
"ajv": "^8.12.0",
"json-schema-to-typescript": "^13.0.2",
"typescript": "^5.1.3",
"vitest": "^0.32.1"
"vitest": "^0.32.2"
},
"dependencies": {
"@workspace/tsconfig": "workspace:^",
Expand Down
147 changes: 136 additions & 11 deletions workspace/pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

26 changes: 25 additions & 1 deletion workspace/widgets/metadata/public/widget.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,29 @@
"name": "metadata",
"author": "Zuoqiu-Yingyi",
"url": "https://github.com/Zuoqiu-Yingyi/widget-metadata",
"version": "0.2.1"
"version": "0.2.1",
"displayName": {
"default": "Document Metadata",
"zh_CN": "文档元数据",
"zh_CHT": "文檔元數據"
},
"description": {
"default": "Manage block attributes for SiYuan document blocks and can also be used to customize YAML Front Matter (YFM) metadata when exported.",
"zh_CN": "管理思源文档块的块属性,也可用于自定义导出时的 YAML Front Matter (YFM) 元数据。",
"zh_CHT": "管理思源文件塊的塊屬性,也可用於自定義匯出時的 YAML Front Matter (YFM) 元數據。"
},
"readme": {
"default": "README.md",
"zh_CN": "README_zh_CN.md",
"zh_CHT": "README_zh_CN.md"
},
"funding": {
"openCollective": "",
"patreon": "",
"github": "",
"custom": [
"https://afdian.net/a/zuoqiu",
"https://ko-fi.com/zuoqiu"
]
}
}

0 comments on commit 6d0faa5

Please sign in to comment.