From 71414b4b277c1d03bcbdc7d79483eec1d5814720 Mon Sep 17 00:00:00 2001 From: Nicola Molinari Date: Mon, 8 Jan 2024 09:55:16 +0100 Subject: [PATCH] chore: align deps versions (#3367) --- .changeset/brave-badgers-wait.md | 5 ++ .changeset/spotty-queens-jump.md | 5 ++ .../starter-typescript/package.json | 20 ++++---- packages/jest-preset-mc-app/package.json | 2 +- pnpm-lock.yaml | 48 +++++++------------ 5 files changed, 37 insertions(+), 43 deletions(-) create mode 100644 .changeset/brave-badgers-wait.md create mode 100644 .changeset/spotty-queens-jump.md diff --git a/.changeset/brave-badgers-wait.md b/.changeset/brave-badgers-wait.md new file mode 100644 index 0000000000..f277b60382 --- /dev/null +++ b/.changeset/brave-badgers-wait.md @@ -0,0 +1,5 @@ +--- +'@commercetools-frontend/jest-preset-mc-app': patch +--- + +Use version range for `@testing-library/jest-dom` diff --git a/.changeset/spotty-queens-jump.md b/.changeset/spotty-queens-jump.md new file mode 100644 index 0000000000..fb455e272b --- /dev/null +++ b/.changeset/spotty-queens-jump.md @@ -0,0 +1,5 @@ +--- +'@commercetools-applications/merchant-center-custom-view-template-starter-typescript': patch +--- + +Align dependency versions with other templates diff --git a/custom-views-templates/starter-typescript/package.json b/custom-views-templates/starter-typescript/package.json index 1439fb9720..c19221b252 100644 --- a/custom-views-templates/starter-typescript/package.json +++ b/custom-views-templates/starter-typescript/package.json @@ -20,8 +20,8 @@ }, "dependencies": { "@apollo/client": "3.7.14", - "@babel/core": "^7.20.12", - "@babel/runtime-corejs3": "^7.20.13", + "@babel/core": "^7.22.17", + "@babel/runtime-corejs3": "^7.22.15", "@commercetools-frontend/actions-global": "workspace:*", "@commercetools-frontend/application-components": "workspace:*", "@commercetools-frontend/application-config": "workspace:*", @@ -56,26 +56,26 @@ "@commercetools-uikit/text": "^16.12.0", "@commercetools-uikit/text-field": "^16.12.0", "@commercetools-uikit/text-input": "^16.12.0", - "@commercetools/sync-actions": "^5.3.1", + "@commercetools/sync-actions": "^5.14.0", "@emotion/react": "^11.11.1", "@formatjs/cli": "6.1.1", "@jest/types": "29.5.0", "@manypkg/cli": "0.20.0", - "@testing-library/dom": "^9.0.0", - "@testing-library/jest-dom": "^5.16.5", + "@testing-library/dom": "^9.3.1", + "@testing-library/jest-dom": "^5.17.0", "@testing-library/react": "12.1.5", "@testing-library/react-hooks": "8.0.1", - "@types/jest": "^29.5.1", - "@types/react": "^17.0.53", + "@types/jest": "^29.5.4", + "@types/react": "^17.0.56", "@types/react-dom": "^17.0.19", "@types/react-router": "^5.1.20", "@types/react-router-dom": "^5.3.3", - "@types/testing-library__jest-dom": "^5.14.5", + "@types/testing-library__jest-dom": "^5.14.9", "eslint": "8.40.0", "eslint-formatter-pretty": "4.1.0", "eslint-plugin-graphql": "^4.0.0", "formik": "2.2.9", - "graphql": "^16.6.0", + "graphql": "^16.8.0", "graphql-tag": "^2.12.6", "jest": "29.5.0", "jest-runner-eslint": "2.0.0", @@ -86,7 +86,7 @@ "prettier": "2.8.8", "react": "17.0.2", "react-dom": "17.0.2", - "react-intl": "^6.4.2", + "react-intl": "^6.4.5", "react-redux": "7.2.9", "react-router-dom": "5.3.4", "redux": "4.2.1", diff --git a/packages/jest-preset-mc-app/package.json b/packages/jest-preset-mc-app/package.json index 660414b22f..8ab7a72760 100644 --- a/packages/jest-preset-mc-app/package.json +++ b/packages/jest-preset-mc-app/package.json @@ -25,7 +25,7 @@ "@formatjs/intl-numberformat": "^8.7.1", "@formatjs/intl-pluralrules": "^5.2.5", "@sheerun/mutationobserver-shim": "0.3.3", - "@testing-library/jest-dom": "5.16.5", + "@testing-library/jest-dom": "^5.17.0", "babel-jest": "29.5.0", "babel-preset-jest": "29.5.0", "colors": "1.4.0", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 28aa0757c3..d852f8bb9f 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -950,12 +950,12 @@ importers: dependencies: '@apollo/client': specifier: 3.7.14 - version: 3.7.14(graphql@16.8.0)(react-dom@17.0.2)(react@17.0.2) + version: 3.7.14(graphql@16.8.1)(react-dom@17.0.2)(react@17.0.2) '@babel/core': - specifier: ^7.20.12 + specifier: ^7.22.17 version: 7.22.17 '@babel/runtime-corejs3': - specifier: ^7.20.13 + specifier: ^7.22.15 version: 7.22.15 '@commercetools-frontend/actions-global': specifier: workspace:* @@ -1060,7 +1060,7 @@ importers: specifier: ^16.12.0 version: 16.12.0(@types/react@17.0.56)(react-dom@17.0.2)(react-intl@6.4.5)(react@17.0.2)(typescript@5.0.4) '@commercetools/sync-actions': - specifier: ^5.3.1 + specifier: ^5.14.0 version: 5.14.0 '@emotion/react': specifier: ^11.11.1 @@ -1075,10 +1075,10 @@ importers: specifier: 0.20.0 version: 0.20.0 '@testing-library/dom': - specifier: ^9.0.0 + specifier: ^9.3.1 version: 9.3.1 '@testing-library/jest-dom': - specifier: ^5.16.5 + specifier: ^5.17.0 version: 5.17.0 '@testing-library/react': specifier: 12.1.5 @@ -1087,7 +1087,7 @@ importers: specifier: 8.0.1 version: 8.0.1(@types/react@17.0.56)(react-dom@17.0.2)(react@17.0.2) '@types/jest': - specifier: ^29.5.1 + specifier: ^29.5.4 version: 29.5.4 '@types/react': specifier: ^17.0.56 @@ -1102,7 +1102,7 @@ importers: specifier: ^5.3.3 version: 5.3.3 '@types/testing-library__jest-dom': - specifier: ^5.14.5 + specifier: ^5.14.9 version: 5.14.9 eslint: specifier: 8.40.0 @@ -1112,16 +1112,16 @@ importers: version: 4.1.0 eslint-plugin-graphql: specifier: ^4.0.0 - version: 4.0.0(@types/node@18.17.14)(graphql@16.8.0)(typescript@5.0.4) + version: 4.0.0(@types/node@18.17.14)(graphql@16.8.1)(typescript@5.0.4) formik: specifier: 2.2.9 version: 2.2.9(react@17.0.2) graphql: - specifier: ^16.6.0 - version: 16.8.0 + specifier: ^16.8.0 + version: 16.8.1 graphql-tag: specifier: ^2.12.6 - version: 2.12.6(graphql@16.8.0) + version: 2.12.6(graphql@16.8.1) jest: specifier: 29.5.0 version: 29.5.0(@types/node@18.17.14)(ts-node@10.9.1) @@ -1150,7 +1150,7 @@ importers: specifier: 17.0.2 version: 17.0.2(react@17.0.2) react-intl: - specifier: ^6.4.2 + specifier: ^6.4.5 version: 6.4.5(react@17.0.2)(typescript@5.0.4) react-redux: specifier: 7.2.9 @@ -2314,8 +2314,8 @@ importers: specifier: 0.3.3 version: 0.3.3 '@testing-library/jest-dom': - specifier: 5.16.5 - version: 5.16.5 + specifier: ^5.17.0 + version: 5.17.0 babel-jest: specifier: 29.5.0 version: 29.5.0(@babel/core@7.22.17) @@ -11057,7 +11057,7 @@ packages: dependencies: '@babel/core': 7.23.0 '@babel/plugin-transform-react-jsx': 7.22.15(@babel/core@7.23.0) - '@babel/runtime': 7.23.2 + '@babel/runtime': 7.22.15 '@emotion/babel-plugin': 11.11.0 '@emotion/babel-plugin-jsx-pragmatic': 0.2.1(@babel/core@7.23.0) @@ -15302,21 +15302,6 @@ packages: lz-string: 1.5.0 pretty-format: 27.5.1 - /@testing-library/jest-dom@5.16.5: - resolution: {integrity: sha512-N5ixQ2qKpi5OLYfwQmUb/5mSV9LneAcaUfp32pn4yCnpb8r/Yz0pXFPck21dIicKmi+ta5WRAknkZCfA8refMA==} - engines: {node: '>=8', npm: '>=6', yarn: '>=1'} - dependencies: - '@adobe/css-tools': 4.2.0 - '@babel/runtime': 7.22.15 - '@types/testing-library__jest-dom': 5.14.9 - aria-query: 5.1.3 - chalk: 3.0.0 - css.escape: 1.5.1 - dom-accessibility-api: 0.5.16 - lodash: 4.17.21 - redent: 3.0.0 - dev: false - /@testing-library/jest-dom@5.17.0: resolution: {integrity: sha512-ynmNeT7asXyH3aSVv4vvX4Rb+0qjOhdNHnO/3vuZNqPmhDpV/+rCSGwQ7bLcmU2cJ4dvoheIO85LQj0IbJHEtg==} engines: {node: '>=8', npm: '>=6', yarn: '>=1'} @@ -25994,7 +25979,6 @@ packages: chalk: 2.4.2 diff-match-patch: 1.0.5 dev: false - bundledDependencies: [] /jsonfile@4.0.0: resolution: {integrity: sha512-m6F1R3z8jjlf2imQHS2Qez5sjKWQzbuuhuJ/FKYFRZvPE3PuHcSMVZzfsLhGVOkfd20obL5SWEBew5ShlquNxg==}