Skip to content

Commit 155bebd

Browse files
authored
chore: update dev dependencies (#3184)
* chore: update dev dependencies * format * fix esm patch * for older ts * update lock file * testing react 17 * Revert "testing react 17" This reverts commit 5c965ab. * remove errored tests :-p * Revert "remove errored tests :-p" This reverts commit 88b5d6b. * use old vitest
1 parent 08d0a85 commit 155bebd

File tree

6 files changed

+899
-878
lines changed

6 files changed

+899
-878
lines changed

.github/workflows/test-multiple-builds.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ jobs:
4848
if: ${{ matrix.build == 'esm' }}
4949
run: |
5050
sed -i~ "s/resolve('\.\/src\(.*\)\.ts')/resolve('\.\/dist\/esm\1.mjs')/" vitest.config.mts
51-
sed -i~ "1s/^/import.meta.env=import.meta.env||{};import.meta.env.MODE='${NODE_ENV}';/" tests/*/*.tsx tests/*/*/*.tsx
51+
sed -i~ "1s/^/import.meta.env.MODE='${NODE_ENV}';/" tests/*/*.tsx tests/*/*/*.tsx
5252
env:
5353
NODE_ENV: ${{ matrix.env }}
5454
- name: Patch for UMD

.github/workflows/test-multiple-versions.yml

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,9 @@ jobs:
2121
- 18.3.1
2222
- 19.0.0
2323
- 19.1.0
24-
- 19.2.0-canary-83c88ad4-20250923
25-
- 0.0.0-experimental-83c88ad4-20250923
24+
- 19.2.0
25+
- 19.3.0-canary-fd524fe0-20251121
26+
- 0.0.0-experimental-fd524fe0-20251121
2627
steps:
2728
- uses: actions/checkout@v6
2829
- uses: pnpm/action-setup@v4
@@ -35,6 +36,10 @@ jobs:
3536
if: ${{ startsWith(matrix.react, '16.') || startsWith(matrix.react, '17.') }}
3637
run: |
3738
pnpm add -D @testing-library/[email protected]
39+
- name: Patch for React 17
40+
if: ${{ startsWith(matrix.react, '17.') }}
41+
run: |
42+
pnpm add -D [email protected]
3843
- name: Patch for React 16
3944
if: ${{ startsWith(matrix.react, '16.') }}
4045
run: |

.github/workflows/test-old-typescript.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ jobs:
1313
fail-fast: false
1414
matrix:
1515
typescript:
16+
- 5.9.3
1617
- 5.8.3
1718
- 5.7.3
1819
- 5.6.3
@@ -89,7 +90,7 @@ jobs:
8990
- name: Install old TypeScript
9091
run: pnpm add -D typescript@${{ matrix.typescript }}
9192
- name: Patch testing setup for Old TS
92-
if: ${{ matrix.typescript == '4.4.4' || matrix.typescript == '4.3.5' || matrix.typescript == '4.2.3' || matrix.typescript == '4.1.5' || matrix.typescript == '4.0.5' || startsWith(matrix.typescript, '3.') }}
93+
if: ${{ matrix.typescript == '4.6.4' || matrix.typescript == '4.5.5' || matrix.typescript == '4.4.4' || matrix.typescript == '4.3.5' || matrix.typescript == '4.2.3' || matrix.typescript == '4.1.5' || matrix.typescript == '4.0.5' || startsWith(matrix.typescript, '3.') }}
9394
run: |
9495
9596
pnpm add -D @testing-library/jest-dom@5 @types/testing-library__jest-dom@5

package.json

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,7 @@
130130
"@babel/plugin-transform-typescript": "^7.28.5",
131131
"@babel/preset-env": "^7.28.5",
132132
"@babel/template": "^7.27.2",
133-
"@eslint/js": "^9.38.0",
133+
"@eslint/js": "^9.39.1",
134134
"@rollup/plugin-alias": "^6.0.0",
135135
"@rollup/plugin-babel": "^6.1.0",
136136
"@rollup/plugin-node-resolve": "^16.0.3",
@@ -142,39 +142,39 @@
142142
"@testing-library/react": "^16.3.0",
143143
"@types/babel__core": "^7.20.5",
144144
"@types/babel__template": "^7.4.4",
145-
"@types/node": "^24.9.2",
146-
"@types/react": "^19.2.2",
147-
"@types/react-dom": "^19.2.2",
148-
"@vitejs/plugin-react": "^5.1.0",
149-
"@vitest/coverage-v8": "^3.2.4",
150-
"@vitest/eslint-plugin": "^1.3.26",
151-
"@vitest/ui": "^3.2.4",
145+
"@types/node": "^24.10.1",
146+
"@types/react": "^19.2.7",
147+
"@types/react-dom": "^19.2.3",
148+
"@vitejs/plugin-react": "^5.1.1",
149+
"@vitest/coverage-v8": "^4.0.14",
150+
"@vitest/eslint-plugin": "^1.5.1",
151+
"@vitest/ui": "^4.0.14",
152152
"benny": "^3.7.1",
153153
"downlevel-dts": "^0.11.0",
154-
"esbuild": "^0.25.11",
155-
"eslint": "9.38.0",
154+
"esbuild": "^0.27.0",
155+
"eslint": "9.39.1",
156156
"eslint-import-resolver-typescript": "^4.4.4",
157157
"eslint-plugin-import": "^2.32.0",
158158
"eslint-plugin-jest-dom": "^5.5.0",
159159
"eslint-plugin-react": "^7.37.5",
160160
"eslint-plugin-react-hooks": "^7.0.1",
161-
"eslint-plugin-testing-library": "^7.13.3",
161+
"eslint-plugin-testing-library": "^7.13.5",
162162
"jest-leak-detector": "30.2.0",
163-
"jsdom": "^27.0.1",
163+
"jsdom": "^27.2.0",
164164
"json": "^11.0.0",
165-
"prettier": "^3.6.2",
165+
"prettier": "^3.7.3",
166166
"react": "^19.2.0",
167167
"react-dom": "^19.2.0",
168-
"rollup": "^4.52.5",
168+
"rollup": "^4.53.3",
169169
"rollup-plugin-banner2": "^1.3.1",
170170
"rollup-plugin-esbuild": "^6.2.1",
171171
"rxjs": "^7.8.2",
172172
"shelljs": "^0.10.0",
173173
"shx": "^0.4.0",
174174
"ts-expect": "^1.3.0",
175175
"typescript": "^5.9.3",
176-
"typescript-eslint": "^8.46.2",
177-
"vitest": "^3.2.4",
176+
"typescript-eslint": "^8.48.0",
177+
"vitest": "^4.0.14",
178178
"wonka": "^6.3.5"
179179
},
180180
"peerDependencies": {

0 commit comments

Comments
 (0)