Skip to content

chore: add changepacks for the absolute CSS path fixes - #658

Merged
owjs3901 merged 1 commit into
mainfrom
owjs3901/du1-changepacks
Sep 9, 2026
Merged

chore: add changepacks for the absolute CSS path fixes#658
owjs3901 merged 1 commit into
mainfrom
owjs3901/du1-changepacks

Conversation

@owjs3901

@owjs3901 owjs3901 commented Sep 9, 2026

Copy link
Copy Markdown
Contributor

Follow-up to #657, which merged without changepack entries. Without them the release workflow has nothing to act on, so main still carries the pre-fix versions and no "Update versions" PR is produced.

What this adds

Two patch entries, one per package actually changed by #657:

Package
@devup-ui/bun-plugin v1.0.16 v1.0.17
@devup-ui/rsbuild-plugin v1.0.62 v1.0.63

Verified against this branch:

$ bunx @changepacks/cli check
[Node.js] @devup-ui/bun-plugin (v1.0.16 → v1.0.17) - packages/bun-plugin/package.json (changed)
[Node.js] @devup-ui/rsbuild-plugin (v1.0.62 → v1.0.63) - packages/rsbuild-plugin/package.json

The other nine projects are correctly left untouched.

Note on generation

Generated with bunx @changepacks/cli, then narrowed. -y selects all 11 projects, which would publish nine packages this change does not touch — worth knowing for anyone scripting it non-interactively.

What shipped in #657

Both fixes remove a machine-absolute CSS path from transformed module text:

  • bun-pluginonResolve returned <cwd>/df/devup-ui/devup-ui.css, and Bun bakes plugin-resolved specifiers into a machine-wide transpiler cache keyed by module contents alone. Parallel checkouts of one repository share cache entries, so every checkout but the first imported another worktree's stylesheet and its whole bun test run failed. Now resolved to a virtual namespaced id.
  • rsbuild-plugin — the non-atom path (the default) passed the absolute cssDir to codeExtract, making transform output depend on checkout location. Now relative to the importer, matching next/webpack/vite.

Two patch entries, one per package actually changed:

    @devup-ui/bun-plugin      v1.0.16 -> v1.0.17
    @devup-ui/rsbuild-plugin  v1.0.62 -> v1.0.63

Generated with `bunx @changepacks/cli`, then narrowed to the changed
packages: `-y` selects all 11 projects, which would publish nine
packages that this branch does not touch. `bunx @changepacks/cli check`
confirms only the two above are marked changed.
@github-actions

github-actions Bot commented Sep 9, 2026

Copy link
Copy Markdown
Contributor

Changepacks

@devup-ui/bun-plugin@1.0.16 → 1.0.17 - packages/bun-plugin/package.json

Patch

  • Resolve the extracted stylesheet to a virtual id so parallel checkouts stop importing each other's CSS

@devup-ui/rsbuild-plugin@1.0.62 → 1.0.63 - packages/rsbuild-plugin/package.json

Patch

  • Emit the extracted stylesheet import relative to the importing file instead of an absolute path

@codecov

codecov Bot commented Sep 9, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@owjs3901
owjs3901 merged commit 9c04971 into main Sep 9, 2026
4 checks passed
@owjs3901
owjs3901 deleted the owjs3901/du1-changepacks branch September 9, 2026 03:09
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.

1 participant