tombi 1.5.5 → 1.5.10

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.
Files changed (2) hide show
  1. package/bin/tombi +5 -1
  2. 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
- "Please reinstall tombi with optional dependencies enabled.",
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.5.5",
3
+ "version": "1.5.10",
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/tombi"
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.5.5",
40
- "@tombi-toml/cli-win32-arm64": "1.5.5",
41
- "@tombi-toml/cli-darwin-x64": "1.5.5",
42
- "@tombi-toml/cli-darwin-arm64": "1.5.5",
43
- "@tombi-toml/cli-linux-x64": "1.5.5",
44
- "@tombi-toml/cli-linux-arm64": "1.5.5",
45
- "@tombi-toml/cli-linux-x64-musl": "1.5.5",
46
- "@tombi-toml/cli-linux-arm64-musl": "1.5.5",
47
- "@tombi-toml/cli-sunos-x64": "1.5.5"
39
+ "@tombi-toml/cli-win32-x64": "1.5.10",
40
+ "@tombi-toml/cli-win32-arm64": "1.5.10",
41
+ "@tombi-toml/cli-darwin-x64": "1.5.10",
42
+ "@tombi-toml/cli-darwin-arm64": "1.5.10",
43
+ "@tombi-toml/cli-linux-x64": "1.5.10",
44
+ "@tombi-toml/cli-linux-arm64": "1.5.10",
45
+ "@tombi-toml/cli-linux-x64-musl": "1.5.10",
46
+ "@tombi-toml/cli-linux-arm64-musl": "1.5.10",
47
+ "@tombi-toml/cli-sunos-x64": "1.5.10"
48
48
  }
49
49
  }