wxt 0.18.1 → 0.18.2
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/{chunk-EI323YQS.js → chunk-7EUSM4KG.js} +2 -1
- package/dist/cli.js +3 -1
- package/dist/{index-DKN-8I90.d.cts → index-xOGXP3vY.d.cts} +4 -0
- package/dist/{index-DKN-8I90.d.ts → index-xOGXP3vY.d.ts} +4 -0
- package/dist/index.cjs +3 -1
- package/dist/index.d.cts +3 -3
- package/dist/index.d.ts +3 -3
- package/dist/index.js +2 -1
- package/dist/testing.d.cts +1 -1
- package/dist/testing.d.ts +1 -1
- package/dist/testing.js +1 -1
- package/package.json +1 -1
|
@@ -12,7 +12,7 @@ import {
|
|
|
12
12
|
} from "./chunk-VBXJIVYU.js";
|
|
13
13
|
|
|
14
14
|
// package.json
|
|
15
|
-
var version = "0.18.
|
|
15
|
+
var version = "0.18.1";
|
|
16
16
|
|
|
17
17
|
// src/core/utils/paths.ts
|
|
18
18
|
import systemPath from "node:path";
|
|
@@ -2373,6 +2373,7 @@ function addEntrypoints(manifest, entrypoints, buildOutput) {
|
|
|
2373
2373
|
manifest.side_panel = {
|
|
2374
2374
|
default_path: page
|
|
2375
2375
|
};
|
|
2376
|
+
addPermission(manifest, "sidePanel");
|
|
2376
2377
|
} else {
|
|
2377
2378
|
wxt.logger.warn(
|
|
2378
2379
|
"Side panel not supported by Chromium using MV2. side_panel.default_path was not added to the manifest"
|
package/dist/cli.js
CHANGED
|
@@ -2515,7 +2515,7 @@ function getChunkSortWeight(filename) {
|
|
|
2515
2515
|
import pc4 from "picocolors";
|
|
2516
2516
|
|
|
2517
2517
|
// package.json
|
|
2518
|
-
var version = "0.18.
|
|
2518
|
+
var version = "0.18.1";
|
|
2519
2519
|
|
|
2520
2520
|
// src/core/utils/log/printHeader.ts
|
|
2521
2521
|
function printHeader() {
|
|
@@ -2881,6 +2881,7 @@ function addEntrypoints(manifest, entrypoints, buildOutput) {
|
|
|
2881
2881
|
manifest.side_panel = {
|
|
2882
2882
|
default_path: page
|
|
2883
2883
|
};
|
|
2884
|
+
addPermission(manifest, "sidePanel");
|
|
2884
2885
|
} else {
|
|
2885
2886
|
wxt.logger.warn(
|
|
2886
2887
|
"Side panel not supported by Chromium using MV2. side_panel.default_path was not added to the manifest"
|
|
@@ -3429,6 +3430,7 @@ function createWebExtRunner() {
|
|
|
3429
3430
|
console: wxtUserConfig?.openConsole,
|
|
3430
3431
|
devtools: wxtUserConfig?.openDevtools,
|
|
3431
3432
|
startUrl: wxtUserConfig?.startUrls,
|
|
3433
|
+
keepProfileChanges: wxtUserConfig?.keepProfileChanges,
|
|
3432
3434
|
...wxt.config.browser === "firefox" ? {
|
|
3433
3435
|
firefox: wxtUserConfig?.binaries?.firefox,
|
|
3434
3436
|
firefoxProfile: wxtUserConfig?.firefoxProfile,
|
|
@@ -926,6 +926,10 @@ interface ExtensionRunnerConfig {
|
|
|
926
926
|
* @see https://extensionworkshop.com/documentation/develop/web-ext-command-reference/#start-url
|
|
927
927
|
*/
|
|
928
928
|
startUrls?: string[];
|
|
929
|
+
/**
|
|
930
|
+
* @see https://extensionworkshop.com/documentation/develop/web-ext-command-reference/#keep-profile-changes
|
|
931
|
+
*/
|
|
932
|
+
keepProfileChanges?: boolean;
|
|
929
933
|
}
|
|
930
934
|
interface WxtBuilder {
|
|
931
935
|
/**
|
|
@@ -926,6 +926,10 @@ interface ExtensionRunnerConfig {
|
|
|
926
926
|
* @see https://extensionworkshop.com/documentation/develop/web-ext-command-reference/#start-url
|
|
927
927
|
*/
|
|
928
928
|
startUrls?: string[];
|
|
929
|
+
/**
|
|
930
|
+
* @see https://extensionworkshop.com/documentation/develop/web-ext-command-reference/#keep-profile-changes
|
|
931
|
+
*/
|
|
932
|
+
keepProfileChanges?: boolean;
|
|
929
933
|
}
|
|
930
934
|
interface WxtBuilder {
|
|
931
935
|
/**
|
package/dist/index.cjs
CHANGED
|
@@ -6805,7 +6805,7 @@ function getChunkSortWeight(filename) {
|
|
|
6805
6805
|
var import_picocolors4 = __toESM(require("picocolors"), 1);
|
|
6806
6806
|
|
|
6807
6807
|
// package.json
|
|
6808
|
-
var version = "0.18.
|
|
6808
|
+
var version = "0.18.1";
|
|
6809
6809
|
|
|
6810
6810
|
// src/core/utils/building/internal-build.ts
|
|
6811
6811
|
var import_fast_glob3 = __toESM(require("fast-glob"), 1);
|
|
@@ -7165,6 +7165,7 @@ function addEntrypoints(manifest, entrypoints, buildOutput) {
|
|
|
7165
7165
|
manifest.side_panel = {
|
|
7166
7166
|
default_path: page
|
|
7167
7167
|
};
|
|
7168
|
+
addPermission(manifest, "sidePanel");
|
|
7168
7169
|
} else {
|
|
7169
7170
|
wxt.logger.warn(
|
|
7170
7171
|
"Side panel not supported by Chromium using MV2. side_panel.default_path was not added to the manifest"
|
|
@@ -7723,6 +7724,7 @@ function createWebExtRunner() {
|
|
|
7723
7724
|
console: wxtUserConfig?.openConsole,
|
|
7724
7725
|
devtools: wxtUserConfig?.openDevtools,
|
|
7725
7726
|
startUrl: wxtUserConfig?.startUrls,
|
|
7727
|
+
keepProfileChanges: wxtUserConfig?.keepProfileChanges,
|
|
7726
7728
|
...wxt.config.browser === "firefox" ? {
|
|
7727
7729
|
firefox: wxtUserConfig?.binaries?.firefox,
|
|
7728
7730
|
firefoxProfile: wxtUserConfig?.firefoxProfile,
|
package/dist/index.d.cts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { I as InlineConfig, B as BuildOutput, U as UserConfig, E as ExtensionRunnerConfig, W as WxtDevServer } from './index-
|
|
2
|
-
export { x as BackgroundDefinition, n as BackgroundEntrypoint, i as BackgroundEntrypointOptions, j as BaseContentScriptEntrypointOptions, m as BaseEntrypoint, h as BaseEntrypointOptions, e as BuildStepOutput, J as ConfigEnv, w as ContentScriptDefinition, C as ContentScriptEntrypoint, a5 as Dependency, r as Entrypoint, s as EntrypointGroup, $ as EslintGlobalsPropValue, a0 as Eslintrc, _ as ExtensionRunner, Z as FsCache, G as GenericEntrypoint, X as HookResult, u as IsolatedWorldContentScriptDefinition, k as IsolatedWorldContentScriptEntrypointOptions, L as Logger, v as MainWorldContentScriptDefinition, M as MainWorldContentScriptEntrypointOptions, t as OnContentScriptStopped, p as OptionsEntrypoint, l as OptionsEntrypointOptions, d as OutputAsset, c as OutputChunk, O as OutputFile, A as PerBrowserMap, z as PerBrowserOption, o as PopupEntrypoint, P as PopupEntrypointOptions, f as ReloadContentScriptPayload, R as ResolvedConfig, a1 as ResolvedEslintrc, D as ResolvedPerBrowserOptions, V as ServerInfo, q as SidepanelEntrypoint, S as SidepanelEntrypointOptions, T as TargetBrowser, g as TargetManifestVersion, y as UnlistedScriptDefinition, F as UserManifest, H as UserManifestFn, Y as Wxt, N as WxtBuilder, Q as WxtBuilderServer, K as WxtCommand, b as WxtHooks, a4 as WxtPackageManager, a3 as WxtResolvedUnimportOptions, a2 as WxtUnimportOptions, a as WxtViteConfig } from './index-
|
|
1
|
+
import { I as InlineConfig, B as BuildOutput, U as UserConfig, E as ExtensionRunnerConfig, W as WxtDevServer } from './index-xOGXP3vY.cjs';
|
|
2
|
+
export { x as BackgroundDefinition, n as BackgroundEntrypoint, i as BackgroundEntrypointOptions, j as BaseContentScriptEntrypointOptions, m as BaseEntrypoint, h as BaseEntrypointOptions, e as BuildStepOutput, J as ConfigEnv, w as ContentScriptDefinition, C as ContentScriptEntrypoint, a5 as Dependency, r as Entrypoint, s as EntrypointGroup, $ as EslintGlobalsPropValue, a0 as Eslintrc, _ as ExtensionRunner, Z as FsCache, G as GenericEntrypoint, X as HookResult, u as IsolatedWorldContentScriptDefinition, k as IsolatedWorldContentScriptEntrypointOptions, L as Logger, v as MainWorldContentScriptDefinition, M as MainWorldContentScriptEntrypointOptions, t as OnContentScriptStopped, p as OptionsEntrypoint, l as OptionsEntrypointOptions, d as OutputAsset, c as OutputChunk, O as OutputFile, A as PerBrowserMap, z as PerBrowserOption, o as PopupEntrypoint, P as PopupEntrypointOptions, f as ReloadContentScriptPayload, R as ResolvedConfig, a1 as ResolvedEslintrc, D as ResolvedPerBrowserOptions, V as ServerInfo, q as SidepanelEntrypoint, S as SidepanelEntrypointOptions, T as TargetBrowser, g as TargetManifestVersion, y as UnlistedScriptDefinition, F as UserManifest, H as UserManifestFn, Y as Wxt, N as WxtBuilder, Q as WxtBuilderServer, K as WxtCommand, b as WxtHooks, a4 as WxtPackageManager, a3 as WxtResolvedUnimportOptions, a2 as WxtUnimportOptions, a as WxtViteConfig } from './index-xOGXP3vY.cjs';
|
|
3
3
|
import 'vite';
|
|
4
4
|
import 'webextension-polyfill';
|
|
5
5
|
import 'unimport';
|
|
@@ -65,6 +65,6 @@ declare function prepare(config: InlineConfig): Promise<void>;
|
|
|
65
65
|
*/
|
|
66
66
|
declare function zip(config?: InlineConfig): Promise<string[]>;
|
|
67
67
|
|
|
68
|
-
var version = "0.18.
|
|
68
|
+
var version = "0.18.1";
|
|
69
69
|
|
|
70
70
|
export { BuildOutput, ExtensionRunnerConfig, InlineConfig, UserConfig, WxtDevServer, build, clean, createServer, defineConfig, defineRunnerConfig, initialize, prepare, version, zip };
|
package/dist/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { I as InlineConfig, B as BuildOutput, U as UserConfig, E as ExtensionRunnerConfig, W as WxtDevServer } from './index-
|
|
2
|
-
export { x as BackgroundDefinition, n as BackgroundEntrypoint, i as BackgroundEntrypointOptions, j as BaseContentScriptEntrypointOptions, m as BaseEntrypoint, h as BaseEntrypointOptions, e as BuildStepOutput, J as ConfigEnv, w as ContentScriptDefinition, C as ContentScriptEntrypoint, a5 as Dependency, r as Entrypoint, s as EntrypointGroup, $ as EslintGlobalsPropValue, a0 as Eslintrc, _ as ExtensionRunner, Z as FsCache, G as GenericEntrypoint, X as HookResult, u as IsolatedWorldContentScriptDefinition, k as IsolatedWorldContentScriptEntrypointOptions, L as Logger, v as MainWorldContentScriptDefinition, M as MainWorldContentScriptEntrypointOptions, t as OnContentScriptStopped, p as OptionsEntrypoint, l as OptionsEntrypointOptions, d as OutputAsset, c as OutputChunk, O as OutputFile, A as PerBrowserMap, z as PerBrowserOption, o as PopupEntrypoint, P as PopupEntrypointOptions, f as ReloadContentScriptPayload, R as ResolvedConfig, a1 as ResolvedEslintrc, D as ResolvedPerBrowserOptions, V as ServerInfo, q as SidepanelEntrypoint, S as SidepanelEntrypointOptions, T as TargetBrowser, g as TargetManifestVersion, y as UnlistedScriptDefinition, F as UserManifest, H as UserManifestFn, Y as Wxt, N as WxtBuilder, Q as WxtBuilderServer, K as WxtCommand, b as WxtHooks, a4 as WxtPackageManager, a3 as WxtResolvedUnimportOptions, a2 as WxtUnimportOptions, a as WxtViteConfig } from './index-
|
|
1
|
+
import { I as InlineConfig, B as BuildOutput, U as UserConfig, E as ExtensionRunnerConfig, W as WxtDevServer } from './index-xOGXP3vY.js';
|
|
2
|
+
export { x as BackgroundDefinition, n as BackgroundEntrypoint, i as BackgroundEntrypointOptions, j as BaseContentScriptEntrypointOptions, m as BaseEntrypoint, h as BaseEntrypointOptions, e as BuildStepOutput, J as ConfigEnv, w as ContentScriptDefinition, C as ContentScriptEntrypoint, a5 as Dependency, r as Entrypoint, s as EntrypointGroup, $ as EslintGlobalsPropValue, a0 as Eslintrc, _ as ExtensionRunner, Z as FsCache, G as GenericEntrypoint, X as HookResult, u as IsolatedWorldContentScriptDefinition, k as IsolatedWorldContentScriptEntrypointOptions, L as Logger, v as MainWorldContentScriptDefinition, M as MainWorldContentScriptEntrypointOptions, t as OnContentScriptStopped, p as OptionsEntrypoint, l as OptionsEntrypointOptions, d as OutputAsset, c as OutputChunk, O as OutputFile, A as PerBrowserMap, z as PerBrowserOption, o as PopupEntrypoint, P as PopupEntrypointOptions, f as ReloadContentScriptPayload, R as ResolvedConfig, a1 as ResolvedEslintrc, D as ResolvedPerBrowserOptions, V as ServerInfo, q as SidepanelEntrypoint, S as SidepanelEntrypointOptions, T as TargetBrowser, g as TargetManifestVersion, y as UnlistedScriptDefinition, F as UserManifest, H as UserManifestFn, Y as Wxt, N as WxtBuilder, Q as WxtBuilderServer, K as WxtCommand, b as WxtHooks, a4 as WxtPackageManager, a3 as WxtResolvedUnimportOptions, a2 as WxtUnimportOptions, a as WxtViteConfig } from './index-xOGXP3vY.js';
|
|
3
3
|
import 'vite';
|
|
4
4
|
import 'webextension-polyfill';
|
|
5
5
|
import 'unimport';
|
|
@@ -65,6 +65,6 @@ declare function prepare(config: InlineConfig): Promise<void>;
|
|
|
65
65
|
*/
|
|
66
66
|
declare function zip(config?: InlineConfig): Promise<string[]>;
|
|
67
67
|
|
|
68
|
-
var version = "0.18.
|
|
68
|
+
var version = "0.18.1";
|
|
69
69
|
|
|
70
70
|
export { BuildOutput, ExtensionRunnerConfig, InlineConfig, UserConfig, WxtDevServer, build, clean, createServer, defineConfig, defineRunnerConfig, initialize, prepare, version, zip };
|
package/dist/index.js
CHANGED
|
@@ -19,7 +19,7 @@ import {
|
|
|
19
19
|
unnormalizePath,
|
|
20
20
|
version,
|
|
21
21
|
wxt
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-7EUSM4KG.js";
|
|
23
23
|
import "./chunk-5X3S6AWF.js";
|
|
24
24
|
import {
|
|
25
25
|
consola
|
|
@@ -117,6 +117,7 @@ function createWebExtRunner() {
|
|
|
117
117
|
console: wxtUserConfig?.openConsole,
|
|
118
118
|
devtools: wxtUserConfig?.openDevtools,
|
|
119
119
|
startUrl: wxtUserConfig?.startUrls,
|
|
120
|
+
keepProfileChanges: wxtUserConfig?.keepProfileChanges,
|
|
120
121
|
...wxt.config.browser === "firefox" ? {
|
|
121
122
|
firefox: wxtUserConfig?.binaries?.firefox,
|
|
122
123
|
firefoxProfile: wxtUserConfig?.firefoxProfile,
|
package/dist/testing.d.cts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
export { FakeBrowser, fakeBrowser } from '@webext-core/fake-browser';
|
|
2
2
|
import * as vite from 'vite';
|
|
3
|
-
import { I as InlineConfig } from './index-
|
|
3
|
+
import { I as InlineConfig } from './index-xOGXP3vY.cjs';
|
|
4
4
|
import 'webextension-polyfill';
|
|
5
5
|
import 'unimport';
|
|
6
6
|
import 'consola';
|
package/dist/testing.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
export { FakeBrowser, fakeBrowser } from '@webext-core/fake-browser';
|
|
2
2
|
import * as vite from 'vite';
|
|
3
|
-
import { I as InlineConfig } from './index-
|
|
3
|
+
import { I as InlineConfig } from './index-xOGXP3vY.js';
|
|
4
4
|
import 'webextension-polyfill';
|
|
5
5
|
import 'unimport';
|
|
6
6
|
import 'consola';
|
package/dist/testing.js
CHANGED