@rockcarver/frodo-cli 2.0.3 → 2.0.4

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/CHANGELOG.md CHANGED
@@ -7,6 +7,12 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
7
7
 
8
8
  ## [Unreleased]
9
9
 
10
+ ### Changed
11
+
12
+ - Better detection of homebrew vs binary vs NPM version
13
+
14
+ ## [2.0.3] - 2024-08-14
15
+
10
16
  ### Chagned
11
17
 
12
18
  - homebrew formula update so `frodo-cli-next` installs the latest (irrespective of stable or prerelease)
@@ -1913,7 +1919,8 @@ Frodo CLI 2.x automatically refreshes session and access tokens before they expi
1913
1919
  - Fixed problem with adding connection profiles
1914
1920
  - Miscellaneous bug fixes
1915
1921
 
1916
- [unreleased]: https://github.com/rockcarver/frodo-cli/compare/v2.0.2...HEAD
1922
+ [unreleased]: https://github.com/rockcarver/frodo-cli/compare/v2.0.3...HEAD
1923
+ [2.0.3]: https://github.com/rockcarver/frodo-cli/compare/v2.0.2...v2.0.3
1917
1924
  [2.0.2]: https://github.com/rockcarver/frodo-cli/compare/v2.0.1...v2.0.2
1918
1925
  [2.0.1]: https://github.com/rockcarver/frodo-cli/compare/v2.0.1-0...v2.0.1
1919
1926
  [2.0.1-0]: https://github.com/rockcarver/frodo-cli/compare/v2.0.0...v2.0.1-0
package/dist/app.cjs CHANGED
@@ -187537,7 +187537,7 @@ var compareVersions = (v12, v2) => {
187537
187537
  // package.json
187538
187538
  var package_default2 = {
187539
187539
  name: "@rockcarver/frodo-cli",
187540
- version: "2.0.3",
187540
+ version: "2.0.4",
187541
187541
  type: "module",
187542
187542
  description: "A command line interface to manage ForgeRock Identity Cloud tenants, ForgeOps deployments, and classic deployments.",
187543
187543
  keywords: [
@@ -187787,6 +187787,9 @@ async function getRemoteVersionData() {
187787
187787
  function getBinaryName() {
187788
187788
  return _path3.default.basename(process.execPath);
187789
187789
  }
187790
+ function isHomebrew() {
187791
+ return process.execPath.indexOf("brew") != -1;
187792
+ }
187790
187793
  async function getVersions(checkOnly) {
187791
187794
  let updateAvailable = false;
187792
187795
  let usingBinary = false;
@@ -187802,9 +187805,7 @@ async function getVersions(checkOnly) {
187802
187805
  npm: null
187803
187806
  };
187804
187807
  }
187805
- let versionString = `You are running the ${usingBinary ? "binary release" : "NPM package"}.`;
187806
- versionString += `
187807
- Installed versions:`;
187808
+ let versionString = `You are running the ${usingBinary ? isHomebrew() ? "homebrew release" : "binary release" : "NPM package"}.`;
187808
187809
  versionString += `
187809
187810
  cli: v${getCliVersion()}
187810
187811
  lib: v${getLibVersion()}