• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

UI5 / cli / 28223407215
94%

Build:
DEFAULT BRANCH: main
Ran 26 Jun 2026 07:18AM UTC
Jobs 6
Files 216
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

26 Jun 2026 07:18AM UTC coverage: 93.934% (-0.02%) from 93.949%
28223407215

push

github

matz3
feat(cli)!: Scope project/workspace yargs options per command

The yargs options --config / -c, --dependency-definition, --workspace-config,
and --workspace / -w were previously registered globally in base.js and shown
in --help for every command. Several commands silently ignored them:

  * ui5 config / init / versions did not load a project at all
  * ui5 add / remove / use only operate on ui5.yaml without workspace context

Move the option definitions into a new options.js helper module that exposes
applyProjectConfigOptions() and applyWorkspaceOptions(). Each command builder
now opts in to the option groups it actually consumes, and yargs' existing
strict mode rejects the options on commands that no longer accept them.

The shared last-value-wins dedupe coerce is exported as dedupeArray() so
commands can apply it to their own non-global options (framework-version,
dest, port, etc.) instead of relying on a central coerce list in base.js
that referenced options yargs only sees per-command.

BREAKING CHANGE: ui5 versions, ui5 init, and ui5 config no longer accept
--config, --dependency-definition, --workspace, or --workspace-config.
ui5 add, ui5 remove, and ui5 use no longer accept --workspace or
--workspace-config. Passing any of these to a command that does not
support them now fails with 'Unknown argument: <option>'.

6475 of 7148 branches covered (90.58%)

Branch coverage included in aggregate %.

14 of 20 new or added lines in 7 files covered. (70.0%)

4 existing lines in 4 files now uncovered.

12402 of 12948 relevant lines covered (95.78%)

5758.97 hits per line

Uncovered Changes

Lines Coverage ∆ File
3
89.34
-2.25% packages/cli/lib/cli/commands/tree.js
1
96.83
-1.56% packages/cli/lib/cli/commands/add.js
1
95.12
-2.38% packages/cli/lib/cli/commands/remove.js
1
95.92
-2.0% packages/cli/lib/cli/commands/use.js

Coverage Regressions

Lines Coverage ∆ File
1
96.83
-1.56% packages/cli/lib/cli/commands/add.js
1
95.12
-2.38% packages/cli/lib/cli/commands/remove.js
1
89.34
-2.25% packages/cli/lib/cli/commands/tree.js
1
95.92
-2.0% packages/cli/lib/cli/commands/use.js
Subprojects
ID Flag name Job ID Ran Files Coverage
1 project 28223407215.1 26 Jun 2026 07:21AM UTC 70
94.3
GitHub Action Run
2 builder 28223407215.2 26 Jun 2026 07:20AM UTC 76
94.15
GitHub Action Run
3 server 28223407215.3 26 Jun 2026 07:19AM UTC 19
93.24
GitHub Action Run
4 fs 28223407215.4 26 Jun 2026 07:19AM UTC 22
89.98
GitHub Action Run
5 logger 28223407215.5 26 Jun 2026 07:18AM UTC 5
100.0
GitHub Action Run
6 cli 28223407215.6 26 Jun 2026 07:18AM UTC 24
94.37
GitHub Action Run
Source Files on build 28223407215
  • Tree
  • List 216
  • Changed 7
  • Source Changed 7
  • Coverage Changed 7
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Github Actions Build #28223407215
  • 06cdf281 on github
  • Prev Build on main (#28163325095)
  • Next Build on main (#28223463736)
  • Delete
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc