Skip to content

Commit 56d0067

Browse files
Anielsimonwep
authored andcommitted
Update to vite 7 and also update dependencies
1 parent f567bbf commit 56d0067

4 files changed

Lines changed: 375 additions & 275 deletions

File tree

.github/workflows/main.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,11 +10,11 @@ jobs:
1010
- uses: actions/checkout@v4
1111
- uses: pnpm/action-setup@v4
1212
with:
13-
version: 9.11.0
13+
version: 10.27.0
1414

1515
- uses: actions/setup-node@v4
1616
with:
17-
node-version: 22
17+
node-version: 24
1818
cache: 'pnpm'
1919

2020
- name: Install dependencies
@@ -38,7 +38,7 @@ jobs:
3838
- uses: actions/checkout@v4
3939
- uses: actions/setup-node@v4
4040
with:
41-
node-version: 22
41+
node-version: 24
4242
registry-url: 'https://registry.npmjs.org'
4343
env:
4444
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}

package.json

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"version": "1.2.0",
44
"description": "Mangles the classnames generated by postcss-modules in vite",
55
"type": "module",
6-
"packageManager": "pnpm@9.11.0",
6+
"packageManager": "pnpm@10.27.0",
77
"main": "./dist/index.cjs",
88
"module": "./dist/index.mjs",
99
"types": "./dist/index.d.ts",
@@ -40,17 +40,17 @@
4040
},
4141
"homepage": "https://github.com/simonwep/vite-plugin-optimize-css-modules",
4242
"peerDependencies": {
43-
"vite": "^6.0.0 || ^5.0.0 || ^4.0.0 || ^3.0.0 || ^2.0.0"
43+
"vite": "^7.0.0 || ^6.0.0 || ^5.0.0 || ^4.0.0 || ^3.0.0 || ^2.0.0"
4444
},
4545
"devDependencies": {
46-
"@rollup/plugin-typescript": "12.1.1",
47-
"@types/node": "22.10.2",
46+
"@rollup/plugin-typescript": "12.3.0",
47+
"@types/node": "25.0.3",
4848
"brotli-size": "4.0.0",
4949
"gzip-size": "7.0.0",
50-
"pretty-bytes": "6.1.1",
51-
"rollup": "4.28.1",
50+
"pretty-bytes": "7.1.0",
51+
"rollup": "4.55.1",
5252
"tslib": "2.8.1",
53-
"typescript": "5.7.2",
54-
"vite": "6.0.6"
53+
"typescript": "5.9.3",
54+
"vite": "7.3.1"
5555
}
5656
}

0 commit comments

Comments
 (0)