codebakers 2.3.6 → 2.3.8
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 +409 -427
- package/package.json +1 -1
- package/src/index.ts +1 -1
- package/src/utils/updates.ts +2 -21
package/package.json
CHANGED
package/src/index.ts
CHANGED
|
@@ -30,7 +30,7 @@ import { integrateCommand, INTEGRATIONS } from './commands/integrate.js';
|
|
|
30
30
|
import { websiteCommand } from './commands/website.js';
|
|
31
31
|
import { parseNaturalLanguage } from './utils/nlp.js';
|
|
32
32
|
|
|
33
|
-
const VERSION = '2.3.
|
|
33
|
+
const VERSION = '2.3.8';
|
|
34
34
|
|
|
35
35
|
// ASCII art logo
|
|
36
36
|
const logo = `
|
package/src/utils/updates.ts
CHANGED
|
@@ -3,25 +3,6 @@ import chalk from 'chalk';
|
|
|
3
3
|
const VERSION = '1.0.0';
|
|
4
4
|
|
|
5
5
|
export async function checkForUpdates(): Promise<void> {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
signal: AbortSignal.timeout(3000),
|
|
9
|
-
});
|
|
10
|
-
|
|
11
|
-
if (!response.ok) return;
|
|
12
|
-
|
|
13
|
-
const data = await response.json();
|
|
14
|
-
const latestVersion = data.version;
|
|
15
|
-
|
|
16
|
-
if (latestVersion && latestVersion !== VERSION) {
|
|
17
|
-
console.log(chalk.yellow(`
|
|
18
|
-
╭────────────────────────────────────────────╮
|
|
19
|
-
│ Update available: ${VERSION} → ${latestVersion.padEnd(10)} │
|
|
20
|
-
│ Run: npm install -g codebakers │
|
|
21
|
-
╰────────────────────────────────────────────╯
|
|
22
|
-
`));
|
|
23
|
-
}
|
|
24
|
-
} catch {
|
|
25
|
-
// Silently fail - update check is not critical
|
|
26
|
-
}
|
|
6
|
+
// Update check disabled - Studio handles updates automatically
|
|
7
|
+
return;
|
|
27
8
|
}
|