repomind 0.2.2 → 0.2.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.
- package/dist/index.js +3 -3
- package/package.json +2 -2
package/dist/index.js
CHANGED
|
@@ -38471,7 +38471,7 @@ var import_react30 = __toESM(require_react(), 1);
|
|
|
38471
38471
|
|
|
38472
38472
|
// src/lib/api-client.ts
|
|
38473
38473
|
var FETCH_TIMEOUT_MS = 3e4;
|
|
38474
|
-
var DEFAULT_BASE_URL =
|
|
38474
|
+
var DEFAULT_BASE_URL = "https://api.repomind.dev";
|
|
38475
38475
|
var DEBUG = process.argv.includes("--verbose") || process.argv.includes("-v") || !!process.env.REPOMIND_DEBUG;
|
|
38476
38476
|
var ApiError = class extends Error {
|
|
38477
38477
|
constructor(status, message) {
|
|
@@ -39981,7 +39981,7 @@ async function initCommand() {
|
|
|
39981
39981
|
// src/lib/callback-server.ts
|
|
39982
39982
|
import { createServer } from "node:http";
|
|
39983
39983
|
import { createServer as createNetServer } from "node:net";
|
|
39984
|
-
var allowedOrigin =
|
|
39984
|
+
var allowedOrigin = "https://repomind.dev";
|
|
39985
39985
|
var CORS_HEADERS = {
|
|
39986
39986
|
"Access-Control-Allow-Origin": allowedOrigin,
|
|
39987
39987
|
"Access-Control-Allow-Methods": "POST, OPTIONS",
|
|
@@ -40094,7 +40094,7 @@ function LoginApp({
|
|
|
40094
40094
|
(0, import_react35.useEffect)(() => {
|
|
40095
40095
|
async function run2() {
|
|
40096
40096
|
const port = await deps.getAvailablePort();
|
|
40097
|
-
const baseUrl =
|
|
40097
|
+
const baseUrl = "https://repomind.dev";
|
|
40098
40098
|
const url = `${baseUrl}/cli-auth?port=${port}`;
|
|
40099
40099
|
setAuthUrl(url);
|
|
40100
40100
|
const callbackPromise = deps.startCallbackServer(port);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "repomind",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.4",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "AI-powered git commit messages and repository insights",
|
|
6
6
|
"keywords": ["git", "ai", "commit", "cli"],
|
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
},
|
|
16
16
|
"files": ["dist"],
|
|
17
17
|
"scripts": {
|
|
18
|
-
"build": "esbuild src/index.ts --bundle --platform=node --target=node22 --format=esm --outfile=dist/index.js --alias:react-devtools-core=./src/stubs/react-devtools-core.js --banner:js='#!/usr/bin/env bun'",
|
|
18
|
+
"build": "esbuild src/index.ts --bundle --platform=node --target=node22 --format=esm --outfile=dist/index.js --alias:react-devtools-core=./src/stubs/react-devtools-core.js --banner:js='#!/usr/bin/env bun' --define:process.env.REPOMIND_API_URL=undefined --define:process.env.REPOMIND_WEB_BASE_URL=undefined",
|
|
19
19
|
"dev": "bun --env-file=.env.local run src/index.ts",
|
|
20
20
|
"test": "bun test --coverage --pass-with-no-tests",
|
|
21
21
|
"typecheck": "tsc --noEmit"
|