extension 4.4.3-canary.503.8936920 → 4.4.3

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.
package/README.md CHANGED
@@ -23,6 +23,8 @@ npm run dev
23
23
 
24
24
  Works with `npm`, `pnpm`, `yarn`, `bun`, and `deno`.
25
25
 
26
+ Using an AI coding agent? [Point it at the docs](https://extension.js.org/docs/ai-access) so it reads the current commands and options.
27
+
26
28
  The CLI itself runs on Node.js 22.12+, Deno 2.5+, and Bun 1.2+.
27
29
 
28
30
  [Documentation](https://extension.js.org/docs) · [Templates](https://extension.js.org/templates) · [YouTube](https://www.youtube.com/@BrowserExtension) · [Showcase](https://extension.js.org/showcase) · [Blog](https://extension.js.org/blog)
@@ -101,6 +103,8 @@ npx extension@latest dev --gecko-binary "/Applications/Firefox.app/Contents/MacO
101
103
 
102
104
  </div>
103
105
 
106
+ The full guide to browsers, binaries and flags is in the [browsers docs](https://extension.js.org/docs/browsers).
107
+
104
108
  ## Ship to the store
105
109
 
106
110
  Build a production-ready bundle and zip it for submission to the Chrome Web Store, Edge Add-ons, or Firefox AMO. A Safari build produces a macOS app through Xcode instead of a ZIP file:
@@ -130,6 +134,8 @@ Useful flags:
130
134
  - `--out-dir <path>` writes the build to `<path>/<browser>` instead of `dist/<browser>`. A build into the folder a live dev session serves is refused, so this is how a build runs beside a dev session
131
135
  - `--polyfill` bundles the cross-browser webextension polyfill, off by default in every command. It is for a Chromium older than 148, or older than 152 when the manifest declares a `devtools_page`
132
136
 
137
+ The full guide, with store credentials and review notes, is in the [publishing docs](https://extension.js.org/docs/publishing).
138
+
133
139
  ## Manage browser binaries
134
140
 
135
141
  Skip the system-install dance. Extension.js can download and manage isolated browser binaries for clean dev sessions:
@@ -145,6 +151,8 @@ npx extension@latest install --browser=all
145
151
  npx extension@latest install --where
146
152
  ```
147
153
 
154
+ Every option is in the [`install` command docs](https://extension.js.org/docs/commands/install).
155
+
148
156
  ## Add to an existing extension
149
157
 
150
158
  Install Extension.js as a dev dependency and wire up your scripts.
@@ -187,7 +195,7 @@ Add Extension.js to a project, or run it once without installing, with the packa
187
195
  | :-: | :-- | :-- | :-- |
188
196
  | <img alt="npm" src="https://media.extension.land/logos/package-managers/npm.svg" width="64"> | npm | `npm install extension@latest --save-dev` | `npx extension@latest create my-extension` |
189
197
  | <img alt="pnpm" src="https://media.extension.land/logos/package-managers/pnpm.svg" width="64"> | pnpm | `pnpm add extension@latest --save-dev` | `pnpm dlx extension@latest create my-extension` |
190
- | <img alt="Yarn" src="https://media.extension.land/logos/package-managers/yarn.svg" width="64"> | Yarn | `yarn add extension@latest --dev` | `yarn dlx extension@latest create my-extension` |
198
+ | <img alt="Yarn" src="https://media.extension.land/logos/package-managers/yarn.svg" width="64"> | Yarn | `yarn add extension@latest --dev` | `yarn dlx extension@latest create my-extension` (Yarn 2 or later. On Yarn 1, use `npx`) |
191
199
  | <img alt="Bun" src="https://media.extension.land/logos/package-managers/bun.svg" width="64"> | Bun | `bun add --dev extension@latest` | `bunx extension@latest create my-extension` |
192
200
  | <picture><source media="(prefers-color-scheme: dark)" srcset="https://media.extension.land/logos/package-managers/deno-dark.svg"><img alt="Deno" src="https://media.extension.land/logos/package-managers/deno.svg" width="64"></picture> | Deno | `deno add npm:extension@latest` | `deno run -A npm:extension@latest create my-extension` |
193
201
 
package/dist/cli.cjs CHANGED
@@ -18053,11 +18053,12 @@ Expecting one of '${allowedValues.join("', '")}'`);
18053
18053
  }
18054
18054
  var messaging = __webpack_require__("./helpers/messaging.ts");
18055
18055
  const TEMPLATE_CORPUS_REPO = 'extension-js/templates';
18056
- const TEMPLATE_CORPUS_REF = 'c361968af29397402685fb6b094f55c6a28e206d';
18056
+ const TEMPLATE_CORPUS_REF = 'dc0fc897c7d7f9da770797360a9a193703e7f766';
18057
18057
  const TEMPLATE_CORPUS_SLUGS = [
18058
18058
  'action',
18059
18059
  'action-locales',
18060
18060
  'action-preact',
18061
+ 'action-react',
18061
18062
  'action-svelte',
18062
18063
  'action-vue',
18063
18064
  'ai-chatgpt',
@@ -1,6 +1,6 @@
1
1
  export declare const DEFAULT_TEMPLATE = "typescript";
2
2
  export declare const BUNDLED_TEMPLATES: readonly string[];
3
- export declare const TEMPLATE_CATALOG_URL = "https://github.com/extension-js/templates/tree/c361968af29397402685fb6b094f55c6a28e206d/examples";
3
+ export declare const TEMPLATE_CATALOG_URL = "https://github.com/extension-js/templates/tree/dc0fc897c7d7f9da770797360a9a193703e7f766/examples";
4
4
  export interface TemplateGroup {
5
5
  title: string;
6
6
  summary: string;
@@ -1,3 +1,3 @@
1
1
  export declare const TEMPLATE_CORPUS_REPO = "extension-js/templates";
2
- export declare const TEMPLATE_CORPUS_REF = "c361968af29397402685fb6b094f55c6a28e206d";
2
+ export declare const TEMPLATE_CORPUS_REF = "dc0fc897c7d7f9da770797360a9a193703e7f766";
3
3
  export declare const TEMPLATE_CORPUS_SLUGS: readonly string[];
package/package.json CHANGED
@@ -45,7 +45,7 @@
45
45
  "extension": "./bin/extension.cjs"
46
46
  },
47
47
  "name": "extension",
48
- "version": "4.4.3-canary.503.8936920",
48
+ "version": "4.4.3",
49
49
  "description": "The cross-browser extension framework. Build Chrome, Edge, Firefox, and Safari extensions with no build configuration.",
50
50
  "homepage": "https://extension.js.org/",
51
51
  "funding": "https://github.com/sponsors/cezaraugusto",
@@ -110,9 +110,9 @@
110
110
  "chrome-types": ">=0.1.460",
111
111
  "chromium-location": "2.1.2",
112
112
  "edge-location": "2.3.1",
113
- "extension-create": "4.4.3-canary.503.8936920",
114
- "extension-develop": "4.4.3-canary.503.8936920",
115
- "extension-install": "4.4.3-canary.503.8936920",
113
+ "extension-create": "4.4.3",
114
+ "extension-develop": "4.4.3",
115
+ "extension-install": "4.4.3",
116
116
  "firefox-location2": "3.2.0",
117
117
  "floorp-location": "1.0.0",
118
118
  "librewolf-location": "1.2.1",