@stacksjs/browser-extension 0.70.121 → 0.70.122

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/README.md +23 -0
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -40,6 +40,29 @@ email to the publisher account. Firefox reads `AMO_JWT_ISSUER` and
40
40
  `AMO_JWT_SECRET`; `web-ext` can create the initial listing when
41
41
  `firefoxAddons.license` and `firefoxAddons.categories` are configured.
42
42
 
43
+ For tag-driven publication, call Stacks' reusable workflow from the extension
44
+ repository instead of duplicating store orchestration:
45
+
46
+ ```yaml
47
+ jobs:
48
+ publish:
49
+ uses: stacksjs/stacks/.github/workflows/browser-extension-release.yml@v0.70.122
50
+ with:
51
+ chrome-publisher-id: ${{ vars.CHROME_WEB_STORE_PUBLISHER_ID }}
52
+ safari-enabled: ${{ vars.ENABLE_SAFARI_PUBLISH == 'true' }}
53
+ secrets:
54
+ CHROME_WEB_STORE_SERVICE_ACCOUNT_JSON: ${{ secrets.CHROME_WEB_STORE_SERVICE_ACCOUNT_JSON }}
55
+ AMO_JWT_ISSUER: ${{ secrets.AMO_JWT_ISSUER }}
56
+ AMO_JWT_SECRET: ${{ secrets.AMO_JWT_SECRET }}
57
+ APP_STORE_CONNECT_API_KEY: ${{ secrets.APP_STORE_CONNECT_API_KEY }}
58
+ APP_STORE_CONNECT_API_KEY_ID: ${{ secrets.APP_STORE_CONNECT_API_KEY_ID }}
59
+ APP_STORE_CONNECT_API_ISSUER_ID: ${{ secrets.APP_STORE_CONNECT_API_ISSUER_ID }}
60
+ ```
61
+
62
+ It packages every configured target, publishes Chrome and Firefox in
63
+ independent jobs, optionally uploads Safari with stable Xcode, and creates the
64
+ GitHub Release only after the enabled stores succeed.
65
+
43
66
  ## Safari
44
67
 
45
68
  Safari Web Extensions ship inside a macOS app, so the safari target has two
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@stacksjs/browser-extension",
3
3
  "type": "module",
4
- "version": "0.70.121",
4
+ "version": "0.70.122",
5
5
  "description": "Build MV3 browser extensions (Chrome, Firefox, Safari) the Stacks way — manifest, content/background scripts, DNR rules, packaging, Safari container app, all config-driven.",
6
6
  "author": "Chris Breuer",
7
7
  "contributors": [