fix(tooling): separate the dev data root from the installed one (#67)
Co-authored-by: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
@@ -60,7 +60,7 @@ cd penguin-harness
|
||||
pnpm install && pnpm build
|
||||
```
|
||||
|
||||
After the build, run `pnpm penguin <args>` inside the repo as the dev runner, or use the globally linked `penguin` command.
|
||||
After the build, run `pnpm penguin <args>` inside the repo as the dev runner, or use the globally linked `penguin` command. Dev entry points (`pnpm penguin`, `pnpm dev`) default to a separate data root `~/.penguin/dev-data`, while the linked/installed `penguin` keeps `~/.penguin/data`; export `PENGUIN_HOME` to override.
|
||||
|
||||
## Published npm packages
|
||||
|
||||
|
||||
@@ -60,7 +60,7 @@ cd penguin-harness
|
||||
pnpm install && pnpm build
|
||||
```
|
||||
|
||||
构建完成后,在仓库内用 `pnpm penguin <args>` 作为开发入口运行,或使用全局链接的 `penguin` 命令。
|
||||
构建完成后,在仓库内用 `pnpm penguin <args>` 作为开发入口运行,或使用全局链接的 `penguin` 命令。开发入口(`pnpm penguin`、`pnpm dev`)默认使用独立数据根目录 `~/.penguin/dev-data`,全局链接或安装的 `penguin` 仍使用 `~/.penguin/data`;可通过环境变量 `PENGUIN_HOME` 覆盖。
|
||||
|
||||
## 已发布的 npm 包
|
||||
|
||||
|
||||
Reference in New Issue
Block a user