Skip to content

Commit 5ae0b4b

Browse files
committed
Update Vite peer deps [publish]
1 parent abf86c0 commit 5ae0b4b

File tree

5 files changed

+330
-453
lines changed

5 files changed

+330
-453
lines changed

CHANGELOG.md

+4
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
# Changelog
22

3+
## 0.5.1
4+
5+
- Vite 6 as a peer deps
6+
37
## 0.5.0
48

59
- Drop support for `?inline`, this now supported into core in v5

bun.lockb

-7.17 KB
Binary file not shown.

package.json

+9-9
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "vite-plugin-fast-react-svg",
3-
"version": "0.5.0",
3+
"version": "0.5.1",
44
"type": "module",
55
"license": "MIT",
66
"scripts": {
@@ -10,16 +10,16 @@
1010
"ci": "tsc && bun prettier-ci && bun run build && cd dist && publint"
1111
},
1212
"peerDependencies": {
13-
"react": ">=16",
14-
"vite": "^5"
13+
"react": "^18.3.1",
14+
"vite": "^5 || ^6"
1515
},
1616
"devDependencies": {
17-
"@arnaud-barre/tnode": "^0.19.2",
18-
"@types/node": "^18.19.50",
19-
"@types/react": "^18.3.8",
17+
"@arnaud-barre/tnode": "^0.24.0",
18+
"@types/node": "^20.17.8",
19+
"@types/react": "^18.3.12",
2020
"prettier": "3.0.3",
21-
"publint": "^0.2.11",
22-
"typescript": "^5.6.2",
23-
"vite": "^5.4.7"
21+
"publint": "^0.2.12",
22+
"typescript": "^5.7.2",
23+
"vite": "^6.0.0"
2424
}
2525
}

tsconfig.json

+2-3
Original file line numberDiff line numberDiff line change
@@ -3,14 +3,13 @@
33
"exclude": ["playground"],
44
"compilerOptions": {
55
/* Target node 18 */
6-
"module": "NodeNext",
6+
"module": "ES2022",
77
"lib": ["ES2021"],
88
"target": "ES2021",
99

1010
/* Bundler mode */
11-
"moduleResolution": "NodeNext",
11+
"moduleResolution": "bundler",
1212
"allowImportingTsExtensions": true,
13-
"resolveJsonModule": true,
1413
"verbatimModuleSyntax": true,
1514
"noEmit": true,
1615

0 commit comments

Comments
 (0)