diff --git a/cli-package/package-lock.json b/cli-package/package-lock.json index 1178222f..adaed17a 100644 --- a/cli-package/package-lock.json +++ b/cli-package/package-lock.json @@ -1,12 +1,12 @@ { "name": "@soulcraft/brainy-cli", - "version": "0.12.0", + "version": "0.16.0", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "@soulcraft/brainy-cli", - "version": "0.12.0", + "version": "0.16.0", "hasInstallScript": true, "license": "MIT", "dependencies": { diff --git a/cli-package/package.json b/cli-package/package.json index 1cc43b5e..a7a4c403 100644 --- a/cli-package/package.json +++ b/cli-package/package.json @@ -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", diff --git a/package.json b/package.json index 93df292b..2e3d3abe 100644 --- a/package.json +++ b/package.json @@ -52,7 +52,6 @@ "prebuild": "echo 'Prebuild step - no version generation needed'", "build": "BUILD_TYPE=unified rollup -c rollup.config.js", "build:browser": "BUILD_TYPE=browser rollup -c rollup.config.js", - "build:cli": "cd cli-package && npm run build", "start": "node dist/unified.js", "demo": "npm run build && npm run build:browser && npx http-server -o /demo/index.html", "version": "echo 'Version updated in package.json'", @@ -66,8 +65,6 @@ "check:style": "node scripts/check-code-style.js", "prepare": "npm run build", "deploy": "npm run build && npm publish && node scripts/create-github-release.js", - "deploy:cli": "cd cli-package && npm run build && npm publish", - "deploy:web-service": "cd web-service-package && npm run build && npm publish", "dry-run": "npm pack --dry-run", "test": "vitest run", "test:watch": "vitest", diff --git a/web-service-package/package.json b/web-service-package/package.json index 374d589f..89e50048 100644 --- a/web-service-package/package.json +++ b/web-service-package/package.json @@ -21,7 +21,13 @@ "test": "vitest run", "test:watch": "vitest", "test:cloud": "vitest run tests/cloud-storage.test.ts", - "test:service": "vitest run tests/service.test.ts" + "test:service": "vitest run tests/service.test.ts", + "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",