wxt 0.12.0 → 0.12.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.
@@ -1,5 +1,5 @@
1
1
  // package.json
2
- var version = "0.12.0";
2
+ var version = "0.12.1";
3
3
 
4
4
  // src/core/utils/arrays.ts
5
5
  function every(array, predicate) {
package/dist/cli.js CHANGED
@@ -4,7 +4,7 @@ import "./chunk-VBXJIVYU.js";
4
4
  import cac from "cac";
5
5
 
6
6
  // package.json
7
- var version = "0.12.0";
7
+ var version = "0.12.1";
8
8
 
9
9
  // src/core/utils/fs.ts
10
10
  import fs from "fs-extra";
package/dist/index.cjs CHANGED
@@ -4334,7 +4334,7 @@ function getChunkSortWeight(filename) {
4334
4334
  var import_picocolors3 = __toESM(require("picocolors"), 1);
4335
4335
 
4336
4336
  // package.json
4337
- var version = "0.12.0";
4337
+ var version = "0.12.1";
4338
4338
 
4339
4339
  // src/core/utils/log/printHeader.ts
4340
4340
  var import_consola2 = require("consola");
package/dist/index.d.cts CHANGED
@@ -62,6 +62,6 @@ declare function prepare(config: InlineConfig): Promise<void>;
62
62
  */
63
63
  declare function zip(config?: InlineConfig): Promise<string[]>;
64
64
 
65
- var version = "0.12.0";
65
+ var version = "0.12.1";
66
66
 
67
67
  export { BuildOutput, ExtensionRunnerConfig, InlineConfig, UserConfig, WxtDevServer, build, clean, createServer, defineConfig, defineRunnerConfig, initialize, prepare, version, zip };
package/dist/index.d.ts CHANGED
@@ -62,6 +62,6 @@ declare function prepare(config: InlineConfig): Promise<void>;
62
62
  */
63
63
  declare function zip(config?: InlineConfig): Promise<string[]>;
64
64
 
65
- var version = "0.12.0";
65
+ var version = "0.12.1";
66
66
 
67
67
  export { BuildOutput, ExtensionRunnerConfig, InlineConfig, UserConfig, WxtDevServer, build, clean, createServer, defineConfig, defineRunnerConfig, initialize, prepare, version, zip };
package/dist/index.js CHANGED
@@ -15,7 +15,7 @@ import {
15
15
  rebuild,
16
16
  resolvePerBrowserOption,
17
17
  version
18
- } from "./chunk-UY7NE73P.js";
18
+ } from "./chunk-ENVSDI4C.js";
19
19
  import "./chunk-VBXJIVYU.js";
20
20
 
21
21
  // src/core/build.ts
package/dist/testing.js CHANGED
@@ -6,7 +6,7 @@ import {
6
6
  unimport,
7
7
  webextensionPolyfillAlias,
8
8
  webextensionPolyfillInlineDeps
9
- } from "./chunk-UY7NE73P.js";
9
+ } from "./chunk-ENVSDI4C.js";
10
10
  import "./chunk-VBXJIVYU.js";
11
11
 
12
12
  // src/testing/fake-browser.ts
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "wxt",
3
3
  "type": "module",
4
- "version": "0.12.0",
4
+ "version": "0.12.1",
5
5
  "description": "Next gen framework for developing web extensions",
6
6
  "engines": {
7
7
  "node": ">=18",
@@ -36,38 +36,53 @@
36
36
  "types": "./dist/index.d.ts",
37
37
  "exports": {
38
38
  ".": {
39
- "require": "./dist/index.cjs",
40
- "import": "./dist/index.js",
41
- "types": "./dist/index.d.ts"
39
+ "import": {
40
+ "types": "./dist/index.d.ts",
41
+ "default": "./dist/index.js"
42
+ },
43
+ "require": {
44
+ "types": "./dist/index.d.cts",
45
+ "default": "./dist/index.cjs"
46
+ }
42
47
  },
43
48
  "./client": {
44
- "import": "./dist/client.js",
45
- "types": "./dist/client.d.ts"
49
+ "types": "./dist/client.d.ts",
50
+ "import": "./dist/client.js"
46
51
  },
47
52
  "./sandbox": {
48
- "import": "./dist/sandbox.js",
49
- "types": "./dist/sandbox.d.ts"
53
+ "types": "./dist/sandbox.d.ts",
54
+ "import": "./dist/sandbox.js"
50
55
  },
51
56
  "./browser": {
52
- "import": "./dist/browser.js",
53
- "types": "./dist/browser.d.ts"
57
+ "types": "./dist/browser.d.ts",
58
+ "import": "./dist/browser.js"
54
59
  },
55
60
  "./testing": {
56
- "require": "./dist/testing.cjs",
57
- "import": "./dist/testing.js",
58
- "types": "./dist/testing.d.ts"
61
+ "import": {
62
+ "types": "./dist/testing.d.ts",
63
+ "default": "./dist/testing.js"
64
+ },
65
+ "require": {
66
+ "types": "./dist/testing.d.cts",
67
+ "default": "./dist/testing.cjs"
68
+ }
59
69
  },
60
70
  "./storage": {
61
- "require": "./dist/storage.cjs",
62
- "import": "./dist/storage.js",
63
- "types": "./dist/storage.d.ts"
71
+ "import": {
72
+ "types": "./dist/storage.d.ts",
73
+ "default": "./dist/storage.js"
74
+ },
75
+ "require": {
76
+ "types": "./dist/storage.d.cts",
77
+ "default": "./dist/storage.cjs"
78
+ }
64
79
  }
65
80
  },
66
81
  "dependencies": {
67
82
  "@types/webextension-polyfill": "^0.10.5",
68
83
  "@webext-core/fake-browser": "^1.3.1",
69
84
  "@webext-core/isolated-element": "^1.0.4",
70
- "@webext-core/match-patterns": "^1.0.2",
85
+ "@webext-core/match-patterns": "^1.0.3",
71
86
  "async-mutex": "^0.4.0",
72
87
  "c12": "^1.5.1",
73
88
  "cac": "^6.7.14",
@@ -113,6 +128,7 @@
113
128
  "npm-run-all": "^4.1.5",
114
129
  "p-map": "^7.0.0",
115
130
  "prettier": "^3.1.0",
131
+ "publint": "^0.2.6",
116
132
  "simple-git-hooks": "^2.9.0",
117
133
  "tsup": "^8.0.1",
118
134
  "tsx": "^4.6.2",
@@ -141,7 +157,10 @@
141
157
  "wxt": "tsx src/cli.ts",
142
158
  "build": "tsx scripts/build.ts",
143
159
  "format": "prettier --write .",
144
- "format:check": "prettier --write .",
160
+ "format:check": "prettier --check .",
161
+ "lint": "run-p -c -s lint:*",
162
+ "lint:eslint": "echo 'ESLint: TODO'",
163
+ "lint:package": "publint",
145
164
  "compile": "tsc --noEmit",
146
165
  "test": "vitest",
147
166
  "test:coverage": "vitest run --coverage",