come up with 0.0.6
This commit is contained in:
parent
d33a7b494d
commit
ead99605fd
4 changed files with 11 additions and 20 deletions
11
README.md
11
README.md
|
@ -69,7 +69,8 @@ conveniently.
|
||||||
"name": "plugin-sample-vite-svelte",
|
"name": "plugin-sample-vite-svelte",
|
||||||
"author": "frostime",
|
"author": "frostime",
|
||||||
"url": "https://github.com/siyuan-note/plugin-sample-vite-svelte",
|
"url": "https://github.com/siyuan-note/plugin-sample-vite-svelte",
|
||||||
"version": "1.0.0",
|
"version": "0.0.1",
|
||||||
|
"minAppVersion": "2.9.0",
|
||||||
"displayName": {
|
"displayName": {
|
||||||
"en_US": "Plugin sample with vite and svelte",
|
"en_US": "Plugin sample with vite and svelte",
|
||||||
"zh_CN": "插件样例 vite + svelte 版"
|
"zh_CN": "插件样例 vite + svelte 版"
|
||||||
|
@ -82,13 +83,9 @@ conveniently.
|
||||||
"en_US": "README_en_US.md",
|
"en_US": "README_en_US.md",
|
||||||
"zh_CN": "README.md"
|
"zh_CN": "README.md"
|
||||||
},
|
},
|
||||||
"i18n": [
|
|
||||||
"en_US",
|
|
||||||
"zh_CN"
|
|
||||||
],
|
|
||||||
"funding": {
|
"funding": {
|
||||||
"custom": [
|
"custom": [
|
||||||
"https://afdian.net/a/frostime"
|
""
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -99,6 +96,7 @@ conveniently.
|
||||||
* `author`: Plugin author name
|
* `author`: Plugin author name
|
||||||
* `url`: Plugin repo URL
|
* `url`: Plugin repo URL
|
||||||
* `version`: Plugin version number, it is recommended to follow the [semver](https://semver.org/) specification
|
* `version`: Plugin version number, it is recommended to follow the [semver](https://semver.org/) specification
|
||||||
|
* `minAppVersion`: Minimum version number of SiYuan required to use this plugin
|
||||||
* `displayName`: Template display name, mainly used for display in the marketplace list, supports multiple languages
|
* `displayName`: Template display name, mainly used for display in the marketplace list, supports multiple languages
|
||||||
* `default`: Default language, must exist
|
* `default`: Default language, must exist
|
||||||
* `zh_CN`, `en_US` and other languages: optional, it is recommended to provide at least Chinese and English
|
* `zh_CN`, `en_US` and other languages: optional, it is recommended to provide at least Chinese and English
|
||||||
|
@ -108,7 +106,6 @@ conveniently.
|
||||||
* `readme`: readme file name, mainly used to display in the marketplace details page, supports multiple languages
|
* `readme`: readme file name, mainly used to display in the marketplace details page, supports multiple languages
|
||||||
* `default`: Default language, must exist
|
* `default`: Default language, must exist
|
||||||
* `zh_CN`, `en_US` and other languages: optional, it is recommended to provide at least Chinese and English
|
* `zh_CN`, `en_US` and other languages: optional, it is recommended to provide at least Chinese and English
|
||||||
* `i18n`: Plugin supported language list
|
|
||||||
* `funding`: Plugin sponsorship information
|
* `funding`: Plugin sponsorship information
|
||||||
* `openCollective`: Open Collective name
|
* `openCollective`: Open Collective name
|
||||||
* `patreon`: Patreon name
|
* `patreon`: Patreon name
|
||||||
|
|
|
@ -63,7 +63,8 @@
|
||||||
"name": "plugin-sample-vite-svelte",
|
"name": "plugin-sample-vite-svelte",
|
||||||
"author": "frostime",
|
"author": "frostime",
|
||||||
"url": "https://github.com/siyuan-note/plugin-sample-vite-svelte",
|
"url": "https://github.com/siyuan-note/plugin-sample-vite-svelte",
|
||||||
"version": "1.0.0",
|
"version": "0.0.1",
|
||||||
|
"minAppVersion": "2.9.0",
|
||||||
"displayName": {
|
"displayName": {
|
||||||
"en_US": "Plugin sample with vite and svelte",
|
"en_US": "Plugin sample with vite and svelte",
|
||||||
"zh_CN": "插件样例 vite + svelte 版"
|
"zh_CN": "插件样例 vite + svelte 版"
|
||||||
|
@ -76,13 +77,9 @@
|
||||||
"en_US": "README_en_US.md",
|
"en_US": "README_en_US.md",
|
||||||
"zh_CN": "README.md"
|
"zh_CN": "README.md"
|
||||||
},
|
},
|
||||||
"i18n": [
|
|
||||||
"en_US",
|
|
||||||
"zh_CN"
|
|
||||||
],
|
|
||||||
"funding": {
|
"funding": {
|
||||||
"custom": [
|
"custom": [
|
||||||
"https://afdian.net/a/frostime"
|
""
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -92,6 +89,7 @@
|
||||||
* `author`:插件作者名
|
* `author`:插件作者名
|
||||||
* `url`:插件仓库地址
|
* `url`:插件仓库地址
|
||||||
* `version`:插件版本号,建议遵循 [semver](https://semver.org/lang/zh-CN/) 规范
|
* `version`:插件版本号,建议遵循 [semver](https://semver.org/lang/zh-CN/) 规范
|
||||||
|
* `minAppVersion`:插件支持的最低思源笔记版本号
|
||||||
* `displayName`:模板显示名称,主要用于模板集市列表中显示,支持多语言
|
* `displayName`:模板显示名称,主要用于模板集市列表中显示,支持多语言
|
||||||
* `default`:默认语言,必须存在
|
* `default`:默认语言,必须存在
|
||||||
* `zh_CN`、`en_US` 等其他语言:可选,建议至少提供中文和英文
|
* `zh_CN`、`en_US` 等其他语言:可选,建议至少提供中文和英文
|
||||||
|
@ -101,7 +99,6 @@
|
||||||
* `readme`:自述文件名,主要用于插件集市详情页中显示,支持多语言
|
* `readme`:自述文件名,主要用于插件集市详情页中显示,支持多语言
|
||||||
* `default`:默认语言,必须存在
|
* `default`:默认语言,必须存在
|
||||||
* `zh_CN`、`en_US` 等其他语言:可选,建议至少提供中文和英文
|
* `zh_CN`、`en_US` 等其他语言:可选,建议至少提供中文和英文
|
||||||
* `i18n`:插件支持的语言列表
|
|
||||||
* `funding`:插件赞助信息
|
* `funding`:插件赞助信息
|
||||||
* `openCollective`:Open Collective 名称
|
* `openCollective`:Open Collective 名称
|
||||||
* `patreon`:Patreon 名称
|
* `patreon`:Patreon 名称
|
||||||
|
|
|
@ -2,7 +2,8 @@
|
||||||
"name": "plugin-sample-vite-svelte",
|
"name": "plugin-sample-vite-svelte",
|
||||||
"author": "frostime",
|
"author": "frostime",
|
||||||
"url": "https://github.com/siyuan-note/plugin-sample-vite-svelte",
|
"url": "https://github.com/siyuan-note/plugin-sample-vite-svelte",
|
||||||
"version": "0.0.4",
|
"version": "0.0.6",
|
||||||
|
"minAppVersion": "2.9.0",
|
||||||
"displayName": {
|
"displayName": {
|
||||||
"en_US": "Plugin sample with vite and svelte",
|
"en_US": "Plugin sample with vite and svelte",
|
||||||
"zh_CN": "插件样例 vite + svelte 版"
|
"zh_CN": "插件样例 vite + svelte 版"
|
||||||
|
@ -15,10 +16,6 @@
|
||||||
"en_US": "README.md",
|
"en_US": "README.md",
|
||||||
"zh_CN": "README_zh_CN.md"
|
"zh_CN": "README_zh_CN.md"
|
||||||
},
|
},
|
||||||
"i18n": [
|
|
||||||
"en_US",
|
|
||||||
"zh_CN"
|
|
||||||
],
|
|
||||||
"funding": {
|
"funding": {
|
||||||
"custom": [
|
"custom": [
|
||||||
"https://afdian.net/a/frostime"
|
"https://afdian.net/a/frostime"
|
||||||
|
|
2
src/siyuan.d.ts
vendored
2
src/siyuan.d.ts
vendored
|
@ -1,5 +1,5 @@
|
||||||
declare module "siyuan" {
|
declare module "siyuan" {
|
||||||
type TEventBus = "ws-main" | "click-blockicon" | "click-editorcontent" | "click-pdf"
|
type TEventBus = "ws-main" | "click-blockicon" | "click-editorcontent" | "click-pdf" | "click-editortitleicon"
|
||||||
|
|
||||||
declare global {
|
declare global {
|
||||||
interface Window {
|
interface Window {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue