mirror of https://github.com/halo-dev/halo
![]() #### What type of PR is this? /kind feature /milestone 2.0 #### What this PR does / why we need it: 支持插件升级,适配 https://github.com/halo-dev/halo/pull/2624 #### Which issue(s) this PR fixes: Fixes https://github.com/halo-dev/halo/issues/2551 #### Screenshots: <img width="1663" alt="image" src="https://user-images.githubusercontent.com/21301288/197682557-7e37895e-a6b5-43d6-8d40-2a1c899b9ce1.png"> <img width="1662" alt="image" src="https://user-images.githubusercontent.com/21301288/197682572-4db39f09-efda-4928-9a6d-8593c7c0c790.png"> #### Special notes for your reviewer: 测试方式: 1. Halo 需要使用 https://github.com/halo-dev/halo/pull/2624 PR 的分支。 2. Console 需要 `pnpm install` 3. 修改已安装的插件,构建之后更新插件,检查是否更新成功。 #### Does this PR introduce a user-facing change? ```release-note 支持插件升级 ``` |
||
---|---|---|
.changeset | ||
.github | ||
.husky | ||
.vscode | ||
cypress | ||
docs | ||
packages | ||
public | ||
src | ||
.dockerignore | ||
.editorconfig | ||
.env.development | ||
.env.production | ||
.eslintrc.cjs | ||
.gitignore | ||
.gitpod.yml | ||
.npmignore | ||
.npmrc | ||
Dockerfile | ||
LICENSE | ||
Makefile | ||
OWNERS | ||
README.md | ||
cypress.json | ||
env.d.ts | ||
index.html | ||
package.json | ||
pnpm-lock.yaml | ||
pnpm-workspace.yaml | ||
postcss.config.js | ||
prettier.config.js | ||
tailwind.config.js | ||
tsconfig.app.json | ||
tsconfig.json | ||
tsconfig.vite-config.json | ||
tsconfig.vitest.json | ||
vite.config.ts | ||
vitest.config.ts |
README.md
README
Halo 2.0 的管理端项目(原 halo-admin)
注意
当前分支为 Halo 2.0 的 Console 端开发分支,目前 Halo 2.0 处于 Alpha 测试阶段,不建议从 1.5 直接升级,也不建议在生产环境使用。Console 端稳定版本(Halo 1.5)请查阅以下地址:
- 1.5 分支:https://github.com/halo-dev/console/tree/release-1.5
- 1.6 分支:https://github.com/halo-dev/console/tree/release-1.6
当前仓库已经将
halo-admin
改为了console
。但对于 Halo 1.x 版本,依旧保持 halo-admin 的概念。
开发环境运行
# pnpm@7.0.0+
npm install -g pnpm
pnpm install
pnpm build:packages
pnpm dev
生产构建
pnpm build