|
1 | 1 | # @salesforce/b2c-cli |
2 | 2 |
|
| 3 | +## 1.6.0 |
| 4 | + |
| 5 | +### Minor Changes |
| 6 | + |
| 7 | +- [#370](https://github.com/SalesforceCommerceCloud/b2c-developer-tooling/pull/370) [`ee735bb`](https://github.com/SalesforceCommerceCloud/b2c-developer-tooling/commit/ee735bb0acac89999114c80679b4766216bf463a) - Add `cap` command topic for Commerce App Package (CAP) management. (Thanks [@clavery](https://github.com/clavery)!) |
| 8 | + |
| 9 | + New commands: |
| 10 | + - `b2c cap validate` — validates CAP structure, manifest, and cartridge rules locally |
| 11 | + - `b2c cap package` — packages a CAP directory into a distributable `.zip` |
| 12 | + - `b2c cap install` — installs a CAP on an instance via WebDAV + `sfcc-install-commerce-app` job |
| 13 | + - `b2c cap uninstall` — uninstalls a CAP via `sfcc-uninstall-commerce-app` job |
| 14 | + |
| 15 | + New SDK exports in `@salesforce/b2c-tooling-sdk/operations/cap`: `validateCap`, `commerceAppInstall`, `commerceAppUninstall`, `commerceAppPackage`. |
| 16 | + |
| 17 | + The VS Code extension gains CAP directory detection (badge decoration) and an "Install Commerce App (CAP)" context menu action. |
| 18 | + |
| 19 | +- [#370](https://github.com/SalesforceCommerceCloud/b2c-developer-tooling/pull/370) [`ee735bb`](https://github.com/SalesforceCommerceCloud/b2c-developer-tooling/commit/ee735bb0acac89999114c80679b4766216bf463a) - Add `cap list`, `cap tasks`, and `cap pull` commands for managing installed Commerce Apps (Thanks [@clavery](https://github.com/clavery)!) |
| 20 | + - `cap list` exports and parses `commerce_feature_states` to show installed features with type, source, status, and version |
| 21 | + - `cap tasks` displays configuration tasks for an installed app with clickable Business Manager links |
| 22 | + - `cap pull` downloads and extracts installed app source packages for cartridge deployment or Storefront Next development |
| 23 | + - Standardize all cap commands to use `--site-id` flag (with `--site` as alias) |
| 24 | + - `cap uninstall` no longer requires `--domain` — looks it up automatically from the feature state |
| 25 | + - `cap install` now keeps the archive on the instance by default (use `--clean-archive` to remove) |
| 26 | + |
| 27 | +### Patch Changes |
| 28 | + |
| 29 | +- Updated dependencies [[`ee735bb`](https://github.com/SalesforceCommerceCloud/b2c-developer-tooling/commit/ee735bb0acac89999114c80679b4766216bf463a), [`ee735bb`](https://github.com/SalesforceCommerceCloud/b2c-developer-tooling/commit/ee735bb0acac89999114c80679b4766216bf463a)]: |
| 30 | + - @salesforce/b2c-tooling-sdk@1.5.0 |
| 31 | + |
3 | 32 | ## 1.5.0 |
4 | 33 |
|
5 | 34 | ### Minor Changes |
|
0 commit comments