@bilig/xlsx-formula-recalc 0.123.0 → 0.124.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
|
@@ -85,10 +85,10 @@ only after the recalculated value and warnings match the workflow you are
|
|
|
85
85
|
evaluating.
|
|
86
86
|
|
|
87
87
|
If you have a real workbook but do not yet know which formula cells matter,
|
|
88
|
-
|
|
88
|
+
diagnose it without writing an output file:
|
|
89
89
|
|
|
90
90
|
```sh
|
|
91
|
-
npx --package @bilig/xlsx-formula-recalc xlsx-
|
|
91
|
+
npx --package @bilig/xlsx-formula-recalc xlsx-cache-doctor pricing.xlsx --json
|
|
92
92
|
```
|
|
93
93
|
|
|
94
94
|
Inspection imports the workbook, lists formula cells, recomputes a bounded
|
|
@@ -113,13 +113,16 @@ the recalculation command:
|
|
|
113
113
|
"commandSucceeded": true,
|
|
114
114
|
"inspectionCompleted": true,
|
|
115
115
|
"recalculationCompleted": true,
|
|
116
|
-
"excelParity": "not_proven"
|
|
117
|
-
"nextStep": {
|
|
118
|
-
"command": "xlsx-recalc pricing.xlsx --read 'Summary!B7' --json"
|
|
119
|
-
}
|
|
116
|
+
"excelParity": "not_proven"
|
|
120
117
|
}
|
|
121
118
|
```
|
|
122
119
|
|
|
120
|
+
`xlsx-cache-doctor` is a readable alias for
|
|
121
|
+
`xlsx-recalc pricing.xlsx --inspect --json`. Use it for issue triage, CI, and
|
|
122
|
+
pull-request checks when the only question is whether committed XLSX files have
|
|
123
|
+
stale cached formula values. The GitHub Action wrapper lives at
|
|
124
|
+
[`actions/xlsx-cache-doctor`](../../actions/xlsx-cache-doctor).
|
|
125
|
+
|
|
123
126
|
For an existing workbook:
|
|
124
127
|
|
|
125
128
|
```sh
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"cache-doctor-cli.js","sourceRoot":"","sources":["../src/cache-doctor-cli.ts"],"names":[],"mappings":";AAEA,OAAO,EAAE,uBAAuB,EAAE,MAAM,cAAc,CAAA;AAEtD,OAAO,CAAC,QAAQ,GAAG,uBAAuB,CAAC,OAAO,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,EAAE;IAChE,WAAW,EAAE,mBAAmB;CACjC,CAAC,CAAA"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@bilig/xlsx-formula-recalc",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.124.0",
|
|
4
4
|
"description": "Recalculate XLSX formula values in Node.js after SheetJS, ExcelJS, or xlsx-populate edits without Excel, LibreOffice, or browser automation.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"bilig",
|
|
@@ -19,6 +19,7 @@
|
|
|
19
19
|
"stale-xlsx-cache",
|
|
20
20
|
"workbook",
|
|
21
21
|
"xlsx",
|
|
22
|
+
"xlsx-cache-doctor",
|
|
22
23
|
"xlsx-calc",
|
|
23
24
|
"xlsx-formula",
|
|
24
25
|
"xlsx-formula-recalculation",
|
|
@@ -38,6 +39,7 @@
|
|
|
38
39
|
},
|
|
39
40
|
"bin": {
|
|
40
41
|
"sheetjs-recalc": "./dist/sheetjs-cli.js",
|
|
42
|
+
"xlsx-cache-doctor": "./dist/cache-doctor-cli.js",
|
|
41
43
|
"xlsx-recalc": "./dist/cli.js"
|
|
42
44
|
},
|
|
43
45
|
"files": [
|
|
@@ -69,7 +71,7 @@
|
|
|
69
71
|
"smoke": "node ./dist/cli.js --help"
|
|
70
72
|
},
|
|
71
73
|
"dependencies": {
|
|
72
|
-
"xlsx-formula-recalc": "0.
|
|
74
|
+
"xlsx-formula-recalc": "0.124.0"
|
|
73
75
|
},
|
|
74
76
|
"engines": {
|
|
75
77
|
"node": ">=22.0.0"
|