Commit Graph

19 Commits

Author SHA1 Message Date
Aaron Klinker 19c0948d95 feat!: Change default publicDir to <rootDir>/public
BREAKING CHANGE: `config.publicDir`'s default changed from `<srcDir>/public` to `rootDir/<public>` to align with other frameworks and standards
2023-07-20 15:47:38 -05:00
Aaron Klinker 9cc464f48b ci: Improve checks against demo/ extension 2023-07-20 13:56:22 -05:00
Aaron Klinker 58a84ec253 feat!: Add type safety to browser.runtime.getURL
Entrypoint outputs and files in the public directory are typed properly.
Chunks and other generated files are not typed since they aren't often accessed at runtime.

BREAKING CHANGE: `browser` is now imported from `wxt/browser` instead of `webextension-polyfill`
2023-07-20 13:55:35 -05:00
Aaron dca43efe0d feat: Add wxt zip command (#47) 2023-07-16 14:38:56 -05:00
Aaron Klinker 5b48ae99f4 feat!: Rename defineBackgroundScript to defineBackground
BREAKING CHANGE: Rename `defineBackgroundScript` to `defineBackground`. Update your background entrypoints
2023-07-14 20:03:12 -05:00
Aaron Klinker c1ea9ba4a3 chore: Run wxt prepare on postinstall 2023-07-14 15:50:50 -05:00
Aaron 3307fc42a0 feat: Reload extension when source code is changed (#17) 2023-07-02 16:04:13 -05:00
Aaron Klinker 1ecfedd32c chore: Fix demo global usage 2023-06-25 20:50:09 -05:00
Aaron 9ef451be2e feat: Support more CLI flags for build and dev (#9) 2023-06-25 12:23:04 -05:00
Aaron Klinker 51a10725cf chore: Rename package to wxt 2023-06-25 10:53:35 -05:00
Aaron Klinker 739d19f3e3 fix: Support srcDir config 2023-06-25 10:53:35 -05:00
Aaron Klinker 1a25f2b532 feat: Copy public directory to outputs 2023-06-25 10:53:35 -05:00
Aaron Klinker 8c59a1c001 feat: Provide custom, typed globals defined by Vite 2023-06-25 10:53:35 -05:00
Aaron Klinker 505e41951c feat: Dev server working and a valid extension is built 2023-06-25 10:53:35 -05:00
Aaron Klinker 21debadcce feat: Generate type declarations and config for project types and auto-imports 2023-06-25 10:53:35 -05:00
Aaron Klinker 523c7df519 feat: Download and bundle remote URL imports 2023-06-25 10:53:35 -05:00
Aaron Klinker 1e7c738de4 feat: Build entrypoints and output manfiest.json 2023-06-25 10:53:35 -05:00
Aaron Klinker 5b07c95ec7 feat: Export and bootstrap the /client package 2023-06-25 10:53:35 -05:00
Aaron Klinker 24a561e97e Initial commit
Bootstraped:
- CLI script
- JS API
- Test extension
- Config files
2023-06-25 10:53:35 -05:00