grepper-dev 0.2.1 → 0.2.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 +4 -4
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -14,7 +14,7 @@ import { homedir } from "os";
14
14
  import { join } from "path";
15
15
  var CONFIG_DIR = join(homedir(), ".grepper");
16
16
  var CONFIG_FILE = join(CONFIG_DIR, "config.json");
17
- var DEFAULT_API_URL = "https://grepper.convex.site";
17
+ var DEFAULT_API_URL = "https://flippant-crocodile-3.convex.site";
18
18
  function ensureConfigDir() {
19
19
  if (!existsSync(CONFIG_DIR)) {
20
20
  mkdirSync(CONFIG_DIR, { recursive: true, mode: 448 });
@@ -122,7 +122,7 @@ async function loginCommand() {
122
122
  console.log(chalk.bold("\n\u{1F511} Grepper Login\n"));
123
123
  console.log("Get your API key from the Grepper dashboard:");
124
124
  console.log(chalk.dim("https://grepper-web.vercel.app/dashboard/settings\n"));
125
- const apiKey = await password({ message: "Enter your API key:" });
125
+ const apiKey = await password({ message: "Enter your API key:", mask: "*" });
126
126
  if (!apiKey) {
127
127
  console.error(chalk.red("No API key provided."));
128
128
  process.exit(1);
@@ -656,10 +656,10 @@ async function whoamiCommand() {
656
656
 
657
657
  // src/index.ts
658
658
  updateNotifier({
659
- pkg: { name: "grepper-dev", version: "0.2.1" }
659
+ pkg: { name: "grepper-dev", version: "0.2.2" }
660
660
  }).notify();
661
661
  var program = new Command();
662
- program.name("grepper").description("Local code review powered by AI").version("0.2.1");
662
+ program.name("grepper").description("Local code review powered by AI").version("0.2.2");
663
663
  program.command("login").description("Log in with your Grepper API key").action(async () => {
664
664
  await loginCommand();
665
665
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "grepper-dev",
3
- "version": "0.2.1",
3
+ "version": "0.2.2",
4
4
  "description": "Grepper CLI - Local code review powered by AI",
5
5
  "license": "MIT",
6
6
  "type": "module",