Releases: taedmonds/lightts
v1.1.6
v1.1.5
This patch release fixes an issue on the error class middleware function and function namings.
Bug Fix
- Regular express controller renamed "router" to be "Router".
- Fixed error types issue in error class middleware function.
Full Changelog: v1.1.4...v1.1.5
v1.1.4
This patch release has the documentation updates.
Improvements
- Moved the documentation to a new website: lightts.dev.
Full Changelog: v1.1.3...v1.1.4
v1.1.3
This patch release fixes an issue where cors middleware statement is duplicated in index file.
Bug Fix
- Duplicated cors statement removed.
Full Changelog: v1.1.2...v1.1.3
v1.1.2
This patch release fixes an issue where resource generation creates the service and controller file but comments out the service import and service method.
Bug Fix
- Saved the service file changes before generating the controller file.
- Router file name changes fix
Full Changelog: v1.1.1...v1.1.2
v1.1.1
This patch release fixes an issue where comments in the index file was using '#' instead or '//'.
Bug Fix
- Replaced '#' comments with '//' comments
Full Changelog: v1.1.0...v1.1.1
v1.1.0
This release introduces new features for improved project initialization, and enhances generated file comments.
Features
- README Generation: Added automatic
README.mdgeneration duringlts init, including dynamic project structure, scripts, and feature documentation tailored to user configuration. - Dynamic package.json Scripts: Enhanced
package.jsonscript generation to dynamically append database-related scripts (typeorm,migrate,seed,dummy) when the database feature is selected.
Improvements
- Better Comments: Improved comments in generated files (e.g.,
config.ts,hello.controller.ts) for better clarity and maintainability.
Full Changelog: v1.0.2...v1.1.0
v1.0.2
This patch release fixes an issue where dot files were missing in the npm package.
Bug Fix
- Added .gitignore, .prettierrc, and .prettierignore to the npm package to ensure proper inclusion during installation.
Full Changelog: v1.0.1...v1.0.2
v1.0.1
This patch release updates the framework’s branding to LightTs and addresses bugs caused by the name change.
Full Changelog: v1.0.0...v1.0.1
v1.0.0
Initial release of LightTs, a lightweight, native Node.js framework.
Features
- CLI for project initialization and component generation
- Native Node.js with Express and
jsonwebtoken - Response classes:
DataResponse,MessageResponse - Error classes:
BadRequestError,ConflictError,ForbiddenError,NotFoundError,ServerError,UnauthorizedError - Support for TypeORM (PostgreSQL, MySQL, MariaDB, MongoDB)
- Code quality tools: ESLint, Prettier, Husky
Installation
npm install -g lightts
lts initSee the README for full documentation.