kubit-forge 0.0.2-canary.13 → 0.0.2-canary.15
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/CHANGELOG.md +96 -0
- package/README.md +9 -174
- package/dist/cli.js +292 -1264
- package/dist/index.d.ts +0 -1
- package/dist/index.js +3 -3
- package/package.json +4 -27
- package/dist/build-TDPYOEBI.js +0 -2
- package/dist/chunk-7V4PMNKN.js +0 -3
- package/dist/chunk-OGLTSPFE.js +0 -2
- package/dist/chunk-RIQLVTM4.js +0 -2
- package/dist/chunk-U35TJ4RI.js +0 -75
- package/dist/chunk-WKJR7LAJ.js +0 -2
- package/dist/dashboard-3G4QKDEH.js +0 -3
- package/dist/dashboard-HHJRIWLB.js +0 -4
- package/dist/doctor-FXJRLAYJ.js +0 -2
- package/dist/lint-V73BTQL4.js +0 -2
- package/dist/test-RN7ERSNH.js +0 -2
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,101 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 0.0.2-canary.15
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- Simplify CLI by removing redundant features and moving advanced functionality to optional plugins
|
|
8
|
+
|
|
9
|
+
BREAKING CHANGES:
|
|
10
|
+
- Remove GUI/TUI commands (dashboard, gui, visual:config)
|
|
11
|
+
- Remove assets optimization commands (assets:optimize, assets:compress, assets:cdn:sync)
|
|
12
|
+
- Remove SBOM/security commands from core (moved to @kubit/plugin-security)
|
|
13
|
+
- Remove advanced doctor commands (moved to @kubit/plugin-doctor-advanced)
|
|
14
|
+
- Remove dependency management commands (deps:why, deps:dedupe, deps:update, deps:alternatives, deps:export)
|
|
15
|
+
- Remove refactor commands (refactor:rename)
|
|
16
|
+
- Remove ecosystem commands (ecosystem:info, ecosystem:health, ecosystem:upgrade, ecosystem:sync)
|
|
17
|
+
- Remove dedicated bernova commands (bernova:init, bernova:generate, bernova:validate)
|
|
18
|
+
|
|
19
|
+
IMPROVEMENTS:
|
|
20
|
+
- Simplify doctor command to basic checks only (391 lines vs 479 lines)
|
|
21
|
+
- Simplify deps:analyze command with native tool recommendations (125 lines vs 566 lines)
|
|
22
|
+
- Integrate bernova into standard 'add' system for consistency
|
|
23
|
+
- Reduce CLI bundle size by 22.4% (233.86 KB → 181.42 KB)
|
|
24
|
+
- Remove ~4,400 lines of code from core
|
|
25
|
+
|
|
26
|
+
NEW FEATURES:
|
|
27
|
+
- Add @kubit/plugin-security (optional plugin for SBOM generation and security audits)
|
|
28
|
+
- Add @kubit/plugin-doctor-advanced (optional plugin for auto-fix, predictive analysis, IDE integration)
|
|
29
|
+
- Add optional recipes for automated workflows:
|
|
30
|
+
- security-sbom-workflow (CI/CD security automation)
|
|
31
|
+
- doctor-advanced-workflow (advanced diagnostics automation)
|
|
32
|
+
- testing-complete-setup (Vitest + coverage + E2E)
|
|
33
|
+
- monorepo-turborepo-setup (complete Turborepo configuration)
|
|
34
|
+
|
|
35
|
+
DOCUMENTATION:
|
|
36
|
+
- Add PLUGINS-VS-RECIPES.md (comprehensive guide explaining the difference)
|
|
37
|
+
- Add RECIPES-OPTIONAL.md (documentation for optional recipes)
|
|
38
|
+
- Add PLUGIN-SECURITY.md (security plugin documentation)
|
|
39
|
+
- Add PLUGIN-DOCTOR-ADVANCED.md (doctor advanced plugin documentation)
|
|
40
|
+
- Update README.md with new architecture and optional features
|
|
41
|
+
- Update INDEX.md with current command reference
|
|
42
|
+
- Remove outdated documentation (GUI.md, ASSET-OPTIMIZATION.md, SECURITY-SBOM.md, etc.)
|
|
43
|
+
|
|
44
|
+
PHILOSOPHY:
|
|
45
|
+
- Core CLI remains lightweight with essential commands only
|
|
46
|
+
- Advanced features available as optional plugins
|
|
47
|
+
- Automated workflows provided through optional recipes
|
|
48
|
+
- Delegate to specialized tools (pnpm why, npm-check-updates, IDE refactoring, etc.)
|
|
49
|
+
- Maintain neutrality (no favoritism for specific packages)
|
|
50
|
+
|
|
51
|
+
FILES DELETED:
|
|
52
|
+
- src/commands/assets.ts
|
|
53
|
+
- src/commands/dashboard.ts
|
|
54
|
+
- src/commands/gui.ts
|
|
55
|
+
- src/commands/refactor.ts
|
|
56
|
+
- src/commands/ecosystem.ts
|
|
57
|
+
- src/commands/bernova.ts
|
|
58
|
+
- src/core/doctor-auto-fix.ts
|
|
59
|
+
- src/core/doctor-ide-integration.ts
|
|
60
|
+
- src/core/doctor-predictive.ts
|
|
61
|
+
- src/core/doctor-recommendations.ts
|
|
62
|
+
- src/dashboard/\* (8 files)
|
|
63
|
+
- src/gui/\*
|
|
64
|
+
- docs/GUI.md
|
|
65
|
+
- docs/INTERACTIVE-DASHBOARD.md
|
|
66
|
+
- docs/VISUAL-GUI.md
|
|
67
|
+
- docs/ASSET-OPTIMIZATION.md
|
|
68
|
+
- docs/SECURITY-SBOM.md
|
|
69
|
+
- docs/DEPENDENCY_MANAGEMENT.md
|
|
70
|
+
|
|
71
|
+
FILES CREATED:
|
|
72
|
+
- src/plugins/security-plugin.ts
|
|
73
|
+
- src/plugins/doctor-advanced-plugin.ts
|
|
74
|
+
- src/recipes/optional/security-sbom-workflow.json
|
|
75
|
+
- src/recipes/optional/doctor-advanced-workflow.json
|
|
76
|
+
- src/recipes/optional/testing-complete-setup.json
|
|
77
|
+
- src/recipes/optional/monorepo-turborepo-setup.json
|
|
78
|
+
- docs/PLUGINS-VS-RECIPES.md
|
|
79
|
+
- docs/RECIPES-OPTIONAL.md
|
|
80
|
+
- docs/PLUGIN-SECURITY.md
|
|
81
|
+
- docs/PLUGIN-DOCTOR-ADVANCED.md
|
|
82
|
+
|
|
83
|
+
Co-authored-by: Cascade AI <cascade@windsurf.ai>
|
|
84
|
+
|
|
85
|
+
## 0.0.2-canary.14
|
|
86
|
+
|
|
87
|
+
### Patch Changes
|
|
88
|
+
|
|
89
|
+
- Remove deprecated loadConfigFromCLIDir option
|
|
90
|
+
- Remove loadConfigFromCLIDir from RunCLIOptions interface
|
|
91
|
+
- configDir is now the only way to specify config location
|
|
92
|
+
- Update documentation with configDir examples
|
|
93
|
+
- Remove unused imports (dirname, join, fileURLToPath)
|
|
94
|
+
- Fix JSDoc example with correct syntax
|
|
95
|
+
- Simplify config directory logic
|
|
96
|
+
|
|
97
|
+
This simplifies the API and makes config location explicit.
|
|
98
|
+
|
|
3
99
|
## 0.0.2-canary.13
|
|
4
100
|
|
|
5
101
|
### Patch Changes
|
package/README.md
CHANGED
|
@@ -21,10 +21,10 @@
|
|
|
21
21
|
- **[Getting Started](./docs/PROJECT-INITIALIZATION.md)** - Create your first project
|
|
22
22
|
- **[Add Features](./docs/ADD-COMMAND.md)** - Extend your project
|
|
23
23
|
- **[CLI Commands](./docs/DEVELOPMENT-COMMANDS.md)** - Daily workflow
|
|
24
|
-
- **[Visual GUI](./docs/VISUAL-GUI.md)** - Web-based interface
|
|
25
24
|
- **[Plugin System](./docs/PLUGIN-SYSTEM.md)** - Extend functionality
|
|
26
|
-
- **[
|
|
27
|
-
- **[
|
|
25
|
+
- **[Plugins vs Recipes](./docs/PLUGINS-VS-RECIPES.md)** - Understanding the difference
|
|
26
|
+
- **[Optional Plugins](./docs/PLUGIN-SECURITY.md)** - Security, Doctor Advanced
|
|
27
|
+
- **[Optional Recipes](./docs/RECIPES-OPTIONAL.md)** - Automated workflows
|
|
28
28
|
- **[Configuration](./docs/CONFIGURATION.md)** - Configure your project
|
|
29
29
|
|
|
30
30
|
[📑 Documentation Index](./docs/INDEX.md) - Complete documentation overview
|
|
@@ -41,12 +41,8 @@
|
|
|
41
41
|
- [Plugin System](#plugin-system)
|
|
42
42
|
- [Recipe System](#recipe-system)
|
|
43
43
|
- [Monorepo Support](#monorepo-support)
|
|
44
|
-
- [Interactive Dashboard](#interactive-dashboard)
|
|
45
|
-
- [Asset Optimization](#asset-optimization)
|
|
46
|
-
- [Security & SBOM](#security--sbom)
|
|
47
44
|
- [Doctor Command](#doctor-command)
|
|
48
45
|
- [Smart Dependency Management](#smart-dependency-management)
|
|
49
|
-
- [Visual GUI & Configuration Editor](#visual-gui--configuration-editor)
|
|
50
46
|
- [Configuration](#configuration)
|
|
51
47
|
- [Contributing](#contributing)
|
|
52
48
|
- [License](#license)
|
|
@@ -61,11 +57,10 @@
|
|
|
61
57
|
- **TypeScript First** - Full type safety and IntelliSense support
|
|
62
58
|
- **Lightning Fast** - Powered by Vite for instant HMR and optimized builds
|
|
63
59
|
- **Extensible** - Plugin and recipe systems for unlimited customization
|
|
64
|
-
- **Enterprise Ready** -
|
|
60
|
+
- **Enterprise Ready** - Advanced diagnostics and compliance tools
|
|
65
61
|
|
|
66
62
|
### Developer Experience
|
|
67
63
|
|
|
68
|
-
- **Interactive Dashboard** - Beautiful TUI for project management
|
|
69
64
|
- **AI-Powered Diagnostics** - Intelligent issue detection and auto-fix
|
|
70
65
|
- **Predictive Analysis** - Prevent problems before they happen
|
|
71
66
|
- **Package Manager Agnostic** - Works with npm, yarn, and pnpm
|
|
@@ -199,7 +194,11 @@ kubit-forge doctor --predictive
|
|
|
199
194
|
|
|
200
195
|
## Plugin System
|
|
201
196
|
|
|
202
|
-
**[📖 Full Documentation](./docs/PLUGIN-SYSTEM.md)**
|
|
197
|
+
**[📖 Full Documentation](./docs/PLUGIN-SYSTEM.md)** | **[Plugins vs Recipes Guide](./docs/PLUGINS-VS-RECIPES.md)**
|
|
198
|
+
|
|
199
|
+
### Core CLI Philosophy
|
|
200
|
+
|
|
201
|
+
Kubit Forge core is intentionally **lightweight and focused** on essential commands. Advanced features are available as **optional plugins** that you install only when needed.
|
|
203
202
|
|
|
204
203
|
Extend Kubit Forge with powerful plugins:
|
|
205
204
|
|
|
@@ -359,106 +358,6 @@ kubit-forge monorepo:info
|
|
|
359
358
|
|
|
360
359
|
---
|
|
361
360
|
|
|
362
|
-
## Interactive Dashboard
|
|
363
|
-
|
|
364
|
-
**[📖 Full Documentation](./docs/INTERACTIVE-DASHBOARD.md)**
|
|
365
|
-
|
|
366
|
-
Launch a beautiful TUI dashboard for project management:
|
|
367
|
-
|
|
368
|
-
```bash
|
|
369
|
-
kubit-forge dashboard
|
|
370
|
-
```
|
|
371
|
-
|
|
372
|
-
### Dashboard Features
|
|
373
|
-
|
|
374
|
-
- **Real-time Project Status** - Live updates on project health
|
|
375
|
-
- **Command Execution** - Run commands from the UI
|
|
376
|
-
- **Live Logs** - Stream logs in real-time
|
|
377
|
-
- **Plugin Management** - Visual plugin control
|
|
378
|
-
- **System Metrics** - CPU, memory, uptime monitoring
|
|
379
|
-
- **Keyboard Navigation** - Intuitive controls (1-5 for views, q to quit)
|
|
380
|
-
|
|
381
|
-
### Views
|
|
382
|
-
|
|
383
|
-
1. **Overview** - Project status and quick actions
|
|
384
|
-
2. **Commands** - Execute common commands
|
|
385
|
-
3. **Plugins** - Manage installed plugins
|
|
386
|
-
4. **Logs** - View real-time logs
|
|
387
|
-
5. **System** - System metrics and information
|
|
388
|
-
|
|
389
|
-
---
|
|
390
|
-
|
|
391
|
-
## Asset Optimization
|
|
392
|
-
|
|
393
|
-
**[📖 Full Documentation](./docs/ASSET-OPTIMIZATION.md)**
|
|
394
|
-
|
|
395
|
-
Optimize and deploy assets with ease:
|
|
396
|
-
|
|
397
|
-
### Asset Commands
|
|
398
|
-
|
|
399
|
-
```bash
|
|
400
|
-
# Optimize images, fonts, and icons
|
|
401
|
-
kubit-forge assets:optimize --quality 85
|
|
402
|
-
|
|
403
|
-
# Compress assets
|
|
404
|
-
kubit-forge assets:compress --algorithm both
|
|
405
|
-
|
|
406
|
-
# Sync to CDN
|
|
407
|
-
kubit-forge assets:cdn:sync --provider cloudflare
|
|
408
|
-
```
|
|
409
|
-
|
|
410
|
-
### Supported CDN Providers
|
|
411
|
-
|
|
412
|
-
- **Cloudflare**
|
|
413
|
-
- **AWS S3**
|
|
414
|
-
- **Azure Blob Storage**
|
|
415
|
-
- **Custom providers** (via plugin)
|
|
416
|
-
|
|
417
|
-
### Optimization Features
|
|
418
|
-
|
|
419
|
-
- **Image Optimization** - WebP, AVIF conversion
|
|
420
|
-
- **Font Subsetting** - Reduce font file sizes
|
|
421
|
-
- **Icon Optimization** - SVG minification
|
|
422
|
-
- **Compression** - Gzip and Brotli compression
|
|
423
|
-
- **Cache Busting** - Automatic versioning
|
|
424
|
-
|
|
425
|
-
---
|
|
426
|
-
|
|
427
|
-
## Security & SBOM
|
|
428
|
-
|
|
429
|
-
**[📖 Full Documentation](./docs/SECURITY-SBOM.md)**
|
|
430
|
-
|
|
431
|
-
Generate Software Bill of Materials and security audits:
|
|
432
|
-
|
|
433
|
-
### SBOM Commands
|
|
434
|
-
|
|
435
|
-
```bash
|
|
436
|
-
# Generate SBOM
|
|
437
|
-
kubit-forge sbom:generate --format json
|
|
438
|
-
|
|
439
|
-
# Validate dependencies
|
|
440
|
-
kubit-forge sbom:validate
|
|
441
|
-
|
|
442
|
-
# Security audit
|
|
443
|
-
kubit-forge security:audit
|
|
444
|
-
```
|
|
445
|
-
|
|
446
|
-
### Supported Formats
|
|
447
|
-
|
|
448
|
-
- **JSON** - Standard JSON format
|
|
449
|
-
- **XML** - XML format
|
|
450
|
-
- **SPDX** - Software Package Data Exchange
|
|
451
|
-
- **CycloneDX** - OWASP CycloneDX format
|
|
452
|
-
|
|
453
|
-
### Security Features
|
|
454
|
-
|
|
455
|
-
- **Dependency Scanning** - Identify vulnerable dependencies
|
|
456
|
-
- **License Compliance** - Check license compatibility
|
|
457
|
-
- **Supply Chain Security** - Verify package integrity
|
|
458
|
-
- **Automated Reporting** - Generate compliance reports
|
|
459
|
-
|
|
460
|
-
---
|
|
461
|
-
|
|
462
361
|
## Doctor Command
|
|
463
362
|
|
|
464
363
|
**[📖 Full Documentation](./docs/DOCTOR-COMMAND.md)**
|
|
@@ -569,66 +468,6 @@ kubit-forge deps:export --format markdown
|
|
|
569
468
|
|
|
570
469
|
---
|
|
571
470
|
|
|
572
|
-
## Visual GUI & Configuration Editor
|
|
573
|
-
|
|
574
|
-
**[📖 Full Documentation](./docs/VISUAL-GUI.md)** | **[GUI Technical Docs](./docs/GUI.md)**
|
|
575
|
-
|
|
576
|
-
Modern web-based interface for managing your project:
|
|
577
|
-
|
|
578
|
-
```bash
|
|
579
|
-
# Launch full GUI dashboard
|
|
580
|
-
kubit-forge gui
|
|
581
|
-
|
|
582
|
-
# Open configuration editor directly
|
|
583
|
-
kubit-forge visual:config
|
|
584
|
-
|
|
585
|
-
# Custom port and host
|
|
586
|
-
kubit-forge gui --port 8080 --host 0.0.0.0
|
|
587
|
-
|
|
588
|
-
# Don't open browser automatically
|
|
589
|
-
kubit-forge gui --no-open
|
|
590
|
-
```
|
|
591
|
-
|
|
592
|
-
### GUI Features
|
|
593
|
-
|
|
594
|
-
- **Project Overview** - Visual project information dashboard
|
|
595
|
-
- Project name, stack, language
|
|
596
|
-
- Package manager and Node version
|
|
597
|
-
- Working directory and paths
|
|
598
|
-
|
|
599
|
-
- **Command Palette** - Execute common commands with one click
|
|
600
|
-
- Dev server, build, test
|
|
601
|
-
- Lint, format, typecheck
|
|
602
|
-
- Visual feedback and status
|
|
603
|
-
|
|
604
|
-
- **Visual Configuration Editor** - Edit `kubit.config.toml` with a beautiful interface
|
|
605
|
-
- Project settings (name, stack, language, package manager)
|
|
606
|
-
- Development options (port, host)
|
|
607
|
-
- Quality toggles (lint, format, typecheck, tests)
|
|
608
|
-
- Real-time preview
|
|
609
|
-
- Save directly to config file
|
|
610
|
-
|
|
611
|
-
### Why Use the GUI?
|
|
612
|
-
|
|
613
|
-
- **Beginner-Friendly** - No need to remember CLI commands
|
|
614
|
-
- **Visual Feedback** - See changes in real-time
|
|
615
|
-
- **No Syntax Errors** - Form validation prevents config mistakes
|
|
616
|
-
- **Quick Access** - All features in one place
|
|
617
|
-
- **Modern Design** - Beautiful gradient interface with smooth animations
|
|
618
|
-
- **Responsive** - Works on desktop and tablets
|
|
619
|
-
|
|
620
|
-
### GUI Architecture
|
|
621
|
-
|
|
622
|
-
- **Zero Dependencies UI** - Lightweight HTML/CSS/JS served directly
|
|
623
|
-
- **RESTful API** - `/api/config`, `/api/project/info`, `/api/commands`
|
|
624
|
-
- **Hot Reload** - Changes reflected immediately
|
|
625
|
-
- **Port Conflict Resolution** - Automatically finds available port
|
|
626
|
-
- **Cross-Platform** - Works on macOS, Windows, Linux
|
|
627
|
-
|
|
628
|
-
**Learn more:** See [GUI.md](docs/GUI.md) for complete documentation.
|
|
629
|
-
|
|
630
|
-
---
|
|
631
|
-
|
|
632
471
|
## Migrations & Upgrades
|
|
633
472
|
|
|
634
473
|
**[📖 Full Documentation](./docs/MIGRATIONS-UPGRADES.md)**
|
|
@@ -945,12 +784,8 @@ Please read our [Code of Conduct](CODE_OF_CONDUCT.md) before contributing.
|
|
|
945
784
|
- ✅ Plugin system
|
|
946
785
|
- ✅ Recipe system
|
|
947
786
|
- ✅ Monorepo support
|
|
948
|
-
- ✅ Interactive dashboard
|
|
949
|
-
- ✅ Asset optimization
|
|
950
|
-
- ✅ SBOM generation
|
|
951
787
|
- ✅ Doctor command
|
|
952
788
|
- ✅ Smart Dependency Management
|
|
953
|
-
- ✅ Visual GUI & Configuration Editor
|
|
954
789
|
|
|
955
790
|
### Upcoming (v1.x)
|
|
956
791
|
|