- **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.
61 lines
1.4 KiB
JSON
61 lines
1.4 KiB
JSON
{
|
|
"name": "@soulcraft/brainy-cli",
|
|
"version": "0.15.0",
|
|
"description": "Command-line interface for the Brainy vector graph database",
|
|
"type": "module",
|
|
"bin": {
|
|
"brainy": "cli-wrapper.js"
|
|
},
|
|
"files": [
|
|
"cli-wrapper.js",
|
|
"README.md",
|
|
"dist/cli.js",
|
|
"dist/cli.js.map"
|
|
],
|
|
"scripts": {
|
|
"build": "rollup -c rollup.config.js",
|
|
"prepare": "npm run build",
|
|
"postinstall": "node cli-wrapper.js --version"
|
|
},
|
|
"keywords": [
|
|
"vector-database",
|
|
"hnsw",
|
|
"cli",
|
|
"browser",
|
|
"container",
|
|
"graph-database"
|
|
],
|
|
"author": "David Snelling (david@soulcraft.com)",
|
|
"license": "MIT",
|
|
"private": false,
|
|
"publishConfig": {
|
|
"access": "public"
|
|
},
|
|
"homepage": "https://github.com/soulcraft-research/brainy",
|
|
"bugs": {
|
|
"url": "https://github.com/soulcraft-research/brainy/issues"
|
|
},
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "git+https://github.com/soulcraft-research/brainy.git"
|
|
},
|
|
"dependencies": {
|
|
"@soulcraft/brainy": "^0.15.0",
|
|
"commander": "^14.0.0",
|
|
"omelette": "^0.4.17"
|
|
},
|
|
"devDependencies": {
|
|
"@rollup/plugin-commonjs": "^25.0.7",
|
|
"@rollup/plugin-json": "^6.1.0",
|
|
"@rollup/plugin-node-resolve": "^15.2.3",
|
|
"@rollup/plugin-typescript": "^11.1.6",
|
|
"@types/node": "^20.11.30",
|
|
"@types/omelette": "^0.4.5",
|
|
"rollup": "^4.13.0",
|
|
"rollup-plugin-terser": "^7.0.2",
|
|
"typescript": "^5.4.5"
|
|
},
|
|
"engines": {
|
|
"node": ">=24.4.0"
|
|
}
|
|
}
|