Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/test-multiple-builds.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ jobs:
if: ${{ matrix.build == 'esm' }}
run: |
sed -i~ "s/resolve('\.\/src\(.*\)\.ts')/resolve('\.\/dist\/esm\1.mjs')/" vitest.config.mts
sed -i~ "1s/^/import.meta.env=import.meta.env||{};import.meta.env.MODE='${NODE_ENV}';/" tests/*/*.tsx tests/*/*/*.tsx
sed -i~ "1s/^/import.meta.env.MODE='${NODE_ENV}';/" tests/*/*.tsx tests/*/*/*.tsx
env:
NODE_ENV: ${{ matrix.env }}
- name: Patch for UMD
Expand Down
9 changes: 7 additions & 2 deletions .github/workflows/test-multiple-versions.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,9 @@ jobs:
- 18.3.1
- 19.0.0
- 19.1.0
- 19.2.0-canary-83c88ad4-20250923
- 0.0.0-experimental-83c88ad4-20250923
- 19.2.0
- 19.3.0-canary-fd524fe0-20251121
- 0.0.0-experimental-fd524fe0-20251121
steps:
- uses: actions/checkout@v6
- uses: pnpm/action-setup@v4
Expand All @@ -35,6 +36,10 @@ jobs:
if: ${{ startsWith(matrix.react, '16.') || startsWith(matrix.react, '17.') }}
run: |
pnpm add -D @testing-library/[email protected]
- name: Patch for React 17
if: ${{ startsWith(matrix.react, '17.') }}
run: |
pnpm add -D [email protected]
- name: Patch for React 16
if: ${{ startsWith(matrix.react, '16.') }}
run: |
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/test-old-typescript.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ jobs:
fail-fast: false
matrix:
typescript:
- 5.9.3
- 5.8.3
- 5.7.3
- 5.6.3
Expand Down Expand Up @@ -89,7 +90,7 @@ jobs:
- name: Install old TypeScript
run: pnpm add -D typescript@${{ matrix.typescript }}
- name: Patch testing setup for Old TS
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.') }}
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.') }}
run: |
pnpm add -D [email protected] @vitest/[email protected] @vitest/[email protected]
pnpm add -D @testing-library/jest-dom@5 @types/testing-library__jest-dom@5
Expand Down
32 changes: 16 additions & 16 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@
"@babel/plugin-transform-typescript": "^7.28.5",
"@babel/preset-env": "^7.28.5",
"@babel/template": "^7.27.2",
"@eslint/js": "^9.38.0",
"@eslint/js": "^9.39.1",
"@rollup/plugin-alias": "^6.0.0",
"@rollup/plugin-babel": "^6.1.0",
"@rollup/plugin-node-resolve": "^16.0.3",
Expand All @@ -142,39 +142,39 @@
"@testing-library/react": "^16.3.0",
"@types/babel__core": "^7.20.5",
"@types/babel__template": "^7.4.4",
"@types/node": "^24.9.2",
"@types/react": "^19.2.2",
"@types/react-dom": "^19.2.2",
"@vitejs/plugin-react": "^5.1.0",
"@vitest/coverage-v8": "^3.2.4",
"@vitest/eslint-plugin": "^1.3.26",
"@vitest/ui": "^3.2.4",
"@types/node": "^24.10.1",
"@types/react": "^19.2.7",
"@types/react-dom": "^19.2.3",
"@vitejs/plugin-react": "^5.1.1",
"@vitest/coverage-v8": "^4.0.14",
"@vitest/eslint-plugin": "^1.5.1",
"@vitest/ui": "^4.0.14",
"benny": "^3.7.1",
"downlevel-dts": "^0.11.0",
"esbuild": "^0.25.11",
"eslint": "9.38.0",
"esbuild": "^0.27.0",
"eslint": "9.39.1",
"eslint-import-resolver-typescript": "^4.4.4",
"eslint-plugin-import": "^2.32.0",
"eslint-plugin-jest-dom": "^5.5.0",
"eslint-plugin-react": "^7.37.5",
"eslint-plugin-react-hooks": "^7.0.1",
"eslint-plugin-testing-library": "^7.13.3",
"eslint-plugin-testing-library": "^7.13.5",
"jest-leak-detector": "30.2.0",
"jsdom": "^27.0.1",
"jsdom": "^27.2.0",
"json": "^11.0.0",
"prettier": "^3.6.2",
"prettier": "^3.7.3",
"react": "^19.2.0",
"react-dom": "^19.2.0",
"rollup": "^4.52.5",
"rollup": "^4.53.3",
"rollup-plugin-banner2": "^1.3.1",
"rollup-plugin-esbuild": "^6.2.1",
"rxjs": "^7.8.2",
"shelljs": "^0.10.0",
"shx": "^0.4.0",
"ts-expect": "^1.3.0",
"typescript": "^5.9.3",
"typescript-eslint": "^8.46.2",
"vitest": "^3.2.4",
"typescript-eslint": "^8.48.0",
"vitest": "^4.0.14",
"wonka": "^6.3.5"
},
"peerDependencies": {
Expand Down
Loading
Loading