wxt 0.18.0 → 0.18.1

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.
@@ -12,7 +12,7 @@ import {
12
12
  } from "./chunk-VBXJIVYU.js";
13
13
 
14
14
  // package.json
15
- var version = "0.17.12";
15
+ var version = "0.18.0";
16
16
 
17
17
  // src/core/utils/paths.ts
18
18
  import systemPath from "node:path";
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.17.12";
2518
+ var version = "0.18.0";
2519
2519
 
2520
2520
  // src/core/utils/log/printHeader.ts
2521
2521
  function printHeader() {
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.17.12";
6808
+ var version = "0.18.0";
6809
6809
 
6810
6810
  // src/core/utils/building/internal-build.ts
6811
6811
  var import_fast_glob3 = __toESM(require("fast-glob"), 1);
package/dist/index.d.cts CHANGED
@@ -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.17.12";
68
+ var version = "0.18.0";
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
@@ -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.17.12";
68
+ var version = "0.18.0";
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-A7YRDAFI.js";
22
+ } from "./chunk-EI323YQS.js";
23
23
  import "./chunk-5X3S6AWF.js";
24
24
  import {
25
25
  consola
package/dist/testing.js CHANGED
@@ -5,7 +5,7 @@ import {
5
5
  tsconfigPaths,
6
6
  unimport,
7
7
  webextensionPolyfillMock
8
- } from "./chunk-A7YRDAFI.js";
8
+ } from "./chunk-EI323YQS.js";
9
9
  import "./chunk-5X3S6AWF.js";
10
10
  import "./chunk-ZZCTFNQ5.js";
11
11
  import "./chunk-VBXJIVYU.js";
@@ -154,9 +154,10 @@ if (import.meta.env.COMMAND === "serve") {
154
154
  }
155
155
  });
156
156
  }
157
+ var result;
157
158
  try {
158
- const res = definition.main();
159
- if (res instanceof Promise) {
159
+ result = definition.main();
160
+ if (result instanceof Promise) {
160
161
  console.warn(
161
162
  "The background's main() function return a promise, but it must be synchronous"
162
163
  );
@@ -165,3 +166,7 @@ try {
165
166
  logger.error("The background crashed on startup!");
166
167
  throw err;
167
168
  }
169
+ var background_entrypoint_default = result;
170
+ export {
171
+ background_entrypoint_default as default
172
+ };
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "wxt",
3
3
  "type": "module",
4
- "version": "0.18.0",
4
+ "version": "0.18.1",
5
5
  "description": "Next gen framework for developing web extensions",
6
6
  "repository": {
7
7
  "type": "git",
@@ -139,6 +139,11 @@
139
139
  "tsx": "^4.6.2",
140
140
  "typescript": "^5.3.2"
141
141
  },
142
+ "changelog": {
143
+ "excludeAuthors": [
144
+ "aaronklinker1@gmail.com"
145
+ ]
146
+ },
142
147
  "scripts": {
143
148
  "wxt": "tsx src/cli/index.ts",
144
149
  "build": "tsx scripts/build.ts",
@@ -147,6 +152,6 @@
147
152
  "check:tsc-virtual": "tsc --noEmit -p src/virtual",
148
153
  "test": "vitest",
149
154
  "test:e2e": "vitest -r e2e",
150
- "test:e2e:2": "vitest --config e2e/vitest.config.ts"
155
+ "sync-releases": "pnpx changelogen@latest gh release"
151
156
  }
152
157
  }