Skip to content

Commit 3ee417a

Browse files
committed
feat!: upgrade unplugin to v2, drop node 16 & webpack 4 support
1 parent 41c85c8 commit 3ee417a

File tree

3 files changed

+4595
-3435
lines changed

3 files changed

+4595
-3435
lines changed

package.json

Lines changed: 20 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "unplugin-jsx-string",
33
"version": "0.7.1",
4-
"packageManager": "pnpm@8.10.5",
4+
"packageManager": "pnpm@10.0.0",
55
"description": "Converts JSX to HTML strings at compile time.",
66
"keywords": [
77
"unplugin",
@@ -101,32 +101,31 @@
101101
"prepublishOnly": "pnpm run build"
102102
},
103103
"dependencies": {
104-
"@babel/parser": "^7.23.3",
105-
"@babel/types": "^7.23.3",
106-
"@rollup/pluginutils": "^5.0.5",
107-
"entities": "^5.0.0",
104+
"@babel/parser": "^7.26.5",
105+
"@babel/types": "^7.26.5",
106+
"@rollup/pluginutils": "^5.1.4",
107+
"entities": "^6.0.0",
108108
"estree-walker": "^3.0.3",
109-
"jsesc": "^3.0.2",
110-
"magic-string": "^0.30.5",
111-
"unplugin": "^1.5.1"
109+
"jsesc": "^3.1.0",
110+
"magic-string": "^0.30.17",
111+
"unplugin": "^2.1.2"
112112
},
113113
"devDependencies": {
114-
"@sxzz/eslint-config": "^3.7.4",
115-
"@sxzz/prettier-config": "^2.0.0",
114+
"@sxzz/eslint-config": "^4.6.0",
115+
"@sxzz/prettier-config": "^2.0.2",
116116
"@types/benchmark": "^2.1.5",
117117
"@types/jsesc": "^3.0.3",
118-
"@types/node": "^20.9.2",
119-
"@types/react": "^18.2.37",
118+
"@types/node": "^22.10.5",
119+
"@types/react": "^19.0.6",
120120
"benchmark": "^2.1.4",
121-
"bumpp": "^9.2.0",
122-
"eslint": "^8.54.0",
123-
"fast-glob": "^3.3.2",
124-
"prettier": "^3.1.0",
125-
"tsup": "^8.0.1",
126-
"tsx": "^4.1.4",
127-
"typescript": "^5.2.2",
128-
"vite": "^5.0.4",
129-
"vitest": "^2.0.3"
121+
"bumpp": "^9.10.0",
122+
"eslint": "^9.18.0",
123+
"prettier": "^3.4.2",
124+
"tsup": "^8.3.5",
125+
"tsx": "^4.19.2",
126+
"typescript": "^5.7.3",
127+
"vite": "^6.0.7",
128+
"vitest": "^2.1.8"
130129
},
131130
"engines": {
132131
"node": ">=16.14.0"

playground/package.json

Lines changed: 9 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -11,19 +11,18 @@
1111
"vercel-build": "pnpm run -C .. build && pnpm build"
1212
},
1313
"dependencies": {
14-
"@unocss/reset": "^0.57.6",
15-
"@vueuse/core": "^11.0.0",
14+
"@unocss/reset": "^65.4.0",
15+
"@vueuse/core": "^12.4.0",
1616
"unplugin-jsx-string": "workspace:*",
17-
"vue": "^3.3.8"
17+
"vue": "^3.5.13"
1818
},
1919
"devDependencies": {
20-
"@iconify-json/carbon": "^1.1.21",
21-
"@vitejs/plugin-vue": "^5.0.2",
22-
"@vue/runtime-core": "^3.3.8",
23-
"unocss": "^0.57.6",
20+
"@iconify-json/carbon": "^1.2.5",
21+
"@vitejs/plugin-vue": "^5.2.1",
22+
"unocss": "^65.4.0",
2423
"unplugin-auto-import": "^19.0.0",
25-
"unplugin-vue-components": "^0.25.2",
26-
"vite": "^5.0.4",
27-
"vue-tsc": "^2.0.3"
24+
"unplugin-vue-components": "^28.0.0",
25+
"vite": "^6.0.7",
26+
"vue-tsc": "^2.2.0"
2827
}
2928
}

0 commit comments

Comments
 (0)