Skip to content

Commit 885b2f6

Browse files
committed
init
0 parents  commit 885b2f6

21 files changed

+3173
-0
lines changed

.eslintignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
node_modules
2+
dist
3+
index.js

.eslintrc.js

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
module.exports = {
2+
root: true,
3+
env: {node: true, browser: true, es6: true},
4+
parser: "@typescript-eslint/parser",
5+
plugins: [
6+
"@typescript-eslint",
7+
],
8+
extends: [
9+
"eslint:recommended",
10+
"plugin:@typescript-eslint/recommended",
11+
],
12+
rules: {
13+
semi: [2, "always"],
14+
quotes: [2, "double", {"avoidEscape": true}],
15+
"no-async-promise-executor": "off",
16+
"no-prototype-builtins": "off",
17+
"no-useless-escape": "off",
18+
"no-irregular-whitespace": "off",
19+
"@typescript-eslint/ban-ts-comment": "off",
20+
"@typescript-eslint/no-var-requires": "off",
21+
"@typescript-eslint/explicit-function-return-type": "off",
22+
"@typescript-eslint/explicit-module-boundary-types": "off",
23+
"@typescript-eslint/no-explicit-any": "off",
24+
},
25+
};

.gitignore

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
.idea
2+
node_modules
3+
.DS_Store
4+
.eslintcache
5+
dist
6+
package.zip
7+
index.css
8+
index.js
9+
/i18n

LICENSE

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
MIT License
2+
3+
Copyright (c) 2025 Jeffrey Chen https://github.com/TCOTC
4+
5+
Permission is hereby granted, free of charge, to any person obtaining a copy
6+
of this software and associated documentation files (the "Software"), to deal
7+
in the Software without restriction, including without limitation the rights
8+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9+
copies of the Software, and to permit persons to whom the Software is
10+
furnished to do so, subject to the following conditions:
11+
12+
The above copyright notice and this permission notice shall be included in all
13+
copies or substantial portions of the Software.
14+
15+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21+
SOFTWARE.

README.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
#### Usage
2+
3+
Right-click on a single document or notebook in the document tree, and there will be "Move to this document" or "Move to this notebook" sub-options in the "Plugin" option of the pop-up menu. Clicking on them will move the document corresponding to the currently activated tab to the target document or notebook.

README_ja_JP.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
#### 使用方法
2+
3+
ドキュメントツリー内の単一のドキュメントまたはノートブックを右クリックすると、ポップアップメニューの「プラグイン」オプションに「このドキュメントに移動」または「このノートブックに移動」のサブオプションが表示されます。これらをクリックすると、現在アクティブなタブに対応するドキュメントがターゲットのドキュメントまたはノートブックに移動されます。

README_zh_CHT.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
#### 使用說明
2+
3+
在文檔樹中右鍵點擊單個文檔或者筆記本,在彈出的菜單的「插件」選項中有「移動到該文檔」或「移動到該筆記本」子選項,點擊即可將當前激活的頁籤對應的文檔移動到目標文檔或筆記本中。

README_zh_CN.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
#### 使用说明
2+
3+
在文档树中右键点击单个文档或者笔记本,在弹出的菜单的“插件”选项中有“移动到该文档”或“移动到该笔记本”子选项,点击即可将当前激活的页签对应的文档移动到目标文档或笔记本中。

icon.png

387 Bytes
Loading

package.json

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
{
2+
"name": "move-doc",
3+
"version": "0.0.1",
4+
"description": "Move the current document to the specified position in the document tree",
5+
"main": ".src/index.js",
6+
"scripts": {
7+
"lint": "eslint . --fix --cache",
8+
"dev": "webpack --mode development",
9+
"build": "webpack --mode production"
10+
},
11+
"keywords": [],
12+
"author": "TCOTC",
13+
"license": "MIT",
14+
"devDependencies": {
15+
"@typescript-eslint/eslint-plugin": "5.29.0",
16+
"@typescript-eslint/parser": "5.29.0",
17+
"copy-webpack-plugin": "^11.0.0",
18+
"css-loader": "^6.11.0",
19+
"esbuild-loader": "^3.2.0",
20+
"eslint": "^8.57.1",
21+
"mini-css-extract-plugin": "2.3.0",
22+
"sass": "^1.90.0",
23+
"sass-loader": "^12.6.0",
24+
"siyuan": "1.1.2",
25+
"tslib": "2.4.0",
26+
"typescript": "4.7.4",
27+
"webpack": "^5.101.2",
28+
"webpack-cli": "^5.1.4",
29+
"zip-webpack-plugin": "^4.0.3"
30+
}
31+
}

0 commit comments

Comments
 (0)