Skip to content

Commit

Permalink
chore(deps): update all dependencies (#2318)
Browse files Browse the repository at this point in the history
* chore(deps): update all dependencies

* chore: downgrade apollo to 3.3.21

* chore(ci): add back silent reporter

* test: await for elements when checking links

* fix: downshift version resolution

* chore: downgrade downshift to 6.1.3

Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Nicola Molinari <nicola.molinari@commercetools.com>
  • Loading branch information
3 people authored Aug 4, 2021
1 parent c1c97be commit 83f2add
Show file tree
Hide file tree
Showing 30 changed files with 360 additions and 297 deletions.
29 changes: 29 additions & 0 deletions .changeset/orange-spies-grow.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
---
'merchant-center-application-template-starter': patch
'@commercetools-backend/express': patch
'@commercetools-backend/loggers': patch
'@commercetools-frontend/actions-global': patch
'@commercetools-frontend/application-components': patch
'@commercetools-frontend/application-config': patch
'@commercetools-frontend/application-shell': patch
'@commercetools-frontend/application-shell-connectors': patch
'@commercetools-frontend/babel-preset-mc-app': patch
'@commercetools-frontend/browser-history': patch
'@commercetools-frontend/constants': patch
'@commercetools-frontend/cypress': patch
'@commercetools-frontend/eslint-config-mc-app': patch
'@commercetools-frontend/i18n': patch
'@commercetools-frontend/l10n': patch
'@commercetools-frontend/mc-html-template': patch
'@commercetools-frontend/mc-scripts': patch
'@commercetools-frontend/notifications': patch
'@commercetools-frontend/permissions': patch
'@commercetools-frontend/react-notifications': patch
'@commercetools-frontend/sdk': patch
'@commercetools-frontend/sentry': patch
'@commercetools-frontend/url-utils': patch
'playground': patch
'@commercetools-website/components-playground': patch
---

Update all dependencies
2 changes: 1 addition & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ jobs:
run: yarn typecheck

- name: Running linters and tests
run: yarn jest --projects jest.{eslint,stylelint,test,text}.config.js
run: yarn jest --projects jest.{eslint,stylelint,test,text}.config.js --reporters jest-silent-reporter
env:
CI: true
RTL_ASYNC_UTIL_TIMEOUT: 5000
Expand Down
2 changes: 1 addition & 1 deletion application-templates/starter/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
"react-intl": "5.20.6",
"react-redux": "7.2.4",
"react-router-dom": "5.2.0",
"redux": "4.1.0"
"redux": "4.1.1"
},
"devDependencies": {
"@commercetools-frontend/jest-preset-mc-app": "20.9.0",
Expand Down
15 changes: 7 additions & 8 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -105,17 +105,17 @@
"@commitlint/cli": "13.1.0",
"@commitlint/config-conventional": "13.1.0",
"@formatjs/cli": "4.2.29",
"@graphql-cli/codegen": "1.17.26",
"@graphql-cli/codegen": "1.17.27",
"@graphql-cli/coverage": "2.1.0",
"@graphql-cli/validate": "2.1.0",
"@graphql-codegen/add": "2.0.2",
"@graphql-codegen/cli": "1.21.7",
"@graphql-codegen/cli": "1.21.8",
"@graphql-codegen/introspection": "1.18.2",
"@graphql-codegen/typescript": "1.23.0",
"@graphql-codegen/typescript-graphql-files-modules": "1.18.1",
"@graphql-codegen/typescript-operations": "1.18.4",
"@manypkg/cli": "0.18.0",
"@percy/cli": "1.0.0-beta.60",
"@percy/cli": "1.0.0-beta.62",
"@percy/cypress": "3.1.1",
"@percy/puppeteer": "2.0.0",
"@preconstruct/cli": "2.1.0",
Expand All @@ -139,7 +139,7 @@
"cross-env": "7.0.3",
"cypress": "7.7.0",
"dotenv": "10.0.0",
"eslint": "7.31.0",
"eslint": "7.32.0",
"eslint-formatter-pretty": "4.1.0",
"eslint-plugin-graphql": "4.0.0",
"faker": "5.5.3",
Expand Down Expand Up @@ -176,15 +176,14 @@
},
"resolutions": {
"@babel/core": "7.14.8",
"@babel/preset-env": "7.14.8",
"@babel/preset-env": "7.14.9",
"@pmmmwh/react-refresh-webpack-plugin": "0.5.0-rc.2",
"@types/puppeteer": "5.4.4",
"@types/react-router": "5.1.16",
"@typescript-eslint/eslint-plugin": "4.28.5",
"@typescript-eslint/parser": "4.28.5",
"@typescript-eslint/eslint-plugin": "4.29.0",
"@typescript-eslint/parser": "4.29.0",
"graphql": "15.5.1",
"intl-messageformat-parser": "6.4.4",
"**/intl-messageformat-parser": "6.4.4",
"react-intl": "5.20.6"
},
"engines": {
Expand Down
4 changes: 2 additions & 2 deletions packages-backend/express/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,14 +21,14 @@
"files": ["dist", "package.json", "LICENSE", "README.md"],
"dependencies": {
"@babel/runtime": "7.14.8",
"@babel/runtime-corejs3": "7.14.8",
"@babel/runtime-corejs3": "7.14.9",
"@types/node": "15.6.1",
"express": "4.17.1",
"express-jwt": "6.0.0",
"jwks-rsa": "2.0.4"
},
"devDependencies": {
"jose": "2.0.5",
"msw": "0.33.0"
"msw": "0.33.2"
}
}
2 changes: 1 addition & 1 deletion packages-backend/loggers/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
"files": ["dist", "package.json", "LICENSE", "README.md"],
"dependencies": {
"@babel/runtime": "7.14.8",
"@babel/runtime-corejs3": "7.14.8",
"@babel/runtime-corejs3": "7.14.9",
"@sentry/node": "6.10.0",
"@types/triple-beam": "1.3.2",
"express-winston": "4.1.0",
Expand Down
4 changes: 2 additions & 2 deletions packages/actions-global/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
},
"dependencies": {
"@babel/runtime": "7.14.8",
"@babel/runtime-corejs3": "7.14.8",
"@babel/runtime-corejs3": "7.14.9",
"@commercetools-frontend/browser-history": "20.9.0",
"@commercetools-frontend/constants": "20.8.0",
"@commercetools-frontend/notifications": "20.8.0",
Expand All @@ -37,7 +37,7 @@
"devDependencies": {
"react": "17.0.2",
"react-redux": "7.2.4",
"redux": "4.1.0"
"redux": "4.1.1"
},
"peerDependencies": {
"react": "17.x",
Expand Down
2 changes: 1 addition & 1 deletion packages/application-components/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
},
"dependencies": {
"@babel/runtime": "7.14.8",
"@babel/runtime-corejs3": "7.14.8",
"@babel/runtime-corejs3": "7.14.9",
"@commercetools-frontend/application-shell-connectors": "20.9.0",
"@commercetools-frontend/assets": "20.8.0",
"@commercetools-frontend/constants": "20.8.0",
Expand Down
4 changes: 2 additions & 2 deletions packages/application-config/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,10 +33,10 @@
"dependencies": {
"@babel/register": "7.14.5",
"@babel/runtime": "7.14.8",
"@babel/runtime-corejs3": "7.14.8",
"@babel/runtime-corejs3": "7.14.9",
"@commercetools-frontend/babel-preset-mc-app": "20.9.0",
"ajv": "8.6.2",
"core-js": "3.15.2",
"core-js": "3.16.0",
"cosmiconfig": "7.0.0",
"lodash": "4.17.21",
"omit-empty-es": "1.1.3"
Expand Down
2 changes: 1 addition & 1 deletion packages/application-shell-connectors/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
},
"dependencies": {
"@babel/runtime": "7.14.8",
"@babel/runtime-corejs3": "7.14.8",
"@babel/runtime-corejs3": "7.14.9",
"@commercetools-frontend/constants": "20.8.0",
"@commercetools-frontend/sentry": "20.8.0",
"@emotion/react": "11.4.0",
Expand Down
6 changes: 3 additions & 3 deletions packages/application-shell/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
},
"dependencies": {
"@babel/runtime": "7.14.8",
"@babel/runtime-corejs3": "7.14.8",
"@babel/runtime-corejs3": "7.14.9",
"@commercetools-frontend/actions-global": "20.9.0",
"@commercetools-frontend/application-components": "20.9.0",
"@commercetools-frontend/application-shell-connectors": "20.9.0",
Expand Down Expand Up @@ -102,13 +102,13 @@
"@apollo/client": "3.3.21",
"@testing-library/react": "12.0.0",
"@testing-library/react-hooks": "7.0.1",
"msw": "0.33.0",
"msw": "0.33.2",
"react": "17.0.2",
"react-dom": "17.0.2",
"react-intl": "5.20.6",
"react-redux": "7.2.4",
"react-router-dom": "5.2.0",
"redux": "4.1.0",
"redux": "4.1.1",
"wait-for-observables": "1.0.3"
},
"peerDependencies": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,8 @@ const createGraphqlResponse = (custom = {}) => ({
},
...custom,
});
const linkChecker = () => (label, href) => {
const link = screen.queryByText(label);
const linkChecker = () => async (label, href) => {
const link = await screen.findByText(label);
expect(link.closest('a')).toHaveAttribute('href', href);
};

Expand Down Expand Up @@ -66,16 +66,16 @@ describe('rendering', () => {
const checkLink = linkChecker();

// Projects link
checkLink('Projects', '/account/projects');
await checkLink('Projects', '/account/projects');
// Privacy link
checkLink(
await checkLink(
'Privacy Policy',
'https://commercetools.com/privacy#suppliers'
);
// Support link
checkLink('Support', SUPPORT_PORTAL_URL);
await checkLink('Support', SUPPORT_PORTAL_URL);
// Logout link
checkLink('Logout', `/logout?reason=${LOGOUT_REASONS.USER}`);
await checkLink('Logout', `/logout?reason=${LOGOUT_REASONS.USER}`);
});
});
describe('when fetching dev menu config', () => {
Expand All @@ -97,16 +97,16 @@ describe('rendering', () => {
const checkLink = linkChecker();

// Projects link
checkLink('Projects', '/account/projects');
await checkLink('Projects', '/account/projects');
// Privacy link
checkLink(
await checkLink(
'Privacy Policy',
'https://commercetools.com/privacy#suppliers'
);
// Support link
checkLink('Support', SUPPORT_PORTAL_URL);
await checkLink('Support', SUPPORT_PORTAL_URL);
// Logout link
checkLink('Logout', `/logout?reason=${LOGOUT_REASONS.USER}`);
await checkLink('Logout', `/logout?reason=${LOGOUT_REASONS.USER}`);
});
});
describe('when clicking on the projects link', () => {
Expand Down
8 changes: 4 additions & 4 deletions packages/babel-preset-mc-app/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,23 +26,23 @@
"@babel/plugin-proposal-export-namespace-from": "7.14.5",
"@babel/plugin-proposal-logical-assignment-operators": "7.14.5",
"@babel/plugin-proposal-object-rest-spread": "7.14.7",
"@babel/plugin-transform-classes": "7.14.5",
"@babel/plugin-transform-classes": "7.14.9",
"@babel/plugin-transform-destructuring": "7.14.7",
"@babel/plugin-transform-react-display-name": "7.14.5",
"@babel/plugin-transform-regenerator": "7.14.5",
"@babel/plugin-transform-runtime": "7.14.5",
"@babel/preset-env": "7.14.8",
"@babel/preset-env": "7.14.9",
"@babel/preset-react": "7.14.5",
"@babel/preset-typescript": "7.14.5",
"@babel/runtime": "7.14.8",
"@babel/runtime-corejs3": "7.14.8",
"@babel/runtime-corejs3": "7.14.9",
"@emotion/babel-plugin": "11.3.0",
"@emotion/babel-preset-css-prop": "11.2.0",
"babel-plugin-dev-expression": "0.2.2",
"babel-plugin-lodash": "3.3.4",
"babel-plugin-macros": "3.1.0",
"babel-plugin-preval": "5.0.0",
"babel-plugin-transform-react-remove-prop-types": "0.4.24",
"core-js": "3.15.2"
"core-js": "3.16.0"
}
}
2 changes: 1 addition & 1 deletion packages/browser-history/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
},
"dependencies": {
"@babel/runtime": "7.14.8",
"@babel/runtime-corejs3": "7.14.8",
"@babel/runtime-corejs3": "7.14.9",
"@types/history": "4.7.9",
"history": "4.10.1",
"history-query-enhancer": "1.0.4",
Expand Down
2 changes: 1 addition & 1 deletion packages/constants/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,6 @@
},
"dependencies": {
"@babel/runtime": "7.14.8",
"@babel/runtime-corejs3": "7.14.8"
"@babel/runtime-corejs3": "7.14.9"
}
}
2 changes: 1 addition & 1 deletion packages/cypress/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@
},
"dependencies": {
"@babel/runtime": "7.14.8",
"@babel/runtime-corejs3": "7.14.8",
"@babel/runtime-corejs3": "7.14.9",
"@commercetools-frontend/application-config": "20.9.2",
"@manypkg/get-packages": "1.1.1",
"uuid": "8.3.2"
Expand Down
2 changes: 1 addition & 1 deletion packages/eslint-config-mc-app/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,6 @@
"eslint": ">=7.0.0"
},
"devDependencies": {
"eslint": "7.31.0"
"eslint": "7.32.0"
}
}
2 changes: 1 addition & 1 deletion packages/i18n/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
},
"dependencies": {
"@babel/runtime": "7.14.8",
"@babel/runtime-corejs3": "7.14.8",
"@babel/runtime-corejs3": "7.14.9",
"@commercetools-community-kit/i18n": "^0.2.7",
"@commercetools-frontend/sentry": "20.8.0",
"@commercetools-uikit/i18n": "^12.0.7",
Expand Down
4 changes: 2 additions & 2 deletions packages/l10n/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
},
"dependencies": {
"@babel/runtime": "7.14.8",
"@babel/runtime-corejs3": "7.14.8",
"@babel/runtime-corejs3": "7.14.9",
"@commercetools-frontend/sentry": "20.8.0",
"@emotion/react": "11.4.0",
"@types/prop-types": "^15.7.3",
Expand All @@ -35,7 +35,7 @@
},
"devDependencies": {
"@testing-library/react-hooks": "7.0.1",
"chalk": "4.1.1",
"chalk": "4.1.2",
"cldr": "7.1.0",
"deep-diff": "1.0.2",
"moment-timezone": "^0.5.32",
Expand Down
6 changes: 3 additions & 3 deletions packages/mc-html-template/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,16 +32,16 @@
},
"dependencies": {
"@babel/runtime": "7.14.8",
"@babel/runtime-corejs3": "7.14.8",
"@babel/runtime-corejs3": "7.14.9",
"@commercetools-frontend/application-config": "20.9.2",
"core-js": "3.15.2",
"core-js": "3.16.0",
"serialize-javascript": "6.0.0",
"uglify-es": "3.3.9",
"uglifycss": "0.0.29"
},
"devDependencies": {
"@babel/plugin-transform-runtime": "7.14.5",
"@babel/preset-env": "7.14.8"
"@babel/preset-env": "7.14.9"
},
"engines": {
"node": ">=12 || >=14"
Expand Down
10 changes: 5 additions & 5 deletions packages/mc-scripts/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
},
"dependencies": {
"@babel/runtime": "7.14.8",
"@babel/runtime-corejs3": "7.14.8",
"@babel/runtime-corejs3": "7.14.9",
"@commercetools-frontend/application-config": "20.9.2",
"@commercetools-frontend/assets": "20.8.0",
"@commercetools-frontend/babel-preset-mc-app": "20.9.0",
Expand All @@ -41,8 +41,8 @@
"@svgr/webpack": "5.5.0",
"autoprefixer": "10.3.1",
"babel-loader": "8.2.2",
"browserslist": "4.16.6",
"core-js": "3.15.2",
"browserslist": "4.16.7",
"core-js": "3.16.0",
"css-loader": "5.2.7",
"css-minimizer-webpack-plugin": "3.0.2",
"dotenv": "10.0.0",
Expand All @@ -69,14 +69,14 @@
"svg-url-loader": "7.1.1",
"terser-webpack-plugin": "5.1.4",
"thread-loader": "3.0.4",
"webpack": "5.46.0",
"webpack": "5.48.0",
"webpack-bundle-analyzer": "4.4.2",
"webpack-dev-server": "4.0.0-rc.0",
"webpackbar": "5.0.0-3"
},
"devDependencies": {
"@babel/plugin-transform-runtime": "7.14.5",
"@babel/preset-env": "7.14.8"
"@babel/preset-env": "7.14.9"
},
"engines": {
"node": ">=12 || >=14"
Expand Down
Loading

1 comment on commit 83f2add

@vercel
Copy link

@vercel vercel bot commented on 83f2add Aug 4, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.