diff options
| author | Bobby <[email protected]> | 2026-04-22 08:10:30 +0530 |
|---|---|---|
| committer | Bobby <[email protected]> | 2026-04-22 08:10:30 +0530 |
| commit | 0bb36660ec4bceeb4bd9b18cf47a30ba8eded427 (patch) | |
| tree | f94aa2de99dcb7ee87639a3f60539fd376577bb9 /lib/version.ts | |
| parent | e72162b34bddbf04998eea934335e9496b8649f8 (diff) | |
| download | hollowdark-0bb36660ec4bceeb4bd9b18cf47a30ba8eded427.tar.xz hollowdark-0bb36660ec4bceeb4bd9b18cf47a30ba8eded427.zip | |
Rename ui-lib to lib, split Begin into smaller components, add Credits, bump version to 1.0 from package.json
Diffstat (limited to 'lib/version.ts')
| -rw-r--r-- | lib/version.ts | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/lib/version.ts b/lib/version.ts new file mode 100644 index 0000000..e8322e3 --- /dev/null +++ b/lib/version.ts @@ -0,0 +1,12 @@ +import pkg from '@hollowdark/package.json' + +const [major, minor] = pkg.version.split('.') + +/** + * The app's version in short display form (`<major>.<minor>`), derived from + * the `version` field in `package.json`. Displayed in the UI footer. + */ +export const APP_VERSION: string = `${major}.${minor}` + +/** The full semver string from `package.json`. */ +export const APP_VERSION_FULL: string = pkg.version |
