Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(deps): update all dependencies #2131

Merged
merged 9 commits into from Apr 19, 2022
Merged

fix(deps): update all dependencies #2131

merged 9 commits into from Apr 19, 2022

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Feb 28, 2022

WhiteSource Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence Type Update
@babel/core (source) 7.17.5 -> 7.17.9 age adoption passing confidence dependencies patch
@changesets/changelog-github 0.4.3 -> 0.4.4 age adoption passing confidence dependencies patch
@changesets/cli 2.21.0 -> 2.22.0 age adoption passing confidence dependencies minor
@commercetools-frontend/babel-preset-mc-app (source) 21.0.0 -> 21.3.4 age adoption passing confidence dependencies minor
@commercetools-frontend/babel-preset-mc-app (source) 21.0.0 -> 21.3.4 age adoption passing confidence devDependencies minor
@commercetools-frontend/eslint-config-mc-app (source) 21.0.0 -> 21.3.4 age adoption passing confidence dependencies minor
@commitlint/cli (source) 16.2.1 -> 16.2.3 age adoption passing confidence dependencies patch
@formatjs/cli 4.8.2 -> 4.8.3 age adoption passing confidence dependencies patch
@percy/cli 1.0.0-beta.75 -> 1.0.7 age adoption passing confidence dependencies patch
@percy/puppeteer 2.0.0 -> 2.0.1 age adoption passing confidence dependencies patch
@testing-library/dom 8.11.3 -> 8.13.0 age adoption passing confidence resolutions minor
@testing-library/jest-dom 5.16.2 -> 5.16.4 age adoption passing confidence dependencies patch
@testing-library/react 12.1.3 -> 12.1.5 age adoption passing confidence devDependencies patch
@testing-library/react 12.1.3 -> 12.1.5 age adoption passing confidence dependencies patch
@types/jest 27.4.0 -> 27.4.1 age adoption passing confidence dependencies patch
@types/lodash 4.14.178 -> 4.14.181 age adoption passing confidence dependencies patch
@types/node 16.11.25 -> 16.11.26 age adoption passing confidence dependencies patch
@typescript-eslint/eslint-plugin 5.12.1 -> 5.19.0 age adoption passing confidence dependencies minor
@typescript-eslint/parser 5.12.1 -> 5.19.0 age adoption passing confidence dependencies minor
@vitejs/plugin-react 1.2.0 -> 1.3.0 age adoption passing confidence devDependencies minor
babel-loader 8.2.3 -> 8.2.4 age adoption passing confidence dependencies patch
browserslist 4.19.3 -> 4.20.2 age adoption passing confidence dependencies minor
changesets/action v1.2.0 -> v1.2.2 age adoption passing confidence action patch
eslint (source) 8.9.0 -> 8.13.0 age adoption passing confidence dependencies minor
jest-localstorage-mock 2.4.19 -> 2.4.21 age adoption passing confidence dependencies patch
lint-staged 12.3.4 -> 12.3.7 age adoption passing confidence dependencies patch
postcss (source) 8.4.6 -> 8.4.12 age adoption passing confidence dependencies patch
prettier (source) 2.5.1 -> 2.6.2 age adoption passing confidence dependencies minor
prettier (source) 2.5.1 -> 2.6.2 age adoption passing confidence devDependencies minor
puppeteer 13.3.2 -> 13.5.2 age adoption passing confidence dependencies minor
react-from-dom 0.6.1 -> 0.6.2 age adoption passing confidence dependencies patch
react-select 5.2.2 -> 5.3.0 age adoption passing confidence dependencies minor
stylelint (source) 14.5.1 -> 14.6.1 age adoption passing confidence dependencies minor
ts-jest (source) 27.1.3 -> 27.1.4 age adoption passing confidence dependencies patch
ts-node (source) 10.5.0 -> 10.7.0 age adoption passing confidence dependencies minor
ts-node (source) 10.5.0 -> 10.7.0 age adoption passing confidence devDependencies minor
typescript (source) 4.5.5 -> 4.6.3 age adoption passing confidence dependencies minor
typescript (source) 4.5.5 -> 4.6.3 age adoption passing confidence devDependencies minor
vite 2.8.6 -> 2.9.1 age adoption passing confidence devDependencies minor
webpack 5.69.1 -> 5.72.0 age adoption passing confidence devDependencies minor
yaml-loader 0.6.0 -> 0.7.0 age adoption passing confidence dependencies minor
yarn 3.1.1 -> 3.2.0 age adoption passing confidence packageManager minor

Release Notes

babel/babel

v7.17.9

Compare Source

🐛 Bug Fix
💅 Polish
📝 Documentation
🏠 Internal

v7.17.8

Compare Source

👓 Spec Compliance
🐛 Bug Fix
↩️ Revert

v7.17.7

Compare Source

👓 Spec Compliance
🐛 Bug Fix
  • babel-helper-compilation-targets
  • babel-helper-module-transforms, babel-helper-simple-access, babel-plugin-transform-modules-amd, babel-plugin-transform-modules-commonjs, babel-plugin-transform-modules-umd
  • babel-parser
  • babel-helpers, babel-plugin-proposal-decorators
  • babel-generator
  • babel-helper-module-transforms, babel-plugin-transform-modules-commonjs
  • babel-helper-member-expression-to-functions, babel-plugin-proposal-class-properties, babel-plugin-proposal-private-methods, babel-plugin-transform-classes, babel-plugin-transform-object-super
  • babel-register
💅 Polish
🏠 Internal
changesets/changesets (@​changesets/changelog-github)

v0.4.4

Compare Source

Patch Changes
changesets/changesets (@​changesets/cli)

v2.22.0

Compare Source

Minor Changes
  • #​768 c87eba6 Thanks @​rohit-gohri! - Allow "commit" option to be more configurable. You can now point to a module (using a module name or a relative path) that might contain getAddMessage and/or getVersionMessage. This allows you to configure how the commit message is generated, if [skip ci] gets included, etc.
Patch Changes
  • #​776 ad7506d Thanks @​janosh! - changeset init will now configure baseBranch: "main" in the .changeset/config.json as the default value.

v2.21.1

Compare Source

Patch Changes
commercetools/merchant-center-application-kit (@​commercetools-frontend/babel-preset-mc-app)

v21.3.4

Compare Source

Patch Changes

v21.3.2

Compare Source

Patch Changes

v21.3.0

Compare Source

Patch Changes
commercetools/merchant-center-application-kit (@​commercetools-frontend/eslint-config-mc-app)

v21.3.4

Compare Source

Patch Changes

v21.3.1

Compare Source

Patch Changes

v21.3.0

Compare Source

Patch Changes
  • #​2526 e336802f Thanks @​emmenko! - Merge eslint-config-react-app into our @commercetools-frontend/eslint-config-mc-app. This should avoid any ESLint error related to merging different configs.
  • #​2521 913459f3 Thanks @​emmenko! - Define the BABEL_ENV variable in the ESLint config, to ensure VSCode is able to parse the Babel config.

v21.2.1

Compare Source

Patch Changes
conventional-changelog/commitlint

v16.2.3

Compare Source

Note: Version bump only for package @​commitlint/cli

formatjs/formatjs

v4.8.3

Note: Version bump only for package @​formatjs/cli

percy/cli

v1.0.7

Compare Source

What's Changed

🐛 Bug Fixes
⬆️⬇️ Dependency Updates

Full Changelog: percy/cli@v1.0.6...v1.0.7

v1.0.6

Compare Source

What's Changed

✨ Enhancements
🐛 Bug Fixes
🏗 Maintenance
⬆️⬇️ Dependency Updates

Full Changelog: percy/cli@v1.0.5...v1.0.6

v1.0.5

Compare Source

What's Changed
🐛 Bug Fixes

Full Changelog: percy/cli@v1.0.4...v1.0.5

v1.0.4

[


Configuration

📅 Schedule: "before 3am on Monday" (UTC).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Renovate will not automatically rebase this PR, because other commits have been found.

👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.


  • If you want to rebase/retry this PR, click this checkbox.

This PR has been generated by WhiteSource Renovate. View repository job log here.

@vercel
Copy link

vercel bot commented Feb 28, 2022

This pull request is being automatically deployed with Vercel (learn more).
To see the status of your deployment, click below or on the icon next to each commit.

🔍 Inspect: https://vercel.com/commercetools/ui-kit/3v8iv1RX41nQi8RNqRAd1RwCHScR
✅ Preview: https://ui-kit-git-renovate-all-commercetools.vercel.app

@renovate renovate bot added the 🤖 Type: Dependencies Dependency updates or something similar label Feb 28, 2022
@changeset-bot
Copy link

changeset-bot bot commented Feb 28, 2022

🦋 Changeset detected

Latest commit: 6001d7b

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 63 packages
Name Type
@commercetools-local/generator-package-json Patch
@commercetools-local/generator-readme Patch
@commercetools-uikit/calendar-utils Patch
@commercetools-uikit/icons Patch
@commercetools-uikit/async-creatable-select-input Patch
@commercetools-uikit/async-select-input Patch
@commercetools-uikit/creatable-select-input Patch
@commercetools-uikit/localized-money-input Patch
@commercetools-uikit/localized-multiline-text-input Patch
@commercetools-uikit/money-input Patch
@commercetools-uikit/select-input Patch
@commercetools-uikit/select-utils Patch
@commercetools-uikit/hooks Patch
visual-testing-app Patch
@commercetools-uikit/data-table-manager Patch
@commercetools-uikit/date-input Patch
@commercetools-uikit/date-range-input Patch
@commercetools-uikit/date-time-input Patch
@commercetools-uikit/collapsible-panel Patch
@commercetools-uikit/data-table Patch
@commercetools-uikit/field-label Patch
@commercetools-uikit/link Patch
@commercetools-uikit/notifications Patch
@commercetools-uikit/pagination Patch
@commercetools-uikit/primary-action-dropdown Patch
@commercetools-uikit/tag Patch
@commercetools-uikit/password-field Patch
@commercetools-uikit/checkbox-input Patch
@commercetools-uikit/input-utils Patch
@commercetools-uikit/localized-rich-text-input Patch
@commercetools-uikit/localized-text-input Patch
@commercetools-uikit/multiline-text-input Patch
@commercetools-uikit/radio-input Patch
@commercetools-uikit/rich-text-input Patch
@commercetools-uikit/rich-text-utils Patch
@commercetools-uikit/time-input Patch
@commercetools-frontend/ui-kit Patch
@commercetools-uikit/async-creatable-select-field Patch
@commercetools-uikit/inputs Patch
@commercetools-uikit/async-select-field Patch
@commercetools-uikit/search-select-input Patch
@commercetools-uikit/creatable-select-field Patch
@commercetools-uikit/localized-multiline-text-field Patch
@commercetools-uikit/money-field Patch
@commercetools-uikit/select-field Patch
@commercetools-uikit/collapsible-motion Patch
@commercetools-uikit/collapsible Patch
@commercetools-uikit/tooltip Patch
@commercetools-uikit/search-select-field Patch
@commercetools-uikit/date-field Patch
@commercetools-uikit/date-range-field Patch
@commercetools-uikit/date-time-field Patch
@commercetools-uikit/localized-text-field Patch
@commercetools-uikit/multiline-text-field Patch
@commercetools-uikit/number-field Patch
@commercetools-uikit/radio-field Patch
@commercetools-uikit/text-field Patch
@commercetools-uikit/time-field Patch
@commercetools-uikit/fields Patch
@commercetools-uikit/number-input Patch
@commercetools-uikit/password-input Patch
@commercetools-uikit/text-input Patch
@commercetools-uikit/toggle-input Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@CarlosCortizasCT
Copy link
Contributor

The problem here comes from this update in the react-select dependency.

So when going through the problem I figured out some inconsistencies in the way we use the AsyncSelectInput from the DataTableManager component.
I refactored the latter to use the former in a way that satisfies its use case (search through hidden columns and updating them externally to the component).

I updated the storybook story to showcase how we could implement filtering of hidden columns as an example.

Here is a visual example:
Components _ DataTable - DataTableManager ⋅ Storybook (3)

use: [
{ loader: require.resolve('json-loader') },
{ loader: require.resolve('yaml-loader') },
],
use: [{ loader: require.resolve('yaml-loader') }],
Copy link
Contributor

Choose a reason for hiding this comment

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

This change is caused by a breaking change update in yaml-loader dependency.
With the new 0.7.0 version, parsed files are returned as Javascript instead of JSON as before. This means we can't use the json-loader in the chain for .yaml files.

@CarlosCortizasCT
Copy link
Contributor

I found another problem with @percy/puppeteer dependency update to version 2.0.1 as it updates some internal dependencies (the problematic one is @percy/sdk-utils) to not transpile their published code which makes our tests to beak (jest not supporting ESModules).

I rollback that dependency update and tell renovate to not try to update it in the future (at least until we find a good solution about jest supporting modern javascript) in this commit.

@vercel
Copy link

vercel bot commented Apr 19, 2022

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated
ui-kit ✅ Ready (Inspect) Visit Preview Apr 19, 2022 at 11:59AM (UTC)

Copy link
Member

@emmenko emmenko left a comment

Choose a reason for hiding this comment

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

Looks good!

If you want, we can also mention in a separate changeset (for the data-table-manager) about the internal change.

Also, the branch needs to be rebased with main.
Thanks 🤗

@CarlosCortizasCT
Copy link
Contributor

Looks good!

If you want, we can also mention in a separate changeset (for the data-table-manager) about the internal change.

Also, the branch needs to be rebased with main. Thanks 🤗

I'm not very sure what to write in the separate changeset.
Please, take a look at what I added in this commit and let me know what you think about it.

Thanks

Co-authored-by: Nicola Molinari <nicola.molinari@commercetools.com>
Copy link
Member

@emmenko emmenko left a comment

Choose a reason for hiding this comment

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

🚀

@CarlosCortizasCT CarlosCortizasCT merged commit ac66de3 into main Apr 19, 2022
@CarlosCortizasCT CarlosCortizasCT deleted the renovate/all branch April 19, 2022 13:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🤖 Type: Dependencies Dependency updates or something similar
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants