@aipt/cli 0.1.37 → 0.1.40

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 CHANGED
@@ -13,7 +13,7 @@ Dyyto Engineering Platform 的正式命令行 Composition Root。CLI 负责工
13
13
  `C:\Users\<用户名>\Desktop\works\sources`。注意命令中必须输入半角 ASCII `~`,不能输入中文全角“~”。
14
14
 
15
15
  ```bash
16
- corepack pnpm dlx @aipt/idp-setup@0.1.10 init \
16
+ corepack pnpm dlx @aipt/idp-setup@0.1.13 init \
17
17
  --root ~/Desktop/works/sources
18
18
 
19
19
  source ~/Desktop/works/sources/config/idp/generated/sources.env
@@ -148,16 +148,17 @@ dyyto verify --project ./my-project
148
148
 
149
149
  ```bash
150
150
  dyyto add feature --project ./my-project \
151
- --capability foundation.environment-schema@2.0.0
151
+ --capability foundation.environment-schema@2.1.0
152
152
  dyyto apply --project ./my-project --approve <planId>
153
153
  dyyto verify --project ./my-project
154
154
  ```
155
155
 
156
- 该能力生成 `config/application-config.json`,只声明非敏感值和 `*_FILE` Binding。
156
+ 该能力生成 `config/application-config.json`。`idp-setup bootstrap` 会将 `.env.example`
157
+ 的全量声明迁移为普通值与 `*_FILE` Binding,并用 `runtimeEnvironmentVariable` 保留应用实际读取的变量名。
157
158
  它不会创建宿主 `$IDP_CONFIG_DIR`、`.env`、Secret 或证书;这些内容由外部部署控制面物化。
158
159
  现有不可变 Profile/Template 不会被回写,因此这是可部署 Application 脚手架当前必选的后续
159
160
  Capability,而不是旧 `create` 命令已经自动包含的资产。普通 Add 不删除其他 Owner 的
160
- `.env.example`;已经采用 `1.1.0` 的项目必须升级到 `2.0.0`,才会通过正式 Upgrade Plan
161
+ `.env.example`;已经采用旧版本的项目必须升级到 `2.1.0`,才会通过正式 Upgrade Plan
161
162
  退出旧 `.env.example` 与 `.env.local` 指引。未来只通过新的 Profile/Recipe Release 聚合这两步,
162
163
  不恢复根 `config:init`。npm 与 React Library 不采用运行时 Config Dir。
163
164