omnivore/pkg/extension
dependabot[bot] 0e0a9912d0
Bump moment from 2.29.1 to 2.29.2 in /pkg/extension
Bumps [moment](https://github.com/moment/moment) from 2.29.1 to 2.29.2.
- [Release notes](https://github.com/moment/moment/releases)
- [Changelog](https://github.com/moment/moment/blob/develop/CHANGELOG.md)
- [Commits](https://github.com/moment/moment/compare/2.29.1...2.29.2)

---
updated-dependencies:
- dependency-name: moment
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-04-09 14:40:48 +00:00
..
src update extension success messages 2022-02-24 11:53:20 -08:00
.env.demo Add env file for building extension pointing at demo env 2022-03-23 14:31:46 -07:00
.env.local Open source omnivore 2022-02-11 09:24:33 -08:00
.env.production Open source omnivore 2022-02-11 09:24:33 -08:00
.env.qa Open source omnivore 2022-02-11 09:24:33 -08:00
package.json Open source omnivore 2022-02-11 09:24:33 -08:00
README Open source omnivore 2022-02-11 09:24:33 -08:00
replace-with-process-env.js Open source omnivore 2022-02-11 09:24:33 -08:00
webpack.js Open source omnivore 2022-02-11 09:24:33 -08:00
yarn.lock Bump moment from 2.29.1 to 2.29.2 in /pkg/extension 2022-04-09 14:40:48 +00:00

We are using webpack to build the extension as described in the repo below:
	Credit: https://github.com/paulmwatson/web-ext-environments.git
Weback builds the main background script as well as the background html
page for the extension. Webpack copy plugin is used to transform env
variables in the main background script (not any of the content scripts).
Env variables are loaded using dotenv-webpack and the checked in .env files.

Steps for new extension release:
* yarn install
* To generate a production extension in dist/ folder to save articles
against production site, run: yarn build-prod
* For development extension to use against QA site (dev.omnivore.app) run yarn build-qa
* For using extension against localhost, run yarn build


Steps for creating Safari extension:
* Follow guide here:
  https://developer.apple.com/documentation/safariservices/safari_web_extensions/converting_a_web_extension_for_safari
* Run: xcrun safari-web-extension-converter dist/ (on the webpack built extension dist/ folder)
* In xcode, build for 'Running', next 'Archive' and finally 'Distribute' and choose 'Copy' to share manually 
with others via file.