Skip to content

Commit

Permalink
feat: 移动 sdk 到类库项目
Browse files Browse the repository at this point in the history
  • Loading branch information
terwer committed May 16, 2023
1 parent 79632ff commit e19d45c
Show file tree
Hide file tree
Showing 17 changed files with 15 additions and 372 deletions.
1 change: 0 additions & 1 deletion libs/publisher-sdk/.env.development.local.example

This file was deleted.

4 changes: 0 additions & 4 deletions libs/publisher-sdk/.eslintrc.cjs

This file was deleted.

2 changes: 0 additions & 2 deletions libs/publisher-sdk/.gitignore

This file was deleted.

11 changes: 0 additions & 11 deletions libs/publisher-sdk/.prettierignore

This file was deleted.

30 changes: 0 additions & 30 deletions libs/publisher-sdk/.prettierrc.cjs

This file was deleted.

41 changes: 0 additions & 41 deletions libs/publisher-sdk/README.md

This file was deleted.

12 changes: 0 additions & 12 deletions libs/publisher-sdk/index.html

This file was deleted.

34 changes: 0 additions & 34 deletions libs/publisher-sdk/package.json

This file was deleted.

7 changes: 0 additions & 7 deletions libs/publisher-sdk/src/index.spec.ts

This file was deleted.

2 changes: 0 additions & 2 deletions libs/publisher-sdk/src/index.ts

This file was deleted.

76 changes: 0 additions & 76 deletions libs/publisher-sdk/src/publish-sdk.ts

This file was deleted.

42 changes: 0 additions & 42 deletions libs/publisher-sdk/tsconfig.json

This file was deleted.

10 changes: 0 additions & 10 deletions libs/publisher-sdk/tsconfig.node.json

This file was deleted.

33 changes: 0 additions & 33 deletions libs/publisher-sdk/vite.config.ts

This file was deleted.

4 changes: 3 additions & 1 deletion plugins/publisher-main/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,8 @@
"svelte-routing": "^1.8.8"
},
"dependencies": {
"@terwer/publisher-sdk": "workspace:*"
"zhi-blog-api": "/Users/terwer/Documents/mydocs/zhi-framework/zhi/libs/zhi-blog-api",
"zhi-siyuan-api": "/Users/terwer/Documents/mydocs/zhi-framework/zhi/libs/zhi-siyuan-api",
"zhi-publisher-sdk": "/Users/terwer/Documents/mydocs/zhi-framework/zhi/libs/zhi-publisher-sdk"
}
}
2 changes: 1 addition & 1 deletion plugins/publisher-main/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import Constants from "./utils/constants"
import iconPublish from "./utils/svg"
import HtmlUtils from "./utils/htmlUtils"
import { SiyuanKernelApi } from "zhi-siyuan-api"
import { PublishSdk } from "@terwer/publisher-sdk"
import { PublishSdk } from "zhi-publisher-sdk"
import { BlogTypeEnum } from "zhi-blog-api"

const STORAGE_NAME = "menu-config"
Expand Down
Loading

0 comments on commit e19d45c

Please sign in to comment.