From 0fd2503f5a885f85b42671819212217a6873898d Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 17 Jun 2024 09:29:15 +0000 Subject: [PATCH 1/2] Bump @testing-library/react from 15.0.7 to 16.0.0 in /pwa Bumps [@testing-library/react](https://github.com/testing-library/react-testing-library) from 15.0.7 to 16.0.0. - [Release notes](https://github.com/testing-library/react-testing-library/releases) - [Changelog](https://github.com/testing-library/react-testing-library/blob/main/CHANGELOG.md) - [Commits](https://github.com/testing-library/react-testing-library/compare/v15.0.7...v16.0.0) --- updated-dependencies: - dependency-name: "@testing-library/react" dependency-type: direct:development update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] --- pwa/package.json | 2 +- pwa/pnpm-lock.yaml | 16 ++++++++++------ 2 files changed, 11 insertions(+), 7 deletions(-) diff --git a/pwa/package.json b/pwa/package.json index ef8ad51..fadb991 100644 --- a/pwa/package.json +++ b/pwa/package.json @@ -38,7 +38,7 @@ "@tanstack/react-query": "^5.45.1", "@tanstack/react-query-devtools": "^5.45.1", "@testing-library/jest-dom": "^6.4.6", - "@testing-library/react": "^15.0.7", + "@testing-library/react": "^16.0.0", "@types/react": "^18.3.3", "@types/react-dom": "^18.3.0", "@typescript-eslint/eslint-plugin": "^7.13.0", diff --git a/pwa/pnpm-lock.yaml b/pwa/pnpm-lock.yaml index 23ba26a..2258a6b 100644 --- a/pwa/pnpm-lock.yaml +++ b/pwa/pnpm-lock.yaml @@ -39,8 +39,8 @@ importers: specifier: ^6.4.6 version: 6.4.6(vitest@1.6.0(jsdom@24.1.0)) '@testing-library/react': - specifier: ^15.0.7 - version: 15.0.7(@types/react@18.3.3)(react-dom@18.3.1(react@18.3.1))(react@18.3.1) + specifier: ^16.0.0 + version: 16.0.0(@testing-library/dom@10.1.0)(@types/react-dom@18.3.0)(@types/react@18.3.3)(react-dom@18.3.1(react@18.3.1))(react@18.3.1) '@types/react': specifier: ^18.3.3 version: 18.3.3 @@ -1369,16 +1369,20 @@ packages: vitest: optional: true - '@testing-library/react@15.0.7': - resolution: {integrity: sha512-cg0RvEdD1TIhhkm1IeYMQxrzy0MtUNfa3minv4MjbgcYzJAZ7yD0i0lwoPOTPr+INtiXFezt2o8xMSnyHhEn2Q==} + '@testing-library/react@16.0.0': + resolution: {integrity: sha512-guuxUKRWQ+FgNX0h0NS0FIq3Q3uLtWVpBzcLOggmfMoUpgBnzBzvLLd4fbm6yS8ydJd94cIfY4yP9qUQjM2KwQ==} engines: {node: '>=18'} peerDependencies: + '@testing-library/dom': ^10.0.0 '@types/react': ^18.0.0 + '@types/react-dom': ^18.0.0 react: ^18.0.0 react-dom: ^18.0.0 peerDependenciesMeta: '@types/react': optional: true + '@types/react-dom': + optional: true '@types/aria-query@5.0.4': resolution: {integrity: sha512-rfT93uj5s0PRL7EzccGMs3brplhcrghnDoV26NqKhCAS1hVo+WdNsPvE/yb6ilfr5hi2MEk6d5EWJTKdxg8jVw==} @@ -5032,15 +5036,15 @@ snapshots: optionalDependencies: vitest: 1.6.0(jsdom@24.1.0) - '@testing-library/react@15.0.7(@types/react@18.3.3)(react-dom@18.3.1(react@18.3.1))(react@18.3.1)': + '@testing-library/react@16.0.0(@testing-library/dom@10.1.0)(@types/react-dom@18.3.0)(@types/react@18.3.3)(react-dom@18.3.1(react@18.3.1))(react@18.3.1)': dependencies: '@babel/runtime': 7.24.7 '@testing-library/dom': 10.1.0 - '@types/react-dom': 18.3.0 react: 18.3.1 react-dom: 18.3.1(react@18.3.1) optionalDependencies: '@types/react': 18.3.3 + '@types/react-dom': 18.3.0 '@types/aria-query@5.0.4': {} From 0a96ed9c4f8761b78d68fae1bf2678d28eb787b1 Mon Sep 17 00:00:00 2001 From: D3strukt0r Date: Mon, 17 Jun 2024 11:37:48 +0200 Subject: [PATCH 2/2] Add peer dependencies @testing-library/dom and @types/react-dom are peer dependencies now --- .gitignore | 3 +++ pwa/package.json | 1 + pwa/pnpm-lock.yaml | 3 +++ 3 files changed, 7 insertions(+) diff --git a/.gitignore b/.gitignore index c154ff5..35676ff 100644 --- a/.gitignore +++ b/.gitignore @@ -177,3 +177,6 @@ fabric.properties # Docker compose.yml compose.bake.yml + +# Vite +pwa/vite.config.ts.timestamp-*.mjs diff --git a/pwa/package.json b/pwa/package.json index fadb991..df3c619 100644 --- a/pwa/package.json +++ b/pwa/package.json @@ -37,6 +37,7 @@ "@tanstack/eslint-plugin-query": "^5.43.1", "@tanstack/react-query": "^5.45.1", "@tanstack/react-query-devtools": "^5.45.1", + "@testing-library/dom": "^10.1.0", "@testing-library/jest-dom": "^6.4.6", "@testing-library/react": "^16.0.0", "@types/react": "^18.3.3", diff --git a/pwa/pnpm-lock.yaml b/pwa/pnpm-lock.yaml index 2258a6b..fdae94d 100644 --- a/pwa/pnpm-lock.yaml +++ b/pwa/pnpm-lock.yaml @@ -35,6 +35,9 @@ importers: '@tanstack/react-query-devtools': specifier: ^5.45.1 version: 5.45.1(@tanstack/react-query@5.45.1(react@18.3.1))(react@18.3.1) + '@testing-library/dom': + specifier: ^10.1.0 + version: 10.1.0 '@testing-library/jest-dom': specifier: ^6.4.6 version: 6.4.6(vitest@1.6.0(jsdom@24.1.0))