Skip to content

v0.2.27: bring the environment tooling back in line with reality - #291

Merged
divijg19 merged 1 commit into
mainfrom
v0.2.27
Nov 3, 2026
Merged

divijg19 merged 1 commit into
mainfrom
v0.2.27

Conversation

@divijg19

@divijg19 divijg19 commented Nov 3, 2026

Copy link
Copy Markdown
Owner

Several checks claimed things the repo does not do, and one claimed a floor the repo cannot actually stand on. Both kinds of drift are fixed:

  • The Storybook vitest project was removed in v0.2.26, and its only consumer, .storybook/vitest.setup.ts, was left behind. Nothing calls setProjectAnnotations; it is deleted.
  • tsconfig targets ES2022 (was ES2021), matching the Node floor the repo actually runs against, and its include no longer sweeps the generated .velite payload or carries a stale inline comment.
  • engines.node is now ^22.22.2. The previous floor (>=20.9.0) sat under vitest (>=22.12) and jsdom (>=22.22), was on an EOL line, and ignored that the 22 LTS line is where the project is actually developed. Patch releases on the 22 line float in without a config edit.
  • qa used to run the fixing pair (lint --write, format --write) while claiming to be a check, which made it quietly rewrite the tree and diverge from CI. It now runs the same non-mutating gates as CI.
  • storybook no longer rebuilds the static site before starting dev; storybook:build covers the build case explicitly.
  • README and CONTRIBUTING described commands that do not exist (test:watch, build:analyze) and Git hooks that are not configured; both now say what is actually wired up.
  • Production deployments get HSTS (max-age=31536000, includeSubDomains); it is emitted only in production so the dev server over plain HTTP is not poisoned.

Verification, unpiped by exit code: biome check, type-check (against the ES2022 lib set), 269 tests across 35 files with coverage unchanged, a production build, check:bundle within budget (1139.9 KB raw / 363.4 KB gzip, narrowly), and the HSTS header present on the production response.

Several checks claimed things the repo does not do, and one claimed a floor the
repo cannot actually stand on. Both kinds of drift are fixed:

- The Storybook vitest project was removed in v0.2.26, and its only consumer,
  `.storybook/vitest.setup.ts`, was left behind. Nothing calls setProjectAnnotations;
  it is deleted.
- tsconfig targets ES2022 (was ES2021), matching the Node floor the repo actually
  runs against, and its include no longer sweeps the generated .velite payload or
  carries a stale inline comment.
- `engines.node` is now ^22.22.2. The previous floor (>=20.9.0) sat under vitest
  (>=22.12) and jsdom (>=22.22), was on an EOL line, and ignored that the 22 LTS
  line is where the project is actually developed. Patch releases on the 22 line
  float in without a config edit.
- `qa` used to run the fixing pair (`lint --write`, `format --write`) while
  claiming to be a check, which made it quietly rewrite the tree and diverge from
  CI. It now runs the same non-mutating gates as CI.
- `storybook` no longer rebuilds the static site before starting dev; `storybook:build`
  covers the build case explicitly.
- README and CONTRIBUTING described commands that do not exist
  (`test:watch`, `build:analyze`) and Git hooks that are not configured; both
  now say what is actually wired up.
- Production deployments get HSTS (max-age=31536000, includeSubDomains); it is
  emitted only in production so the dev server over plain HTTP is not poisoned.

Verification, unpiped by exit code: `biome check`, `type-check` (against the
ES2022 lib set), 269 tests across 35 files with coverage unchanged, a
production build, `check:bundle` within budget (1139.9 KB raw / 363.4 KB gzip,
narrowly), and the HSTS header present on the production response.
@vercel

vercel Bot commented Nov 3, 2026 •

Copy link
Copy Markdown
Contributor

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
lys Ready Ready Preview Nov 3, 2026 6:21pm UTC

@divijg19 divijg19 left a comment

Copy link
Copy Markdown
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

v0.2.27: bring the environment tooling back in line with reality

@divijg19
divijg19 merged commit 1631416 into main Nov 3, 2026
3 checks passed
@divijg19
divijg19 deleted the v0.2.27 branch November 3, 2026 18:24

This branch was successfully deployed

1 active deployment
Preview — 3b311b8a Deployed Nov 3, 2026 by vercel[bot]
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