**chore(release): bump version to 0.16.0 and enhance project scripts**

- **Version Updates**:
  - Updated `cli-package/package.json` and `package-lock.json` from `0.15.0` to `0.16.0`.

- **NPM Script Enhancements**:
  - Added version-related scripts (`version`, `version:patch`, `version:minor`, `version:major`) to `web-service-package` and `cli-package`.
  - Introduced `deploy` and `dry-run` scripts to streamline build and deployment workflows.

- **Script Cleanup**:
  - Removed redundant `build:cli`, `deploy:cli`, and `deploy:web-service` scripts from the root `package.json`.

**Purpose**: Prepares for release 0.16.0 while introducing reusable and optimized build/release scripts, improving the development and deployment experience.
This commit is contained in:
David Snelling 2025-07-22 10:53:52 -07:00
parent 2ec3e4ea23
commit 8189b45f48
4 changed files with 17 additions and 8 deletions

View file

@ -1,6 +1,6 @@
{
"name": "@soulcraft/brainy-cli",
"version": "0.15.0",
"version": "0.16.0",
"description": "Command-line interface for the Brainy vector graph database",
"type": "module",
"bin": {
@ -15,7 +15,13 @@
"scripts": {
"build": "rollup -c rollup.config.js",
"prepare": "npm run build",
"postinstall": "node cli-wrapper.js --version"
"postinstall": "node cli-wrapper.js --version",
"version": "echo 'Version updated in package.json'",
"version:patch": "npm version patch",
"version:minor": "npm version minor",
"version:major": "npm version major",
"deploy": "npm run build && npm publish",
"dry-run": "npm pack --dry-run"
},
"keywords": [
"vector-database",