Aaron
66e5079b84
feat: Add alias config for customizing path aliases ( #216 )
2023-11-07 11:38:48 -06:00
Aaron
22f8e10918
chore: Remove whitespace from genearted .wxt files ( #211 )
2023-11-04 12:28:31 -05:00
yyyanghj
6641ffaeed
fix!: Remove lib from .wxt/tsconfig.json ( #209 )
...
Co-authored-by: Aaron Klinker <aaronklinker1@gmail.com >
2023-11-04 10:50:52 -05:00
Aaron
fcdf0dcbe9
feat: createContentScriptIframe utility ( #206 )
2023-11-03 09:31:16 -05:00
Aaron
5a70d9e57d
fix: Allow actions without a popup ( #181 )
2023-10-20 10:20:40 -05:00
Aaron
874a531a62
feat: Add testing utils under wxt/testing ( #178 )
2023-10-18 16:28:26 -05:00
Aaron
44464f914f
feat!: Use defineUnlistedScript to define unlisted scripts ( #167 )
...
BREAKING CHANGE: Unlisted scripts must now `export default defineUnlistedScript(...)`
2023-10-14 10:06:52 -05:00
Aaron
739b738100
fix: Ignore non-manifest fields when merging content script entries ( #164 )
2023-10-13 18:01:13 -05:00
Aaron
95442dd39b
fix: More consistent version_name generation between browsers ( #163 )
2023-10-13 17:37:08 -05:00
Aaron
da1f7f3ea5
feat: Support JS entrypoints ( #155 )
2023-10-07 09:53:47 -05:00
Aaron
868fd27804
feat: Allow customizing entrypoint options per browser ( #154 )
2023-10-05 17:12:20 -05:00
Aaron
4150e42c05
feat: createContentScriptUi helper ( #143 )
2023-09-30 21:57:57 -05:00
Aaron
725ecf7c64
fix: Reorder typescript paths to give priority to @ and ~ over @@ and ~~ ( #142 )
2023-09-30 12:33:33 -05:00
Aaron
3847092df4
feat: Content script cssInjectionMode ( #141 )
2023-09-30 12:32:00 -05:00
Aaron
19b11c236f
fix!: Output content script CSS to content-scripts/<name>.css ( #140 )
...
BREAKING CHANGE: Content script CSS used to be output to `assets/<name>.css`, but is now `content-scripts/<name>.css` to match the docs.
2023-09-30 12:20:41 -05:00
Aaron
e97071b7d7
fix: Support loading tsx entrypoints ( #134 )
2023-09-29 22:08:20 -05:00
Aaron
cf5a7d1411
fix: Use execaCommand instead of node:child_process ( #130 )
2023-09-27 12:06:44 -05:00
Aaron
2e142b3038
feat: --analyze build flag ( #125 )
2023-09-23 16:00:35 -05:00
Aaron
26fca5c0a2
feat: Add transformManifest option ( #124 )
2023-09-22 21:08:03 -05:00
Aaron
07891d028b
feat!: Require a function for vite configuration ( #121 )
...
BREAKING CHANGE: The `vite` config option must now be a function. If you were using an object before, change it from `vite: { ... }` to `vite: () => ({ ... })`.
2023-09-22 11:51:55 -05:00
Aaron
16cebc538f
feat: Add ContentScriptContext util for stopping invalidated content scripts ( #120 )
2023-09-21 18:48:07 -05:00
Aaron
f51bbc0a68
feat: Include/exclude entrypoints based on target browser ( #115 )
2023-09-15 13:51:53 -05:00
Aaron
6ee5b22e6c
feat: Allow disabling auto-imports ( #114 )
2023-09-15 12:25:22 -05:00
Aaron
a8285fff78
feat: Generate types for browser.i18n.getMessage ( #103 )
2023-09-05 09:55:55 -05:00
Aaron
f234c85357
fix!: Use relative path aliases inside .wxt/tsconfig.json ( #102 )
...
BREAKING CHANGE: Moved .wxt directory from inside srcDir to root to match Nuxt.
2023-09-04 21:48:07 -05:00
Aaron Klinker
2c7922ca4c
chore: Fix test watcher restarting indefinetly
2023-09-04 15:41:06 -05:00
Aaron Klinker
5f5f1d90f8
fix: Don't overwrite wxt.config.ts content scripts, append entrypoints to it
2023-08-29 16:02:47 -05:00
Aaron Klinker
83e62a1d63
chore: Fix remote code E2E test
2023-08-29 16:02:47 -05:00
Aaron
aefc8d3167
feat: Discover icons from the public directory ( #72 )
2023-08-13 10:05:27 -05:00
Aaron
310f994ccb
feat: init command for bootstrapping new projects ( #65 )
2023-07-29 22:20:31 -05:00
Aaron
488d7885ca
feat: Windows support ( #50 )
2023-07-20 22:54:30 -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
c71b5e12f2
fix: Some fields cannot be overridden from config.manifest ( #46 )
2023-07-16 12:03:14 -05:00
Aaron Klinker
495c5c8e4c
fix: Read boolean maniest options from meta tags correctly
2023-07-16 11:29:34 -05:00
Aaron Klinker
6f5bf89645
feat: Support all content script options
2023-07-16 10:10:25 -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
80fed4a451
docs: Create documentation site ( #31 )
2023-07-11 14:22:47 -05:00
Aaron Klinker
05ca9985d5
fix: Merge manifest option from both inline and user config
2023-07-11 10:24:55 -05:00
Aaron Klinker
ee49837804
feat: Accept a function for config.manifest
2023-07-11 09:41:43 -05:00
Aaron Klinker
2e51e7349d
fix: Allow dashes in entrypoint names
2023-07-10 22:16:08 -05:00
Aaron
cd714ea196
feat: Reload HTML files individually ( #23 )
2023-07-02 21:37:28 -05:00
Aaron
13a713cc28
feat: Setup background script web socket/reload ( #22 )
2023-07-02 20:00:18 -05:00
Aaron
f02abc5227
fix: Remove hash from content script css outputs ( #20 )
2023-07-01 13:54:18 -05:00
Aaron Klinker
9ab3953810
chore: Refactor folder structure
2023-06-25 21:11:11 -05:00
Aaron Klinker
51a10725cf
chore: Rename package to wxt
2023-06-25 10:53:35 -05:00
Aaron Klinker
5813302c71
chore: Add E2E tests and convert to vitest workspace
2023-06-25 10:53:35 -05:00