@bilig/xlsx-formula-recalc 0.130.7 → 0.131.0

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 CHANGED
@@ -12,7 +12,32 @@ after the detector points at the cells that matter.
12
12
  It fits `xlsx-populate`, SheetJS / `xlsx`, template-generation, GitHub Actions,
13
13
  and backend file pipelines where stale readback is worse than a hard failure.
14
14
 
15
- ## Try The Cache Doctor First
15
+ ## Try The Evaluator First
16
+
17
+ Run the no-project evaluator demo:
18
+
19
+ ```sh
20
+ npx --package @bilig/xlsx-formula-recalc bilig-evaluate --door xlsx-cache --json
21
+ ```
22
+
23
+ Expected evaluator shape:
24
+
25
+ ```json
26
+ {
27
+ "schemaVersion": "bilig-evaluator.v1",
28
+ "door": "xlsx-cache",
29
+ "verified": true,
30
+ "evidence": {
31
+ "target": "Summary!B2",
32
+ "before": 60000,
33
+ "after": 72000,
34
+ "staleCachedFormulaCount": 1,
35
+ "suggestedReads": ["Summary!B2"]
36
+ }
37
+ }
38
+ ```
39
+
40
+ ## Try The Cache Doctor Directly
16
41
 
17
42
  Run the no-project demo:
18
43
 
@@ -0,0 +1,2 @@
1
+ #!/usr/bin/env node
2
+ await import('../dist/evaluator-bin.js')
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1,3 @@
1
+ import { runBiligEvaluatorCli } from 'xlsx-formula-recalc/evaluator';
2
+ process.exitCode = runBiligEvaluatorCli(process.argv.slice(2));
3
+ //# sourceMappingURL=evaluator-bin.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"evaluator-bin.js","sourceRoot":"","sources":["../src/evaluator-bin.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,oBAAoB,EAAE,MAAM,+BAA+B,CAAA;AAEpE,OAAO,CAAC,QAAQ,GAAG,oBAAoB,CAAC,OAAO,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,CAAA"}
@@ -0,0 +1 @@
1
+ export * from 'xlsx-formula-recalc/evaluator';
@@ -0,0 +1,2 @@
1
+ export * from 'xlsx-formula-recalc/evaluator';
2
+ //# sourceMappingURL=evaluator.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"evaluator.js","sourceRoot":"","sources":["../src/evaluator.ts"],"names":[],"mappings":"AAAA,cAAc,+BAA+B,CAAA"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bilig/xlsx-formula-recalc",
3
- "version": "0.130.7",
3
+ "version": "0.131.0",
4
4
  "description": "Diagnose stale cached XLSX formula values and recalculate XLSX formulas in Node.js without Excel, LibreOffice, or browser automation.",
5
5
  "keywords": [
6
6
  "bilig",
@@ -38,6 +38,7 @@
38
38
  "directory": "packages/bilig-xlsx-formula-recalc"
39
39
  },
40
40
  "bin": {
41
+ "bilig-evaluate": "./bin/bilig-evaluate.js",
41
42
  "sheetjs-recalc": "./bin/sheetjs-recalc.js",
42
43
  "xlsx-cache-doctor": "./bin/xlsx-cache-doctor.js",
43
44
  "xlsx-recalc": "./bin/xlsx-recalc.js"
@@ -62,6 +63,11 @@
62
63
  "types": "./dist/cli-api.d.ts",
63
64
  "import": "./dist/cli-api.js",
64
65
  "default": "./dist/cli-api.js"
66
+ },
67
+ "./evaluator": {
68
+ "types": "./dist/evaluator.d.ts",
69
+ "import": "./dist/evaluator.js",
70
+ "default": "./dist/evaluator.js"
65
71
  }
66
72
  },
67
73
  "publishConfig": {
@@ -72,7 +78,7 @@
72
78
  "smoke": "node ./dist/cli.js --help"
73
79
  },
74
80
  "dependencies": {
75
- "xlsx-formula-recalc": "0.130.7"
81
+ "xlsx-formula-recalc": "0.131.0"
76
82
  },
77
83
  "engines": {
78
84
  "node": ">=22.0.0"