Skip to content

Commit c2d3812

Browse files
committed
misc
1 parent 05c9f26 commit c2d3812

File tree

7 files changed

+35
-10
lines changed

7 files changed

+35
-10
lines changed

CHANGELOG.md

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,23 @@
11
# Changelog
22

3+
## 0.2.7 2023-10
4+
5+
## 0.2.6 2023-10-24
6+
7+
* [Deprecated `loaded-protyle` use `loaded-protyle-static` instead](https://github.com/siyuan-note/siyuan/issues/9468)
8+
9+
## 0.2.5 2023-10-10
10+
11+
* [Add plugin event bus `open-menu-doctree`](https://github.com/siyuan-note/siyuan/issues/9351)
12+
13+
## 0.2.4 2023-09-19
14+
15+
* Supports use in windows
16+
* [Add plugin function `transaction`](https://github.com/siyuan-note/siyuan/issues/9172)
17+
318
## 0.2.3 2023-09-05
419

20+
* [Add plugin function `transaction`](https://github.com/siyuan-note/siyuan/issues/9172)
521
* [Plugin API add openWindow and command.globalCallback](https://github.com/siyuan-note/siyuan/issues/9032)
622

723
## 0.2.2 2023-08-29

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33

44
[中文版](./README_zh_CN.md)
55

6-
> Consistent with [siyuan/plugin-sample](https://github.com/siyuan-note/plugin-sample) [v0.2.3](https://github.com/siyuan-note/plugin-sample/tree/v0.2.3)
6+
> Consistent with [siyuan/plugin-sample](https://github.com/siyuan-note/plugin-sample) [v0.2.6](https://github.com/siyuan-note/plugin-sample/tree/v0.2.6)
77
88

99

README_zh_CN.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
[English](./README.md)
55

66

7-
> 本例和 [siyuan/plugin-sample](https://github.com/siyuan-note/plugin-sample) [v0.2.3](https://github.com/siyuan-note/plugin-sample/tree/v0.2.3)
7+
> 本例和 [siyuan/plugin-sample](https://github.com/siyuan-note/plugin-sample) [v0.2.6](https://github.com/siyuan-note/plugin-sample/tree/v0.2.6)
88
99
1. 使用 vite 打包
1010
2. 使用符号链接、而不是把项目放到插件目录下的模式进行开发

package.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
{
22
"name": "plugin-sample-vite-svelte",
3-
"version": "0.2.3",
3+
"version": "0.2.6",
44
"type": "module",
5-
"description": "",
5+
"description": "This is a sample plugin based on vite and svelte for Siyuan (https://b3log.org/siyuan)",
66
"repository": "",
77
"homepage": "",
88
"author": "",
9-
"license": "GPL-3.0",
9+
"license": "MIT",
1010
"scripts": {
1111
"make-link": "node --no-warnings ./scripts/make_dev_link.js",
1212
"dev": "vite build --watch",
@@ -22,7 +22,7 @@
2222
"minimist": "^1.2.8",
2323
"rollup-plugin-livereload": "^2.0.5",
2424
"sass": "^1.62.1",
25-
"siyuan": "0.8.3",
25+
"siyuan": "0.8.7",
2626
"svelte": "^3.57.0",
2727
"ts-node": "^10.9.1",
2828
"typescript": "^5.0.4",

plugin.json

Lines changed: 11 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,17 @@
22
"name": "plugin-sample-vite-svelte",
33
"author": "frostime",
44
"url": "https://github.com/siyuan-note/plugin-sample-vite-svelte",
5-
"version": "0.2.3",
6-
"minAppVersion": "2.10.3",
7-
"backends": ["all"],
8-
"frontends": ["all"],
5+
"version": "0.2.6",
6+
"minAppVersion": "2.10.12",
7+
"backends": [
8+
"windows",
9+
"linux",
10+
"darwin"
11+
],
12+
"frontends": [
13+
"desktop",
14+
"desktop-window"
15+
],
916
"displayName": {
1017
"en_US": "Plugin sample with vite and svelte",
1118
"zh_CN": "插件样例 vite + svelte 版"

src/i18n/en_US.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
"removedData": "Data deleted",
1010
"confirmRemove": "Confirm to delete the data in ${name}?",
1111
"insertEmoji": "Insert Emoji",
12+
"removeSpace": "Remove Space",
1213
"getTab": "Print out all opened custom tabs in the debugger",
1314
"name": "SiYuan",
1415
"hello": {

src/i18n/zh_CN.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
"removedData": "数据已删除",
1010
"confirmRemove": "确认删除 ${name} 中的数据?",
1111
"insertEmoji": "插入表情",
12+
"removeSpace": "移除空格",
1213
"getTab": "在日志中打印出已打开的所有自定义页签",
1314
"name": "思源",
1415
"hello": {

0 commit comments

Comments
 (0)