extension 1.4.0-0 → 1.4.1

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
@@ -22,13 +22,14 @@
22
22
 
23
23
  <img alt="Logo" align="right" src="https://user-images.githubusercontent.com/4672033/102850460-4d22aa80-43f8-11eb-82db-9efce586f73e.png" width="25%" />
24
24
 
25
- __Create cross-browser extensions with no build configuration.__
25
+ **Create cross-browser extensions with no build configuration.**
26
26
 
27
27
  - [Create A New Extension](#create-a-new-extension) — How to create a new extension.
28
28
  - [Get Started Immediately](#get-started-immediately) — Get work done in no time.
29
29
  - [I have An Extension](#i-have-an-extension) - Use only specific parts of `extension`.
30
30
 
31
31
  <!-- `extension` is a development tool for browser extensions with built-in support for TypeScript, WebAssembly, React, and modern JavaScript. -->
32
+
32
33
  `extension` is a plug-and-play, zero-config, cross-browser extension development tool with built-in support for TypeScript, WebAssembly, React, and modern JavaScript.
33
34
 
34
35
  ## Create A New Extension
@@ -94,7 +95,7 @@ Bridge the gap between Firefox and Edge by running Mozilla Add-Ons using Edge:
94
95
  1. Navigate to your project directory.
95
96
  2. Use the command:
96
97
  ```bash
97
- npx extension dev <addon-name> --browser=edge --polyfill=true
98
+ npx extension dev <addon-name> --browser=edge --polyfill=true
98
99
  ```
99
100
  This will fetch a Mozilla Add-On and adapt it for Edge.
100
101
 
@@ -146,8 +147,8 @@ Done. You are all set!
146
147
 
147
148
  ☑️ = Likely works but no browser runner support yet.
148
149
 
149
- | ![Brave Browser](https://raw.githubusercontent.com/alrra/browser-logos/main/src/brave/brave.svg) | ![Google Chrome](https://raw.githubusercontent.com/alrra/browser-logos/main/src/chrome/chrome.svg) | ![Microsoft Edge](https://raw.githubusercontent.com/alrra/browser-logos/main/src/edge/edge.svg) | ![Mozilla Firefox](https://raw.githubusercontent.com/alrra/browser-logos/main/src/firefox/firefox.svg) | ![Opera Browser](https://raw.githubusercontent.com/alrra/browser-logos/main/src/opera/opera.svg) | <img width="110" src="https://raw.githubusercontent.com/alrra/browser-logos/main/src/safari/safari.svg">| ![Vivaldi Browser](https://raw.githubusercontent.com/alrra/browser-logos/main/src/vivaldi/vivaldi.svg) |
150
- |-|-|-|-|-|-|-|
150
+ | ![Brave Browser](https://raw.githubusercontent.com/alrra/browser-logos/main/src/brave/brave.svg) | ![Google Chrome](https://raw.githubusercontent.com/alrra/browser-logos/main/src/chrome/chrome.svg) | ![Microsoft Edge](https://raw.githubusercontent.com/alrra/browser-logos/main/src/edge/edge.svg) | ![Mozilla Firefox](https://raw.githubusercontent.com/alrra/browser-logos/main/src/firefox/firefox.svg) | ![Opera Browser](https://raw.githubusercontent.com/alrra/browser-logos/main/src/opera/opera.svg) | <img width="110" src="https://raw.githubusercontent.com/alrra/browser-logos/main/src/safari/safari.svg"> | ![Vivaldi Browser](https://raw.githubusercontent.com/alrra/browser-logos/main/src/vivaldi/vivaldi.svg) |
151
+ | ------------------------------------------------------------------------------------------------ | -------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------ | -------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------ |
151
152
 
152
153
  If you want to target a specific browser, just pass the `--browser` flag to the `dev`/`start` command (based on the list available above), like `npx extension dev path/to/extension --browser=edge`.
153
154
 
package/dist/cli.js CHANGED
@@ -46,10 +46,10 @@ async function checkUpdates(packageJson) {
46
46
  }
47
47
  }
48
48
  if (update) {
49
- console.log(
50
- `Your \u{1F9E9} ${(0, import_safe.bold)("extension-create")} version is ${(0, import_safe.red)("outdated")}.
51
- The latest version is ${(0, import_safe.bold)(update.latest)}. Please update!`
52
- );
49
+ console.log(`
50
+ Your \u{1F9E9} ${(0, import_safe.bold)("extension-create")} version is ${(0, import_safe.red)("outdated")}.
51
+ The latest version is ${(0, import_safe.bold)(update.latest)}. Please update!
52
+ `);
53
53
  }
54
54
  }
55
55
 
@@ -139,7 +139,7 @@ var package_default = {
139
139
  node: ">=18"
140
140
  },
141
141
  name: "extension",
142
- version: "1.4.0-0",
142
+ version: "1.4.1",
143
143
  description: "Create cross-browser extensions with no build configuration.",
144
144
  main: "./dist/cli.js",
145
145
  types: "./dist/cli.d.ts",
package/package.json CHANGED
@@ -9,7 +9,7 @@
9
9
  "node": ">=18"
10
10
  },
11
11
  "name": "extension",
12
- "version": "1.4.0-0",
12
+ "version": "1.4.1",
13
13
  "description": "Create cross-browser extensions with no build configuration.",
14
14
  "main": "./dist/cli.js",
15
15
  "types": "./dist/cli.d.ts",