@rockcarver/frodo-cli 2.0.2 → 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
@@ -9,6 +9,18 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
9
9
 
10
10
  ### Changed
11
11
 
12
+ - Better detection of homebrew vs binary vs NPM version
13
+
14
+ ## [2.0.3] - 2024-08-14
15
+
16
+ ### Chagned
17
+
18
+ - homebrew formula update so `frodo-cli-next` installs the latest (irrespective of stable or prerelease)
19
+
20
+ ## [2.0.2] - 2024-08-06
21
+
22
+ ### Changed
23
+
12
24
  - Update to frodo-lib 2.0.2
13
25
 
14
26
  ### Fixed
@@ -1907,7 +1919,9 @@ Frodo CLI 2.x automatically refreshes session and access tokens before they expi
1907
1919
  - Fixed problem with adding connection profiles
1908
1920
  - Miscellaneous bug fixes
1909
1921
 
1910
- [unreleased]: https://github.com/rockcarver/frodo-cli/compare/v2.0.1...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
1924
+ [2.0.2]: https://github.com/rockcarver/frodo-cli/compare/v2.0.1...v2.0.2
1911
1925
  [2.0.1]: https://github.com/rockcarver/frodo-cli/compare/v2.0.1-0...v2.0.1
1912
1926
  [2.0.1-0]: https://github.com/rockcarver/frodo-cli/compare/v2.0.0...v2.0.1-0
1913
1927
  [2.0.0]: https://github.com/rockcarver/frodo-cli/compare/v2.0.0-70...v2.0.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.2",
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()}