qwreey/type_version_check

Version pattern matching for string literal types at compile time (CheckVersion type function) and at runtime (matchesPattern): glob (*) and caret (N^) patterns with SemVer prerelease/build tails (engine-agnostic, not quad-specific)

qwreey/type_version_check

Compile-time version pattern matching for string literal types, used by quad, not quad-specific. CheckVersion<Actual, Pattern> compares a version literal against glob (*) / caret (N^) patterns; SemVer prerelease and build tails are handled (see the source header for the rules). The same rules are exported as a runtime function, matchesPattern(actual, pattern), which is what quad_roblox uses to gate the installed quad_base version.

Part of the quad monorepo. Documentation (Korean): https://quad.qwreey.moe/ — start at 설치 or 왜 Quad인가; the same text is in the repo under docs/.

All five packages are published together at the same version — quad_base is the main one, and the docs show its version:

PackageRoleYou add it?
qwreey/quad_baseengine-agnostic core (reactivity + dispatch engine)yes
qwreey/quad_robloxRoblox backend (D, Tween/Animate, OnChange, Claim)yes, for Roblox
qwreey/quad_typespublic type contract (no implementation)yes, for --!strict consumers
qwreey/quad_errorlevel-tagged error utilityno — pulled in as a dependency
qwreey/type_version_checkcompile-time version pattern matchingno — pulled in as a dependency

License: MIT.