• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

tselect-npm / schema
100%

Build:
DEFAULT BRANCH: main
Repo Added 30 Aug 2026 01:41PM UTC
Token tWoGtAFHb4NFPxsVVfIlXDxWVlDTfDHR2 regen
Build 2 Last
Files 30
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

LAST BUILD ON BRANCH main
branch: SELECT
CHANGE BRANCH
x
Sync Branches
  • No branch selected
  • chore/modernize
  • main

30 Aug 2026 01:47PM UTC coverage: 100.0%. First build
33315135801

push

github

web-flow
:boom: Modernize toolchain: pnpm, tsdown, Vitest, Biome, TypeScript 7, CI

Eight concerns, one commit — this repository's ruleset allows squash merges
only, so the gitmoji series from `chore/modernize` is recorded here rather
than replayed onto `main`:

  :bug:                 Repo hygiene: fix what ships and stop tracking build artefacts
  :wrench:              Migrate to pnpm
  :heavy_minus_sign:    Drop the @types/ajv stub and demote ajv to a devDependency
  :sparkles:            Add dual ESM + CJS build via tsdown, on TypeScript 7
  :white_check_mark:    Migrate test suite to Vitest
  :rotating_light:      Replace TSLint with Biome
  :memo:                Add LICENSE, keywords and a full README API section
  :construction_worker: Run CI from the org-wide reusable workflow

`:boom:` rather than the branch's `:wrench:` because a squash leaves one
commit to infer the bump from, and `:wrench:` infers as no release at all.
The `bump: major` override is still the documented way to ship this; the
history now says so on its own as well.

The major is forced four times over: `engines.node >=22`; the `exports` map,
which closes deep imports; `enumeration()`'s return type moving from `any`
to `TJSONSchema`; and `ajv` leaving `dependencies`, which closes a
transitive install for anyone who was resolving it through this package
rather than declaring it.

`ajv` turned out never to be imported by `src/` at all — a test-only
dependency declared as a runtime one — so the 6 → 8 upgrade this repo was
scheduled late for costs consumers nothing.

Headline fix: **the entire package was broken in ESM.** All seven utils used
`import * as Lodash from 'lodash'`, and because `makeSchema` →
`cleanOptions` → `Lodash.omit`, every factory would have thrown on the ESM
entry while CJS kept working. lodash is kept; only the import form changed.

Verified against the published 1.0.0 tarball rather than argued: 105
scenarios across all 30 exports, run against both new entry points —... (continued)

68 of 68 branches covered (100.0%)

Branch coverage included in aggregate %.

24 of 24 new or added lines in 11 files covered. (100.0%)

103 of 103 relevant lines covered (100.0%)

16.42 hits per line

Relevant lines Covered
Build:
Build:
103 RELEVANT LINES 103 COVERED LINES
16.42 HITS PER LINE
Source Files on main
  • Tree
  • List 30
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses

Recent builds

Builds Branch Commit Type Ran Committer Via Coverage
33315135801 main :boom: Modernize toolchain: pnpm, tsdown, Vitest, Biome, TypeScript 7, CI Eight concerns, one commit — this repository's ruleset allows squash merges only, so the gitmoji series from `chore/modernize` is recorded here rather than replayed onto `m... push 30 Aug 2026 01:48PM UTC web-flow github
100.0
33314847620 chore/modernize Merge 0158d0de4 into 64abede5c Pull #29 30 Aug 2026 01:41PM UTC web-flow github
100.0
See All Builds (2)

Badge your Repo: schema

We detected this repo isn’t badged! Grab the embed code to the right, add it to your repo to show off your code coverage, and when the badge is live hit the refresh button to remove this message.

Could not find badge in README.

Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

Refresh
  • Settings
  • Repo on GitHub
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc