Skip to content

Commit a7f09ac

Browse files
committed
Update dependencies and support vite v6
1 parent 7dd541f commit a7f09ac

File tree

3 files changed

+13
-13
lines changed

3 files changed

+13
-13
lines changed

.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.0.6
13+
version: 9.11.0
1414

1515
- uses: actions/setup-node@v4
1616
with:
17-
node-version: 20
17+
node-version: 22
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: 20
41+
node-version: 22
4242
registry-url: 'https://registry.npmjs.org'
4343
env:
4444
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}

package.json

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"version": "1.1.0",
44
"description": "Mangles the classnames generated by postcss-modules in vite",
55
"type": "module",
6-
"packageManager": "pnpm@9.0.6",
6+
"packageManager": "pnpm@9.11.0",
77
"main": "./dist/index.cjs",
88
"module": "./dist/index.mjs",
99
"types": "./dist/types/index.d.ts",
@@ -32,19 +32,19 @@
3232
},
3333
"repository": {
3434
"type": "git",
35-
"url": "git+https://github.com/Simonwep/vite-plugin-optimize-css-modules.git"
35+
"url": "git+https://github.com/simonwep/vite-plugin-optimize-css-modules.git"
3636
},
3737
"bugs": {
38-
"url": "https://github.com/Simonwep/vite-plugin-optimize-css-modules/issues"
38+
"url": "https://github.com/simonwep/vite-plugin-optimize-css-modules/issues"
3939
},
40-
"homepage": "https://github.com/Simonwep/vite-plugin-optimize-css-modules",
40+
"homepage": "https://github.com/simonwep/vite-plugin-optimize-css-modules",
4141
"peerDependencies": {
42-
"vite": "^5.0.0 || ^4.0.0 || ^3.0.0 || ^2.0.0"
42+
"vite": "^6.0.0 || ^5.0.0 || ^4.0.0 || ^3.0.0 || ^2.0.0"
4343
},
4444
"devDependencies": {
45-
"@rollup/plugin-typescript": "11.1.6",
46-
"rollup": "4.18.0",
47-
"tslib": "2.6.3",
48-
"typescript": "5.5.3"
45+
"@rollup/plugin-typescript": "12.1.1",
46+
"rollup": "4.28.1",
47+
"tslib": "2.8.1",
48+
"typescript": "5.7.2"
4949
}
5050
}

rollup.config.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import typescript from '@rollup/plugin-typescript';
2-
import pkg from './package.json' assert {type: 'json'};
2+
import pkg from './package.json' with { type: 'json' };
33

44
export default {
55
input: 'src/index.ts',

0 commit comments

Comments
 (0)