feat(scripts): enhance version script and update badges dynamically in README
- Added a new `version` script in `package.json` to execute `generate-version.js` for automated version management. - Enhanced `generate-version.js` to dynamically update badges in `README.md` for npm version, Node.js version, and TypeScript version. - Modified badge update logic to retrieve Node.js and TypeScript versions from `package.json` for accuracy. - Updated `VERSION` constant in `version.ts` to `0.9.7` to reflect the latest release. - Streamlined the versioning process for better maintainability and consistency in documentation.
This commit is contained in:
parent
5e773e0110
commit
1c68d51be1
3 changed files with 27 additions and 8 deletions
|
|
@ -3,4 +3,4 @@
|
|||
* Do not modify this file directly.
|
||||
*/
|
||||
|
||||
export const VERSION = '0.9.6';
|
||||
export const VERSION = '0.9.7';
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue