Skip to content

Commit 025429f

Browse files
authored
Bump dependencies (#5659)
* First bump * Bump typescript@5.9.3 * Update entry * Reformat * Bump to Node.js 22 * Build only if build script present * Use @types/uuid@8 * Fix hooks rules * Suppress JS loading error * Load via href * Downgrade WebDriver * Revert "Downgrade WebDriver" This reverts commit d6effc2. * Use MCR for base image * Fix React rules * Fix React rules * Add happy-dom settings * Fix test * Fix registry * Pin @types/react and @types/react-dom * Remove flushSync * Add @types/uuid * Revert * Pin @types/* * Revert * Move to read-package-up as read-pkg-up is deprecated * Bump to Node.js 24 * Pin @types/react and @types/react-dom properly * Pin @types/jest@29 * Pack package-lock.json * Fix cross platform package for Node.js 24 * Revert * Fix mutable ref typing * Pin to @types/react(-dom)@16 * Update
1 parent 928783a commit 025429f

74 files changed

Lines changed: 7844 additions & 3498 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.eslintrc.react.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -118,6 +118,13 @@ rules:
118118
- warn
119119
- additionalHooks: ^(useLiveRegion|useMemoized|use(\w+)Updater)$
120120

121+
# The rule is preventing read access to refs inside the render loop.
122+
# For optimization, we are heavy on ref usage.
123+
react-hooks/refs: off
124+
125+
# This rule does not understand validateProps and falsely claim validateProps is causing mutations.
126+
react-hooks/preserve-manual-memoization: off
127+
121128
# Conflicts with Adaptive Card schema.
122129
# react/forbid-prop-types: error
123130

.github/PULL_REQUEST_TEMPLATE.md

Lines changed: 12 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -18,25 +18,23 @@
1818

1919
<!-- Please list the changes in a concise manner. -->
2020

21-
## -
22-
23-
-
21+
-
2422

2523
<!-- For bugs, add the bug repro as a test. Otherwise, add tests to futureproof your work. -->
2624

27-
- [ ] I have added tests and executed them locally
28-
- [ ] I have updated `CHANGELOG.md`
29-
- [ ] I have updated documentation
25+
- [ ] I have added tests and executed them locally
26+
- [ ] I have updated `CHANGELOG.md`
27+
- [ ] I have updated documentation
3028

3129
## Review Checklist
3230

3331
> This section is for contributors to review your work.
3432
35-
- [ ] Accessibility reviewed (tab order, content readability, alt text, color contrast)
36-
- [ ] Browser and platform compatibilities reviewed
37-
- [ ] CSS styles reviewed (minimal rules, no `z-index`)
38-
- [ ] Documents reviewed (docs, samples, live demo)
39-
- [ ] Internationalization reviewed (strings, unit formatting)
40-
- [ ] `package.json` and `package-lock.json` reviewed
41-
- [ ] Security reviewed (no data URIs, check for nonce leak)
42-
- [ ] Tests reviewed (coverage, legitimacy)
33+
- [ ] Accessibility reviewed (tab order, content readability, alt text, color contrast)
34+
- [ ] Browser and platform compatibilities reviewed
35+
- [ ] CSS styles reviewed (minimal rules, no `z-index`)
36+
- [ ] Documents reviewed (docs, samples, live demo)
37+
- [ ] Internationalization reviewed (strings, unit formatting)
38+
- [ ] `package.json` and `package-lock.json` reviewed
39+
- [ ] Security reviewed (no data URIs, check for nonce leak)
40+
- [ ] Tests reviewed (coverage, legitimacy)

.github/workflows/pull-request-validation.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ defaults:
2222
env:
2323
CI_PULL_REQUEST: 1 # Skip nightly tests
2424
NODE_ENV: test # Add instrumentation code
25-
node-version: 18.20 # Need to bump jest@29 to resolve something in https://github.com/facebook/react-native/issues/35701
25+
node-version: 24
2626

2727
permissions:
2828
contents: read
@@ -229,7 +229,7 @@ jobs:
229229
- run: npm clean-install --strict-peer-deps
230230

231231
- name: Run docker compose build
232-
run: docker compose -f docker-compose-wsl2.yml build --build-arg REGISTRY=mcr.microsoft.com/mirror/docker/library
232+
run: docker compose -f docker-compose-wsl2.yml build --build-arg REGISTRY=mcr.microsoft.com
233233

234234
- name: Run docker compose up
235235
run: docker compose -f docker-compose-wsl2.yml up --detach --scale chrome=2

CHANGELOG.md

Lines changed: 89 additions & 64 deletions
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)