@mearl/client 2.6.0 → 2.6.1
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/dist/bin.d.ts +2 -0
- package/dist/bin.js +3 -0
- package/dist/cli.d.ts +0 -1
- package/dist/cli.js +1 -7
- package/package.json +4 -4
package/dist/bin.d.ts
ADDED
package/dist/bin.js
ADDED
package/dist/cli.d.ts
CHANGED
package/dist/cli.js
CHANGED
|
@@ -1,7 +1,5 @@
|
|
|
1
|
-
#!/usr/bin/env node
|
|
2
1
|
import { readFileSync, writeFileSync } from 'node:fs';
|
|
3
|
-
import
|
|
4
|
-
import { fileURLToPath } from 'node:url';
|
|
2
|
+
import { resolve } from 'node:path';
|
|
5
3
|
import { resolveActionTimeoutSec } from './actionTimeouts.js';
|
|
6
4
|
import { runUnifiedCheck, parseCheckTimeout } from './check.js';
|
|
7
5
|
import { COMMAND_MAP } from './commands.js';
|
|
@@ -310,7 +308,3 @@ export async function runMearlCli(args, options = {}) {
|
|
|
310
308
|
client.disconnect();
|
|
311
309
|
}
|
|
312
310
|
}
|
|
313
|
-
const currentFile = fileURLToPath(import.meta.url);
|
|
314
|
-
if (process.argv[1] && path.resolve(process.argv[1]) === currentFile) {
|
|
315
|
-
process.exitCode = await runMearlCli(process.argv.slice(2));
|
|
316
|
-
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mearl/client",
|
|
3
|
-
"version": "2.6.
|
|
3
|
+
"version": "2.6.1",
|
|
4
4
|
"description": "Unified Mearl SDK & CLI for local and remote browsers",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/index.js",
|
|
@@ -32,7 +32,7 @@
|
|
|
32
32
|
}
|
|
33
33
|
},
|
|
34
34
|
"bin": {
|
|
35
|
-
"mearl": "./dist/
|
|
35
|
+
"mearl": "./dist/bin.js"
|
|
36
36
|
},
|
|
37
37
|
"files": [
|
|
38
38
|
"dist"
|
|
@@ -49,7 +49,7 @@
|
|
|
49
49
|
},
|
|
50
50
|
"dependencies": {
|
|
51
51
|
"ws": "^8.18.0",
|
|
52
|
-
"@mearl/cloud-types": "2.6.
|
|
52
|
+
"@mearl/cloud-types": "2.6.1"
|
|
53
53
|
},
|
|
54
54
|
"devDependencies": {
|
|
55
55
|
"@types/node": "^24.9.1",
|
|
@@ -57,7 +57,7 @@
|
|
|
57
57
|
"typescript": "^5.8.3"
|
|
58
58
|
},
|
|
59
59
|
"scripts": {
|
|
60
|
-
"build": "node ../../scripts/generate-client-action-protocol.mjs --check && rm -rf dist/ && tsc && chmod +x dist/
|
|
60
|
+
"build": "node ../../scripts/generate-client-action-protocol.mjs --check && rm -rf dist/ && tsc && chmod +x dist/bin.js",
|
|
61
61
|
"dev": "tsc --watch",
|
|
62
62
|
"typecheck": "node ../../scripts/generate-client-action-protocol.mjs --check && tsc --noEmit",
|
|
63
63
|
"test": "vitest run"
|