-
-
Notifications
You must be signed in to change notification settings - Fork 0
v0.0.1 #1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
v0.0.1 #1
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull request overview
This PR introduces the initial release (v0.0.1) of @typescript-package/middleware, a lightweight TypeScript library for implementing middleware chains with support for both synchronous and asynchronous execution.
Key Changes:
- Implementation of a
Middlewareclass with methods for adding and executing middleware functions - Support for both sync (
execute) and async (executeAsync) middleware execution patterns - Configuration files for TypeScript compilation and Angular packaging
Reviewed changes
Copilot reviewed 13 out of 14 changed files in this pull request and generated 33 comments.
Show a summary per file
| File | Description |
|---|---|
src/lib/middleware.class.ts |
Core middleware class implementation with chain execution logic |
src/type/middleware-function.type.ts |
TypeScript type definition for middleware functions |
src/test/middleware.spec.ts |
Basic test suite for the Middleware class |
src/public-api.ts |
Public API surface exporting the Middleware class |
src/lib/index.ts |
Re-export of the Middleware class from the lib directory |
src/type/index.ts |
Re-export of the MiddlewareFunction type |
package.json |
NPM package configuration and metadata |
tsconfig.spec.json |
TypeScript configuration for test files |
tsconfig.lib.json |
TypeScript configuration for library compilation |
tsconfig.lib.prod.json |
Production-specific TypeScript configuration |
ng-package.json |
Angular packaging configuration |
README.md |
Documentation with usage examples and project information |
.gitignore |
Git ignore rules for build artifacts and dependencies |
.github/FUNDING.yml |
GitHub funding configuration |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
You can also share your feedback on Copilot code review for a chance to win a $100 gift card. Take the survey.
No description provided.