Skip to content

build: move the shared tooling to @mistpine/port-kit - #1

Merged
lnutimura merged 1 commit into
mainfrom
refactor/port-kit
Nov 16, 2026
Merged

lnutimura merged 1 commit into
mainfrom
refactor/port-kit

Conversation

@lnutimura

Copy link
Copy Markdown
Member

What and why

Moves the tooling every mistpine port copied (spec loader, color math,
banner, pixel checks, Docker helper and fonts) to @mistpine/port-kit
0.1.0. biome.json and tsconfig.json extend the kit's base configs, CI
calls its reusable workflow
(pinned to v0.1.0), and Dependabot bumps the kit and the workflow together.

No output changes: the generated files, assets/banner.svg and
assets/social-preview.* are byte for byte the same.

pnpm render passes its pixel checks on both releases. The committed
preview is kept: re-renders differ only in the live CPU and RAM readings.
pnpm lint reports one warning that is already on main.

Checks

  • pnpm lint && pnpm typecheck
  • pnpm check (themes/ and examples/ match the generator, src/ and the spec)
  • pnpm verify (Polybar 3.7.1 and 3.7.2; CI runs it too)

Theme

  • themes/ and examples/ come from pnpm generate, not edits by hand
  • Settings exist in Polybar 3.7.1, or the README says which version needs them

The spec loader, color math, banner, pixel checks, Docker helper and
fonts were copies of the ones in every other port. They now come from
@mistpine/port-kit, and biome.json, tsconfig.json and CI extend the
kit's shared configs and reusable workflow. Dependabot bumps the kit
and the workflow together.

Generated files and banners are byte for byte the same; pnpm verify
and pnpm render pass on Ubuntu 24.04 and 26.04.
@lnutimura
lnutimura merged commit 0a6f67b into main Nov 16, 2026
1 check passed
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