Releases: crxjs/chrome-extension-tools
Validating MV3
This release adds a JSON schema that supports MV3.
- chore: remove aliases b9a3b3f
- chore: add alias to jest c55cbc8
- chore: fix types build step 25a9519
- chore: remove comment from rollup config e28e7f2
- chore: support node >= 12 0a876fc
- chore: include schema on npm ecb2538
- Fix integration bugs with new schema (#90) e83143c
- Add MV3 types and JSON schema (#89) fc83a2f
Delaying the simple reloader
Moving towards Firefox support
Supporting Windows better
Thanks to @onikienko for helping us debug this!
- fix manifest file paths for windows f6b4491
Fixing sourcemaps
Thanks to @mnoorenberghe for the PR fixing sourcemaps!
This release also adds some better documentation and cleans up the codebase a little.
Supporting JSX and TSX as content scripts
This release adds support for content scripts in the manifest that end in .jsx
or .tsx
.
The "basic" test has also been renamed to "kitchen-sink", and new "basic-js" and "basic-ts" tests have been added to make it easier for contributors to make a PR.
Thanks to @ZakaryCode and @joegilley for their PRs pointing out the need for this feature!
- docs: tweak sh code blocks da0e502
- chore: sort package json 53b80dd
- tests: config jest to use better test runner 7bcd8c4
- chore: fix eslint config for extension fixtures 1cce902
- tests: add tests for react tsx content scripts 8bbbd85
- tests: add tests for react js content scripts 6ae10dd
- feat: support jsx/tsx as content script entries 3f4cd67
- tests: add basic ts test 8d48d15
- tests: add basic js test 4f65b8e
- tests: rename basic test to kitchen-sink 89738be
- Update README.md (#59) f443253
Minding our own business
Fixes a bug where rollup-plugin-chrome-extension
would throw an error during the generateBundle
hook if there were unresolved dependencies. Now Rollup will show the external dependencies message instead.
Naming chunks correctly
The last release broke chunk file names and paths for non-entry modules, removing subfolders and adding double hashes to output files. The manifest retained the expected file names, but the files were named incorrectly.
This release fixes that problem. We've added some tests to make sure that the file names in the manifest always match the output file names.
Adding browserPolyfill
This release has been a long time coming. It adds the option browserPolyfill
, which adds webextension-polyfill
to your Chrome extension. It also includes some improvements to the simpleReloader
and lays some groundwork for Firefox compatible builds.
Supporting options_ui
Thanks to @jones-sam for adding this feature and updating our Cheerio types!