extension 2.0.0-alpha.29 → 2.0.0-alpha.30
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.d.ts +1 -1
- package/dist/cli.js +9 -3
- package/package.json +3 -3
package/dist/cli.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
export { FileConfig } from 'extension-develop';
|
|
2
|
+
export { FileConfig, Manifest } from 'extension-develop';
|
package/dist/cli.js
CHANGED
|
@@ -117,7 +117,7 @@ var package_default = {
|
|
|
117
117
|
node: ">=18"
|
|
118
118
|
},
|
|
119
119
|
name: "extension",
|
|
120
|
-
version: "2.0.0-alpha.
|
|
120
|
+
version: "2.0.0-alpha.30",
|
|
121
121
|
description: "Create cross-browser extensions with no build configuration.",
|
|
122
122
|
main: "./dist/cli.js",
|
|
123
123
|
types: "./dist/cli.d.ts",
|
|
@@ -206,7 +206,7 @@ extensionJs.command("dev").arguments("[project-path|remote-url]").usage("dev [pr
|
|
|
206
206
|
"-u, --user-data-dir <path-to-file | boolean>",
|
|
207
207
|
'[DEPRECATED - Use "--profile" instead] what path to use for the browser profile. A boolean value of false sets the profile to the default user profile. Defaults to a fresh profile'
|
|
208
208
|
).option(
|
|
209
|
-
"
|
|
209
|
+
"--profile <path-to-file | boolean>",
|
|
210
210
|
"what path to use for the browser profile. A boolean value of false sets the profile to the default user profile. Defaults to a fresh profile"
|
|
211
211
|
).option(
|
|
212
212
|
"-b, --browser <chrome | edge | firefox>",
|
|
@@ -220,6 +220,9 @@ extensionJs.command("dev").arguments("[project-path|remote-url]").usage("dev [pr
|
|
|
220
220
|
).option(
|
|
221
221
|
"--polyfill [boolean]",
|
|
222
222
|
"whether or not to apply the cross-browser polyfill. Defaults to `true`"
|
|
223
|
+
).option(
|
|
224
|
+
"-p, --port <number>",
|
|
225
|
+
"what port should Extension.js WebSocket server run. Defaults to `8000`"
|
|
223
226
|
).action(async function(pathOrRemoteUrl, { browser = "chrome", ...devOptions }) {
|
|
224
227
|
for (const vendor of vendors(browser)) {
|
|
225
228
|
await (0, import_extension_develop.extensionDev)(pathOrRemoteUrl, {
|
|
@@ -232,7 +235,7 @@ extensionJs.command("start").arguments("[project-path|remote-url]").usage("start
|
|
|
232
235
|
"-u, --user-data-dir <path-to-file | boolean>",
|
|
233
236
|
'[DEPRECATED - Use "--profile" instead] what path to use for the browser profile. A boolean value of false sets the profile to the default user profile. Defaults to a fresh profile'
|
|
234
237
|
).option(
|
|
235
|
-
"
|
|
238
|
+
"--profile <path-to-file | boolean>",
|
|
236
239
|
"what path to use for the browser profile. A boolean value of false sets the profile to the default user profile. Defaults to a fresh profile"
|
|
237
240
|
).option(
|
|
238
241
|
"-b, --browser <chrome | edge | firefox>",
|
|
@@ -246,6 +249,9 @@ extensionJs.command("start").arguments("[project-path|remote-url]").usage("start
|
|
|
246
249
|
).option(
|
|
247
250
|
"--polyfill [boolean]",
|
|
248
251
|
"whether or not to apply the cross-browser polyfill. Defaults to `true`"
|
|
252
|
+
).option(
|
|
253
|
+
"-p, --port <number>",
|
|
254
|
+
"what port should Extension.js run. Defaults to `3000`"
|
|
249
255
|
).action(async function(pathOrRemoteUrl, { browser = "chrome", ...startOptions }) {
|
|
250
256
|
for (const vendor of vendors(browser)) {
|
|
251
257
|
await (0, import_extension_develop.extensionStart)(pathOrRemoteUrl, {
|
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.30",
|
|
13
13
|
"description": "Create cross-browser extensions with no build configuration.",
|
|
14
14
|
"main": "./dist/cli.js",
|
|
15
15
|
"types": "./dist/cli.d.ts",
|
|
@@ -49,8 +49,8 @@
|
|
|
49
49
|
"semver": "^7.5.4",
|
|
50
50
|
"update-check": "^1.5.4",
|
|
51
51
|
"webextension-polyfill": "^0.12.0",
|
|
52
|
-
"extension-create": "2.0.0-alpha.
|
|
53
|
-
"extension-develop": "2.0.0-alpha.
|
|
52
|
+
"extension-create": "2.0.0-alpha.30",
|
|
53
|
+
"extension-develop": "2.0.0-alpha.30"
|
|
54
54
|
},
|
|
55
55
|
"devDependencies": {
|
|
56
56
|
"@types/jest": "^29.5.11",
|