Skip to main content
Version: v0.0.2

Variable: VERSION

const VERSION: string = "0.0.2"

Library version string, kept in lockstep with package.json#version.

Changesets owns the bump and rewrites package.json only, so the release version script runs scripts/sync-version.mjs to rewrite this declaration in the same commit, and test/sanity.test.ts compares the two so a skipped sync goes red instead of shipping a version string that lies. That is not hypothetical: 0.0.1 went to the registry exporting "0.0.0".

Example

import { VERSION } from "@cosyte/terminology";
typeof VERSION; // => "string"