Skip to content
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

feat!: implement basic plugin system in Colorus #17

Merged
merged 1 commit into from
Aug 4, 2024

Conversation

supitsdu
Copy link
Owner

@supitsdu supitsdu commented Aug 4, 2024

  • Add a helper function to check if the plugin is not valid
  • Add unit tests to make sure the basic plugin system works
  • Add typing defs for the plugin system
  • Update the typing defs for the color objects

BREAKING CHANGE: Removes old typing [Color]Object in place of a more well-designed and elegant solution. It effectively leverages generics, mapped types, and intersection types to create a flexible and maintainable codebase.

Closes #16

- Add helper function to check if the plugin is not a valid plugin
- Add unit tests to make sure the basic plugin system works
- Add typing defs for the plugin system
- Update the typing defs for the color objects

BREAKING CHANGE: Removes old typing [Color]Object in place of a more well-designed and elegant solution. It effectively leverages generics, mapped types, and intersection types to create a flexible and maintainable codebase.
@supitsdu supitsdu added ✨ Enhancement New feature or request ♻️ Refactor Code refactoring, restructuring, or improving code quality without changing external behavior labels Aug 4, 2024
@supitsdu supitsdu merged commit a72f467 into main Aug 4, 2024
1 check passed
@supitsdu supitsdu deleted the feat/plugin-system branch August 4, 2024 14:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
✨ Enhancement New feature or request ♻️ Refactor Code refactoring, restructuring, or improving code quality without changing external behavior
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Proposal for a Plugin System to Extend Colorus-js Functionality
1 participant