Temporary Containers Firefox Add-on
Detailed information about the Add-on can be found on AMO. There's also this long-form article and the project wiki.
Development
Requirements
- Clone the repository
npm install
npm run watch
Run in Firefox
npm install -g web-ext
web-ext run -s dist
- starts the default system Firefox, loads the Add-on and watches for changes
- append
-p profilename
to start Firefox with a different profile
or
- Open
about:debugging
andLoad Temporary Add-on
which is located in thedist
directory
Check about:debugging
and click Debug
under Temporary Container to see the console.
Run the tests
- Once:
npm test
- this also shows a coverage summary and generates a detailed report in thecoverage
directory - Watcher:
npm run test:watch
- Set
security.csp.enable
tofalse
inabout:config
if you want working parcel hmr for UI dev and change back totrue
when you're done
- Set
Release
AMO and GitHub
- Bump manifest version
- Commit, tag and push
- Upload zip web-ext-artifact to AMO
- Download published AMO xpi
- Create and publish GitHub release with AMO xpi
Pre-Release on GitHub
- Bump manifest version
- Commit and push
- git tag v1.0beta1
- git push origin v1.0beta1
- git log $(git tag --sort=-version:refname | sed -n 2p)..HEAD --pretty=format:%s
- Add release notes and publish
Libraries
Vue.js and SemanticUI are used for the preferences & popup UI.
License
MIT