Skip to content

Commit ad31713

Browse files
escapedcatclaude
andauthored
chore: deps and CI improvements (#4660)
* chore: deps - Replace .tool-versions and .nvmrc with .mise.toml - Update CONTRIBUTING.md to reference mise Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com> * chore: use lts/* for codeQuality CI job Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com> * chore: test on Node 18, 20, 22, and 24 Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com> * chore: test on Node 18, 20, and 22 Node versions match Ubuntu LTS defaults: - 18 = Ubuntu 24.04 - 20 = Ubuntu 25.x - 22 = Ubuntu 26.04 Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com> * docs: remove nvm and asdf references, use mise only Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com> * chore: pin vitest to ~4.0.18 to maintain Node 18 support Using tilde (~) pins to 4.0.x, avoiding 4.1.x which introduced rolldown and dropped Node 18 support. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com> --------- Co-authored-by: Claude Opus 4.5 <noreply@anthropic.com>
1 parent a7918e9 commit ad31713

8 files changed

Lines changed: 304 additions & 336 deletions

File tree

.github/CONTRIBUTING.md

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -108,11 +108,10 @@ For more information refer to [vitepress documentation](https://vitepress.dev).
108108

109109
```sh
110110
npm login
111-
nvm use (if you have nvm installed)
111+
mise install
112112
```
113113

114-
- [nvm](https://github.com/nvm-sh/nvm)
115-
- [asdf](https://asdf-vm.com/) is supported as well
114+
- [mise](https://mise.jdx.dev/)
116115

117116
```sh
118117
yarn clean
@@ -136,7 +135,7 @@ has not been published yet.
136135

137136
```sh
138137
npm login
139-
nvm use (if you have nvm installed)
138+
mise install
140139
```
141140

142141
```sh

.github/workflows/CI.yml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ name: CI
33
on:
44
push:
55
branches:
6-
- "**"
6+
- master
77
pull_request:
88
types: [opened, synchronize]
99

@@ -18,7 +18,9 @@ jobs:
1818
strategy:
1919
matrix:
2020
os: [ubuntu-22.04, ubuntu-24.04, windows-2022, windows-2025]
21-
node: [18, 20]
21+
# Node versions match Ubuntu LTS defaults:
22+
# 18 = Ubuntu 24.04, 20 = Ubuntu 25.x, 22 = Ubuntu 26.04
23+
node: [18, 20, 22]
2224
runs-on: ${{ matrix.os }}
2325
steps:
2426
- uses: actions/checkout@v6
@@ -46,7 +48,7 @@ jobs:
4648

4749
- uses: actions/setup-node@v6
4850
with:
49-
node-version: 20
51+
node-version: lts/*
5052
cache: yarn
5153

5254
- name: Install dependencies

.mise.toml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
[tools]
2+
node = "18"

.nvmrc

Lines changed: 0 additions & 1 deletion
This file was deleted.

.tool-versions

Lines changed: 0 additions & 1 deletion
This file was deleted.

@packages/test-environment/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131
"dependencies": {
3232
"@types/tmp": "^0.2.5",
3333
"tmp": "^0.2.1",
34-
"vitest": "^4.0.18"
34+
"vitest": "~4.0.18"
3535
},
3636
"gitHead": "71f0194f33943954a8dac1c458be47e5049717cd"
3737
}

package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@
8787
"@swc/core": "^1.15.18",
8888
"@typescript-eslint/eslint-plugin": "^8.56.1",
8989
"@typescript-eslint/parser": "^8.56.1",
90-
"@vitest/coverage-istanbul": "^4.0.18",
90+
"@vitest/coverage-istanbul": "~4.0.18",
9191
"@vitest/eslint-plugin": "^1.3.4",
9292
"cross-env": "^7.0.3",
9393
"eslint": "^10.0.2",
@@ -97,12 +97,12 @@
9797
"globals": "^16.0.0",
9898
"husky": "^9.1.5",
9999
"lerna": "^8.2.0",
100-
"lint-staged": "16.3.3",
100+
"lint-staged": "16.4.0",
101101
"prettier": "^3.5.3",
102102
"typescript": "^5.2.2",
103103
"vitepress": "^1.3.4",
104104
"vitepress-plugin-tabs": "^0.8.0",
105-
"vitest": "^4.0.18",
105+
"vitest": "~4.0.18",
106106
"vue": "^3.5.29"
107107
}
108108
}

yarn.lock

Lines changed: 290 additions & 323 deletions
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)