wxt 0.18.10 → 0.18.12
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 +6 -6
- package/dist/{chunk-2V7XZSZQ.js → chunk-6QN6UXBH.js} +161 -91
- package/dist/cli.js +176 -96
- package/dist/client.d.ts +4 -2
- package/dist/client.js +8 -1
- package/dist/{index-Bk-a0SkY.d.ts → define-app-config-bg54F_lV.d.ts} +21 -1
- package/dist/{execa-D7CMCKO2.js → execa-4UBDUBJZ.js} +566 -478
- package/dist/{execa-ATHZH2Y4.js → execa-QLUM2B3W.js} +566 -478
- package/dist/{index-mz3v4Nde.d.cts → index-1N-eQJJh.d.cts} +15 -6
- package/dist/{index-mz3v4Nde.d.ts → index-1N-eQJJh.d.ts} +15 -6
- package/dist/index.cjs +948 -760
- package/dist/index.d.cts +14 -3
- package/dist/index.d.ts +14 -3
- package/dist/index.js +29 -20
- package/dist/modules.d.cts +1 -1
- package/dist/modules.d.ts +1 -1
- package/dist/sandbox.d.ts +2 -1
- package/dist/sandbox.js +6 -0
- package/dist/testing.cjs +127 -63
- package/dist/testing.d.cts +1 -1
- package/dist/testing.d.ts +1 -1
- package/dist/testing.js +4 -2
- package/dist/virtual/background-entrypoint.js +9 -1
- package/package.json +10 -10
- package/dist/cli.d.ts +0 -2
|
@@ -923,6 +923,10 @@ interface ExtensionRunnerConfig {
|
|
|
923
923
|
* }
|
|
924
924
|
*/
|
|
925
925
|
chromiumPref?: string;
|
|
926
|
+
/**
|
|
927
|
+
* By default, chrome opens a random port for debugging. Set this value to use a specific port.
|
|
928
|
+
*/
|
|
929
|
+
chromiumPort?: number;
|
|
926
930
|
/**
|
|
927
931
|
* @see https://extensionworkshop.com/documentation/develop/web-ext-command-reference/#pref
|
|
928
932
|
*/
|
|
@@ -1234,17 +1238,21 @@ interface Eslintrc {
|
|
|
1234
1238
|
/**
|
|
1235
1239
|
* When true, generates a file that can be used by ESLint to know which variables are valid globals.
|
|
1236
1240
|
*
|
|
1237
|
-
* - `
|
|
1238
|
-
* - `
|
|
1239
|
-
* - `
|
|
1241
|
+
* - `false`: Don't generate the file.
|
|
1242
|
+
* - `'auto'`: Check if eslint is installed, and if it is, generate a compatible config file.
|
|
1243
|
+
* - `true`: Same as `8`.
|
|
1244
|
+
* - `8`: Generate a config file compatible with ESLint 8.
|
|
1245
|
+
* - `9`: Generate a config file compatible with ESLint 9.
|
|
1240
1246
|
*
|
|
1241
1247
|
* @default 'auto'
|
|
1242
1248
|
*/
|
|
1243
|
-
enabled?:
|
|
1249
|
+
enabled?: false | true | 'auto' | 8 | 9;
|
|
1244
1250
|
/**
|
|
1245
1251
|
* File path to save the generated eslint config.
|
|
1246
1252
|
*
|
|
1247
|
-
*
|
|
1253
|
+
* Default depends on version of ESLint used:
|
|
1254
|
+
* - 9 and above: './.wxt/eslint-auto-imports.mjs'
|
|
1255
|
+
* - 8 and below: './.wxt/eslintrc-auto-import.json'
|
|
1248
1256
|
*/
|
|
1249
1257
|
filePath?: string;
|
|
1250
1258
|
/**
|
|
@@ -1253,7 +1261,8 @@ interface Eslintrc {
|
|
|
1253
1261
|
globalsPropValue?: EslintGlobalsPropValue;
|
|
1254
1262
|
}
|
|
1255
1263
|
interface ResolvedEslintrc {
|
|
1256
|
-
|
|
1264
|
+
/** False if disabled, otherwise the major version of ESLint installed */
|
|
1265
|
+
enabled: false | 8 | 9;
|
|
1257
1266
|
/** Absolute path */
|
|
1258
1267
|
filePath: string;
|
|
1259
1268
|
globalsPropValue: EslintGlobalsPropValue;
|
|
@@ -923,6 +923,10 @@ interface ExtensionRunnerConfig {
|
|
|
923
923
|
* }
|
|
924
924
|
*/
|
|
925
925
|
chromiumPref?: string;
|
|
926
|
+
/**
|
|
927
|
+
* By default, chrome opens a random port for debugging. Set this value to use a specific port.
|
|
928
|
+
*/
|
|
929
|
+
chromiumPort?: number;
|
|
926
930
|
/**
|
|
927
931
|
* @see https://extensionworkshop.com/documentation/develop/web-ext-command-reference/#pref
|
|
928
932
|
*/
|
|
@@ -1234,17 +1238,21 @@ interface Eslintrc {
|
|
|
1234
1238
|
/**
|
|
1235
1239
|
* When true, generates a file that can be used by ESLint to know which variables are valid globals.
|
|
1236
1240
|
*
|
|
1237
|
-
* - `
|
|
1238
|
-
* - `
|
|
1239
|
-
* - `
|
|
1241
|
+
* - `false`: Don't generate the file.
|
|
1242
|
+
* - `'auto'`: Check if eslint is installed, and if it is, generate a compatible config file.
|
|
1243
|
+
* - `true`: Same as `8`.
|
|
1244
|
+
* - `8`: Generate a config file compatible with ESLint 8.
|
|
1245
|
+
* - `9`: Generate a config file compatible with ESLint 9.
|
|
1240
1246
|
*
|
|
1241
1247
|
* @default 'auto'
|
|
1242
1248
|
*/
|
|
1243
|
-
enabled?:
|
|
1249
|
+
enabled?: false | true | 'auto' | 8 | 9;
|
|
1244
1250
|
/**
|
|
1245
1251
|
* File path to save the generated eslint config.
|
|
1246
1252
|
*
|
|
1247
|
-
*
|
|
1253
|
+
* Default depends on version of ESLint used:
|
|
1254
|
+
* - 9 and above: './.wxt/eslint-auto-imports.mjs'
|
|
1255
|
+
* - 8 and below: './.wxt/eslintrc-auto-import.json'
|
|
1248
1256
|
*/
|
|
1249
1257
|
filePath?: string;
|
|
1250
1258
|
/**
|
|
@@ -1253,7 +1261,8 @@ interface Eslintrc {
|
|
|
1253
1261
|
globalsPropValue?: EslintGlobalsPropValue;
|
|
1254
1262
|
}
|
|
1255
1263
|
interface ResolvedEslintrc {
|
|
1256
|
-
|
|
1264
|
+
/** False if disabled, otherwise the major version of ESLint installed */
|
|
1265
|
+
enabled: false | 8 | 9;
|
|
1257
1266
|
/** Absolute path */
|
|
1258
1267
|
filePath: string;
|
|
1259
1268
|
globalsPropValue: EslintGlobalsPropValue;
|