@devilsdev/rag-pipeline-utils 2.6.1 → 2.6.2
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/CHANGELOG.md +14 -0
- package/README.md +2 -0
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -11,6 +11,19 @@ page.
|
|
|
11
11
|
|
|
12
12
|
## [Unreleased]
|
|
13
13
|
|
|
14
|
+
## [2.6.2] - 2026-10-29
|
|
15
|
+
|
|
16
|
+
### Fixed
|
|
17
|
+
|
|
18
|
+
- **`npm install` failed on machines without husky installed globally.**
|
|
19
|
+
Every release from 2.2.1 to 2.6.1 declared
|
|
20
|
+
`"postinstall": "husky install"`. husky is a development tool that isn't
|
|
21
|
+
installed in users' projects, so installing the package failed with
|
|
22
|
+
`husky: not found` (or `'husky' is not recognized` on Windows) on clean
|
|
23
|
+
machines and CI runners. The hook now runs from `prepare`, which npm runs
|
|
24
|
+
only in this repository, and the pack smoke test fails if the package
|
|
25
|
+
has any install-time script. No code changes.
|
|
26
|
+
|
|
14
27
|
## [2.6.1] - 2026-10-29
|
|
15
28
|
|
|
16
29
|
Documentation only; no code changes.
|
|
@@ -567,6 +580,7 @@ First public release on the 2.4 line, introducing the v2.4 feature set.
|
|
|
567
580
|
For release notes prior to v2.4.0, see
|
|
568
581
|
[github.com/DevilsDev/rag-pipeline-utils/releases](https://github.com/DevilsDev/rag-pipeline-utils/releases).
|
|
569
582
|
|
|
583
|
+
[2.6.2]: https://github.com/DevilsDev/rag-pipeline-utils/releases/tag/v2.6.2
|
|
570
584
|
[2.6.1]: https://github.com/DevilsDev/rag-pipeline-utils/releases/tag/v2.6.1
|
|
571
585
|
[2.6.0]: https://github.com/DevilsDev/rag-pipeline-utils/releases/tag/v2.6.0
|
|
572
586
|
[2.5.0]: https://github.com/DevilsDev/rag-pipeline-utils/releases/tag/v2.5.0
|
package/README.md
CHANGED
|
@@ -52,6 +52,8 @@ npm install @devilsdev/rag-pipeline-utils
|
|
|
52
52
|
|
|
53
53
|
Requires Node.js 18 or later. The package ships CommonJS, ESM and TypeScript declarations.
|
|
54
54
|
|
|
55
|
+
> **`npm install` failed with `husky: not found`?** Versions 2.2.1 to 2.6.1 ran a development hook on install. Install 2.6.2 or later: `npm install @devilsdev/rag-pipeline-utils@latest`.
|
|
56
|
+
|
|
55
57
|
## Quick start
|
|
56
58
|
|
|
57
59
|
This example runs offline: it uses the built-in TF-IDF embedder and an in-memory vector store.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@devilsdev/rag-pipeline-utils",
|
|
3
|
-
"version": "2.6.
|
|
3
|
+
"version": "2.6.2",
|
|
4
4
|
"description": "Composable retrieval-augmented generation (RAG) for Node.js: grounded citations, evaluation, guardrails, hybrid retrieval and a CLI.",
|
|
5
5
|
"main": "dist/index.cjs",
|
|
6
6
|
"type": "commonjs",
|
|
@@ -65,7 +65,7 @@
|
|
|
65
65
|
"lint:diagnostic:ts": "eslint . --ext .js,.jsx,.ts,.tsx --format=stylish",
|
|
66
66
|
"lint:errors-only:ts": "eslint . --ext .js,.jsx,.ts,.tsx --quiet",
|
|
67
67
|
"lint-staged": "lint-staged",
|
|
68
|
-
"
|
|
68
|
+
"prepare": "husky install",
|
|
69
69
|
"verify:mocks": "node scripts/verify-fixture-mocks.js",
|
|
70
70
|
"build:docs": "npm run docs:build",
|
|
71
71
|
"ci": "node scripts/ci-runner.js",
|