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

chore: replace rcfile with Prettier API for reading Prettier config #2958

Merged
merged 1 commit into from
Feb 10, 2023

Conversation

kark
Copy link
Contributor

@kark kark commented Feb 9, 2023

Summary

Partway towards resolving #2953.
We use [email protected] in create-mc-app, mc-scripts and l10n packages for reading Prettier config. The package is used in the most recent version but it hasn't been updated by the library authors for years. The package uses [email protected] under the hood and there is a reported issue with the json5 that causes the Dependabot alert.

We can use the native Prettier API for reading Prettier config.

@changeset-bot
Copy link

changeset-bot bot commented Feb 9, 2023

🦋 Changeset detected

Latest commit: 04a60aa

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

This PR includes changesets to release 35 packages
Name Type
@commercetools-frontend/create-mc-app Patch
@commercetools-frontend/l10n Patch
@commercetools-frontend/mc-scripts Patch
@commercetools-frontend/application-components Patch
@commercetools-frontend/application-shell Patch
@commercetools-local/playground Patch
@commercetools-applications/merchant-center-template-starter-typescript Patch
@commercetools-applications/merchant-center-template-starter Patch
@commercetools-local/visual-testing-app Patch
@commercetools-website/components-playground Patch
@commercetools-frontend/cypress Patch
@commercetools-backend/eslint-config-node Patch
@commercetools-backend/express Patch
@commercetools-backend/loggers Patch
@commercetools-frontend/actions-global Patch
@commercetools-frontend/application-config Patch
@commercetools-frontend/application-shell-connectors Patch
@commercetools-frontend/assets Patch
@commercetools-frontend/babel-preset-mc-app Patch
@commercetools-frontend/browser-history Patch
@commercetools-frontend/codemod Patch
@commercetools-frontend/constants Patch
@commercetools-frontend/eslint-config-mc-app Patch
@commercetools-frontend/i18n Patch
@commercetools-frontend/jest-preset-mc-app Patch
@commercetools-frontend/jest-stylelint-runner Patch
@commercetools-frontend/mc-dev-authentication Patch
@commercetools-frontend/mc-html-template 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
@commercetools-website/custom-applications 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

@github-actions
Copy link
Contributor

github-actions bot commented Feb 9, 2023

Deploy preview for merchant-center-application-kit ready!

✅ Preview
https://merchant-center-application-mybse9tis-commercetools.vercel.app
https://appkit-sha-858262ce63df9bcfeeaab3a438c72d5349558f31.commercetools.vercel.app
https://appkit-pr-2958.commercetools.vercel.app

Built with commit 04a60aa.
This pull request is being automatically deployed with vercel-action

@kark kark requested a review from a team February 9, 2023 12:24
@kark kark marked this pull request as ready for review February 9, 2023 12:24
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.

Nice, thanks!! 🥳

@kark kark merged commit c8069d8 into main Feb 10, 2023
@kark kark deleted the kk-remove-rcfile branch February 10, 2023 10:00
@ghost ghost mentioned this pull request Feb 10, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants