Skip to content

Conversation

@sciborrudnicki
Copy link
Contributor

Classes

  • HooksBase
  • HooksCore
  • ObjectHooksBase

Copy link
Contributor

Copilot AI left a 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), and ObjectHooksBase (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.

sciborrudnicki and others added 10 commits November 13, 2025 18:37
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>
@sciborrudnicki sciborrudnicki merged commit 06110e8 into main Nov 13, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants