- Update tapbundle imports from @push.rocks to @git.zone/tstest
- Change all test file imports from .js to .ts extensions
- Tests verified working with Deno runtime
- All 10 logger tests passing
- SNMP tests ready for Deno execution
- Rewrite README.md for Deno-based binary distribution
- Update installation instructions for binary downloads
- Document new subcommand CLI structure
- Add troubleshooting, security, and development sections
- Remove Node.js references, add Deno information
- Add comprehensive v4.0.0 changelog entry
- Document all breaking changes
- List new features and technical improvements
- Provide migration guide and command mapping
- Include technical details and benefits
- Create MIGRATION.md guide for v3.x to v4.0 upgrade
- Step-by-step migration instructions
- Configuration compatibility information
- Troubleshooting common migration issues
- Rollback procedures
- Post-migration best practices
Major Changes:
- Reorganized commands into logical groups (service, ups, group)
- Added new subcommand structure:
- nupst service <enable|disable|start|stop|restart|status|logs|start-daemon>
- nupst ups <add|edit|remove|list|test>
- nupst group <add|edit|remove|list>
- nupst config [show]
- Added --version/-v flag support
- Added restart subcommand for service
- Added command aliases (ls, rm)
- Renamed delete() to remove() in handlers
- Maintained backward compatibility with deprecation warnings
- Updated all help messages to reflect new structure
- Added showVersion(), showServiceHelp(), showUpsHelp() methods
- Fixed readline imports to use node:readline
Breaking Changes:
- Old command format (e.g. 'nupst add') is deprecated
- Users should migrate to new format (e.g. 'nupst ups add')
- Backward compatibility maintained with warnings for now
- Created scripts/compile-all.sh for all 5 platforms
- Successfully compiled binaries for:
- Linux x64 (345MB)
- Linux ARM64 (340MB)
- macOS x64 (337MB)
- macOS ARM64 (334MB)
- Windows x64 (345MB)
- Added --no-check flag to bypass npm:net-snmp type issues
- Updated .gitignore for Deno artifacts
- Tested compiled binary - working successfully
Note: Binaries embed npm:net-snmp with native bindings
Warning from Deno about cross-platform node_modules compatibility noted
- Created deno.json configuration
- Updated all imports to use npm:net-snmp@3.20.0
- Changed all Node.js built-in imports to node: specifiers
- Updated all .js extensions to .ts in imports
- Created mod.ts as Deno entry point
- Ready for Phase 3: CLI simplification