icoa-cli 2.1.0 → 2.1.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/dist/index.js +1 -1
- package/dist/repl.js +3 -5
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -36,7 +36,7 @@ ${LINE}
|
|
|
36
36
|
${chalk.white('Sydney, Australia')} ${chalk.gray('Jun 27 - Jul 2, 2026')}
|
|
37
37
|
${chalk.cyan.underline('https://icoa2026.au')}
|
|
38
38
|
|
|
39
|
-
${chalk.gray('CLI-Native Competition Terminal v2.1.
|
|
39
|
+
${chalk.gray('CLI-Native Competition Terminal v2.1.1')}
|
|
40
40
|
|
|
41
41
|
${LINE}
|
|
42
42
|
`;
|
package/dist/repl.js
CHANGED
|
@@ -27,7 +27,7 @@ const BLOCKED_COMMANDS = new Set([
|
|
|
27
27
|
'iptables', 'ufw', // firewall
|
|
28
28
|
]);
|
|
29
29
|
const INTERCEPT = '__REPL_NO_EXIT__';
|
|
30
|
-
const VERSION = '2.1.
|
|
30
|
+
const VERSION = '2.1.1';
|
|
31
31
|
export async function startRepl(program, resumeMode) {
|
|
32
32
|
const config = getConfig();
|
|
33
33
|
const connected = isConnected();
|
|
@@ -65,11 +65,9 @@ export async function startRepl(program, resumeMode) {
|
|
|
65
65
|
});
|
|
66
66
|
if (yes) {
|
|
67
67
|
console.log();
|
|
68
|
-
// Trigger env setup
|
|
68
|
+
// Trigger env setup — use `icoa` command directly
|
|
69
69
|
const { execSync: ex } = await import('node:child_process');
|
|
70
|
-
|
|
71
|
-
const indexPath = fileURLToPath(new URL('../index.js', import.meta.url));
|
|
72
|
-
ex(`node "${indexPath}" env setup`, { stdio: 'inherit' });
|
|
70
|
+
ex('icoa env setup', { stdio: 'inherit' });
|
|
73
71
|
}
|
|
74
72
|
}
|
|
75
73
|
catch {
|