Skip to content

Pin the Vite+ toolchain (deterministic oxfmt) + refresh deps#204

Merged
lifeiscontent merged 2 commits into
mainfrom
chore/toolchain-and-deps
Jun 23, 2026
Merged

Pin the Vite+ toolchain (deterministic oxfmt) + refresh deps#204
lifeiscontent merged 2 commits into
mainfrom
chore/toolchain-and-deps

Conversation

@lifeiscontent

Copy link
Copy Markdown
Collaborator

Lands first; the alignment PRs (#162#203) rebase onto this so their formatting becomes reproducible.

Why

The catalog pinned the toolchain as vite: npm:@voidzero-dev/vite-plus-core@latest. Because oxfmt ships inside vite-plus-core, every vp install could re-resolve a different oxfmt — so the same file formatted differently between a local checkout and CI (and between branches whose worktree installs re-resolved @latest at different times). That left a couple of alignment PRs red on a formatting nit no local vp check could reproduce.

Change

  • Pin vitenpm:@voidzero-dev/vite-plus-core@0.2.1 (was @latest) and vite-plus0.2.1, so the toolchain — and the bundled oxfmt — is deterministic for everyone.
  • Refresh the lockfile (transitive patch bumps only; no major version jumps, no source changes).

Verification

  • vp check clean (all files correctly formatted under pinned 0.2.1).
  • vp run build clean (attw + publint pass).
  • Browser tests validated by CI here (locally flaky on this box from resource contention — run-to-run variance + "browser connection closed" confirm it's environmental).

Follow-up

Once merged, rebase the alignment branches onto main and re-run vp check --fix per branch — formatting is then reproducible and the format-drift reds clear.

The catalog used vite: @voidzero-dev/vite-plus-core@latest, so every install
could re-resolve a different vite-plus-core — and its bundled oxfmt then
formatted the same file differently between local and CI (e.g. the
preview-card alignment PR). Pin vite-plus-core and vite-plus to 0.2.1 so the
toolchain (and the formatter) is deterministic everywhere, and refresh the
lockfile. check + build are clean; CI runs the browser test suite.
@github-actions

Copy link
Copy Markdown

📚 Storybook preview: https://pr-204-propel-storybook.vamsi-906.workers.dev

@lifeiscontent lifeiscontent merged commit 984e343 into main Jun 23, 2026
2 checks passed
@lifeiscontent lifeiscontent deleted the chore/toolchain-and-deps branch June 23, 2026 16:10
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