mirror of https://github.com/halo-dev/halo
![]() #### What type of PR is this? /kind improvement /area core /area plugin #### What this PR does / why we need it: This PR wholly refactors plugin reconciliation to implement dependency mechanism. Currently, - If we disable plugin which has dependents, the plugin must wait for dependents to be disabled. - If we enable plugin which has dependencies , the plugin must wait for dependencies to be enabled. - If we upgrade plugin which has dependents, the plugin must request dependents to be unloaded. After the plugin is unloaded, the plugin must cancel unload request for dependents. #### Which issue(s) this PR fixes: Fixes #5872 #### Special notes for your reviewer: #### Does this PR introduce a user-facing change? ```release-note 优化被依赖的插件的升级,启用和禁用 ``` |
||
---|---|---|
.. | ||
src | ||
.eslintignore | ||
.eslintrc.js | ||
.gitignore | ||
.openapi_config.yaml | ||
.prettierrc.js | ||
README.md | ||
build.config.ts | ||
openapitools.json | ||
package.json | ||
tsconfig.json |
README.md
@halo-dev/api-client
Halo 2.0 的 JavaScript API 客户端请求库。使用 OpenAPI Generator 生成。
开发环境
pnpm install
# 根据 OpenAPI 3.0 生成类型和网络请求的代码,此步骤需要启动 Halo 2.0 后端。
pnpm gen
pnpm build
发布版本
pnpm release