@sbroenne/excelcli 2.1.0 → 2.1.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/README.md +4 -1
- package/lib/launcher.js +1 -2
- package/package.json +3 -2
package/README.md
CHANGED
|
@@ -14,9 +14,12 @@ npm install --global @sbroenne/excelcli
|
|
|
14
14
|
excelcli --version
|
|
15
15
|
```
|
|
16
16
|
|
|
17
|
-
Requires Node.js 18 or later, Windows x64 or
|
|
17
|
+
Requires Node.js 18 or later, Windows x64 or ARM64, and
|
|
18
18
|
Microsoft Excel 2016 or later. No separate .NET runtime is needed. Keep
|
|
19
19
|
optional dependencies enabled so npm installs the matching Windows runtime.
|
|
20
|
+
ARM64 Node.js selects the native ARM64 runtime; x64 Node.js selects x64,
|
|
21
|
+
including on ARM64 Windows. A missing matching package is an error, not a
|
|
22
|
+
fallback to another architecture.
|
|
20
23
|
|
|
21
24
|
The launcher forwards arguments, standard input/output, and exit codes to the
|
|
22
25
|
existing CLI. Excel operations and session management are unchanged.
|
package/lib/launcher.js
CHANGED
|
@@ -5,8 +5,6 @@ import { foregroundChild } from 'foreground-child';
|
|
|
5
5
|
const require = createRequire(import.meta.url);
|
|
6
6
|
|
|
7
7
|
export function createLauncher({ packageName, commandName }) {
|
|
8
|
-
const runtimePackageName = `${packageName}-win32-x64`;
|
|
9
|
-
|
|
10
8
|
function resolveRuntime({
|
|
11
9
|
platform = process.platform,
|
|
12
10
|
arch = process.arch,
|
|
@@ -20,6 +18,7 @@ export function createLauncher({ packageName, commandName }) {
|
|
|
20
18
|
throw new Error(`ExcelMcp requires Windows x64 or Arm64; this Node.js process is ${arch}.`);
|
|
21
19
|
}
|
|
22
20
|
|
|
21
|
+
const runtimePackageName = `${packageName}-win32-${arch}`;
|
|
23
22
|
try {
|
|
24
23
|
return resolvePackage(runtimePackageName);
|
|
25
24
|
} catch (cause) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@sbroenne/excelcli",
|
|
3
|
-
"version": "2.1.
|
|
3
|
+
"version": "2.1.2",
|
|
4
4
|
"description": "Excel automation CLI for Windows, distributed through npm.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"type": "module",
|
|
@@ -33,7 +33,8 @@
|
|
|
33
33
|
"foreground-child": "^4.0.3"
|
|
34
34
|
},
|
|
35
35
|
"optionalDependencies": {
|
|
36
|
-
"@sbroenne/excelcli-win32-x64": "2.1.
|
|
36
|
+
"@sbroenne/excelcli-win32-x64": "2.1.2",
|
|
37
|
+
"@sbroenne/excelcli-win32-arm64": "2.1.2"
|
|
37
38
|
},
|
|
38
39
|
"publishConfig": {
|
|
39
40
|
"access": "public",
|