Repository navigation
Conversation
…t has 15) "official registers of N countries" in the npm description, the library header and the README is now synced from VehiclesDB's manifest.json (`countries`) by scripts/sync-countries.mjs (zero deps); prepublishOnly runs it with --check so a stale count can never be published again. Synced: 15 (ar ca de es fi gb ie lu my nl no nz th ua us, release v2026.10.0). Offline unit test added. No npm publish from this change. Co-Authored-By: Claude Opus 5.5 <[email protected]>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
"official registers of 14 countries" in the npm description, the JS header and the README was stale (VehiclesDB v2026.10.0 has 15 register countries: ar ca de es fi gb ie lu my nl no nz th ua us). It was a hand-typed fact; now it is read from the dataset's own
manifest.json(countries).scripts/sync-countries.mjs(zero deps, Node >= 18):node scripts/sync-countries.mjs [--manifest <path|url>] [--check]; default source https://raw.githubusercontent.com/vehiclesdb/vehiclesdb/main/manifest.json (main carries the last release's build outputs).prepublishOnlyruns it with--check, so a stale count fails the publish instead of shipping.test/sync-countries.test.mjs(offline): distinct-country counting, phrase rewrite touches nothing else.npm test: 20/20 pass.npm publish(owner/release only).Not changed: "14,000+ models, 850+ makes" (still true: 14,997 / 860+).
🤖 Generated with Claude Code