@optiqcode/cli 1.4.0 → 1.5.0
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/commands/auth.js +1 -1
- package/dist/commands/index.js +1 -1
- package/dist/commands/watch.js +1 -1
- package/dist/index.js +1 -1
- package/package.json +1 -1
package/dist/commands/auth.js
CHANGED
|
@@ -3,7 +3,7 @@ import axios from 'axios';
|
|
|
3
3
|
import chalk from 'chalk';
|
|
4
4
|
import ora from 'ora';
|
|
5
5
|
import { getConfig, saveConfig, clearConfig } from '../utils/config.js';
|
|
6
|
-
const API_URL = process.env.OPTIQ_BACKEND_URL ? `${process.env.OPTIQ_BACKEND_URL}/api` : '
|
|
6
|
+
const API_URL = process.env.OPTIQ_BACKEND_URL ? `${process.env.OPTIQ_BACKEND_URL}/api` : 'https://api.optiqcode.com/api';
|
|
7
7
|
export async function login() {
|
|
8
8
|
// Test comment: verifying incremental indexing works correctly
|
|
9
9
|
console.log(chalk.blue('🔐 Login to Optiq\n'));
|
package/dist/commands/index.js
CHANGED
|
@@ -6,7 +6,7 @@ import path from 'path';
|
|
|
6
6
|
import fs from 'fs/promises';
|
|
7
7
|
import { getConfig } from '../utils/config.js';
|
|
8
8
|
import { isValidDirectory, getGitIgnorePatterns, shouldIgnoreFile } from '../utils/files.js';
|
|
9
|
-
const API_URL = process.env.OPTIQ_BACKEND_URL ? `${process.env.OPTIQ_BACKEND_URL}/api` : '
|
|
9
|
+
const API_URL = process.env.OPTIQ_BACKEND_URL ? `${process.env.OPTIQ_BACKEND_URL}/api` : 'https://api.optiqcode.com/api';
|
|
10
10
|
export async function index(options) {
|
|
11
11
|
const config = await getConfig();
|
|
12
12
|
if (!config) {
|
package/dist/commands/watch.js
CHANGED
|
@@ -6,7 +6,7 @@ import path from 'path';
|
|
|
6
6
|
import fs from 'fs/promises';
|
|
7
7
|
import { getConfig } from '../utils/config.js';
|
|
8
8
|
import { isValidDirectory, getGitIgnorePatterns, shouldIgnoreFile } from '../utils/files.js';
|
|
9
|
-
const API_URL = process.env.OPTIQ_BACKEND_URL ? `${process.env.OPTIQ_BACKEND_URL}/api` : '
|
|
9
|
+
const API_URL = process.env.OPTIQ_BACKEND_URL ? `${process.env.OPTIQ_BACKEND_URL}/api` : 'https://api.optiqcode.com/api';
|
|
10
10
|
export async function watch(options) {
|
|
11
11
|
const config = await getConfig();
|
|
12
12
|
if (!config) {
|
package/dist/index.js
CHANGED
|
@@ -9,7 +9,7 @@ import fs from 'fs/promises';
|
|
|
9
9
|
import logUpdate from 'log-update';
|
|
10
10
|
import { getConfig, saveConfig } from './utils/config.js';
|
|
11
11
|
import { isValidDirectory, getGitIgnorePatterns, shouldIgnoreFile } from './utils/files.js';
|
|
12
|
-
const BACKEND_URL = process.env.OPTIQ_BACKEND_URL || '
|
|
12
|
+
const BACKEND_URL = process.env.OPTIQ_BACKEND_URL || 'https://api.optiqcode.com';
|
|
13
13
|
async function showBanner() {
|
|
14
14
|
console.clear();
|
|
15
15
|
console.log(chalk.white.bold(`
|