entkapp 4.4.0 → 4.4.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.
Files changed (2) hide show
  1. package/bin/cli.js +9 -5
  2. package/package.json +1 -1
package/bin/cli.js CHANGED
@@ -28,7 +28,7 @@ async function bootstrap() {
28
28
  program
29
29
  .name('entkapp')
30
30
  .description(ansis.cyan('Enterprise-Grade AST Syntax Refactoring & Self-Healing Engine'))
31
- .version(packageJsonContent.version || '4.4.0');
31
+ .version(packageJsonContent.version || '4.4.1');
32
32
 
33
33
  program
34
34
  .option('-c, --cwd <path>', 'Specify the execution context root directory', process.cwd())
@@ -36,6 +36,7 @@ async function bootstrap() {
36
36
  .option('--fix', 'Enable atomic code updates, structural file pruning, and active type sanitization', false)
37
37
  .option('--tsconfig <filename>', 'Specify path to custom layout configurations', 'tsconfig.json')
38
38
  .option('--test-command <command>', 'Integrated continuous safety test validation script execution path', 'npm test')
39
+ .option('--no-fix', 'Deprecated flag, this is now default')
39
40
  .option('--workspace', 'Enable high-density workspace workspace/monorepo cluster mesh evaluation parsing', false)
40
41
  .option('--verbose', 'Toggle expanded trace telemetry for debug operational diagnostics', false)
41
42
  .option('-r, --run', 'Execute the primary operational pipeline loop', false)
@@ -44,7 +45,10 @@ async function bootstrap() {
44
45
 
45
46
  program.parse(process.argv);
46
47
  const options = program.opts();
47
-
48
+ if (args.includes('--no-fix')) {
49
+ console.warn("\n⚠️ [DEPRECATION] The --no-fix flag is deprecated. No-fix is now the default behavior.");
50
+ console.warn("👉 To apply structural changes, use the --fix flag instead.\n");
51
+ }
48
52
  const rl = readline.createInterface({ input: process.stdin, output: process.stdout });
49
53
 
50
54
  // --- Onboarding Check (Skipped in Non-Interactive Mode) ---
@@ -65,7 +69,7 @@ async function bootstrap() {
65
69
  const answer = await rl.question(ansis.bold.yellow('❓ No "entkapp:run" script found in package.json. Install it? (y/n): '));
66
70
  if (answer.toLowerCase() === 'y') {
67
71
  pkgJson.scripts = pkgJson.scripts || {};
68
- pkgJson.scripts['entkapp:run'] = 'npx entkapp --fix';
72
+ pkgJson.scripts['entkapp:run'] = 'npx entkapp';
69
73
  await fs.writeFile(pkgJsonPath, JSON.stringify(pkgJson, null, 2));
70
74
  console.log(ansis.green('✅ "entkapp:run" script added to package.json.'));
71
75
  }
@@ -89,7 +93,7 @@ async function bootstrap() {
89
93
  enabledPlugins: ["nextjs", "nuxt", "remix", "sveltekit", "astro"]
90
94
  };
91
95
  await fs.writeFile(path.join(configDirPath, 'config.json'), JSON.stringify(defaultConfig, null, 2));
92
- console.log(ansis.green('✅ "/entkapp" folder? and default config created.'));
96
+ console.log(ansis.green('✅ "/entkapp" folder and default config created.'));
93
97
  configInstalled = true;
94
98
  }
95
99
  }
@@ -131,7 +135,7 @@ async function bootstrap() {
131
135
  }, timeoutMs);
132
136
  timeoutTimer.unref(); // Allow process to exit if work finishes
133
137
 
134
- console.log(ansis.bold.green(`\n📦 entkapp v${packageJsonContent.version || '4.4.0'} Engine Activation`));
138
+ console.log(ansis.bold.green(`\n📦 entkapp v${packageJsonContent.version || '4.4.1'} Engine Activation`));
135
139
  console.log(ansis.dim('------------------------------------------------------------'));
136
140
  console.log(`${ansis.bold('Target Workspace Root :')} ${ansis.blue(targetCwd)}`);
137
141
  console.log(`${ansis.bold('Refactoring Mode :')} ${options.fix ? ansis.yellow('Active Fixing & Self-Healing Enabled') : ansis.gray('Dry-Run Reporting Only')}`);
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "$schema": "http://json-schema.org/draft-07/schema#",
3
3
  "name": "entkapp",
4
- "version": "4.4.0",
4
+ "version": "4.4.1",
5
5
  "description": "The Ultimate Enterprise Codebase Janitor. Faster than Knip with OXC integration, type-aware analysis, and automated structural healing. Fully standalone - solving what Knip cannot.",
6
6
  "type": "module",
7
7
  "main": "index.js",