wxt 0.3.2 → 0.4.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.
- package/dist/browser.d.ts +7 -4
- package/dist/browser.js +1 -1
- package/dist/cli.cjs +455 -514
- package/dist/index.cjs +233 -81
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +20 -3
- package/dist/index.d.ts +20 -3
- package/dist/index.js +229 -78
- package/dist/index.js.map +1 -1
- package/package.json +16 -12
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "wxt",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "0.
|
|
4
|
+
"version": "0.4.1",
|
|
5
5
|
"description": "Next gen framework for developing web extensions",
|
|
6
6
|
"engines": {
|
|
7
7
|
"node": ">=18.16.0",
|
|
@@ -63,14 +63,13 @@
|
|
|
63
63
|
"giget": "^1.1.2",
|
|
64
64
|
"jiti": "^1.19.1",
|
|
65
65
|
"json5": "^2.2.3",
|
|
66
|
-
"linkedom": "^0.
|
|
66
|
+
"linkedom": "^0.15.1",
|
|
67
67
|
"minimatch": "^9.0.3",
|
|
68
68
|
"picocolors": "^1.0.0",
|
|
69
69
|
"prompts": "^2.4.2",
|
|
70
70
|
"unimport": "^3.1.0",
|
|
71
71
|
"vite": "^4.4.7",
|
|
72
|
-
"
|
|
73
|
-
"web-ext": "^7.6.2",
|
|
72
|
+
"web-ext-run": "^0.1.0",
|
|
74
73
|
"webextension-polyfill": "^0.10.0",
|
|
75
74
|
"zip-dir": "^2.0.0"
|
|
76
75
|
},
|
|
@@ -79,21 +78,22 @@
|
|
|
79
78
|
"@types/fs-extra": "^11.0.1",
|
|
80
79
|
"@types/lodash.merge": "^4.6.7",
|
|
81
80
|
"@types/node": "^20.4.5",
|
|
81
|
+
"@types/prettier": "^3.0.0",
|
|
82
82
|
"@types/prompts": "^2.4.4",
|
|
83
|
-
"@vitest/coverage-v8": "^0.
|
|
83
|
+
"@vitest/coverage-v8": "^0.34.1",
|
|
84
84
|
"execa": "^7.2.0",
|
|
85
|
+
"lint-staged": "^14.0.0",
|
|
85
86
|
"lodash.merge": "^4.6.2",
|
|
86
87
|
"npm-run-all": "^4.1.5",
|
|
87
|
-
"ora": "^
|
|
88
|
-
"prettier": "^
|
|
89
|
-
"pretty-quick": "^3.1.3",
|
|
88
|
+
"ora": "^7.0.1",
|
|
89
|
+
"prettier": "^3.0.1",
|
|
90
90
|
"simple-git-hooks": "^2.9.0",
|
|
91
91
|
"ts-morph": "^19.0.0",
|
|
92
92
|
"tsup": "^7.1.0",
|
|
93
93
|
"tsx": "^3.12.7",
|
|
94
94
|
"typescript": "^5.1.6",
|
|
95
|
-
"vitepress": "1.0.0-
|
|
96
|
-
"vitest": "^0.
|
|
95
|
+
"vitepress": "1.0.0-rc.10",
|
|
96
|
+
"vitest": "^0.34.1",
|
|
97
97
|
"vitest-mock-extended": "^1.1.4",
|
|
98
98
|
"webextension-polyfill": "^0.10.0"
|
|
99
99
|
},
|
|
@@ -102,7 +102,10 @@
|
|
|
102
102
|
},
|
|
103
103
|
"packageManager": "pnpm@8.6.3",
|
|
104
104
|
"simple-git-hooks": {
|
|
105
|
-
"pre-commit": "pnpm
|
|
105
|
+
"pre-commit": "pnpm lint-staged"
|
|
106
|
+
},
|
|
107
|
+
"lint-staged": {
|
|
108
|
+
"*": "prettier --write"
|
|
106
109
|
},
|
|
107
110
|
"scripts": {
|
|
108
111
|
"wxt": "tsx src/cli/index.ts",
|
|
@@ -115,6 +118,7 @@
|
|
|
115
118
|
"prepublish": "pnpm -s build",
|
|
116
119
|
"docs:dev": "vitepress dev docs",
|
|
117
120
|
"docs:build": "vitepress build docs",
|
|
118
|
-
"docs:preview": "vitepress preview docs"
|
|
121
|
+
"docs:preview": "vitepress preview docs",
|
|
122
|
+
"sync-releases": "pnpx changelogen@latest gh release all"
|
|
119
123
|
}
|
|
120
124
|
}
|