mirror of https://github.com/halo-dev/halo-admin
b949a25558
#### What type of PR is this? /kind improvement #### What this PR does / why we need it: 将 https://github.com/halo-sigs/api-client 移动到 Console 的仓库进行管理。 #### Which issue(s) this PR fixes: Fixes https://github.com/halo-dev/halo/issues/3302 #### Special notes for your reviewer: 测试方式: 1. 需要先 `pnpm install && pnpm build:packages` 2. 测试开发环境(pnpm dev)和构建之后(pnpm build)是否能够正常使用。 #### Does this PR introduce a user-facing change? ```release-note None ``` |
||
---|---|---|
.. | ||
src | ||
.eslintignore | ||
.eslintrc.js | ||
.gitignore | ||
.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