Skip to content

Commit

Permalink
feat: 新版挂件-支持API携带TOKEN和Cookie
Browse files Browse the repository at this point in the history
  • Loading branch information
terwer committed Jul 18, 2023
1 parent 77e207a commit 24bd457
Show file tree
Hide file tree
Showing 5 changed files with 1,039 additions and 1,061 deletions.
4 changes: 3 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,9 @@ dist-ssr
# Scripts
venv
__pycache__
cookie.txt
token.txt

# ext
extension
build
build
1 change: 1 addition & 0 deletions auto-imports.d.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
/* eslint-disable */
/* prettier-ignore */
// @ts-nocheck
// noinspection JSUnusedGlobalSymbols
// Generated by unplugin-auto-import
export {}
declare global {
Expand Down
32 changes: 16 additions & 16 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"version": "0.8.1",
"type": "module",
"scripts": {
"serve": "IS_SERVE=true VITE_SIYUAN_API_URL=http://127.0.0.1:6806 vite",
"serve": "bash scripts/serve.sh",
"dev": "BUILD_TYPE=siyuan vite build --watch",
"build": "BUILD_TYPE=siyuan vite build",
"staticBuild": "BUILD_TYPE=static vite build",
Expand All @@ -22,44 +22,44 @@
},
"devDependencies": {
"@terwer/eslint-config-custom": "^1.3.6",
"@types/node": "^18.16.18",
"@types/node": "^18.16.19",
"@vitejs/plugin-vue": "^4.2.3",
"fast-glob": "^3.2.12",
"fast-glob": "^3.3.0",
"minimist": "^1.2.8",
"rollup-plugin-livereload": "^2.0.5",
"rollup-plugin-node-polyfills": "^0.2.1",
"stylus": "^0.59.0",
"typescript": "^5.1.3",
"unplugin-auto-import": "^0.16.4",
"typescript": "^5.1.6",
"unplugin-auto-import": "^0.16.6",
"unplugin-vue-components": "^0.24.1",
"vercel": "^29.4.0",
"vite": "^4.3.9",
"vite": "^4.4.4",
"vite-plugin-compression": "^0.5.1",
"vite-plugin-html": "^3.2.0",
"vite-plugin-node-polyfills": "^0.8.2",
"vue-tsc": "^1.8.1"
"vue-tsc": "^1.8.5"
},
"dependencies": {
"@element-plus/icons-vue": "^2.1.0",
"@vueuse/components": "^10.2.0",
"@vueuse/core": "^10.2.0",
"cross-fetch": "^3.1.6",
"element-plus": "^2.3.7",
"@vueuse/components": "^10.2.1",
"@vueuse/core": "^10.2.1",
"cross-fetch": "^3.1.8",
"element-plus": "^2.3.8",
"js-base64": "^3.7.5",
"pinia": "^2.1.4",
"shorthash2": "^1.0.3",
"simple-xmlrpc": "^1.4.2",
"uuid": "^9.0.0",
"vue": "^3.3.4",
"vue-i18n": "^9.2.2",
"vue-router": "^4.2.2",
"vue-router": "^4.2.4",
"xmlbuilder2": "^3.1.1",
"zhi-blog-api": "^1.13.5",
"zhi-common": "^1.11.4",
"zhi-common": "^1.11.5",
"zhi-device": "^2.3.0",
"zhi-fetch-middleware": "^0.1.18",
"zhi-fetch-middleware": "^0.1.19",
"zhi-lib-base": "^0.4.2",
"zhi-siyuan-api": "^1.25.5",
"zhi-xmlrpc-middleware": "^0.2.18"
"zhi-siyuan-api": "^1.26.0",
"zhi-xmlrpc-middleware": "^0.2.19"
}
}
Loading

0 comments on commit 24bd457

Please sign in to comment.