**refactor(core): remove generate-version script and update prebuild/version workflows**

- **Removal of `generate-version.js`**:
  - Deleted `scripts/generate-version.js` as it is no longer required for version handling.
  - Removed associated output files, including `src/utils/version.ts`.

- **Prebuild and Version Process Updates**:
  - Updated `prebuild` and `version` scripts in `package.json` to reflect the new workflow:
    - Replaced `generate-version.js` with simplified echo commands for version updates and build steps.
  - Adjusted deployment scripts (`deploy:cli` and `deploy:web-service`) to align with the removal of the script.

- **Documentation and Config Updates**:
  - Cleaned up `README.md` by removing unused version badge references.
  - Updated `cli-package/package.json` to specify a version range (`^0.15.0`) for `@soulcraft/brainy`.

**Purpose**: This refactor simplifies the version handling process by removing outdated scripts, reducing maintenance overhead, and aligning workflows with project conventions. Improves clarity and consistency in both configuration and documentation.
This commit is contained in:
David Snelling 2025-07-22 10:43:19 -07:00
parent 0c7e999a2f
commit a03874fef2
5 changed files with 6 additions and 144 deletions

View file

@ -40,7 +40,7 @@
"url": "git+https://github.com/soulcraft-research/brainy.git"
},
"dependencies": {
"@soulcraft/brainy": "0.15.0",
"@soulcraft/brainy": "^0.15.0",
"commander": "^14.0.0",
"omelette": "^0.4.17"
},
@ -58,4 +58,4 @@
"engines": {
"node": ">=24.4.0"
}
}
}