Skip to content

Conversation

@zburke
Copy link
Member

@zburke zburke commented Dec 4, 2025

  • When generating a strict module descriptor, copy remaining properties from stripes into metadata.stripes.
  • mod descriptor accepts --single to unwrap the array from its output when only a single descriptor is present. Many UI modules contain a build-mod-descriptor command defined as
    stripes mod descriptor --full --strict | jq '.[]' > module-descriptor.json
    This allows that hidden jq dependency to be omitted:
    stripes mod descriptor --full --strict --single > module-descriptor.json

Refs STCLI-274

* When generating a strict module descriptor, copy remaining properties
  from `stripes` into `metadata.stripes`.
* `mod descriptor` accepts `--single` to unwrap the array from its
  output when only a single descriptor is present. Many UI modules
  contain a `build-mod-descriptor` command defined as
  ```stripes mod descriptor --full --strict | jq '.[]' > module-descriptor.json"```
  This allows that hidden `jq` dependency to be omitted:
  ```stripes mod descriptor --full --strict --single > module-descriptor.json"```

Refs STCLI-274
@zburke zburke requested a review from a team as a code owner December 4, 2025 19:11
@github-actions
Copy link

github-actions bot commented Dec 4, 2025

Jest Unit Test Results

0 tests  ±0   0 ✅ ±0   0s ⏱️ ±0s
0 suites ±0   0 💤 ±0 
0 files   ±0   0 ❌ ±0 

Results for commit f7de51f. ± Comparison against base commit 4cc1abc.

@sonarqubecloud
Copy link

sonarqubecloud bot commented Dec 4, 2025

@zburke zburke merged commit ff0c0ca into main Dec 10, 2025
15 checks passed
@zburke zburke deleted the STCLI-274 branch December 10, 2025 20:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants