cognetivy 0.1.2 → 0.1.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/README.md +12 -0
  2. package/package.json +7 -3
package/README.md CHANGED
@@ -79,6 +79,18 @@ cd cli && npm install && npm run build && npm test
79
79
 
80
80
  Embed Studio in the CLI build: `npm run build:full`.
81
81
 
82
+ ### Publish a new version
83
+
84
+ From the `cli` directory, with a clean working tree:
85
+
86
+ ```bash
87
+ npm run release # bump patch (0.1.3 → 0.1.4) and publish
88
+ npm run release:minor # bump minor (0.1.3 → 0.2.0) and publish
89
+ npm run release:major # bump major (0.1.3 → 1.0.0) and publish
90
+ ```
91
+
92
+ Then push the new commit and tag: `git push && git push --tags`.
93
+
82
94
  ---
83
95
 
84
96
  ## License
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "cognetivy",
3
- "version": "0.1.2",
3
+ "version": "0.1.4",
4
4
  "description": "Reasoning orchestration state: workflow structure, run logs, and versioned mutations",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",
@@ -12,7 +12,10 @@
12
12
  "prepare": "npm run build",
13
13
  "test": "npm run build && node --test test/*.test.mjs",
14
14
  "build:studio": "cd ../studio && npm run build && node -e \"require('fs').cpSync(require('path').join(process.cwd(),'dist'), require('path').join(process.cwd(),'../cli/dist/studio'), {recursive:true})\"",
15
- "build:full": "npm run build && npm run build:studio"
15
+ "build:full": "npm run build && npm run build:studio",
16
+ "release": "npm version patch && npm publish",
17
+ "release:minor": "npm version minor && npm publish",
18
+ "release:major": "npm version major && npm publish"
16
19
  },
17
20
  "keywords": [
18
21
  "cli",
@@ -42,6 +45,7 @@
42
45
  "typescript": "^5.7.0"
43
46
  },
44
47
  "files": [
45
- "dist"
48
+ "dist",
49
+ "README.md"
46
50
  ]
47
51
  }