@reporting-bi/cli 0.1.1 → 0.1.2

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 +8 -8
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -10865,7 +10865,7 @@ function walkDir(dir, root, knownPaths, result) {
10865
10865
  const full = path3.join(dir, entry.name);
10866
10866
  if (entry.isDirectory()) {
10867
10867
  walkDir(full, root, knownPaths, result);
10868
- } else if (entry.name.endsWith(".sql")) {
10868
+ } else if (!entry.name.startsWith(".")) {
10869
10869
  const rel = path3.relative(root, full).replace(/\\/g, "/");
10870
10870
  if (!knownPaths.has(rel)) {
10871
10871
  result.push(rel);
@@ -34509,7 +34509,7 @@ function text(data) {
34509
34509
  async function mcp() {
34510
34510
  const server = new McpServer({
34511
34511
  name: "reporting-bi",
34512
- version: "0.1.1"
34512
+ version: "0.1.2"
34513
34513
  });
34514
34514
  server.tool(
34515
34515
  "status",
@@ -35053,8 +35053,8 @@ async function checkForUpdate() {
35053
35053
  saveUpdateCheck({ lastCheck: now });
35054
35054
  const latest = await fetchLatestVersion();
35055
35055
  if (!latest) return;
35056
- if (!isNewer(latest, "0.1.1")) return;
35057
- console.log(`\x1B[33mUpdating ${PACKAGE_NAME} ${"0.1.1"} \u2192 ${latest}...\x1B[0m`);
35056
+ if (!isNewer(latest, "0.1.2")) return;
35057
+ console.log(`\x1B[33mUpdating ${PACKAGE_NAME} ${"0.1.2"} \u2192 ${latest}...\x1B[0m`);
35058
35058
  (0, import_node_child_process3.execSync)(npmInstallCmd(latest), { stdio: "inherit" });
35059
35059
  console.log(`\x1B[32mUpdated to ${latest}.\x1B[0m`);
35060
35060
  } catch {
@@ -35066,11 +35066,11 @@ async function forceUpdate() {
35066
35066
  console.error("Could not fetch latest version from npm.");
35067
35067
  process.exit(1);
35068
35068
  }
35069
- if (!isNewer(latest, "0.1.1")) {
35070
- console.log(`Already up to date (${"0.1.1"}).`);
35069
+ if (!isNewer(latest, "0.1.2")) {
35070
+ console.log(`Already up to date (${"0.1.2"}).`);
35071
35071
  return;
35072
35072
  }
35073
- console.log(`Updating ${PACKAGE_NAME} ${"0.1.1"} \u2192 ${latest}...`);
35073
+ console.log(`Updating ${PACKAGE_NAME} ${"0.1.2"} \u2192 ${latest}...`);
35074
35074
  (0, import_node_child_process3.execSync)(npmInstallCmd(latest), { stdio: "inherit" });
35075
35075
  console.log(`\x1B[32mUpdated to ${latest}.\x1B[0m`);
35076
35076
  saveUpdateCheck({ lastCheck: Date.now() });
@@ -35208,7 +35208,7 @@ Examples:
35208
35208
  (async () => {
35209
35209
  const [command, ...args] = process.argv.slice(2);
35210
35210
  if (command === "--version" || command === "-v") {
35211
- console.log("0.1.1");
35211
+ console.log("0.1.2");
35212
35212
  return;
35213
35213
  }
35214
35214
  await checkForUpdate();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@reporting-bi/cli",
3
- "version": "0.1.1",
3
+ "version": "0.1.2",
4
4
  "license": "UNLICENSED",
5
5
  "description": "Reporting.bi CLI — command-line interface for the Reporting.bi platform",
6
6
  "main": "./dist/index.js",