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

PeculiarVentures / json-schema / 38873978477
100%

Build:
DEFAULT BRANCH: master
Ran 16 Oct 2026 08:29AM UTC
Jobs 1
Files 18
Run time 1min
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

16 Oct 2026 08:28AM UTC coverage: 100.0%. Remained the same
38873978477

push

github

web-flow
build!: ship ESM-only output for Node.js ^20.19.0 || >=22.12.0 (#26)

* build!: ship ESM-only output for Node.js ^20.19.0 || >=22.12.0

Align the build with @peculiar/utils 4 (pvtsutils): ESM-only tsdown
output with the existing copyright banner, attw esm-only profile,
engines-driven syntax target, pvtsutils tsconfig (plus
experimentalDecorators for @JsonProp), oxlint/oxfmt, vitest, editor and
.gitignore configs. Config files are now .ts. Use type-only imports
required by verbatimModuleSyntax, add a public-API smoke test in
src/index.spec.ts, drop @types/node (no Node.js APIs are used) and
update the devDependencies.

BREAKING CHANGE: @peculiar/json-schema is ESM-only. The CommonJS build
(build/index.js as CJS, build/index.mjs, build/index.d.mts and the
require export condition) is removed; the package now ships
build/index.js as ESM with build/index.d.ts. Node.js ^20.19.0 ||
>=22.12.0 is required (previously >=16.0.0). CommonJS code can still
require("@peculiar/json-schema") on those versions through require(esm).
TypeScript projects that compile to CommonJS need "module": "node20" or
"nodenext".

* docs: document v3 breaking changes and add CONTRIBUTING.md

* build: emit unbundled output

Emit one file per source module, as pvtsutils does, so the published
build mirrors src/ and is easier to debug. The exports map is unchanged:
only build/index.js is reachable. Document the layout in CONTRIBUTING.md
and note in the README that the v2 bundled declarations leaked four
internal types, which v3 no longer exports.

203 of 203 branches covered (100.0%)

Branch coverage included in aggregate %.

237 of 237 relevant lines covered (100.0%)

50.16 hits per line

Jobs
ID Job ID Ran Files Coverage
1 38873978477.1 16 Oct 2026 08:29AM UTC 18
100.0
GitHub Action Run
Source Files on build 38873978477
  • Tree
  • List 18
  • Changed 14
  • Source Changed 14
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Github Actions Build #38873978477
  • 1c9476c9 on github
  • Prev Build on master (#38873057427)
  • Next Build on master (#38874201194)
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