Skip to content

Comments

Upgrade prettier, fix files#6181

Draft
witoszekdev wants to merge 5 commits intomainfrom
fix-prettier-version
Draft

Upgrade prettier, fix files#6181
witoszekdev wants to merge 5 commits intomainfrom
fix-prettier-version

Conversation

@witoszekdev
Copy link
Member

  • Upgrade prettier
  • Lock prettier version
  • Fix files with prettier

Copilot AI review requested due to automatic review settings December 5, 2025 12:09
@witoszekdev witoszekdev requested a review from a team as a code owner December 5, 2025 12:09
@changeset-bot
Copy link

changeset-bot bot commented Dec 5, 2025

⚠️ No Changeset found

Latest commit: 30cb2da

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

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

@witoszekdev witoszekdev added the skip changeset Use if your changes doesn't need entry in changelog label Dec 5, 2025
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR upgrades Prettier from version ^3.6.2 to 3.7.4 (locked version) and applies automated formatting fixes across the codebase. The upgrade removes the caret (^) prefix to lock the exact version of Prettier, ensuring consistent formatting across all development environments.

  • Upgraded and locked Prettier to version 3.7.4
  • Applied automatic formatting to TypeScript interface declarations across ~70 files
  • Updated transitive dependency versions in pnpm-lock.yaml

Reviewed changes

Copilot reviewed 70 out of 71 changed files in this pull request and generated 1 comment.

Show a summary per file
File Description
package.json Updated prettier from ^3.6.2 to 3.7.4 (locked version)
pnpm-lock.yaml Updated prettier version references and transitive dependencies (@lezer packages, caniuse-lite)
src/warehouses/components/WarehouseListPage/WarehouseListPage.tsx Reformatted interface extends clause
src/utils/handlers/attributeValueSearchHandler.ts Reformatted interface extends clause
src/types.ts Reformatted multiple interface extends clauses to single line
src/staff/components/StaffListPage/StaffListPage.tsx Reformatted interface extends clause
src/shipping/components/ShippingZoneRatesPage/ShippingZoneRatesPage.tsx Reformatted interface extends clause to single line
src/shipping/components/ShippingMethodProducts/ShippingMethodProducts.tsx Reformatted interface extends clause to single line
src/products/urls.ts Reformatted interface extends clause
src/products/components/ProductVariantPage/form.tsx Reformatted multiple interface extends clauses
src/products/components/ProductVariantCreatePage/form.tsx Reformatted multiple interface extends clauses
src/products/components/ProductUpdatePage/types.ts Reformatted multiple interface extends clauses
src/products/components/ProductListPage/ProductListPage.tsx Reformatted interface extends clause (contains duplicate Omit key issue)
src/products/components/ProductListDatagrid/ProductListDatagrid.tsx Reformatted interface extends clause
src/products/components/ProductCreatePage/form.tsx Reformatted multiple interface extends clauses
src/productTypes/components/ProductTypeListPage/ProductTypeListPage.tsx Reformatted interface extends clause
src/productTypes/components/ProductTypeList/ProductTypeList.tsx Reformatted interface extends clause to single line
src/permissionGroups/components/PermissionGroupListPage/PermissionGroupListPage.tsx Reformatted interface extends clause to single line
src/permissionGroups/components/PermissionGroupListDatagrid/PermissionGroupListDatagrid.tsx Reformatted interface extends clause to single line
src/orders/components/OrderRefundPage/form.tsx Reformatted interface extends clause
src/orders/components/OrderListPage/OrderListPage.tsx Reformatted interface extends clause
src/orders/components/OrderDraftListPage/OrderDraftListPage.tsx Reformatted interface extends clause
src/orders/components/OrderCustomerAddressesEditDialog/form.tsx Reformatted interface extends clause
src/modeling/components/PageListPage/PageListPage.tsx Reformatted interface extends clause
src/modeling/components/PageDetailsPage/form.tsx Reformatted interface extends clause to single line
src/modelTypes/components/PageTypeListPage/PageTypeListPage.tsx Reformatted interface extends clause
src/hooks/useForm/index.ts Reformatted multiple interface extends clauses
src/giftCards/components/GiftCardDeleteDialog/GiftCardDeleteDialogContent.tsx Reformatted interface extends clause
src/giftCards/GiftCardsList/providers/GiftCardListProvider/GiftCardListProvider.tsx Reformatted interface extends clause
src/giftCards/GiftCardSettings/GiftCardExpirySettingsCard/GiftCardExpirySettingsCard.tsx Reformatted interface extends clause
src/discounts/components/VoucherListPage/VoucherListPage.tsx Reformatted interface extends clause
src/discounts/components/VoucherListDatagrid/VoucherListDatagrid.tsx Reformatted interface extends clause to single line
src/discounts/components/VoucherDetailsPage/VoucherDetailsPage.tsx Reformatted interface extends clause
src/discounts/components/DiscountListPage/DiscountListPage.tsx Reformatted interface extends clause to single line
src/customers/components/CustomerListPage/CustomerListPage.tsx Reformatted interface extends clause
src/components/TablePagination/TablePagination.tsx Reformatted interface extends clause
src/components/SimpleRadioGroupField.tsx Reformatted interface extends clause
src/components/RichTextEditor/RichTextEditorLoading.tsx Reformatted interface extends clause
src/components/Metadata/Metadata.tsx Reformatted interface extends clause to single line
src/components/Link.tsx Reformatted interface extends clause
src/components/Form/useExitFormDialog.ts Reformatted interface extends clause to single line
src/components/Form/Form.tsx Reformatted interface extends clause
src/components/Filter/FilterAutocompleteField.tsx Reformatted interface extends clause
src/components/ConditionalFilter/FiltersQueryBuilder/queryVarsBuilders/types.ts Reformatted multiple interface extends clauses
src/components/ConditionalFilter/FiltersQueryBuilder/queryVarsBuilders/VoucherStatusQueryVarsBuilder.ts Reformatted class implements clause to single line
src/components/ConditionalFilter/FiltersQueryBuilder/queryVarsBuilders/StaticBooleanQueryVarsBuilder.ts Reformatted class implements clause to single line
src/components/ConditionalFilter/FiltersQueryBuilder/queryVarsBuilders/MetadataFilterQueryVarsBuilder.ts Reformatted class implements clause
src/components/ConditionalFilter/FiltersQueryBuilder/queryVarsBuilders/MetadataFilterInputQueryVarsBuilder.ts Reformatted class implements clause to single line
src/components/ConditionalFilter/FiltersQueryBuilder/queryVarsBuilders/FulfillmentWarehouseQueryVarsBuilder.ts Reformatted class implements clause to single line
src/components/ConditionalFilter/FiltersQueryBuilder/queryVarsBuilders/FulfillmentStatusQueryVarsBuilder.ts Reformatted class implements clause to single line
src/components/ConditionalFilter/FiltersQueryBuilder/queryVarsBuilders/CustomerNumberOfOrdersQueryVarsBuilder.ts Reformatted class implements clause
src/components/ConditionalFilter/FiltersQueryBuilder/queryVarsBuilders/CollectionPublishedQueryVarsBuilder.ts Reformatted class implements clause
src/components/ConditionalFilter/FiltersQueryBuilder/queryVarsBuilders/BaseMappableQueryVarsBuilder.ts Reformatted abstract class implements clause
src/components/ConditionalFilter/FiltersQueryBuilder/queryVarsBuilders/AttributeQueryVarsBuilder.ts Reformatted class implements clause to single line
src/components/ConditionalFilter/FiltersQueryBuilder/queryVarsBuilders/ArrayNestedFieldQueryVarsBuilder.ts Reformatted class implements clause to single line
src/components/ConditionalFilter/FiltersQueryBuilder/queryVarsBuilders/ArrayMetadataQueryVarsBuilder.ts Reformatted class implements clause to single line
src/components/ConditionalFilter/FiltersQueryBuilder/queryVarsBuilders/AddressFieldQueryVarsBuilder.ts Reformatted class implements clause to single line
src/components/ChannelsAvailabilityCard/ChannelsAvailabilityCard.tsx Reformatted interface extends clause
src/components/AssignCollectionDialog/AssignCollectionDialog.tsx Reformatted interface extends clause
src/components/AssignCategoryDialog/AssignCategoryDialog.tsx Reformatted interface extends clause
src/components/AppLayout/ListFilters/ListFilters.tsx Reformatted interface extends clause to single line
src/collections/components/CollectionListPage/CollectionListPage.tsx Reformatted interface extends clause
src/categories/components/CategoryUpdatePage/CategoryUpdatePage.tsx Reformatted interface extends clause
src/categories/components/CategorySubcategories/CategorySubcategories.tsx Reformatted interface extends clause
src/categories/components/CategoryListPage/CategoryListPage.tsx Reformatted interface extends clause
src/categories/components/CategoryListDatagrid/CategoryListDatagrid.tsx Reformatted interface extends clause to single line
src/attributes/components/AttributeValues/AttributeValues.tsx Reformatted interface extends clause to single line
src/attributes/components/AttributeListPage/AttributeListPage.tsx Reformatted interface extends clause
src/attributes/components/AttributeDetails/NumericUnits.tsx Reformatted interface extends clause
src/attributes/components/AttributeDetails/AttributeDetails.tsx Reformatted interface extends clause
src/attributes/components/AssignReferenceTypesDialog/AssignReferenceTypesDialog.tsx Reformatted interface extends clause
Files not reviewed (1)
  • pnpm-lock.yaml: Language not supported

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

extends
PageListProps<ProductListColumns>,
SearchPageProps,
Omit<TabPageProps, "onTabDelete" | "onTabDelete">,
Copy link

Copilot AI Dec 5, 2025

Choose a reason for hiding this comment

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

The Omit type has a duplicate key "onTabDelete" listed twice. This is redundant and should only appear once.

Copilot uses AI. Check for mistakes.
@codecov
Copy link

codecov bot commented Dec 5, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 39.73%. Comparing base (dcf6158) to head (30cb2da).
⚠️ Report is 1 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #6181   +/-   ##
=======================================
  Coverage   39.73%   39.73%           
=======================================
  Files        2416     2416           
  Lines       40018    40018           
  Branches     8816     8816           
=======================================
  Hits        15900    15900           
  Misses      24092    24092           
  Partials       26       26           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@github-actions
Copy link
Contributor

github-actions bot commented Dec 5, 2025

Differences Found

✅ No packages or licenses were added.

Summary

Expand
License Name Package Count Packages
0BSD 1
Packages
  • tslib
CC0-1.0 1
Packages
  • type-fest
MIT/X11 1
Packages
  • nub
MPL-1.1 1
Packages
  • harmony-reflect
MPL-2.0 1
Packages
  • dompurify
Public Domain 1
Packages
  • jsonify
Python-2.0 1
Packages
  • argparse
WTFPL 1
Packages
  • utf8-byte-length
<<missing>> 2
Packages
  • busboy
  • streamsearch
CC-BY-4.0 2
Packages
  • @saleor/macaw-ui
  • caniuse-lite
SEE LICENSE IN LICENSE 2
Packages
  • posthog-js
  • spawndamnit
BlueOak-1.0.0 4
Packages
  • glob
  • lru-cache
  • minimatch
  • path-scurry
BSD-2-Clause 23
Packages
  • browser-process-hrtime
  • css-select
  • css-what
  • domelementtype
  • domhandler
  • domutils
  • dotenv
  • dotenv-expand
  • entities
  • escodegen
  • eslint-scope
  • espree
  • esprima
  • esrecurse
  • estraverse
  • esutils
  • nth-check
  • regjsparser
  • stringify-object
  • terser
  • And 3 more...
BSD-3-Clause 42
Packages
  • @saleor/app-sdk
  • @sentry/cli
  • @sentry/cli-darwin
  • @sentry/cli-linux-arm
  • @sentry/cli-linux-arm64
  • @sentry/cli-linux-i686
  • @sentry/cli-linux-x64
  • @sentry/cli-win32-arm64
  • @sentry/cli-win32-i686
  • @sentry/cli-win32-x64
  • @sinonjs/commons
  • @sinonjs/fake-timers
  • abab
  • asn1js
  • babel-plugin-istanbul
  • chroma-js
  • dataloader
  • diff
  • esquery
  • exenv
  • And 22 more...
ISC 47
Packages
  • @istanbuljs/load-nyc-config
  • anymatch
  • boolbase
  • cli-width
  • cliui
  • electron-to-chromium
  • fastq
  • flatted
  • fs.realpath
  • get-caller-file
  • get-own-enumerable-property-symbols
  • glob
  • glob-parent
  • graceful-fs
  • inflight
  • inherits
  • ini
  • isexe
  • knip
  • lru-cache
  • And 27 more...
Apache-2.0 54
Packages
  • @editorjs/editorjs
  • @eslint/config-array
  • @eslint/config-helpers
  • @eslint/core
  • @eslint/object-schema
  • @eslint/plugin-kit
  • @humanfs/core
  • @humanfs/node
  • @humanwhocodes/module-importer
  • @humanwhocodes/retry
  • @opentelemetry/api
  • @opentelemetry/semantic-conventions
  • @playwright/test
  • @pollyjs/adapter
  • @pollyjs/core
  • @pollyjs/persister
  • @pollyjs/utils
  • @swc/core
  • @swc/core-darwin-arm64
  • @swc/core-darwin-x64
  • And 34 more...
MIT 1293
Packages
  • @adobe/css-tools
  • @apollo/client
  • @ardatan/relay-compiler
  • @ardatan/sync-fetch
  • @babel/code-frame
  • @babel/compat-data
  • @babel/core
  • @babel/generator
  • @babel/helper-annotate-as-pure
  • @babel/helper-compilation-targets
  • @babel/helper-create-class-features-plugin
  • @babel/helper-globals
  • @babel/helper-member-expression-to-functions
  • @babel/helper-module-imports
  • @babel/helper-module-transforms
  • @babel/helper-optimise-call-expression
  • @babel/helper-plugin-utils
  • @babel/helper-replace-supers
  • @babel/helper-skip-transparent-expression-wrappers
  • @babel/helper-string-parser
  • And 1273 more...

Copilot AI review requested due to automatic review settings December 9, 2025 10:54
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Copilot reviewed 70 out of 71 changed files in this pull request and generated no new comments.

Files not reviewed (1)
  • pnpm-lock.yaml: Language not supported

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@witoszekdev
Copy link
Member Author

Due to large amount of open PRs we will merge this later to avoid conflicts, low priority.

@witoszekdev witoszekdev marked this pull request as draft December 9, 2025 11:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

skip changeset Use if your changes doesn't need entry in changelog

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant