@crxjs/vite-plugin 2.3.0 → 2.5.0

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/index.d.cts ADDED
@@ -0,0 +1 @@
1
+ export * from './dist/index.d.ts'
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@crxjs/vite-plugin",
3
- "version": "2.3.0",
3
+ "version": "2.5.0",
4
4
  "description": "Build Chrome Extensions with this Vite plugin.",
5
5
  "keywords": [
6
6
  "rollup-plugin",
@@ -27,9 +27,14 @@
27
27
  "type": "module",
28
28
  "exports": {
29
29
  ".": {
30
- "require": "./index.cjs",
31
- "import": "./dist/index.mjs",
32
- "types": "./dist/index.d.ts"
30
+ "import": {
31
+ "types": "./dist/index.d.ts",
32
+ "default": "./dist/index.mjs"
33
+ },
34
+ "require": {
35
+ "types": "./index.d.cts",
36
+ "default": "./index.cjs"
37
+ }
33
38
  },
34
39
  "./*": "./*",
35
40
  "./client": {
@@ -44,24 +49,25 @@
44
49
  "types",
45
50
  "manifest.schema.json",
46
51
  "index.cjs",
52
+ "index.d.cts",
47
53
  "client.d.ts"
48
54
  ],
49
55
  "dependencies": {
50
56
  "@rollup/pluginutils": "^4.1.2",
51
57
  "@webcomponents/custom-elements": "^1.5.0",
52
58
  "acorn-walk": "^8.2.0",
53
- "cheerio": "^1.0.0-rc.10",
54
59
  "convert-source-map": "^1.7.0",
55
60
  "debug": "^4.3.3",
56
61
  "es-module-lexer": "^0.10.0",
57
- "fast-glob": "^3.2.11",
62
+ "tinyglobby": "^0.2.15",
58
63
  "fs-extra": "^10.0.1",
59
64
  "jsesc": "^3.0.2",
60
65
  "magic-string": "^0.30.12",
66
+ "node-html-parser": "^7.0.2",
61
67
  "pathe": "^2.0.1",
62
68
  "picocolors": "^1.1.1",
63
69
  "react-refresh": "^0.13.0",
64
- "rollup": "2.79.2",
70
+ "rollup": "2.80.0",
65
71
  "rxjs": "7.5.7"
66
72
  },
67
73
  "devDependencies": {
@@ -86,7 +92,7 @@
86
92
  "@typescript-eslint/parser": "5.41.0",
87
93
  "@vitejs/plugin-react": "^2.2.0",
88
94
  "@vitejs/plugin-vue": "3.2.0",
89
- "chokidar": "^3.5.3",
95
+ "chokidar": "^5.0.0",
90
96
  "esbuild": "0.17.14",
91
97
  "esbuild-runner": "2.2.2",
92
98
  "eslint": "8.43.0",
@@ -102,12 +108,17 @@
102
108
  "svelte": "^3.48.0",
103
109
  "type-fest": "^5.1.0",
104
110
  "typescript": "^4.6.4",
111
+ "unocss": "^66.5.12",
105
112
  "vite": "^3.2.11",
106
113
  "vite-plugin-inspect": "0.7.25",
107
114
  "vitest": "0.28.5",
108
115
  "vue": "3.2.47"
109
116
  },
117
+ "peerDependencies": {
118
+ "vite": "^3.0.0 || ^4.0.0 || ^5.0.0 || ^6.0.0 || ^7.0.0 || ^8.0.0"
119
+ },
110
120
  "scripts": {
121
+ "release": "bumpp",
111
122
  "format": "prettier -w -c ../../.prettierrc.yaml",
112
123
  "build": "run-s build:clean build:js",
113
124
  "build:clean": "rimraf dist",