Skip to content

build: Run docs build in npm test and align dev/build scripts - #1579

Merged
matz3 merged 1 commit into
mainfrom
fix-npm-test
Sep 8, 2026
Merged

build: Run docs build in npm test and align dev/build scripts#1579
matz3 merged 1 commit into
mainfrom
fix-npm-test

Conversation

@matz3

@matz3 matz3 commented Sep 8, 2026

Copy link
Copy Markdown
Member

The root "npm test" previously ran "schema-generate" and "generate-cli-doc" directly, but those scripts only exist in the @ui5/documentation workspace, so the command failed with "missing script". Delegate to the workspace via "docs:build" instead, which runs the full docs build (jsdoc, schema, cli-doc, vitepress).

Also add "schema-generate" to the workspace "dev" script so the dev server mirrors the build and schema changes can be previewed.

The root "npm test" previously ran "schema-generate" and "generate-cli-doc"
directly, but those scripts only exist in the @ui5/documentation workspace,
so the command failed with "missing script". Delegate to the workspace via
"docs:build" instead, which runs the full docs build (jsdoc, schema, cli-doc,
vitepress).

Also add "schema-generate" to the workspace "dev" script so the dev server
mirrors the build and schema changes can be previewed.
@matz3
matz3 requested a review from a team September 8, 2026 06:34
@matz3
matz3 merged commit 9ebcd16 into main Sep 8, 2026
78 checks passed
@matz3
matz3 deleted the fix-npm-test branch September 8, 2026 07:18
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.

2 participants