feat: add version generation script and auto-generated version.ts file

Introduced a script to generate a `version.ts` file exporting the package version from `package.json`. This simplifies accessing version data in the CLI, especially for global installations. Included auto-generated `version.ts` in the project structure.
This commit is contained in:
David Snelling 2025-06-05 14:05:05 -07:00
parent e2f65c8146
commit 430ba65f41
2 changed files with 57 additions and 0 deletions

6
src/utils/version.ts Normal file
View file

@ -0,0 +1,6 @@
/**
* This file is auto-generated during the build process.
* Do not modify this file directly.
*/
export const VERSION = '0.7.1';