Skip to content

Commit 43de1aa

Browse files
committed
Update dependencies and support vite v6
Closes #7
1 parent 7dd541f commit 43de1aa

File tree

5 files changed

+141
-109
lines changed

5 files changed

+141
-109
lines changed

Diff for: .github/workflows/main.yml

+3-3
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 }}

Diff for: package.json

+11-11
Original file line numberDiff line numberDiff line change
@@ -3,18 +3,18 @@
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",
9-
"types": "./dist/types/index.d.ts",
9+
"types": "./dist/index.d.ts",
1010
"files": [
1111
"dist"
1212
],
1313
"exports": {
1414
".": {
1515
"import": "./dist/index.mjs",
1616
"require": "./dist/index.cjs",
17-
"types": "./dist/types/index.d.ts"
17+
"types": "./dist/index.d.ts"
1818
}
1919
},
2020
"keywords": [
@@ -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
}

0 commit comments

Comments
 (0)