Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/fregante/web-ext-submit
Wrapper around Mozilla’s web-ext to submit extensions to AMO.
https://github.com/fregante/web-ext-submit
webext
Last synced: about 2 months ago
JSON representation
Wrapper around Mozilla’s web-ext to submit extensions to AMO.
- Host: GitHub
- URL: https://github.com/fregante/web-ext-submit
- Owner: fregante
- Created: 2017-05-30T05:48:11.000Z (over 7 years ago)
- Default Branch: main
- Last Pushed: 2023-10-08T05:13:20.000Z (11 months ago)
- Last Synced: 2024-07-12T15:06:38.656Z (2 months ago)
- Topics: webext
- Language: Shell
- Homepage: https://npm.im/web-ext-submit
- Size: 90.8 KB
- Stars: 33
- Watchers: 3
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
Awesome Lists containing this project
README
# Deprecated
web-ext now natively supports addon submissions without error starting in 7.3.0. The usage is similar, replace:
```sh
export WEB_EXT_API_KEY=blahla
export WEB_EXT_API_SECRET=blahla
web-ext-submit
```with
```sh
export WEB_EXT_API_KEY=blahla
export WEB_EXT_API_SECRET=blahla
web-ext sign --use-submission-api --channel listed
```# web-ext-submit [![npm version](https://img.shields.io/npm/v/web-ext-submit.svg)](https://www.npmjs.com/package/web-ext-submit)
> Wrapper around Mozilla’s web-ext to submit extensions to AMO.
Mozilla’s `web-ext sign` successfully submits an extension for review, but then it throws an error. This wrapper executes the same command, but then it prevents the unrelated ["_it could not be signed_"](https://github.com/mozilla/web-ext/issues/804#issuecomment-302588357) error.
This package will only live until `web-ext` natively supports this. Follow [mozilla/web-ext#804](https://github.com/mozilla/web-ext/issues/804)
Used on https://github.com/sindresorhus/refined-github/
## Install
```sh
npm install web-ext-submit
```## Requirements
- bash
- sed
- grep
- teeTested on Travis and GitHub Actions, they include all of them by default.
## Usage
Since this is just a wrapper around [`web-ext sign`](https://developer.mozilla.org/en-US/docs/Mozilla/Add-ons/WebExtensions/web-ext_command_reference#web-ext_sign), it uses the same env variables and supports the same command-line flags as that command.
```sh
WEB_EXT_API_KEY=blahla
WEB_EXT_API_SECRET=blahla
web-ext-submit
```or
```sh
web-ext-submit --api-key=blahbla --api-secret=blahla
```## Related
* [`mozilla/web-ext`](https://github.com/mozilla/web-ext): A command line tool to help build, run, and test web extensions.
* [`webext-dynamic-content-scripts`](https://github.com/fregante/webext-dynamic-content-scripts): Automatically inject your `content_scripts` on custom domains.
* [`webext-content-script-ping`](https://github.com/fregante/webext-content-script-ping): One-file interface to detect whether your content scripts have loaded.
* [`webext-options-sync`](https://github.com/fregante/webext-options-sync): Helps you manage and autosave your extension's options.
* [`Awesome WebExtensions`](https://github.com/fregante/Awesome-WebExtensions): A curated list of awesome resources for Web Extensions development.## License
MPL-2.0 © [Federico Brigante](https://fregante.com)