Skip to content

Commit 7f42697

Browse files
authored
chore: upgrade pnpm and drop Node 14 (#620)
* chore: upgrade dependencies * upgrade one more * update pnpm * update package.json
1 parent 88f713c commit 7f42697

File tree

3 files changed

+1810
-1604
lines changed

3 files changed

+1810
-1604
lines changed

.github/workflows/ci.yml

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -8,11 +8,9 @@ jobs:
88
steps:
99
- uses: actions/checkout@v2
1010
- uses: pnpm/action-setup@v2
11+
- uses: actions/setup-node@v4
1112
with:
12-
version: 7
13-
- uses: actions/setup-node@v2
14-
with:
15-
node-version: 14
13+
node-version: 16
1614
cache: 'pnpm'
1715
- run: pnpm install
1816
- run: pnpm lint
@@ -21,16 +19,14 @@ jobs:
2119
runs-on: ${{ matrix.os }}
2220
strategy:
2321
matrix:
24-
node-version: [14, 16, 18]
22+
node-version: [16, 18, 20]
2523
os: [ubuntu-latest, windows-latest, macOS-latest]
2624

2725
steps:
2826
- run: git config --global core.autocrlf false
2927
- uses: actions/checkout@v2
3028
- uses: pnpm/action-setup@v2
31-
with:
32-
version: 7
33-
- uses: actions/setup-node@v2
29+
- uses: actions/setup-node@v4
3430
with:
3531
node-version: ${{ matrix.node-version }}
3632
cache: 'pnpm'

package.json

Lines changed: 11 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,10 @@
1818
"coffeescript"
1919
],
2020
"engines": {
21-
"node": ">= 14.10.0"
21+
"node": ">= 16.0.0",
22+
"pnpm": "^8.0.0"
2223
},
24+
"packageManager": "pnpm@8.12.1",
2325
"volta": {
2426
"node": "14.19.2"
2527
},
@@ -56,17 +58,17 @@
5658
]
5759
},
5860
"devDependencies": {
59-
"@babel/core": "^7.20.5",
60-
"@babel/preset-env": "^7.20.2",
61+
"@babel/core": "^7.23.6",
62+
"@babel/preset-env": "^7.23.6",
6163
"@commitlint/cli": "^11.0.0",
6264
"@commitlint/config-conventional": "^11.0.0",
6365
"@kiwi/eslint-config": "^2.0.2",
6466
"@kiwi/prettier-config": "^2.0.2",
65-
"@types/babel__core": "^7.1.20",
67+
"@types/babel__core": "^7.20.5",
6668
"@types/jest": "^27.5.2",
6769
"@types/node": "^14.18.34",
6870
"@types/stylus": "^0.48.38",
69-
"autoprefixer": "^9.8.8",
71+
"autoprefixer": "^10.4.16",
7072
"babel-minify": "^0.5.2",
7173
"coffeescript": "^2.7.0",
7274
"conventional-changelog-cli": "^2.2.2",
@@ -75,22 +77,22 @@
7577
"jest": "^29.5.0",
7678
"less": "^3.13.1",
7779
"lint-staged": "^10.5.4",
78-
"postcss": "^8.4.19",
79-
"postcss-easy-import": "^3.0.0",
80+
"postcss": "^8.4.32",
81+
"postcss-easy-import": "^4.0.0",
8082
"postcss-load-config": "^3.1.4",
8183
"prettier": "^2.8.1",
8284
"pug": "^3.0.2",
8385
"sass": "^1.56.2",
8486
"stylus": "^0.55.0",
8587
"sugarss": "^4.0.0",
8688
"svelte": "^3.54.0",
87-
"ts-jest": "^29.0.5",
89+
"ts-jest": "^29.1.1",
8890
"typescript": "^5.0.2"
8991
},
9092
"dependencies": {
9193
"@types/pug": "^2.0.6",
9294
"detect-indent": "^6.1.0",
93-
"magic-string": "^0.27.0",
95+
"magic-string": "^0.30.5",
9496
"sorcery": "^0.11.0",
9597
"strip-indent": "^3.0.0"
9698
},

0 commit comments

Comments
 (0)