Skip to content

Conversation

@sergeleger
Copy link
Collaborator

PR Goal?

Forces a web component build when the bundle script is called, this avoids bundling a stale version of the readalong web component.

Also, since npx nx bundle web-component now performs a build operation, simplified the CI scripts to avoid unnecessary builds.

Fixes?

Closes #445

Feedback sought?

Priority?

Low

Tests added?

No

How to test?

Not easy to test: one approach would be to

  • delete the dist/packages/web-component/ directory.
  • npx nx bundle web-component succeeds (while on main it would not)

Confidence?

High

Version change?

No

@sergeleger sergeleger linked an issue Dec 22, 2025 that may be closed by this pull request
@semanticdiff-com
Copy link

semanticdiff-com bot commented Dec 22, 2025

Review changes with  SemanticDiff

Changed Files
File Status
  .github/workflows/bundle.yml  0% smaller
  .github/workflows/deploy.yml  0% smaller
  .github/workflows/dev-preview.yml  0% smaller
  .github/workflows/pr-preview.yml  0% smaller
  .github/workflows/release.yml  0% smaller
  packages/web-component/package.json  0% smaller

@sergeleger sergeleger requested a review from joanise December 22, 2025 15:14
@github-actions
Copy link
Contributor

github-actions bot commented Dec 22, 2025

PR Preview Action v1.6.3
Preview removed because the pull request was closed.
2025-12-23 15:31 UTC

Copy link
Member

@joanise joanise left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

That's a great idea, thanks! We should have done this a long time ago.

@sergeleger sergeleger merged commit f24e36e into main Dec 23, 2025
3 checks passed
@sergeleger sergeleger deleted the dev.swl/445-make-npx-nx-bundle-web-component-automatically-build-first branch December 23, 2025 15:31
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.

Make npx nx bundle web-component automatically build first

3 participants