Skip to content

Commit

Permalink
feat: 插件最小化运行单位
Browse files Browse the repository at this point in the history
  • Loading branch information
terwer committed May 16, 2023
1 parent e41c745 commit 155a825
Show file tree
Hide file tree
Showing 15 changed files with 671 additions and 64 deletions.
42 changes: 3 additions & 39 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,41 +1,5 @@
# siyuan-plugin-importer

Import from epub, docx, pdf, html etc. to siyuan-note

## Usage

```js
// usage
```

## Deps

```
## Congregations! siyuan-plugin-importer need no deps, it is just pure js code 🎉
```

## Dev
[中文](README_zh_CN.md)

```bash
pnpm dev -F siyuan-plugin-importer
```

## Build

```bash
pnpm build -F siyuan-plugin-importer
```

## Test

Execute the unit tests via [vitest](https://vitest.dev)

```bash
pnpm test -F siyuan-plugin-importer
```

## Publish
# siyuan-plugin-importer

```bash
pnpm publish -F siyuan-plugin-importer --tag latest
```
Import from epub, docx, pdf, html etc. to siyuan-note
5 changes: 5 additions & 0 deletions README_zh_CN.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
[English](README.md)

# 导入工具

导入 epub, docx, pdf, html 等格式到思源笔记
7 changes: 6 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,12 @@
"test": "vitest --watch"
},
"devDependencies": {
"@sveltejs/vite-plugin-svelte": "^2.0.3",
"@terwer/eslint-config-custom": "^1.2.0",
"@terwer/vite-config-custom": "^0.2.0"
"@terwer/vite-config-custom": "^0.5.0",
"@tsconfig/svelte": "^4.0.1",
"siyuan": "^0.7.1",
"stylus": "^0.59.0",
"svelte": "^3.57.0"
}
}
Loading

0 comments on commit 155a825

Please sign in to comment.