-
-
Notifications
You must be signed in to change notification settings - Fork 0
v1.0.0 #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
v1.0.0 #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 version 1.0.0 of @typescript-package/hooks, a lightweight TypeScript library for managing hooks functionality. The library provides three core abstract classes (HooksBase, HooksCore, and ObjectHooksBase) that enable hook-based patterns for change tracking, property observation, and lifecycle management.
Key Changes:
- Initial project setup with TypeScript, ESLint, and Angular packaging configuration
- Implementation of three abstract classes for hooks management:
HooksCore(core abstraction),HooksBase(base implementation), andObjectHooksBase(object-specific hooks) - Documentation and examples in README.md demonstrating usage patterns
Reviewed Changes
Copilot reviewed 15 out of 17 changed files in this pull request and generated 13 comments.
Show a summary per file
| File | Description |
|---|---|
package.json |
Package configuration with peer dependencies on @typedly/callback and @typedly/hooks |
package-lock.json |
Dependency lock file for reproducible builds |
eslint.config.mts |
ESLint flat config with TypeScript support and member ordering rules |
tsconfig.*.json |
TypeScript configuration files for library, spec, production, and ESLint |
ng-package.json |
Angular packaging configuration |
src/lib/hooks-core.abstract.ts |
Core abstract class defining the hooks interface |
src/lib/hooks-base.abstract.ts |
Base implementation of hooks functionality extending HooksCore |
src/lib/object-hooks-base.abstract.ts |
Object-specific hooks implementation with property change tracking |
src/lib/index.ts |
Library exports |
src/public-api.ts |
Public API surface exports |
src/test/object-hooks-base.spec.ts |
Example usage (needs actual test assertions) |
README.md |
Documentation with installation, API reference, and usage examples |
.gitignore |
Git ignore patterns for Node, IDE files, and build output |
.github/FUNDING.yml |
GitHub sponsorship configuration |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Classes
HooksBaseHooksCoreObjectHooksBase