entkapp 5.2.2 → 5.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/README.md CHANGED
@@ -1,4 +1,4 @@
1
- # 🕸️ entkapp Ultimate v5.2.0
1
+ # 🕸️ entkapp Ultimate v5.2.4
2
2
 
3
3
  > **The Ultimate Enterprise Codebase Janitor.** Faster than Knip with OXC integration, type-aware analysis, and automated structural healing. Fully standalone - solving what Knip cannot.
4
4
 
@@ -11,7 +11,6 @@
11
11
  ## 🚀 Warum entkapp?
12
12
 
13
13
  * **⚡ Blazing Fast:** Nutzt den Rust-basierten `oxc-parser` für extrem schnelle AST-Traversierung, kombiniert mit der TypeScript Compiler API für tiefe semantische Analysen.
14
- * **🏗️ v7 Stability:** Nutzt die robuste Kern-Logik der Version 7 für zuverlässiges Symbol-Tracking und Erreichbarkeits-Graphen.
15
14
  * **🔌 Massives Plugin-System:** Über 80+ integrierte Plugins (React, Vue, Svelte, Angular, Next.js, Nuxt, SvelteKit, Astro, Vite, Webpack, Turbo, Nx, Tailwind, ESLint, Prettier und viele mehr).
16
15
  * **💀 True Dead Code Detection:** Fortschrittliche graphbasierte Analyse zur Identifizierung von wirklich verwaistem Code.
17
16
  * **🔄 Circular Dependency Detection:** Hochperformante Erkennung von zirkulären Abhängigkeiten mittels Tarjan's Algorithmus.
@@ -1,19 +1,13 @@
1
1
  {
2
- // Interface mode: "CLI" for terminal usage, "GUI" for web interface
2
+ "$schema": "https://unpkg.com/entkapp@5.2.4/schema.json"
3
3
  "interface": "CLI",
4
-
5
- // Plugin activation toggles
6
4
  "useBuiltinPlugins": true,
7
5
  "useCustomPlugins": true,
8
-
9
- // Engine performance and behavior options
10
6
  "options": {
11
7
  "verbose": false,
12
8
  "fastMode": true,
13
9
  "selfHealing": true
14
10
  },
15
-
16
- // List of core plugins to load (if useBuiltinPlugins is true)
17
11
  "enabledPlugins": [
18
12
  "nextjs",
19
13
  "nuxt",
@@ -22,15 +16,10 @@
22
16
  "astro",
23
17
  "typescript"
24
18
  ],
25
-
26
- // Dependencies to ignore during unused dependency analysis
27
- // This prevents false positives for tools that analyze themselves
28
19
  "ignoreDependencies": [
29
20
  "entkapp",
30
21
  "@types/*"
31
22
  ],
32
-
33
- // File patterns to exclude from analysis
34
23
  "exclude": [
35
24
  "node_modules",
36
25
  ".git",
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": "5.2.2",
4
+ "version": "5.2.4",
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",
package/schema.json ADDED
@@ -0,0 +1,69 @@
1
+
2
+ {
3
+ "$schema": "http://json-schema.org/draft-07/schema#",
4
+ "title": "entkapp Configuration Schema",
5
+ "description": "Configuration schema for entkapp Ultimate - The Enterprise Codebase Janitor",
6
+ "type": "object",
7
+ "properties": {
8
+ "interface": {
9
+ "description": "The interface mode for entkapp.",
10
+ "type": "string",
11
+ "enum": ["CLI", "GUI"],
12
+ "default": "CLI"
13
+ },
14
+ "useBuiltinPlugins": {
15
+ "description": "Whether to load the built-in ecosystem plugins (Next.js, Vite, etc.).",
16
+ "type": "boolean",
17
+ "default": true
18
+ },
19
+ "useCustomPlugins": {
20
+ "description": "Whether to load plugins from the local /entkapp/plugins directory.",
21
+ "type": "boolean",
22
+ "default": true
23
+ },
24
+ "options": {
25
+ "type": "object",
26
+ "properties": {
27
+ "verbose": {
28
+ "description": "Enable detailed trace logging for debugging.",
29
+ "type": "boolean",
30
+ "default": false
31
+ },
32
+ "fastMode": {
33
+ "description": "Use the OXC (Rust) parser for high-speed analysis.",
34
+ "type": "boolean",
35
+ "default": true
36
+ },
37
+ "selfHealing": {
38
+ "description": "Enable automated structural healing and pruning.",
39
+ "type": "boolean",
40
+ "default": true
41
+ }
42
+ }
43
+ },
44
+ "enabledPlugins": {
45
+ "description": "Explicit list of plugins to activate.",
46
+ "type": "array",
47
+ "items": {
48
+ "type": "string",
49
+ "enum": ["nextjs", "nuxt", "remix", "sveltekit", "astro", "typescript", "vite", "webpack", "react", "vue", "angular"]
50
+ }
51
+ },
52
+ "ignoreDependencies": {
53
+ "description": "Dependencies that should never be reported as unused.",
54
+ "type": "array",
55
+ "items": {
56
+ "type": "string"
57
+ },
58
+ "default": ["entkapp", "@types/*"]
59
+ },
60
+ "exclude": {
61
+ "description": "Glob patterns of directories or files to ignore during analysis.",
62
+ "type": "array",
63
+ "items": {
64
+ "type": "string"
65
+ },
66
+ "default": ["node_modules", ".git", "dist", "build", "coverage"]
67
+ }
68
+ }
69
+ }
@@ -2,7 +2,7 @@ import { loadAdditionalPlugins } from "./ecosystems/PluginLoader.js";
2
2
  import path from 'path';
3
3
  import fs from 'fs/promises';
4
4
  import { pathToFileURL } from 'url';
5
-
5
+ import { AllPluginClasses } from './ecosystems/UltimateBundle.js';
6
6
  /**
7
7
  * ============================================================================
8
8
  * Plugin Registry for entkapp v5.0.0
@@ -41,107 +41,12 @@ export class PluginRegistry {
41
41
  loadAdditionalPlugins(this);
42
42
 
43
43
  // Also load TypeScript and Next.js plugins (primary framework plugins)
44
- const { ReactPlugin, VuePlugin, SveltePlugin, AngularPlugin, PreactPlugin, SolidPlugin, QwikPlugin, LitPlugin, NuxtPlugin, RemixPlugin, SvelteKitPlugin, AstroPlugin, VitepressPlugin, GatsbyPlugin, RedwoodPlugin, NextJsPlugin, TypeScriptPlugin, ExpressPlugin, FastifyPlugin, NestJsPlugin, HonoPlugin, KoaPlugin, ElysiaPlugin, GraphQLPlugin, ApolloPlugin, TRPCPlugin, DatabasePlugin, PrismaPlugin, DrizzlePlugin, MongoosePlugin, SupabasePlugin, FirebasePlugin, ClerkPlugin, ReduxPlugin, ZustandPlugin, JotaiPlugin, RecoilPlugin, MobXPlugin, PiniaPlugin, TanStackQueryPlugin, ReactRouterPlugin, TanStackRouterPlugin, VueRouterPlugin, AntdPlugin, MuiPlugin, ShadcnPlugin, RadixUIPlugin, ChakraUIPlugin, FramerMotionPlugin, GSAPPlugin, ZodPlugin, YupPlugin, ValibotPlugin, I18nextPlugin, VueI18nPlugin, SentryPlugin, OpenTelemetryPlugin, SocketIoPlugin, TailwindPlugin, PostcssPlugin, UnoCSSPlugin, StylelintPlugin, EslintPlugin, PrettierPlugin, BiomePlugin, OxlintPlugin, HuskyPlugin, LintStagedPlugin, CommitlintPlugin, ChangesetPlugin, BabelPlugin, SWCPlugin, VitePlugin, EsbuildPlugin, RollupPlugin, WebpackPlugin, ParcelPlugin, TurboPlugin, NxPlugin, JestPlugin, VitestPlugin, PlaywrightPlugin, CypressPlugin, StorybookPlugin, MswPlugin, GithubActionsPlugin, DockerPlugin, TerraformPlugin, EditorConfigPlugin, NvmPlugin, VoltaPlugin, DotenvPlugin, PnpmPlugin, YarnPlugin, BunPlugin, SwiperPlugin, QuillPlugin, EnvelopPlugin } = await import('./ecosystems/UltimateBundle.js');
45
- this.register(new ReactPlugin(this.context));
46
- this.register(new VuePlugin(this.context));
47
- this.register(new SveltePlugin(this.context));
48
- this.register(new AngularPlugin(this.context));
49
- this.register(new PreactPlugin(this.context));
50
- this.register(new SolidPlugin(this.context));
51
- this.register(new QwikPlugin(this.context));
52
- this.register(new LitPlugin(this.context));
53
- this.register(new NuxtPlugin(this.context));
54
- this.register(new RemixPlugin(this.context));
55
- this.register(new SvelteKitPlugin(this.context));
56
- this.register(new AstroPlugin(this.context));
57
- this.register(new VitepressPlugin(this.context));
58
- this.register(new GatsbyPlugin(this.context));
59
- this.register(new RedwoodPlugin(this.context));
60
- this.register(new NextJsPlugin(this.context));
61
- this.register(new TypeScriptPlugin(this.context));
62
- this.register(new ExpressPlugin(this.context));
63
- this.register(new FastifyPlugin(this.context));
64
- this.register(new NestJsPlugin(this.context));
65
- this.register(new HonoPlugin(this.context));
66
- this.register(new KoaPlugin(this.context));
67
- this.register(new ElysiaPlugin(this.context));
68
- this.register(new GraphQLPlugin(this.context));
69
- this.register(new ApolloPlugin(this.context));
70
- this.register(new TRPCPlugin(this.context));
71
- this.register(new DatabasePlugin(this.context));
72
- this.register(new PrismaPlugin(this.context));
73
- this.register(new DrizzlePlugin(this.context));
74
- this.register(new MongoosePlugin(this.context));
75
- this.register(new SupabasePlugin(this.context));
76
- this.register(new FirebasePlugin(this.context));
77
- this.register(new ClerkPlugin(this.context));
78
- this.register(new ReduxPlugin(this.context));
79
- this.register(new ZustandPlugin(this.context));
80
- this.register(new JotaiPlugin(this.context));
81
- this.register(new RecoilPlugin(this.context));
82
- this.register(new MobXPlugin(this.context));
83
- this.register(new PiniaPlugin(this.context));
84
- this.register(new TanStackQueryPlugin(this.context));
85
- this.register(new ReactRouterPlugin(this.context));
86
- this.register(new TanStackRouterPlugin(this.context));
87
- this.register(new VueRouterPlugin(this.context));
88
- this.register(new AntdPlugin(this.context));
89
- this.register(new MuiPlugin(this.context));
90
- this.register(new ShadcnPlugin(this.context));
91
- this.register(new RadixUIPlugin(this.context));
92
- this.register(new ChakraUIPlugin(this.context));
93
- this.register(new FramerMotionPlugin(this.context));
94
- this.register(new GSAPPlugin(this.context));
95
- this.register(new ZodPlugin(this.context));
96
- this.register(new YupPlugin(this.context));
97
- this.register(new ValibotPlugin(this.context));
98
- this.register(new I18nextPlugin(this.context));
99
- this.register(new VueI18nPlugin(this.context));
100
- this.register(new SentryPlugin(this.context));
101
- this.register(new OpenTelemetryPlugin(this.context));
102
- this.register(new SocketIoPlugin(this.context));
103
- this.register(new TailwindPlugin(this.context));
104
- this.register(new PostcssPlugin(this.context));
105
- this.register(new UnoCSSPlugin(this.context));
106
- this.register(new StylelintPlugin(this.context));
107
- this.register(new EslintPlugin(this.context));
108
- this.register(new PrettierPlugin(this.context));
109
- this.register(new BiomePlugin(this.context));
110
- this.register(new OxlintPlugin(this.context));
111
- this.register(new HuskyPlugin(this.context));
112
- this.register(new LintStagedPlugin(this.context));
113
- this.register(new CommitlintPlugin(this.context));
114
- this.register(new ChangesetPlugin(this.context));
115
- this.register(new BabelPlugin(this.context));
116
- this.register(new SWCPlugin(this.context));
117
- this.register(new VitePlugin(this.context));
118
- this.register(new EsbuildPlugin(this.context));
119
- this.register(new RollupPlugin(this.context));
120
- this.register(new WebpackPlugin(this.context));
121
- this.register(new ParcelPlugin(this.context));
122
- this.register(new TurboPlugin(this.context));
123
- this.register(new NxPlugin(this.context));
124
- this.register(new JestPlugin(this.context));
125
- this.register(new VitestPlugin(this.context));
126
- this.register(new PlaywrightPlugin(this.context));
127
- this.register(new CypressPlugin(this.context));
128
- this.register(new StorybookPlugin(this.context));
129
- this.register(new MswPlugin(this.context));
130
- this.register(new GithubActionsPlugin(this.context));
131
- this.register(new DockerPlugin(this.context));
132
- this.register(new TerraformPlugin(this.context));
133
- this.register(new EditorConfigPlugin(this.context));
134
- this.register(new NvmPlugin(this.context));
135
- this.register(new VoltaPlugin(this.context));
136
- this.register(new DotenvPlugin(this.context));
137
- this.register(new PnpmPlugin(this.context));
138
- this.register(new YarnPlugin(this.context));
139
- this.register(new BunPlugin(this.context));
140
- this.register(new SwiperPlugin(this.context));
141
- this.register(new QuillPlugin(this.context));
142
- this.register(new EnvelopPlugin(this.context));
143
- }
44
+
144
45
 
46
+ AllPluginClasses.forEach(PluginClass => {
47
+ this.register(new PluginClass(this.context));
48
+ });
49
+ }
145
50
  async loadCustomPlugins(projectRoot) {
146
51
  const pluginsDir = path.join(projectRoot, 'entkapp', 'plugins');
147
52
  try {