Skip to content

chore: v1 repo hygiene + tooling gate#17

Merged
arzafran merged 2 commits into
mainfrom
chore/v1-repo-hygiene
Jun 19, 2026
Merged

chore: v1 repo hygiene + tooling gate#17
arzafran merged 2 commits into
mainfrom
chore/v1-repo-hygiene

Conversation

@arzafran

Copy link
Copy Markdown
Member

What this does

Cleans up dead config and junk that accumulated in the repo, and turns Biome (already configured but never script-wired) into an actual CI gate ahead of v1. No changes to the shipped library's behavior or its dependency tree — this is tooling and repo hygiene only.

This is the first of two v1 prep PRs. The companion #15 handles the playground's Astro 5 upgrade and its dependency moves (kept separate so this PR touches no lockfile).

Summary

  • Dead config removed: .eslintrc.js referenced eslint/standard/prettier/@typescript-eslint — none installed; Biome replaced ESLint. Deleting it removes a second, broken lint mental-model.
  • Junk removed: bash.exe.stackdump (a committed Cygwin crash dump), orphaned vite.config.js + the dead docs/ mini-site it served (vite isn't a dependency; the playground is the demo).
  • Biome wired up: added lint (gates packages/), format, and check scripts. Ignored generated paths (.astro, .vscode, .tldr).
  • engines: node >=18 declared.
  • .gitignore: dropped stale entries for long-removed packages (snap, vue), dist-new/, docs/dist; added *.stackdump.
  • .gitattributes: normalize text to LF. The library source was committed with Windows CRLF — the second commit normalizes packages/ to LF (that's why its diff looks large; the only non-whitespace change is one import re-sort).
  • CI added: library job builds + lints the published package (the v1 gate); playground job builds the demo as advisory (continue-on-error) until chore(playground): upgrade to Astro 5 #15's Astro 5 + demo fixes land.

Test Plan

  • pnpm build (library) succeeds
  • pnpm lint (biome check packages) passes — 0 errors
  • pnpm install --frozen-lockfile valid (no dep/lockfile changes)
  • CI green on this PR

Follow-ups (not in this PR)

  • Relocate lottie-web/motion from root devDeps → playground (they're only used by playground/core/test.ts) — folded into chore(playground): upgrade to Astro 5 #15 since it owns the lockfile.
  • Modernization: Biome 1.9 → 2.x, TypeScript 5.7 → 6.0.
  • One noExplicitAny warning remains in tempus.ts (window version global) — left as a tracked warning.

arzafran added 2 commits June 19, 2026 17:26
Remove dead config and junk, wire Biome as a real gate, add CI.

- delete stale .eslintrc.js (referenced eslint/standard/prettier/
  @typescript-eslint — none of which are installed; superseded by Biome)
- delete bash.exe.stackdump (committed Cygwin crash dump) + ignore *.stackdump
- delete orphaned vite.config.js and the dead docs/ mini-site it served
  (vite isn't a dependency; the playground is the demo now)
- package.json: add `lint`/`format`/`check` scripts (Biome was configured
  but never script-wired) and `engines: node >=18`
- biome.json: ignore generated/non-source paths (.astro, .vscode, .tldr)
- .gitignore: drop stale entries for removed packages (snap, vue), dead
  dist-new/ and docs/dist; add *.stackdump
- .gitattributes: normalize text to LF
- CI: build + lint the library as the v1 gate; playground build advisory
Biome formatting pass over packages/. The large diff is purely CRLF→LF
line-ending normalization (the source was committed with Windows CRLF);
the only non-whitespace change is one import re-sort in tempus.ts.
@arzafran arzafran merged commit 291251e into main Jun 19, 2026
4 checks passed
@arzafran arzafran deleted the chore/v1-repo-hygiene branch June 22, 2026 12:05
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