Fixed linting warnings by replacing 'any' return types in WXT function
declarations with proper TypeScript interfaces. This improves type safety
without affecting functionality.
Changes:
- Added BackgroundDefinition and ContentScriptDefinition interfaces
- Updated defineBackground and defineContentScript return types
- Resolves 2 lint/suspicious/noExplicitAny warnings
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <noreply@anthropic.com>
Fix TypeScript compilation errors in CI by removing dependency on WXT's auto-generated .wxt/tsconfig.json file which doesn't exist during lint phase.
Changes:
- Remove "extends": "./.wxt/tsconfig.json" from tsconfig.json
- Add manual type definitions for WXT global functions (defineBackground, defineContentScript)
- Include proper file paths and type declarations
- Ensure CI can run lint checks before WXT generates its configuration
This resolves the CI error: "Cannot read file '.wxt/tsconfig.json'" during the lint step.
Remove unused dependencies and configurations left over from webextension-toolbox migration to WXT.
Changes:
- Remove @types/webextension-polyfill dependency (WXT provides built-in types)
- Remove browserslist configuration (not needed for WXT)
- Update archive script path reference
- Clean up package.json for WXT-only setup
This reduces dependency footprint and eliminates potential conflicts with WXT's built-in tooling.
Replace deprecated webextension-toolbox with modern WXT framework for improved developer experience and active maintenance. This migration addresses the issue where webextension-toolbox hasn't been updated in 4 years.
Key changes:
- Replace webextension-toolbox with WXT framework
- Restructure project to use entrypoints/ and public/ directories
- Convert background/content scripts to WXT format with defineBackground/defineContentScript
- Add wxt.config.ts for centralized configuration
- Migrate all 11 languages i18n support to new structure
- Update build scripts and dependencies
- Remove deprecated manifest.json (now auto-generated)
- Fix TypeScript configuration to extend WXT types
Benefits:
- Active framework with regular updates
- Better development experience with HMR and Vite integration
- Smaller bundle size and improved build performance
- Modern toolchain with TypeScript-first approach
- Unified cross-browser extension development
Updates validation.ts to use Zod v4 API:
- Changed error.errors to error.issues
- Renamed parameter from err to issue for clarity
This resolves build errors after upgrading to Zod v4.
- Update @typescript/native-preview from 7.0.0-dev.20250708.1 to 7.0.0-dev.20250824.1
- Update package-lock.json files for all subprojects to reflect the latest version
- Ensures compatibility with latest TypeScript native performance improvements
This keeps all packages in sync with the latest tsgo release for consistent type checking performance.
- Update browser/package.json to use tsgo instead of tsc for lint-tsc script
- Update website/client/package.json to use tsgo instead of tsc for lint-tsc script
- Update website/server/package.json to use tsgo instead of tsc for lint-tsc script
- Add @typescript/native-preview dependency to all subprojects for tsgo compatibility
This aligns with the main package.json which already uses tsgo for faster TypeScript type checking.
Remove @biomejs/biome, @secretlint/secretlint-rule-preset-recommend, and secretlint as they are no longer needed in the browser package.
🤖 Generated with [Claude Code](https://claude.ai/code)
Co-Authored-By: Claude <noreply@anthropic.com>
- Update @biomejs/biome from 1.9.4 to 2.1.2
- Update @secretlint/secretlint-rule-preset-recommend from 9.3.1 to 10.2.1
- Update @types/chrome from 0.0.323 to 0.1.1
- Update @types/node from 22.10.2 to 24.0.14
- Update @types/webextension-polyfill from 0.10.7 to 0.12.3
- Update secretlint from 9.3.1 to 10.2.1
- Update sharp from 0.34.1 to 0.34.3
- Update tsx from 4.19.2 to 4.20.3
- Update vitest from 3.2.2 to 3.2.4
These updates include major version bumps for biome and secretlint tooling.
🤖 Generated with [Claude Code](https://claude.ai/code)
Co-Authored-By: Claude <noreply@anthropic.com>
Created comprehensive guidelines for browser extension development including:
- Project structure and key features overview
- Multi-language internationalization (11 languages)
- Manifest V3 compliance and cross-browser support
- Development commands and testing procedures
- Store deployment considerations
🤖 Generated with [Claude Code](https://claude.ai/code)
Co-Authored-By: Claude <noreply@anthropic.com>