endform 0.8.11 → 0.9.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.
Files changed (2) hide show
  1. package/bin/endform +3 -4
  2. package/package.json +5 -5
package/bin/endform CHANGED
@@ -46,8 +46,6 @@ const packageJsonPath = path.join(__dirname, "..", "package.json");
46
46
  const packageJson = require(packageJsonPath);
47
47
  const version = packageJson.version;
48
48
 
49
- console.log(version);
50
-
51
49
  // Define download URLs and binary names
52
50
  const MAC_ARM_URL = `https://cli.endform.dev/${version}/endform-aarch64-apple-darwin/endform`;
53
51
  const MAC_X86_URL = `https://cli.endform.dev/${version}/endform-x86_64-apple-darwin/endform`;
@@ -80,8 +78,9 @@ const downloadBinary = () => {
80
78
  const currentDir = __dirname;
81
79
  const binaryPath = path.join(currentDir, binaryName);
82
80
 
83
- console.log("Endform was not installed as an optional dependency...");
84
- console.log(`Downloading endform cli for ${platform} (${arch})...`);
81
+ console.log(
82
+ "Endform was not installed as an optional dependency, preparing on the fly...",
83
+ );
85
84
 
86
85
  return new Promise((resolve, reject) => {
87
86
  const file = fs.createWriteStream(binaryPath);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "endform",
3
- "version": "0.8.11",
3
+ "version": "0.9.0",
4
4
  "description": "Endform CLI",
5
5
  "repository": "https://github.com/endformdev/npm",
6
6
  "license": "UNLICENSED",
@@ -12,9 +12,9 @@
12
12
  "bin"
13
13
  ],
14
14
  "optionalDependencies": {
15
- "endform-darwin-arm64": "0.8.11",
16
- "endform-darwin-x86": "0.8.11",
17
- "endform-linux-arm64": "0.8.11",
18
- "endform-linux-x86": "0.8.11"
15
+ "endform-darwin-arm64": "0.9.0",
16
+ "endform-darwin-x86": "0.9.0",
17
+ "endform-linux-arm64": "0.9.0",
18
+ "endform-linux-x86": "0.9.0"
19
19
  }
20
20
  }