Skip to content

chore: bump fontless to 0.4.1 (lightningcss CSS transform, --font-* auto-detect) - #403

Open
returnsvoidjanet wants to merge 1 commit into
mainfrom
chore/fontless-0.4.1
Open

chore: bump fontless to 0.4.1 (lightningcss CSS transform, --font-* auto-detect)#403
returnsvoidjanet wants to merge 1 commit into
mainfrom
chore/fontless-0.4.1

Conversation

@returnsvoidjanet

Copy link
Copy Markdown
Contributor

fontless 0.2.1 -> 0.4.1 (@petalnet/console, via pnpm catalog)

Part of the lab-wide fontless upgrade sweep (Eli, 08-23).

Versions moved

  • prod catalog fontless ^0.2.1 -> ^0.4.1 (catalogMode is strict, so the range is bumped in pnpm-workspace.yaml, not in package.json). Consumed only by apps/console (fontless: catalog:prod).
  • transitive: fontaine 0.8.0 -> 0.8.1, unifont 0.7.4 -> 0.8.3

Config changes: none in apps/console/vite.config.ts. Explicit Geist / Geist Mono families stay on provider: "fontsource" (a fontless provider string, not the npm package — left as-is). Already on Vite 8.

Also: added fontless to minimumReleaseAgeExclude, matching this repo's existing convention for fresh releases wanted immediately (eslint, svelte, knip). fontless 0.4.1 was published <1 day ago, so the supply-chain age gate would otherwise reject the lockfile in CI.

Breaking-changes verified

  • unifont v0.8 provider layer / provider request-init: apps/console vite build succeeds with the fontsource provider.
  • vite asset-URL/base resolution of @font-face: built client CSS emits 48 @font-face rules and 40 woff2 files under build/client/assets/_fonts/ (URLs resolve on disk).

Verify

  • fontless-relevant: apps/console build green + fonts emit (above).
  • apps/console check (svelte-check) and test: see note. svelte-check reports 31 pre-existing type errors (effect-db QueryColumnType) that also fail on main without this change (confirmed) and are unrelated to fontless — likely surfaced by running the package standalone rather than through the repo's coordinated tsc -b / vp run -r typecheck build order. Not touched.

Note: fontaine 0.8.1 is transitive — not added as a direct dependency.

Do not merge — opened for Eli's review.

…uto-detect)

Bump the pnpm catalog (catalogMode is strict, so the range lives in the
catalog, not in package.json): prod catalog fontless ^0.2.1 -> ^0.4.1.
Consumed only by apps/console (fontless: catalog:prod). Transitive:
fontaine 0.8.0 -> 0.8.1, unifont 0.7.4 -> 0.8.3. Already on Vite 8.

Config unchanged: apps/console/vite.config.ts keeps its explicit Geist /
Geist Mono families on provider "fontsource" (a fontless provider string,
not the npm package).

Added fontless to minimumReleaseAgeExclude, matching this repo's existing
pattern for brand-new releases wanted now (eslint/svelte/knip): fontless
0.4.1 published <1 day ago, so the supply-chain age gate would otherwise
reject the lockfile in CI.

Verified: apps/console build succeeds; built client CSS emits 48 @font-face
rules and 40 woff2 files under build/client/assets/_fonts/ (fontsource
provider works on unifont 0.8.3).

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_016FzHBHu2PuQwFbbY2zDe4C
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