Skip to content

Latest commit

 

History

History
45 lines (34 loc) · 2.21 KB

File metadata and controls

45 lines (34 loc) · 2.21 KB

Contributing to the Development

JabRef browser extension uses the WebExtensions API.

Preparation:

  1. Install Node.js (e.g., choco install nodejs) and pnpm (e.g., npm install -g pnpm).
  2. Fork the repository.
  3. Checkout the repository.
  4. Install development dependencies via pnpm install.
  5. Start browser with the add-on activated: Firefox: pnpm dev:firefox Chrome: pnpm dev:chrome Opera: pnpm dev:opera Edge: pnpm dev:edge

Now just follow the typical steps to contribute code:

  1. Create your feature branch: git checkout -b my-new-feature
  2. Make your changes and test them by running the extension in the browser as described above.
  3. Commit your changes: git commit -am 'Add some feature'
  4. Push to the branch: git push origin my-new-feature
  5. Submit a pull request.

Updating dependencies & Zotero translators

  • python scripts/import_and_patch_translators.py updates all Zotero submodules, post-processes the translators and applies the necessary patches for our extension

The following commands are used to update the dependencies of the project; as we use Renovate for automatic dependency updates this should not be necessary in most cases, but it is good to know how to do it manually:

  • pnpm outdated gives an overview of outdated packages (doc)
  • pnpm update --latest updates all packages
  • pnpm install installs updated packages

Release of new version