Skip to content

Commit

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

* fix: explicitly include @motion/styled-base and use yarn resolution for all emotion deps

* docs: start documenting deps patches

* fix: silence react-intl warnings about pre-compiling message translations

* chore: remove unnecessary @types/graphql dependency

As suggested by the library log during installation

* chore: add changeset

Co-authored-by: Renovate Bot <[email protected]>
Co-authored-by: Nicola Molinari <[email protected]>
Co-authored-by: Tobias Deekens <[email protected]>
  • Loading branch information
4 people authored Aug 17, 2020
1 parent 48af7b7 commit f144292
Show file tree
Hide file tree
Showing 31 changed files with 1,078 additions and 1,382 deletions.
30 changes: 30 additions & 0 deletions .changeset/fifty-walls-allow.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
---
"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-connectors": patch
"@commercetools-frontend/application-shell": patch
"@commercetools-frontend/babel-preset-mc-app": patch
"@commercetools-frontend/browser-history": patch
"@commercetools-frontend/constants": patch
"@commercetools-frontend/i18n": patch
"@commercetools-frontend/jest-preset-mc-app": 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-local/visual-testing-app": patch
"@commercetools-website/custom-applications": patch
"@commercetools-website/components-playground": patch
---

fix(deps): update all dependencies
15 changes: 15 additions & 0 deletions DEPENDENCY_PATCHES.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
# Dependency Patches

This document is meant to keep track of the **dependency patches** that are currently being used in this repository.

This includes things like using Yarn `resolutions` field, pinning dependency versions, etc.

We use a document to give context around the patches, to link to possible issues etc. Whenever we can get rid of the patch, please remove the related entry in this document as well.

**`@emotion/styled-base`**

We need to explicitly include this dependency in order for Yarn workspaces to hoist it and being available to the emotion packages.

See https://github.com/commercetools/ui-kit/issues/1491

Furthermore, because the UI-Kit emotion dependencies might be "older" than the emotion versions used by consumers, we also need to use Yarn resolution to force all emotion dependencies to be the same.
10 changes: 5 additions & 5 deletions application-templates/starter/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,27 +20,27 @@
"@commercetools-frontend/i18n": "16.15.9",
"@commercetools-frontend/mc-http-server": "16.15.8",
"@commercetools-frontend/permissions": "16.15.9",
"@commercetools-uikit/flat-button": "10.27.0",
"@commercetools-uikit/flat-button": "10.27.1",
"@commercetools-uikit/icons": "10.24.0",
"@commercetools-uikit/spacings": "10.18.5",
"@commercetools-uikit/spacings": "10.18.6",
"@commercetools-uikit/text": "10.27.0",
"apollo-client": "2.6.10",
"bulk-update-versions": "1.1.0",
"prop-types": "15.7.2",
"react": "16.13.1",
"react-apollo": "3.1.5",
"react-dom": "16.13.1",
"react-intl": "5.4.2",
"react-intl": "5.6.0",
"react-redux": "7.2.1",
"react-router-dom": "5.2.0",
"redux": "4.0.5"
},
"devDependencies": {
"@commercetools-frontend/jest-preset-mc-app": "16.15.8",
"@commercetools-frontend/mc-scripts": "16.15.8",
"@testing-library/react": "10.4.7",
"@testing-library/react": "10.4.8",
"dotenv-cli": "3.2.0",
"enzyme": "3.11.0",
"jest": "26.1.0"
"jest": "26.4.0"
}
}
90 changes: 48 additions & 42 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -66,75 +66,75 @@
},
"devDependencies": {
"@babel/cli": "7.10.5",
"@babel/core": "7.10.5",
"@babel/core": "7.11.1",
"@changesets/changelog-github": "0.2.6",
"@changesets/cli": "2.9.2",
"@changesets/cli": "2.10.0",
"@commercetools-docs/writing-style": "3.0.0",
"@commercetools-uikit/design-system": "10.18.4",
"@commercetools/github-labels": "1.1.0",
"@commitlint/cli": "9.1.1",
"@commitlint/config-conventional": "9.1.1",
"@graphql-codegen/add": "1.17.6",
"@graphql-codegen/cli": "1.17.6",
"@graphql-codegen/typescript": "1.17.6",
"@graphql-codegen/typescript-graphql-files-modules": "1.17.6",
"@graphql-codegen/typescript-operations": "1.17.6",
"@graphql-codegen/add": "1.17.7",
"@graphql-codegen/cli": "1.17.8",
"@graphql-codegen/typescript": "1.17.8",
"@graphql-codegen/typescript-graphql-files-modules": "1.17.8",
"@graphql-codegen/typescript-operations": "1.17.8",
"@percy/cypress": "2.3.1",
"@percy/puppeteer": "1.1.0",
"@rollup/plugin-babel": "5.1.0",
"@rollup/plugin-babel": "5.2.0",
"@rollup/plugin-commonjs": "14.0.0",
"@rollup/plugin-json": "4.1.0",
"@rollup/plugin-node-resolve": "8.4.0",
"@testing-library/cypress": "6.0.0",
"@testing-library/react": "10.4.7",
"@testing-library/react": "10.4.8",
"@types/enzyme": "3.10.5",
"@types/jquery": "3.5.0",
"@types/node": "14.0.26",
"@types/react": "16.9.43",
"@types/jquery": "3.5.1",
"@types/node": "14.0.27",
"@types/react": "16.9.46",
"@types/react-dom": "16.9.8",
"@types/react-redux": "7.1.9",
"@types/react-router": "5.1.8",
"@types/react-router-dom": "5.1.5",
"@types/uuid": "8.0.0",
"@types/uuid": "8.3.0",
"@types/webpack": "4.41.21",
"@types/webpack-env": "1.15.2",
"@typescript-eslint/eslint-plugin": "3.7.0",
"@typescript-eslint/parser": "3.7.0",
"@typescript-eslint/eslint-plugin": "3.9.0",
"@typescript-eslint/parser": "3.9.0",
"apollo-server-errors": "2.4.2",
"babel-eslint": "10.1.0",
"babel-plugin-import-graphql": "2.7.0",
"babel-plugin-transform-rename-import": "2.3.0",
"babel-plugin-typescript-to-proptypes": "1.4.0",
"bulk-update-versions": "1.1.0",
"cross-env": "7.0.2",
"cypress": "4.11.0",
"cypress": "4.12.1",
"cypress-graphql-mock": "0.3.1",
"dotenv": "8.2.0",
"enzyme": "3.11.0",
"eslint": "7.5.0",
"eslint": "7.6.0",
"eslint-config-airbnb-base": "14.2.0",
"eslint-config-prettier": "6.11.0",
"eslint-formatter-pretty": "4.0.0",
"eslint-import-resolver-typescript": "2.0.0",
"eslint-import-resolver-typescript": "2.2.0",
"eslint-plugin-babel": "5.3.1",
"eslint-plugin-cypress": "2.11.1",
"eslint-plugin-graphql": "4.0.0",
"eslint-plugin-import": "2.22.0",
"eslint-plugin-jest": "23.18.2",
"eslint-plugin-jest-dom": "3.1.4",
"eslint-plugin-jest": "23.20.0",
"eslint-plugin-jest-dom": "3.1.7",
"eslint-plugin-jsx-a11y": "6.3.1",
"eslint-plugin-prefer-object-spread": "1.2.1",
"eslint-plugin-prettier": "3.1.4",
"eslint-plugin-react": "7.20.4",
"eslint-plugin-react": "7.20.6",
"eslint-plugin-react-hooks": "4.0.8",
"eslint-plugin-testing-library": "3.3.2",
"eslint-plugin-testing-library": "3.6.0",
"faker": "4.1.0",
"gatsby-plugin-emotion": "4.3.10",
"gatsby-plugin-mdx": "1.2.34",
"graphql-cli": "3.0.14",
"husky": "4.2.5",
"jest": "26.1.0",
"jest-each": "26.1.0",
"jest": "26.4.0",
"jest-each": "26.4.0",
"jest-puppeteer": "4.4.0",
"jest-runner-eslint": "0.10.0",
"jest-runner-executor": "1.0.0",
Expand All @@ -152,13 +152,13 @@
"rcfile": "1.0.3",
"read-pkg-up": "7.0.1",
"replace": "1.2.0",
"rollup": "2.23.0",
"rollup": "2.25.0",
"rollup-plugin-node-builtins": "2.1.2",
"rollup-plugin-peer-deps-external": "2.2.3",
"rollup-plugin-postcss": "3.1.3",
"rollup-plugin-postcss": "3.1.5",
"rosie": "2.0.1",
"shelljs": "0.8.4",
"start-server-and-test": "1.11.2",
"start-server-and-test": "1.11.3",
"stylelint": "13.6.1",
"stylelint-config-prettier": "8.0.2",
"stylelint-config-standard": "20.0.0",
Expand All @@ -169,23 +169,29 @@
"xhr-mock": "2.5.1"
},
"resolutions": {
"@formatjs/intl-utils": "3.8.2",
"@formatjs/intl-displaynames": "3.1.6",
"**/@formatjs/intl-utils": "3.8.2",
"**/@formatjs/intl-displaynames": "3.1.6",
"@mdx-js/mdx": "1.6.14",
"**/@mdx-js/mdx": "1.6.14",
"@mdx-js/react": "1.6.14",
"**/@mdx-js/react": "1.6.14",
"@formatjs/intl-utils": "3.8.3",
"@formatjs/intl-displaynames": "3.2.1",
"**/@formatjs/intl-utils": "3.8.3",
"**/@formatjs/intl-displaynames": "3.2.1",
"@mdx-js/mdx": "1.6.16",
"**/@mdx-js/mdx": "1.6.16",
"@mdx-js/react": "1.6.16",
"**/@mdx-js/react": "1.6.16",
"**/gatsby-link": "2.4.13",
"@sentry/types": "5.20.1",
"**/@sentry/types": "5.20.1",
"@types/react": "16.9.43",
"@sentry/types": "5.21.1",
"**/@sentry/types": "5.21.1",
"@types/react": "16.9.46",
"@types/react-router": "5.1.8",
"**/react-intl": "5.4.2",
"**/sharp": "0.23.3",
"cypress": "4.11.0",
"pretty-format": "26.1.0"
"**/react-intl": "5.6.0",
"**/sharp": "0.25.4",
"cypress": "4.12.1",
"pretty-format": "26.4.0",
"@emotion/core": "10.0.34",
"@emotion/styled": "10.0.27",
"@emotion/styled-base": "10.0.31",
"**/@emotion/core": "10.0.34",
"**/@emotion/styled": "10.0.27",
"**/@emotion/styled-base": "10.0.31"
},
"engines": {
"node": ">=12",
Expand Down
6 changes: 3 additions & 3 deletions packages-backend/express/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,13 +36,13 @@
"build": "tsc -p tsconfig.build.json"
},
"dependencies": {
"@types/node": "14.0.26",
"@types/node": "14.0.27",
"express": "4.17.1",
"express-jwt": "6.0.0",
"jwks-rsa": "1.8.1"
},
"devDependencies": {
"jose": "1.27.2",
"nock": "13.0.2"
"jose": "1.28.0",
"nock": "13.0.4"
}
}
4 changes: 2 additions & 2 deletions packages-backend/loggers/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,11 +36,11 @@
"build": "tsc -p tsconfig.build.json"
},
"dependencies": {
"@sentry/node": "5.20.1",
"@sentry/node": "5.21.1",
"@types/triple-beam": "1.3.1",
"express-winston": "4.0.5",
"fast-safe-stringify": "2.0.7",
"lodash": "4.17.19",
"lodash": "4.17.20",
"logform": "2.2.0",
"triple-beam": "1.3.0",
"winston": "3.3.3"
Expand Down
6 changes: 3 additions & 3 deletions packages/actions-global/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -39,13 +39,13 @@
"build:typings": "cross-env tsc -p tsconfig.declarations.json --emitDeclarationOnly --declarationDir dist/typings"
},
"dependencies": {
"@babel/runtime": "7.10.5",
"@babel/runtime-corejs3": "7.10.5",
"@babel/runtime": "7.11.2",
"@babel/runtime-corejs3": "7.11.2",
"@commercetools-frontend/browser-history": "16.15.3",
"@commercetools-frontend/constants": "16.15.9",
"@commercetools-frontend/notifications": "16.15.3",
"@types/lodash": "^4.14.155",
"lodash": "4.17.19",
"lodash": "4.17.20",
"lodash-es": "4.17.15",
"redux-thunk": "2.3.0"
},
Expand Down
11 changes: 6 additions & 5 deletions packages/application-components/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,8 @@
"build:typings": "cross-env tsc -p tsconfig.declarations.json --emitDeclarationOnly --declarationDir dist/typings"
},
"dependencies": {
"@babel/runtime": "7.10.5",
"@babel/runtime-corejs3": "7.10.5",
"@babel/runtime": "7.11.2",
"@babel/runtime-corejs3": "7.11.2",
"@commercetools-frontend/assets": "16.15.3",
"@commercetools-frontend/constants": "16.15.9",
"@commercetools-frontend/i18n": "16.15.9",
Expand All @@ -53,12 +53,13 @@
"@commercetools-uikit/secondary-icon-button": "^10.21.0",
"@commercetools-uikit/spacings": "^10.18.5",
"@commercetools-uikit/text": "^10.21.0",
"@emotion/core": "10.0.28",
"@emotion/core": "10.0.34",
"@emotion/styled": "10.0.27",
"@emotion/styled-base": "10.0.31",
"@types/lodash": "^4.14.155",
"@types/prop-types": "^15.7.3",
"@types/react-modal": "^3.10.4",
"lodash": "4.17.19",
"lodash": "4.17.20",
"lodash-es": "4.17.15",
"prop-types": "15.7.2",
"react-modal": "3.11.2",
Expand All @@ -67,7 +68,7 @@
"devDependencies": {
"react": "16.13.1",
"react-dom": "16.13.1",
"react-intl": "5.4.2"
"react-intl": "5.6.0"
},
"peerDependencies": {
"@commercetools-frontend/ui-kit": "10.x",
Expand Down
10 changes: 5 additions & 5 deletions packages/application-config/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -42,17 +42,17 @@
"build:typings": "cross-env tsc -p tsconfig.declarations.json --emitDeclarationOnly --declarationDir build/typings"
},
"dependencies": {
"@babel/runtime": "7.10.5",
"@babel/runtime-corejs3": "7.10.5",
"@babel/runtime": "7.11.2",
"@babel/runtime-corejs3": "7.11.2",
"ajv": "6.12.3",
"core-js": "3.6.5",
"cosmiconfig": "7.0.0",
"lodash": "4.17.19",
"lodash": "4.17.20",
"omit-empty-es": "1.0.3"
},
"devDependencies": {
"@babel/plugin-transform-runtime": "7.10.5",
"@babel/preset-env": "7.10.4",
"@babel/plugin-transform-runtime": "7.11.0",
"@babel/preset-env": "7.11.0",
"@babel/preset-typescript": "7.10.4",
"json-schema-to-typescript": "9.1.1",
"shelljs": "0.8.4"
Expand Down
9 changes: 4 additions & 5 deletions packages/application-shell-connectors/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -42,26 +42,25 @@
"postbuild:typings": "echo \"export * from '../dist/typings/test-utils';\" > test-utils/index.d.ts"
},
"dependencies": {
"@babel/runtime": "7.10.5",
"@babel/runtime-corejs3": "7.10.5",
"@babel/runtime": "7.11.2",
"@babel/runtime-corejs3": "7.11.2",
"@commercetools-frontend/constants": "16.15.9",
"@commercetools-frontend/sentry": "16.15.9",
"@types/graphql": "^14.5.0",
"@types/lodash": "^4.14.155",
"@types/prop-types": "^15.7.3",
"apollo-cache-inmemory": "1.6.6",
"apollo-client": "2.6.10",
"apollo-link-http": "1.5.17",
"graphql": "14.7.0",
"graphql-tag": "^2.10.4",
"lodash": "4.17.19",
"lodash": "4.17.20",
"lodash-es": "4.17.15",
"moment-timezone": "^0.5.26",
"prop-types": "15.7.2"
},
"devDependencies": {
"@apollo/react-testing": "3.1.4",
"@testing-library/react": "10.4.7",
"@testing-library/react": "10.4.8",
"react": "16.13.1",
"react-apollo": "3.1.5"
},
Expand Down
Loading

1 comment on commit f144292

@vercel
Copy link

@vercel vercel bot commented on f144292 Aug 17, 2020

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.