halo-admin/packages/api-client
Ryan Wang 1dd0d89738
feat: add supports for initialize preset plugins (#894)
#### What type of PR is this?

/kind feature

#### What this PR does / why we need it:

支持在初始化页面安装预设插件。适配:https://github.com/halo-dev/halo/pull/3394

#### Which issue(s) this PR fixes:

Fixes https://github.com/halo-dev/halo/issues/3120

#### Special notes for your reviewer:

测试方式:

1. Halo 需要切换到 https://github.com/halo-dev/halo/pull/3394
2. Console 需要 `pnpm build:packages`
3. 根据 https://github.com/halo-dev/halo/pull/3394 中的提示,将需要预设的插件放置到 `src/main/resources/presets/plugins`
4. 使用全新的环境进行初始化,完成之后进入插件管理检查是否正常安装了预设插件

#### Does this PR introduce a user-facing change?

```release-note
Console 端支持在初始化页面安装预设插件。
```
2023-02-28 14:26:18 +00:00
..
src feat: add supports for initialize preset plugins (#894) 2023-02-28 14:26:18 +00:00
.eslintignore chore: move @halo-dev/api-client package to console (#854) 2023-02-17 06:30:13 +00:00
.eslintrc.js chore: move @halo-dev/api-client package to console (#854) 2023-02-17 06:30:13 +00:00
.gitignore chore: move @halo-dev/api-client package to console (#854) 2023-02-17 06:30:13 +00:00
.prettierrc.js chore: move @halo-dev/api-client package to console (#854) 2023-02-17 06:30:13 +00:00
README.md chore: move @halo-dev/api-client package to console (#854) 2023-02-17 06:30:13 +00:00
build.config.ts chore: move @halo-dev/api-client package to console (#854) 2023-02-17 06:30:13 +00:00
openapitools.json chore: move @halo-dev/api-client package to console (#854) 2023-02-17 06:30:13 +00:00
package.json chore: release 2.3.0-rc.1 (#888) 2023-02-24 10:12:13 +00:00
tsconfig.json chore: move @halo-dev/api-client package to console (#854) 2023-02-17 06:30:13 +00:00

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