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

Add knip.dev to find unused files / exports / types / duplicates to allow for cleaning up the GraphCommerce codebase #2134

Open
wants to merge 23 commits into
base: canary
Choose a base branch
from

Conversation

paales
Copy link
Member

@paales paales commented Nov 30, 2023

  • Once we've cleaned up these files we can remove the barrel files from the "entry" configuration for packages to expose more.
  • Should we also create a github action that automatically comments any unused exports?

…llow for cleaning up the GraphCommerce codebase
Copy link

vercel bot commented Nov 30, 2023

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

Name Status Preview Updated (UTC)
graphcommerce ❌ Failed (Inspect) Feb 13, 2024 8:21am
graphcommerce-hygraph-dynamic-rows-ui ✅ Ready (Inspect) Visit Preview Feb 13, 2024 8:21am

Copy link

changeset-bot bot commented Nov 30, 2023

⚠️ No Changeset found

Latest commit: 2a24f07

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

Copy link
Contributor

github-actions bot commented Nov 30, 2023

Unused files (13)

examples/magento-graphcms/components/Layout/LayoutFull.tsx, examples/magento-graphcms/components/GraphCMS/RowColumnOne/RowColumnOneBoxed.tsx, examples/magento-graphcms/components/GraphCMS/RowColumnOne/RowColumnOneCentered.tsx, examples/magento-graphcms/components/GraphCMS/RowColumnOne/RowColumnOneDoubleSpread.tsx, examples/magento-graphcms/components/GraphCMS/RowColumnOne/RowColumnOneSpread.tsx, examples/magento-graphcms/components/GraphCMS/RowColumnTwo/RowColumnTwoSpread.tsx, packages/address-fields-nl/lib/nationaalgeoregister/resolver.ts, packages/magento-cart-items/components/CartItems/CartItems.tsx, packages/magento-cart-items/components/SelectedCustomizableOptions/index.ts, packages/mollie-magento-payment/Mollie.ts, packages/mollie-magento-payment/components/MollieOptionsToken/MollieCreditCardOptions.tsx, packages/mollie-magento-payment/components/MollieOptionsToken/MollieField.tsx, packages/mollie-magento-payment/components/MollieOptionsToken/mollieContext.ts

# Conflicts:
#	package.json
#	packages/lighthouse/CHANGELOG.md
#	packages/lighthouse/package.json
#	yarn.lock
# Conflicts:
#	package.json
#	packages/lighthouse/CHANGELOG.md
#	packages/lighthouse/package.json
#	packagesDev/graphql-codegen-markdown-docs/src/graphql.ts
#	yarn.lock
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.

1 participant