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

shexjs / shex.js / 29320865913
75%

Build:
DEFAULT BRANCH: main
Ran 14 Jul 2026 09:13AM UTC
Jobs 1
Files 57
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

14 Jul 2026 09:12AM UTC coverage: 72.653% (+0.2%) from 72.437%
29320865913

push

github

Eric Prud'hommeaux
build: repair the shex meta-package, drop lerna, refresh READMEs

The shex meta-package was published broken: no main (so require('shex')
threw), a README documenting bins at paths that don't exist, and
@shexjs/cli@1.0.0-alpha.29 crashing on an undeclared
@shexjs/neighborhood-sparql.  Auditing for that failure class found 25
hoisting-masked undeclared dependencies across 9 packages (shape-map
missing @ts-jison/lexer, neighborhood-rdfjs missing neighborhood-api,
extension-map missing 8, ...), all now declared with ranges their
workspace versions satisfy.

packages/shex:
- shex.js: aggregate index (Parser, Writer, Validator, RdfJsDb, Loader,
  NodeLoader, Term, Util, Visitor, ShapeMap) with main set and explicit
  dependencies.
- test/meta-test.js: the aggregate API validates end-to-end; dependency
  ranges are satisfied by workspace versions.
- test/monorepo-deps-test.js: no workspace package may require a package
  its manifest doesn't declare (the class of bug that broke the CLI).
- README.md: consumer-focused rewrite; every example verified by
  execution (npx bin names, extension paths, live try-online link).

lerna removal (it was in fixed-versioning mode, not independent; npm
workspaces already does the linking, and 'lerna bootstrap' in the
rebuild script had been broken since lerna 7):
- tools/bumpVersions.js (npm run bump-versions -- [--dry-run] <version>)
  sets every workspace version and cross-workspace range; publishing is
  npm publish --workspaces.
- lerna.json removed; browserify-all.js reads package.json workspaces.
- node-fetch was only resolvable through lerna-era hoisting luck; the
  shared test infrastructure that requires it now gets it from a root
  devDependency.

README.md: 'npm workspaces monorepo' section with building, testing and
publishing instructions; stale examples fixed (npx bin names, working
loader examples, dead rawgit links replaced with the live
shex.io/webapps pages, Actions badges).

Co-Authored-By: Claude Fable ... (continued)

2210 of 3524 branches covered (62.71%)

Branch coverage included in aggregate %.

67 of 69 new or added lines in 3 files covered. (97.1%)

4655 of 5925 relevant lines covered (78.57%)

7501.75 hits per line

Uncovered Changes

Lines Coverage ∆ File
2
90.91
packages/shex/test/monorepo-deps-test.js
Jobs
ID Job ID Ran Files Coverage
1 29320865913.1 14 Jul 2026 09:13AM UTC 57
72.65
GitHub Action Run
Source Files on build 29320865913
  • Tree
  • List 57
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Github Actions Build #29320865913
  • e76e54c3 on github
  • Prev Build on main (#29314688523)
  • Next Build on main (#29363108335)
  • Delete
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc