Merged
Conversation
v0.2.2 v0.2.2
- Rename `@adnbn` scope to `@addon-core` - Add new dev dependencies including Jest, CommitLint, ReleaseIt, and others
- Simplify `target()` method logic in `InjectScriptV3` for clarity and edge case handling. - Refactor `run()` method across `InjectScriptV2` and `InjectScriptV3` for streamlined execution. - Adjust imports to use standard and renamed modules from `@addon-core/browser`. - Add more robust error-handling in `InjectScriptV2` execution flow. - Use TS `type` imports to improve code clarity and type inference.
…act` - Remove redundant type constraint on `R` in `run` method to streamline type definition. - Ensure easier maintenance and improved type inference consistency.
- Add Husky hooks for pre-commit, commit-msg, and pre-push validations. - Introduce CommitLint with conventional commit style configuration. - Replace Prettier with Biome for formatting and linting, with detailed configuration. - Enforce consistent line endings using `.gitattributes`.
- Extract shared options into a `common` configuration object. - Separate ESM and CJS configurations for better customization and clarity. - Adjust `dts` and `clean` options for respective build formats.
- Expand `ExecutionWorld` type to accept string literals for flexibility. - Simplify `release` script by removing unused `release:preview` from `package.json`. - Add overrides for `glob` and `source-map` packages, ensuring compatibility. - Bump esbuild-related dependencies to version 0.25.10 for enhanced features and fixes.
- Add CI workflow for linting, testing, and coverage reporting using GitHub Actions. - Introduce matrix builds for OS (Ubuntu, Windows) and Node.js versions (18, 20, 22). - Create a release workflow for version bumping, publishing, and main-to-develop sync. - Configure release-it for automated changelog generation and semantic releases. - Improve contributor tracking with custom `.mailmap` and release-it configuration.
…ed clarity - Update scope from `@adnbn` to `@addon-core` across entire README and docs. - Add badges for license, CI/CD status, and npm stats to README. - Expand usage examples with clear MV2/MV3 distinctions and advanced scenarios. - Introduce sections for features, compatibility, and troubleshooting. - Revise CONTRIBUTING.md with a detailed branching model, workflow, and quality gates. - Add SECURITY.md with vulnerability reporting guidelines and support policy. - Include MIT License file with detailed permissions and conditions.
- Introduce `getBrowser` utility to determine runtime environment (Chrome/Firefox API). - Add `sendMessage` helper function for safe and consistent message dispatching. - Replace direct `chrome.runtime.sendMessage` calls with `sendMessage` for error resilience. - Improve error handling with detailed console logs for runtime and unexpected exceptions.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.