@traces-sh/traces 0.5.4 → 0.5.6
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/package.json +6 -6
- package/postinstall.mjs +3 -3
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@traces-sh/traces",
|
|
3
|
-
"version": "0.5.
|
|
3
|
+
"version": "0.5.6",
|
|
4
4
|
"description": "Traces CLI",
|
|
5
5
|
"bin": {
|
|
6
6
|
"traces": "./bin/traces"
|
|
@@ -9,10 +9,10 @@
|
|
|
9
9
|
"postinstall": "node ./postinstall.mjs"
|
|
10
10
|
},
|
|
11
11
|
"optionalDependencies": {
|
|
12
|
-
"@traces-sh/traces-darwin-x64": "0.5.
|
|
13
|
-
"@traces-sh/traces-darwin-arm64": "0.5.
|
|
14
|
-
"@traces-sh/traces-linux-x64": "0.5.
|
|
15
|
-
"@traces-sh/traces-linux-arm64": "0.5.
|
|
16
|
-
"@traces-sh/traces-windows-x64": "0.5.
|
|
12
|
+
"@traces-sh/traces-darwin-x64": "0.5.6",
|
|
13
|
+
"@traces-sh/traces-darwin-arm64": "0.5.6",
|
|
14
|
+
"@traces-sh/traces-linux-x64": "0.5.6",
|
|
15
|
+
"@traces-sh/traces-linux-arm64": "0.5.6",
|
|
16
|
+
"@traces-sh/traces-windows-x64": "0.5.6"
|
|
17
17
|
}
|
|
18
18
|
}
|
package/postinstall.mjs
CHANGED
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
|
|
3
|
-
import os from "os";
|
|
4
3
|
import { createRequire } from "module";
|
|
4
|
+
import os from "os";
|
|
5
5
|
|
|
6
6
|
const require = createRequire(import.meta.url);
|
|
7
7
|
|
|
8
8
|
const platformMap = {
|
|
9
9
|
darwin: "darwin",
|
|
10
10
|
linux: "linux",
|
|
11
|
-
win32: "windows"
|
|
11
|
+
win32: "windows"
|
|
12
12
|
};
|
|
13
13
|
const archMap = {
|
|
14
14
|
x64: "x64",
|
|
15
|
-
arm64: "arm64"
|
|
15
|
+
arm64: "arm64"
|
|
16
16
|
};
|
|
17
17
|
|
|
18
18
|
const platform = platformMap[os.platform()] ?? os.platform();
|