@soulcraft/brainy 0.9.7 → 0.9.10
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.
- package/README.md +12 -1
- package/dist/utils/version.d.ts +1 -1
- package/package.json +2 -1
package/README.md
CHANGED
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
[](https://nodejs.org/)
|
|
7
7
|
[](https://www.typescriptlang.org/)
|
|
8
8
|
[](CONTRIBUTING.md)
|
|
9
|
-
[](https://www.npmjs.com/package/@soulcraft/brainy)
|
|
10
10
|
|
|
11
11
|
[//]: # ([](https://github.com/sodal-project/cartographer))
|
|
12
12
|
|
|
@@ -1269,6 +1269,17 @@ Brainy follows a specific code style to maintain consistency throughout the code
|
|
|
1269
1269
|
3. Make your changes
|
|
1270
1270
|
4. Submit a pull request
|
|
1271
1271
|
|
|
1272
|
+
### Badge Maintenance
|
|
1273
|
+
|
|
1274
|
+
The README badges are automatically updated during the build process:
|
|
1275
|
+
|
|
1276
|
+
1. **npm Version Badge**: The npm version badge is automatically updated to match the version in package.json when:
|
|
1277
|
+
- Running `npm run build` (via the prebuild script)
|
|
1278
|
+
- Running `npm version` commands (patch, minor, major)
|
|
1279
|
+
- Manually running `node scripts/generate-version.js`
|
|
1280
|
+
|
|
1281
|
+
This ensures that the badge always reflects the current version in package.json, even before publishing to npm.
|
|
1282
|
+
|
|
1272
1283
|
## License
|
|
1273
1284
|
|
|
1274
1285
|
[MIT](LICENSE)
|
package/dist/utils/version.d.ts
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@soulcraft/brainy",
|
|
3
|
-
"version": "0.9.
|
|
3
|
+
"version": "0.9.10",
|
|
4
4
|
"description": "A vector graph database using HNSW indexing with Origin Private File System storage",
|
|
5
5
|
"main": "dist/unified.js",
|
|
6
6
|
"module": "dist/unified.js",
|
|
@@ -34,6 +34,7 @@
|
|
|
34
34
|
"start": "node dist/unified.js",
|
|
35
35
|
"demo": "npm run build && npm run build:browser && npx http-server -o /index.html",
|
|
36
36
|
"cli": "node ./cli-wrapper.js",
|
|
37
|
+
"version": "node scripts/generate-version.js",
|
|
37
38
|
"version:patch": "npm version patch",
|
|
38
39
|
"version:minor": "npm version minor",
|
|
39
40
|
"version:major": "npm version major",
|