extension 2.0.0-alpha.21 → 2.0.0-alpha.23
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/dist/cli.js +13 -12
- package/package.json +4 -3
package/dist/cli.js
CHANGED
|
@@ -45,37 +45,37 @@ Please update to the latest version to enjoy new features and improvements.
|
|
|
45
45
|
}
|
|
46
46
|
function programHelp() {
|
|
47
47
|
return `\u{1F9E9}
|
|
48
|
-
${(0, import_safe.
|
|
48
|
+
${(0, import_safe.underline)("Help center for the Extension.js program")}
|
|
49
49
|
|
|
50
50
|
${(0, import_safe.brightYellow)("Usage:")} extension [command] [options]
|
|
51
51
|
|
|
52
|
-
${(0, import_safe.
|
|
52
|
+
${(0, import_safe.brightYellow)("Note:")} If you are looking for a specific list of options,
|
|
53
53
|
all high-level commands offer their own \`--help\` file with
|
|
54
54
|
information about usage and a list of command flags available.
|
|
55
55
|
|
|
56
56
|
For example:
|
|
57
57
|
|
|
58
|
-
${(0, import_safe.
|
|
59
|
-
outputs information about the
|
|
58
|
+
${(0, import_safe.brightGreen)("extension create --help")}
|
|
59
|
+
outputs information about the "create" command.
|
|
60
60
|
|
|
61
61
|
Options available:
|
|
62
62
|
|
|
63
|
-
${(0, import_safe.
|
|
63
|
+
${(0, import_safe.brightGreen)("extension create <extension-name>")}
|
|
64
64
|
Creates a new extension from a template. The "create" command
|
|
65
65
|
is optional and can be omitted.
|
|
66
66
|
|
|
67
|
-
${(0, import_safe.
|
|
67
|
+
${(0, import_safe.brightGreen)("extension dev <extension-path>")}
|
|
68
68
|
Starts a new browser instance in development mode, with the target
|
|
69
69
|
extension loaded and auto-reloaded based on file changes.
|
|
70
70
|
|
|
71
|
-
${(0, import_safe.
|
|
71
|
+
${(0, import_safe.brightGreen)("extension start <extension-path>")}
|
|
72
72
|
Starts a new browser instance in production mode, with the target
|
|
73
73
|
extension compiled based on the browser choice.
|
|
74
74
|
|
|
75
|
-
${(0, import_safe.
|
|
75
|
+
${(0, import_safe.brightGreen)("extension build <extension-path>")}
|
|
76
76
|
Builds the target extension with browser defaults, ready for packaging.
|
|
77
77
|
|
|
78
|
-
${(0, import_safe.
|
|
78
|
+
${(0, import_safe.brightGreen)("extension --help")}
|
|
79
79
|
This command ;) Outputs a help file with key command options.
|
|
80
80
|
|
|
81
81
|
${(0, import_safe.brightYellow)("Feels something is wrong? Help by reporting a bug:")}
|
|
@@ -114,7 +114,7 @@ var package_default = {
|
|
|
114
114
|
node: ">=18"
|
|
115
115
|
},
|
|
116
116
|
name: "extension",
|
|
117
|
-
version: "2.0.0-alpha.
|
|
117
|
+
version: "2.0.0-alpha.23",
|
|
118
118
|
description: "Create cross-browser extensions with no build configuration.",
|
|
119
119
|
main: "./dist/cli.js",
|
|
120
120
|
types: "./dist/cli.d.ts",
|
|
@@ -158,12 +158,13 @@ var package_default = {
|
|
|
158
158
|
dependencies: {
|
|
159
159
|
"@colors/colors": "^1.6.0",
|
|
160
160
|
"@types/chrome": "^0.0.270",
|
|
161
|
+
"@types/firefox-webext-browser": "^120.0.4",
|
|
161
162
|
"@types/node": "^22.5.3",
|
|
162
163
|
"@types/react": "^18.3.5",
|
|
163
164
|
"@types/react-dom": "^18.2.18",
|
|
164
165
|
commander: "^11.1.0",
|
|
165
|
-
"extension-create": "2.0.0-alpha.
|
|
166
|
-
"extension-develop": "2.0.0-alpha.
|
|
166
|
+
"extension-create": "2.0.0-alpha.23",
|
|
167
|
+
"extension-develop": "2.0.0-alpha.23",
|
|
167
168
|
semver: "^7.5.4",
|
|
168
169
|
"update-check": "^1.5.4",
|
|
169
170
|
"webextension-polyfill": "^0.12.0"
|
package/package.json
CHANGED
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
"node": ">=18"
|
|
10
10
|
},
|
|
11
11
|
"name": "extension",
|
|
12
|
-
"version": "2.0.0-alpha.
|
|
12
|
+
"version": "2.0.0-alpha.23",
|
|
13
13
|
"description": "Create cross-browser extensions with no build configuration.",
|
|
14
14
|
"main": "./dist/cli.js",
|
|
15
15
|
"types": "./dist/cli.d.ts",
|
|
@@ -41,12 +41,13 @@
|
|
|
41
41
|
"dependencies": {
|
|
42
42
|
"@colors/colors": "^1.6.0",
|
|
43
43
|
"@types/chrome": "^0.0.270",
|
|
44
|
+
"@types/firefox-webext-browser": "^120.0.4",
|
|
44
45
|
"@types/node": "^22.5.3",
|
|
45
46
|
"@types/react": "^18.3.5",
|
|
46
47
|
"@types/react-dom": "^18.2.18",
|
|
47
48
|
"commander": "^11.1.0",
|
|
48
|
-
"extension-create": "2.0.0-alpha.
|
|
49
|
-
"extension-develop": "2.0.0-alpha.
|
|
49
|
+
"extension-create": "2.0.0-alpha.23",
|
|
50
|
+
"extension-develop": "2.0.0-alpha.23",
|
|
50
51
|
"semver": "^7.5.4",
|
|
51
52
|
"update-check": "^1.5.4",
|
|
52
53
|
"webextension-polyfill": "^0.12.0"
|