sensez 0.1.2 → 0.1.4
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.
|
@@ -16,22 +16,22 @@ await run(binaryPath, process.argv.slice(2));
|
|
|
16
16
|
function platformTarget(platform, arch) {
|
|
17
17
|
if (platform === "darwin") {
|
|
18
18
|
if (arch === "arm64") {
|
|
19
|
-
return { packageName: "sensez-darwin-arm64", binary: "bin/
|
|
19
|
+
return { packageName: "sensez-darwin-arm64", binary: "bin/sensez" };
|
|
20
20
|
}
|
|
21
21
|
if (arch === "x64") {
|
|
22
|
-
return { packageName: "sensez-darwin-x64", binary: "bin/
|
|
22
|
+
return { packageName: "sensez-darwin-x64", binary: "bin/sensez" };
|
|
23
23
|
}
|
|
24
24
|
}
|
|
25
25
|
if (platform === "linux") {
|
|
26
26
|
if (arch === "arm64") {
|
|
27
|
-
return { packageName: "sensez-linux-arm64-gnu", binary: "bin/
|
|
27
|
+
return { packageName: "sensez-linux-arm64-gnu", binary: "bin/sensez" };
|
|
28
28
|
}
|
|
29
29
|
if (arch === "x64") {
|
|
30
|
-
return { packageName: "sensez-linux-x64-gnu", binary: "bin/
|
|
30
|
+
return { packageName: "sensez-linux-x64-gnu", binary: "bin/sensez" };
|
|
31
31
|
}
|
|
32
32
|
}
|
|
33
33
|
if (platform === "win32" && arch === "x64") {
|
|
34
|
-
return { packageName: "sensez-win32-x64-msvc", binary: "bin/
|
|
34
|
+
return { packageName: "sensez-win32-x64-msvc", binary: "bin/sensez.exe" };
|
|
35
35
|
}
|
|
36
36
|
return null;
|
|
37
37
|
}
|
|
@@ -52,7 +52,7 @@ function run(binaryPath, args) {
|
|
|
52
52
|
child.on("error", reject);
|
|
53
53
|
child.on("exit", (code, signal) => {
|
|
54
54
|
if (signal) {
|
|
55
|
-
reject(new Error(`
|
|
55
|
+
reject(new Error(`sensez exited with signal ${signal}`));
|
|
56
56
|
return;
|
|
57
57
|
}
|
|
58
58
|
resolve(code ?? 1);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "sensez",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.4",
|
|
4
4
|
"description": "Sensez CLI launcher for structural maintainability checks",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"type": "module",
|
|
@@ -10,16 +10,16 @@
|
|
|
10
10
|
"directory": "npm"
|
|
11
11
|
},
|
|
12
12
|
"bin": {
|
|
13
|
-
"
|
|
13
|
+
"sensez": "bin/sensez.js"
|
|
14
14
|
},
|
|
15
15
|
"files": [
|
|
16
16
|
"bin"
|
|
17
17
|
],
|
|
18
18
|
"optionalDependencies": {
|
|
19
|
-
"sensez-darwin-arm64": "0.1.
|
|
20
|
-
"sensez-darwin-x64": "0.1.
|
|
21
|
-
"sensez-linux-arm64-gnu": "0.1.
|
|
22
|
-
"sensez-linux-x64-gnu": "0.1.
|
|
19
|
+
"sensez-darwin-arm64": "0.1.4",
|
|
20
|
+
"sensez-darwin-x64": "0.1.4",
|
|
21
|
+
"sensez-linux-arm64-gnu": "0.1.4",
|
|
22
|
+
"sensez-linux-x64-gnu": "0.1.4"
|
|
23
23
|
},
|
|
24
24
|
"publishConfig": {
|
|
25
25
|
"provenance": true
|
|
@@ -27,4 +27,4 @@
|
|
|
27
27
|
"engines": {
|
|
28
28
|
"node": ">=18"
|
|
29
29
|
}
|
|
30
|
-
}
|
|
30
|
+
}
|