@reporting-bi/cli 0.1.3 → 0.1.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.
Files changed (2) hide show
  1. package/dist/index.js +7 -7
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -35072,7 +35072,7 @@ function text(data) {
35072
35072
  async function mcp() {
35073
35073
  const server = new McpServer({
35074
35074
  name: "reporting-bi",
35075
- version: "0.1.3"
35075
+ version: "0.1.4"
35076
35076
  });
35077
35077
  server.tool(
35078
35078
  "status",
@@ -35618,8 +35618,8 @@ async function checkForUpdate() {
35618
35618
  saveUpdateCheck({ lastCheck: now });
35619
35619
  const latest = await fetchLatestVersion();
35620
35620
  if (!latest) return;
35621
- if (!isNewer(latest, "0.1.3")) return;
35622
- console.log(`\x1B[33mUpdating ${PACKAGE_NAME} ${"0.1.3"} \u2192 ${latest}...\x1B[0m`);
35621
+ if (!isNewer(latest, "0.1.4")) return;
35622
+ console.log(`\x1B[33mUpdating ${PACKAGE_NAME} ${"0.1.4"} \u2192 ${latest}...\x1B[0m`);
35623
35623
  (0, import_node_child_process3.execSync)(npmInstallCmd(latest), { stdio: "inherit" });
35624
35624
  console.log(`\x1B[32mUpdated to ${latest}.\x1B[0m`);
35625
35625
  } catch {
@@ -35631,11 +35631,11 @@ async function forceUpdate() {
35631
35631
  console.error("Could not fetch latest version from npm.");
35632
35632
  process.exit(1);
35633
35633
  }
35634
- if (!isNewer(latest, "0.1.3")) {
35635
- console.log(`Already up to date (${"0.1.3"}).`);
35634
+ if (!isNewer(latest, "0.1.4")) {
35635
+ console.log(`Already up to date (${"0.1.4"}).`);
35636
35636
  return;
35637
35637
  }
35638
- console.log(`Updating ${PACKAGE_NAME} ${"0.1.3"} \u2192 ${latest}...`);
35638
+ console.log(`Updating ${PACKAGE_NAME} ${"0.1.4"} \u2192 ${latest}...`);
35639
35639
  (0, import_node_child_process3.execSync)(npmInstallCmd(latest), { stdio: "inherit" });
35640
35640
  console.log(`\x1B[32mUpdated to ${latest}.\x1B[0m`);
35641
35641
  saveUpdateCheck({ lastCheck: Date.now() });
@@ -35785,7 +35785,7 @@ Examples:
35785
35785
  (async () => {
35786
35786
  const [command, ...args] = process.argv.slice(2);
35787
35787
  if (command === "--version" || command === "-v") {
35788
- console.log("0.1.3");
35788
+ console.log("0.1.4");
35789
35789
  return;
35790
35790
  }
35791
35791
  await checkForUpdate();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@reporting-bi/cli",
3
- "version": "0.1.3",
3
+ "version": "0.1.4",
4
4
  "license": "UNLICENSED",
5
5
  "description": "Reporting.bi CLI — command-line interface for the Reporting.bi platform",
6
6
  "main": "./dist/index.js",