Conversation
Test Coverage: - Unit tests for sanitizeFilename() function (23 tests) - Manifest validation tests for Chrome and Firefox (21 tests) - Build validation tests for package creation (17 tests) - Total: 61 passing tests Tools Added: - Jest for unit and integration testing - ESLint for code quality and linting - Prettier for code formatting - GitHub Actions workflow for CI/CD testing on Blacksmith runners New Scripts: - pnpm test - Run all tests - pnpm test:watch - Run tests in watch mode - pnpm test:coverage - Run tests with coverage report - pnpm lint - Check code quality - pnpm lint:fix - Fix linting issues - pnpm format - Format all code - pnpm format:check - Check code formatting Configuration: - jest.config.js with 80% coverage threshold - eslint.config.js for extension and Node.js environments - .prettierrc for consistent code style - Uses Blacksmith 2vCPU Ubuntu 24.04 runners for 2x faster CI - GitHub Actions testing on Node 18 and 20
- Remove deprecated .eslintignore file - Add caughtErrorsIgnorePattern to ESLint config - Remove unused variables in background.js and popup.js - Auto-fix formatting issues with Prettier - All tests, lint, and format checks now pass 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
- Run test:coverage instead of test to generate coverage reports - Add CODECOV_TOKEN to codecov upload step Note: You'll need to add CODECOV_TOKEN secret in GitHub repository settings: 1. Sign up at https://codecov.io and link your repository 2. Copy the token from Codecov 3. Add it as CODECOV_TOKEN in GitHub Settings > Secrets and variables > Actions 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
Only collect coverage for utils.js since build.js has no tests. This ensures coverage thresholds are met (100% statements, 75% branches). 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
Added GitHub Actions workflow that intelligently publishes extensions to Chrome Web Store, Firefox Add-ons, and Edge Add-ons. The workflow checks each store's current version and only publishes where updates are needed, preventing unnecessary submissions. Features: - Version checking for Chrome, Firefox, and Edge stores - Conditional publishing (only to stores that need updates) - Manual trigger via workflow_dispatch - Automatic trigger on version tags (v*) - Detailed publishing summary Also added: - publish-browser-extension as devDependency - PUBLISHING.md guide with setup instructions - Repository variables and secrets configuration 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
Resolved conflicts: - README.md: Kept Firefox Add-ons as Available - package.json: Kept publish-browser-extension dependency - pnpm-lock.yaml: Regenerated lockfile 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #4 +/- ##
=========================================
Coverage 100.00% 100.00%
=========================================
Files 1 1
Lines 4 4
Branches 1 1
=========================================
Hits 4 4 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
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.