@aipt/cli 0.1.23 → 0.1.25
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +11 -7
- package/dist/application-runner.js +14 -14
- package/dist/application.js +1 -1
- package/dist/chunk.js +1 -1
- package/dist/package-releases/aipt--cli/0.1.24/release.json +29 -0
- package/dist/package-releases/aipt--cli/0.1.25/release.json +29 -0
- package/dist/package-releases/aipt--idp-setup/0.1.2/release.json +31 -0
- package/docs/bootstrap.md +1 -1
- package/docs/engineering-workflow.md +1 -1
- package/docs/troubleshooting.md +1 -1
- package/docs/vibe-coding-guide.md +2 -2
- package/documentation-manifest.json +5 -5
- package/package.json +4 -4
package/README.md
CHANGED
|
@@ -6,12 +6,18 @@ Dyyto Engineering Platform 的正式命令行 Composition Root。CLI 负责工
|
|
|
6
6
|
|
|
7
7
|
在安装工程工具链前,先初始化统一 pnpm Store、IDP Config Dir、业务 Config 根和 GitOps Root:
|
|
8
8
|
|
|
9
|
+
本文用半角 `~` 表示“当前用户主目录”。macOS/Linux 中 `~/Desktop/works/sources` 通常展开为
|
|
10
|
+
`/Users/<用户名>/Desktop/works/sources` 或 `/home/<用户名>/Desktop/works/sources`。Windows PowerShell
|
|
11
|
+
使用 `~\Desktop\works\sources` 或 `$HOME\Desktop\works\sources`;CMD 使用
|
|
12
|
+
`%USERPROFILE%\Desktop\works\sources`,典型绝对路径为
|
|
13
|
+
`C:\Users\<用户名>\Desktop\works\sources`。注意命令中必须输入半角 ASCII `~`,不能输入中文全角“~”。
|
|
14
|
+
|
|
9
15
|
```bash
|
|
10
|
-
corepack pnpm dlx @aipt/idp-setup@0.1.
|
|
11
|
-
--root
|
|
16
|
+
corepack pnpm dlx @aipt/idp-setup@0.1.2 init \
|
|
17
|
+
--root ~/Desktop/works/sources
|
|
12
18
|
|
|
13
|
-
source
|
|
14
|
-
idp-setup doctor --root
|
|
19
|
+
source ~/Desktop/works/sources/config/idp/generated/sources.env
|
|
20
|
+
idp-setup doctor --root ~/Desktop/works/sources
|
|
15
21
|
```
|
|
16
22
|
|
|
17
23
|
该步骤设置 `IDP_CONFIG_DIR`、`APP_CONFIG_DIR`、`IDP_GITOPS_ROOT`、`PNPM_STORE_DIR` 和 `DYYTO_WORKBENCH_MODE`,但不创建 Secret。业务应用仍在各自的 `$APP_CONFIG_DIR/<workspace>/<application>/<environment>` 下独立管理配置。
|
|
@@ -19,9 +25,7 @@ idp-setup doctor --root /Users/dyyto/Desktop/works/sources
|
|
|
19
25
|
随后对要开发或改造的 Workspace/项目执行一次 Bootstrap:
|
|
20
26
|
|
|
21
27
|
```bash
|
|
22
|
-
|
|
23
|
-
--project /absolute/workspace-or-project \
|
|
24
|
-
--apply
|
|
28
|
+
idp-setup bootstrap --project /absolute/workspace-or-project
|
|
25
29
|
|
|
26
30
|
dyyto context --project /absolute/workspace-or-project
|
|
27
31
|
dyyto doctor --project /absolute/workspace-or-project
|