@react-grab/cli 0.1.24 → 0.1.26

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/dist/cli.cjs CHANGED
@@ -1572,11 +1572,26 @@ var previewTransform = (projectRoot, framework, nextRouterType, agent, reactGrab
1572
1572
  force
1573
1573
  );
1574
1574
  case "vite":
1575
- return transformVite(projectRoot, agent, reactGrabAlreadyConfigured, force);
1575
+ return transformVite(
1576
+ projectRoot,
1577
+ agent,
1578
+ reactGrabAlreadyConfigured,
1579
+ force
1580
+ );
1576
1581
  case "tanstack":
1577
- return transformTanStack(projectRoot, agent, reactGrabAlreadyConfigured, force);
1582
+ return transformTanStack(
1583
+ projectRoot,
1584
+ agent,
1585
+ reactGrabAlreadyConfigured,
1586
+ force
1587
+ );
1578
1588
  case "webpack":
1579
- return transformWebpack(projectRoot, agent, reactGrabAlreadyConfigured, force);
1589
+ return transformWebpack(
1590
+ projectRoot,
1591
+ agent,
1592
+ reactGrabAlreadyConfigured,
1593
+ force
1594
+ );
1580
1595
  default:
1581
1596
  return {
1582
1597
  success: false,
@@ -2230,7 +2245,7 @@ var previewCdnTransform = (projectRoot, framework, nextRouterType, targetCdnDoma
2230
2245
  };
2231
2246
 
2232
2247
  // src/commands/add.ts
2233
- var VERSION = "0.1.24";
2248
+ var VERSION = "0.1.26";
2234
2249
  var formatInstalledAgentNames = (agents) => agents.map((agent) => AGENT_NAMES[agent] || agent).join(", ");
2235
2250
  var add = new commander.Command().name("add").alias("install").description("connect React Grab to your agent").argument("[agent]", `agent to connect (${AGENTS.join(", ")}, mcp)`).option("-y, --yes", "skip confirmation prompts", false).option(
2236
2251
  "-c, --cwd <cwd>",
@@ -2591,7 +2606,7 @@ var MAX_KEY_HOLD_DURATION_MS = 2e3;
2591
2606
  var MAX_CONTEXT_LINES = 50;
2592
2607
 
2593
2608
  // src/commands/configure.ts
2594
- var VERSION2 = "0.1.24";
2609
+ var VERSION2 = "0.1.26";
2595
2610
  var isMac = process.platform === "darwin";
2596
2611
  var META_LABEL = isMac ? "Cmd" : "Win";
2597
2612
  var ALT_LABEL = isMac ? "Option" : "Alt";
@@ -3147,7 +3162,7 @@ var uninstallPackagesWithFeedback = (packages, packageManager, projectRoot) => {
3147
3162
  };
3148
3163
 
3149
3164
  // src/commands/init.ts
3150
- var VERSION3 = "0.1.24";
3165
+ var VERSION3 = "0.1.26";
3151
3166
  var REPORT_URL = "https://react-grab.com/api/report-cli";
3152
3167
  var DOCS_URL = "https://github.com/aidenybai/react-grab";
3153
3168
  var reportToCli = (type, config, error) => {
@@ -4006,7 +4021,7 @@ var init = new commander.Command().name("init").description("initialize React Gr
4006
4021
  reportToCli("error", void 0, error);
4007
4022
  }
4008
4023
  });
4009
- var VERSION4 = "0.1.24";
4024
+ var VERSION4 = "0.1.26";
4010
4025
  var remove = new commander.Command().name("remove").description("disconnect React Grab from your agent").argument("[agent]", `agent to disconnect (${AGENTS.join(", ")}, mcp)`).option("-y, --yes", "skip confirmation prompts", false).option(
4011
4026
  "-c, --cwd <cwd>",
4012
4027
  "working directory (defaults to current directory)",
@@ -4182,7 +4197,7 @@ var remove = new commander.Command().name("remove").description("disconnect Reac
4182
4197
  });
4183
4198
 
4184
4199
  // src/cli.ts
4185
- var VERSION5 = "0.1.24";
4200
+ var VERSION5 = "0.1.26";
4186
4201
  var VERSION_API_URL = "https://www.react-grab.com/api/version";
4187
4202
  process.on("SIGINT", () => process.exit(0));
4188
4203
  process.on("SIGTERM", () => process.exit(0));
package/dist/cli.js CHANGED
@@ -1539,11 +1539,26 @@ var previewTransform = (projectRoot, framework, nextRouterType, agent, reactGrab
1539
1539
  force
1540
1540
  );
1541
1541
  case "vite":
1542
- return transformVite(projectRoot, agent, reactGrabAlreadyConfigured, force);
1542
+ return transformVite(
1543
+ projectRoot,
1544
+ agent,
1545
+ reactGrabAlreadyConfigured,
1546
+ force
1547
+ );
1543
1548
  case "tanstack":
1544
- return transformTanStack(projectRoot, agent, reactGrabAlreadyConfigured, force);
1549
+ return transformTanStack(
1550
+ projectRoot,
1551
+ agent,
1552
+ reactGrabAlreadyConfigured,
1553
+ force
1554
+ );
1545
1555
  case "webpack":
1546
- return transformWebpack(projectRoot, agent, reactGrabAlreadyConfigured, force);
1556
+ return transformWebpack(
1557
+ projectRoot,
1558
+ agent,
1559
+ reactGrabAlreadyConfigured,
1560
+ force
1561
+ );
1547
1562
  default:
1548
1563
  return {
1549
1564
  success: false,
@@ -2197,7 +2212,7 @@ var previewCdnTransform = (projectRoot, framework, nextRouterType, targetCdnDoma
2197
2212
  };
2198
2213
 
2199
2214
  // src/commands/add.ts
2200
- var VERSION = "0.1.24";
2215
+ var VERSION = "0.1.26";
2201
2216
  var formatInstalledAgentNames = (agents) => agents.map((agent) => AGENT_NAMES[agent] || agent).join(", ");
2202
2217
  var add = new Command().name("add").alias("install").description("connect React Grab to your agent").argument("[agent]", `agent to connect (${AGENTS.join(", ")}, mcp)`).option("-y, --yes", "skip confirmation prompts", false).option(
2203
2218
  "-c, --cwd <cwd>",
@@ -2558,7 +2573,7 @@ var MAX_KEY_HOLD_DURATION_MS = 2e3;
2558
2573
  var MAX_CONTEXT_LINES = 50;
2559
2574
 
2560
2575
  // src/commands/configure.ts
2561
- var VERSION2 = "0.1.24";
2576
+ var VERSION2 = "0.1.26";
2562
2577
  var isMac = process.platform === "darwin";
2563
2578
  var META_LABEL = isMac ? "Cmd" : "Win";
2564
2579
  var ALT_LABEL = isMac ? "Option" : "Alt";
@@ -3114,7 +3129,7 @@ var uninstallPackagesWithFeedback = (packages, packageManager, projectRoot) => {
3114
3129
  };
3115
3130
 
3116
3131
  // src/commands/init.ts
3117
- var VERSION3 = "0.1.24";
3132
+ var VERSION3 = "0.1.26";
3118
3133
  var REPORT_URL = "https://react-grab.com/api/report-cli";
3119
3134
  var DOCS_URL = "https://github.com/aidenybai/react-grab";
3120
3135
  var reportToCli = (type, config, error) => {
@@ -3973,7 +3988,7 @@ var init = new Command().name("init").description("initialize React Grab in your
3973
3988
  reportToCli("error", void 0, error);
3974
3989
  }
3975
3990
  });
3976
- var VERSION4 = "0.1.24";
3991
+ var VERSION4 = "0.1.26";
3977
3992
  var remove = new Command().name("remove").description("disconnect React Grab from your agent").argument("[agent]", `agent to disconnect (${AGENTS.join(", ")}, mcp)`).option("-y, --yes", "skip confirmation prompts", false).option(
3978
3993
  "-c, --cwd <cwd>",
3979
3994
  "working directory (defaults to current directory)",
@@ -4149,7 +4164,7 @@ var remove = new Command().name("remove").description("disconnect React Grab fro
4149
4164
  });
4150
4165
 
4151
4166
  // src/cli.ts
4152
- var VERSION5 = "0.1.24";
4167
+ var VERSION5 = "0.1.26";
4153
4168
  var VERSION_API_URL = "https://www.react-grab.com/api/version";
4154
4169
  process.on("SIGINT", () => process.exit(0));
4155
4170
  process.on("SIGTERM", () => process.exit(0));
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@react-grab/cli",
3
- "version": "0.1.24",
3
+ "version": "0.1.26",
4
4
  "bin": {
5
5
  "react-grab": "./dist/cli.js"
6
6
  },