The manifests disagreed and nothing noticed. tsconfig.json set rootDir to ./src while include also matched bin/**/*, which is TS6059, so no build had succeeded; package.json meanwhile advertised main, types and a bin that a successful build would have to produce. make check runs test, lint and fmt-check, so neither half was ever exercised. These tests read tsconfig.json and package.json and assert the contract between them without invoking a compiler, which keeps them in the fast unit suite: every include pattern must root under rootDir, and main, types and bin.quak must equal the paths tsc will emit for src/index.ts and bin/quak.ts. They also require a quak script pointing at the built CLI, which the README's Getting Started block has always told the reader to run. Three of them fail at this commit.
4.7 KiB
4.7 KiB