tombi 1.5.8 → 1.6.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/bin/tombi +5 -1
- package/package.json +11 -11
package/bin/tombi
CHANGED
|
@@ -1,6 +1,10 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
const { platform, arch, env, version, release } = process;
|
|
3
3
|
const { execSync } = require("node:child_process");
|
|
4
|
+
// Published as `@tombi-toml/cli`, `tombi`, and the former `@tombi-toml/tombi`
|
|
5
|
+
// (the release workflow only rewrites `name`), so read it rather than
|
|
6
|
+
// hard-coding one.
|
|
7
|
+
const { name: packageName } = require("../package.json");
|
|
4
8
|
|
|
5
9
|
function isMusl() {
|
|
6
10
|
let stderr;
|
|
@@ -56,7 +60,7 @@ if (binPath) {
|
|
|
56
60
|
console.error(
|
|
57
61
|
`The Tombi CLI binary "${binPath}" could not be found. ` +
|
|
58
62
|
"The platform-specific optional package may not be installed. " +
|
|
59
|
-
|
|
63
|
+
`Please reinstall ${packageName} with optional dependencies enabled.`,
|
|
60
64
|
);
|
|
61
65
|
process.exitCode = 1;
|
|
62
66
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "tombi",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.6.0",
|
|
4
4
|
"description": "🦅 TOML Toolkit 🦅",
|
|
5
5
|
"bin": {
|
|
6
6
|
"tombi": "bin/tombi"
|
|
@@ -23,7 +23,7 @@
|
|
|
23
23
|
"repository": {
|
|
24
24
|
"type": "git",
|
|
25
25
|
"url": "git+https://github.com/tombi-toml/tombi.git",
|
|
26
|
-
"directory": "typescript/@tombi-toml/
|
|
26
|
+
"directory": "typescript/@tombi-toml/cli"
|
|
27
27
|
},
|
|
28
28
|
"bugs": {
|
|
29
29
|
"url": "https://github.com/tombi-toml/tombi/issues"
|
|
@@ -36,14 +36,14 @@
|
|
|
36
36
|
"provenance": true
|
|
37
37
|
},
|
|
38
38
|
"optionalDependencies": {
|
|
39
|
-
"@tombi-toml/cli-win32-x64": "1.
|
|
40
|
-
"@tombi-toml/cli-win32-arm64": "1.
|
|
41
|
-
"@tombi-toml/cli-darwin-x64": "1.
|
|
42
|
-
"@tombi-toml/cli-darwin-arm64": "1.
|
|
43
|
-
"@tombi-toml/cli-linux-x64": "1.
|
|
44
|
-
"@tombi-toml/cli-linux-arm64": "1.
|
|
45
|
-
"@tombi-toml/cli-linux-x64-musl": "1.
|
|
46
|
-
"@tombi-toml/cli-linux-arm64-musl": "1.
|
|
47
|
-
"@tombi-toml/cli-sunos-x64": "1.
|
|
39
|
+
"@tombi-toml/cli-win32-x64": "1.6.0",
|
|
40
|
+
"@tombi-toml/cli-win32-arm64": "1.6.0",
|
|
41
|
+
"@tombi-toml/cli-darwin-x64": "1.6.0",
|
|
42
|
+
"@tombi-toml/cli-darwin-arm64": "1.6.0",
|
|
43
|
+
"@tombi-toml/cli-linux-x64": "1.6.0",
|
|
44
|
+
"@tombi-toml/cli-linux-arm64": "1.6.0",
|
|
45
|
+
"@tombi-toml/cli-linux-x64-musl": "1.6.0",
|
|
46
|
+
"@tombi-toml/cli-linux-arm64-musl": "1.6.0",
|
|
47
|
+
"@tombi-toml/cli-sunos-x64": "1.6.0"
|
|
48
48
|
}
|
|
49
49
|
}
|