extension 2.0.0-alpha.22 → 2.0.0-alpha.24
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 +12 -12
- package/package.json +4 -4
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.24",
|
|
118
118
|
description: "Create cross-browser extensions with no build configuration.",
|
|
119
119
|
main: "./dist/cli.js",
|
|
120
120
|
types: "./dist/cli.d.ts",
|
|
@@ -163,8 +163,8 @@ var package_default = {
|
|
|
163
163
|
"@types/react": "^18.3.5",
|
|
164
164
|
"@types/react-dom": "^18.2.18",
|
|
165
165
|
commander: "^11.1.0",
|
|
166
|
-
"extension-create": "
|
|
167
|
-
"extension-develop": "
|
|
166
|
+
"extension-create": "workspace:*",
|
|
167
|
+
"extension-develop": "workspace:*",
|
|
168
168
|
semver: "^7.5.4",
|
|
169
169
|
"update-check": "^1.5.4",
|
|
170
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.24",
|
|
13
13
|
"description": "Create cross-browser extensions with no build configuration.",
|
|
14
14
|
"main": "./dist/cli.js",
|
|
15
15
|
"types": "./dist/cli.d.ts",
|
|
@@ -46,11 +46,11 @@
|
|
|
46
46
|
"@types/react": "^18.3.5",
|
|
47
47
|
"@types/react-dom": "^18.2.18",
|
|
48
48
|
"commander": "^11.1.0",
|
|
49
|
-
"extension-create": "2.0.0-alpha.22",
|
|
50
|
-
"extension-develop": "2.0.0-alpha.22",
|
|
51
49
|
"semver": "^7.5.4",
|
|
52
50
|
"update-check": "^1.5.4",
|
|
53
|
-
"webextension-polyfill": "^0.12.0"
|
|
51
|
+
"webextension-polyfill": "^0.12.0",
|
|
52
|
+
"extension-create": "2.0.0-alpha.24",
|
|
53
|
+
"extension-develop": "2.0.0-alpha.24"
|
|
54
54
|
},
|
|
55
55
|
"devDependencies": {
|
|
56
56
|
"@types/jest": "^29.5.11",
|