Skip to content

Commit 1c4ba43

Browse files
committed
chore: update dependencies and configuration for project consistency
- Updated several npm dependencies to their latest versions. - Enabled mermaid diagram support in documentation. - Set `global.IS_REACT_ACT_ENVIRONMENT` for React testing compatibility. - Added `exact` package installation configuration in `bunfig.toml`.
1 parent aa72466 commit 1c4ba43

9 files changed

Lines changed: 307 additions & 86 deletions

File tree

bun.lock

Lines changed: 12 additions & 12 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

bunfig.toml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,4 @@
11
[test]
22
preload = ["./happydom.ts"]
3+
[install]
4+
exact = true

examples/rendering/bun.lock

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

examples/rendering/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,8 @@
1818
"tailwindcss": "4.1.18"
1919
},
2020
"devDependencies": {
21-
"@types/react": "^19",
22-
"@types/react-dom": "^19",
21+
"@types/react": "19.2.14",
22+
"@types/react-dom": "19.2.3",
2323
"@types/bun": "latest"
2424
}
2525
}

happydom.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
11
import {GlobalRegistrator} from '@happy-dom/global-registrator';
22

33
GlobalRegistrator.register();
4+
5+
// @ts-expect-error
6+
global.IS_REACT_ACT_ENVIRONMENT = true;

package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -67,9 +67,9 @@
6767
"react": ">=18.0.0"
6868
},
6969
"devDependencies": {
70-
"@biomejs/biome": "2.3.15",
71-
"@changesets/changelog-github": "^0.5.2",
72-
"@changesets/cli": "^2.29.8",
70+
"@biomejs/biome": "2.4.0",
71+
"@changesets/changelog-github": "0.5.2",
72+
"@changesets/cli": "2.29.8",
7373
"@happy-dom/global-registrator": "20.6.1",
7474
"@types/bun": "1.3.9",
7575
"@types/react": "19.2.14",

0 commit comments

Comments
 (0)