@crxjs/vite-plugin 2.5.0 → 2.6.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@crxjs/vite-plugin",
3
- "version": "2.5.0",
3
+ "version": "2.6.0",
4
4
  "description": "Build Chrome Extensions with this Vite plugin.",
5
5
  "keywords": [
6
6
  "rollup-plugin",
@@ -28,7 +28,7 @@
28
28
  "exports": {
29
29
  ".": {
30
30
  "import": {
31
- "types": "./dist/index.d.ts",
31
+ "types": "./dist/index.d.mts",
32
32
  "default": "./dist/index.mjs"
33
33
  },
34
34
  "require": {
@@ -53,7 +53,6 @@
53
53
  "client.d.ts"
54
54
  ],
55
55
  "dependencies": {
56
- "@rollup/pluginutils": "^4.1.2",
57
56
  "@webcomponents/custom-elements": "^1.5.0",
58
57
  "acorn-walk": "^8.2.0",
59
58
  "convert-source-map": "^1.7.0",
@@ -71,8 +70,12 @@
71
70
  "rxjs": "7.5.7"
72
71
  },
73
72
  "devDependencies": {
73
+ "@arethetypeswrong/cli": "0.18.3",
74
+ "@eslint/eslintrc": "3.3.3",
75
+ "@eslint/js": "9.26.0",
74
76
  "@extend-chrome/messages": "1.2.2",
75
77
  "@extend-chrome/storage": "1.5.0",
78
+ "@rollup/pluginutils": "^4.1.2",
76
79
  "@rollup/plugin-alias": "4.0.4",
77
80
  "@rollup/plugin-commonjs": "21.1.0",
78
81
  "@rollup/plugin-json": "^5.0.0",
@@ -88,14 +91,14 @@
88
91
  "@types/node": "17.0.18",
89
92
  "@types/react": "17.0.52",
90
93
  "@types/react-dom": "17.0.18",
91
- "@typescript-eslint/eslint-plugin": "5.41.0",
92
- "@typescript-eslint/parser": "5.41.0",
94
+ "@typescript-eslint/eslint-plugin": "8.32.1",
95
+ "@typescript-eslint/parser": "8.32.1",
93
96
  "@vitejs/plugin-react": "^2.2.0",
94
97
  "@vitejs/plugin-vue": "3.2.0",
95
98
  "chokidar": "^5.0.0",
96
99
  "esbuild": "0.17.14",
97
100
  "esbuild-runner": "2.2.2",
98
- "eslint": "8.43.0",
101
+ "eslint": "9.26.0",
99
102
  "eslint-plugin-react": "^7.29.4",
100
103
  "jest-image-snapshot": "^5.2.0",
101
104
  "npm-run-all": "^4.1.5",
@@ -111,7 +114,7 @@
111
114
  "unocss": "^66.5.12",
112
115
  "vite": "^3.2.11",
113
116
  "vite-plugin-inspect": "0.7.25",
114
- "vitest": "0.28.5",
117
+ "vitest": "0.34.6",
115
118
  "vue": "3.2.47"
116
119
  },
117
120
  "peerDependencies": {
@@ -126,13 +129,19 @@
126
129
  "dev:js": "npm run build:js -- -w",
127
130
  "dev:lint": "tsc --noEmit --watch",
128
131
  "lint": "run-s lint:eslint lint:types",
132
+ "lint:attw": "run-s build lint:attw:check",
133
+ "lint:attw:check": "attw --pack --entrypoints . .",
129
134
  "lint:eslint": "eslint \"{src,test}/**/*.ts\"",
130
135
  "lint:types": "tsc --noEmit",
131
136
  "test": "vitest --mode unit",
132
137
  "test:e2e": "vitest --mode e2e",
133
138
  "test:run": "run-s test:run:*",
139
+ "test:run:compat": "vitest --run --mode compat",
134
140
  "test:run:out": "vitest --run --mode out",
135
141
  "test:run:e2e": "vitest --run --mode e2e",
142
+ "test:vite-matrix": "node scripts/run-vite-matrix.mjs",
143
+ "test:vite-matrix:compat": "node scripts/run-vite-matrix.mjs --mode compat",
144
+ "test:vite-matrix:e2e": "node scripts/run-vite-matrix.mjs --mode e2e",
136
145
  "test:update": "run-s \"test:run:out --update\" \"test:run:e2e --update\""
137
146
  }
138
147
  }