@eggplanty/mycli 1.0.0 → 1.0.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@eggplanty/mycli",
3
- "version": "1.0.0",
3
+ "version": "1.0.1",
4
4
  "description": "A simple CLI demo built with Go",
5
5
  "bin": {
6
6
  "mycli": "scripts/run.js"
@@ -3,7 +3,7 @@ const path = require("path");
3
3
  const { execSync } = require("child_process");
4
4
  const os = require("os");
5
5
 
6
- const VERSION = require("../package.json").version;
6
+ const VERSION = "1.0.0";
7
7
  const REPO = "larksuite/cli";
8
8
  const NAME = "lark-cli";
9
9
 
package/scripts/run.js CHANGED
@@ -3,7 +3,7 @@ const { execFileSync } = require("child_process");
3
3
  const path = require("path");
4
4
 
5
5
  const ext = process.platform === "win32" ? ".exe" : "";
6
- const bin = path.join(__dirname, "..", "bin", "mycli" + ext);
6
+ const bin = path.join(__dirname, "..", "bin", "lark-cli" + ext);
7
7
 
8
8
  try {
9
9
  execFileSync(bin, process.argv.slice(2), { stdio: "inherit" });