repolith 0.3.0 → 0.3.1

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/README.md CHANGED
@@ -24,6 +24,8 @@ npm i -g repolith
24
24
  bun add -g repolith
25
25
  ```
26
26
 
27
+ **VS Code extension:** search "repolith" in the Extensions view, or install [`stanicky.repolith-vscode`](https://marketplace.visualstudio.com/items?itemName=stanicky.repolith-vscode).
28
+
27
29
  ## Quick start
28
30
 
29
31
  ```bash
package/dist/cli.js CHANGED
@@ -17197,7 +17197,7 @@ async function grepCommand(pattern, extraArgs, manifestPath, json = false) {
17197
17197
  const manifest = parseManifest(toml);
17198
17198
  const results = await runAll(manifest.repos, async (repo) => {
17199
17199
  const dest = join6(manifestDir, repo.path);
17200
- const { stdout } = await gitRun(dest, ["grep", "--color=never", "-n", pattern, ...extraArgs]).catch(() => ({ stdout: "", stderr: "" }));
17200
+ const { stdout } = await gitRun(dest, ["grep", "--color=never", "-n", ...extraArgs, pattern]).catch(() => ({ stdout: "", stderr: "" }));
17201
17201
  return stdout;
17202
17202
  });
17203
17203
  const matches = [];
@@ -39970,7 +39970,7 @@ var jsonResult = (data) => ({
39970
39970
  });
39971
39971
  function buildMcpServer(manifestPath, opts) {
39972
39972
  const manifestDir = resolve8(manifestPath, "..");
39973
- const server = new McpServer({ name: "repolith", version: "0.3.0" });
39973
+ const server = new McpServer({ name: "repolith", version: "0.3.1" });
39974
39974
  const loadManifest = async () => parseManifest(await readFile9(manifestPath, "utf8"));
39975
39975
  server.registerTool("repolith_state", {
39976
39976
  title: "Workspace state",
@@ -40190,7 +40190,7 @@ function fail(e) {
40190
40190
  process.exit(1);
40191
40191
  }
40192
40192
  var program2 = new Command;
40193
- program2.name("repolith").description("Make a set of independent git repos feel like one monorepo").version("0.3.0");
40193
+ program2.name("repolith").description("Make a set of independent git repos feel like one monorepo").version("0.3.1");
40194
40194
  program2.command("sync").description("Clone missing repos, update all to their tracked refs, and write the lockfile").argument("[manifest]", "Path to repolith.toml", "repolith.toml").action(async (manifest) => {
40195
40195
  await syncCommand(manifest).catch(fail);
40196
40196
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "repolith",
3
- "version": "0.3.0",
3
+ "version": "0.3.1",
4
4
  "description": "Make a set of independent git repos feel like one monorepo — TOML manifest, atomic lockfile hash, parallel git dispatch, a VS Code extension, and an MCP server for AI agents.",
5
5
  "keywords": [
6
6
  "git",