Commit Graph

5 Commits

Author SHA1 Message Date
Kazuki Yamada 926973f7f9 fix(browser): Remove deprecated moduleResolution and module overrides
The tsgo update removed support for moduleResolution=node10. These
options were unnecessary overrides since WXT's generated tsconfig
already sets module=ESNext and moduleResolution=Bundler correctly.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-04 19:49:03 +09:00
Kazuki Yamada 86e697d85a fix(browser): add prepare script and revert tsconfig for CI compatibility 2025-09-21 15:59:52 +09:00
Kazuki Yamada 2efbee6171 fix(browser): resolve CI TypeScript configuration issues
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.
2025-09-21 15:50:17 +09:00
Kazuki Yamada 89a06810ff feat(browser): migrate from webextension-toolbox to WXT framework
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
2025-09-21 15:26:35 +09:00
Kazuki Yamada 3af93b9b21 feat(browser): Add TypeScript support and configuration for Repomix extension 2025-05-29 00:01:04 +09:00