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: abstract the modules repository #6035

Merged
merged 19 commits into from
Jan 10, 2024

Conversation

adrien2p
Copy link
Member

@adrien2p adrien2p commented Jan 9, 2024

What
Reduce the work effort to create repositories when building new modules by abstracting the most common cases into the base class default implementation returned by a factory

  • Migrate all modules

Copy link

changeset-bot bot commented Jan 9, 2024

🦋 Changeset detected

Latest commit: 08782dc

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

This PR includes changesets to release 5 packages
Name Type
@medusajs/authentication Patch
@medusajs/link-modules Patch
@medusajs/pricing Patch
@medusajs/product Patch
@medusajs/utils 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

Copy link

vercel bot commented Jan 9, 2024

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

Name Status Preview Comments Updated (UTC)
medusa-dashboard ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jan 10, 2024 0:47am
3 Ignored Deployments
Name Status Preview Comments Updated (UTC)
api-reference ⬜️ Ignored (Inspect) Visit Preview Jan 10, 2024 0:47am
docs-ui ⬜️ Ignored (Inspect) Visit Preview Jan 10, 2024 0:47am
medusa-docs ⬜️ Ignored (Inspect) Visit Preview Jan 10, 2024 0:47am

@adrien2p adrien2p changed the title chore(utils, promotion): Attempt to abstract the modules repository chore: Attempt to abstract the modules repository Jan 9, 2024
@olivermrbl
Copy link
Contributor

😍 😍 😍

@adrien2p adrien2p changed the title chore: Attempt to abstract the modules repository chore: abstract the modules repository Jan 10, 2024
Copy link
Contributor

@carlos-r-l-rodrigues carlos-r-l-rodrigues left a comment

Choose a reason for hiding this comment

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

🥇 LGTM

Copy link
Contributor

@riqwan riqwan left a comment

Choose a reason for hiding this comment

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

🎖️ 🖖🏻 mad!

@@ -26,6 +27,7 @@ export const validateRuleAttributes = (
): void => {
const invalidRuleAttributes = getInvalidRuleAttributes(ruleAttributes)

console.log("test")
Copy link
Member Author

Choose a reason for hiding this comment

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

Todo: rm

Copy link
Contributor

Choose a reason for hiding this comment

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

Can you remove this so we can merge? 🙏

@kodiakhq kodiakhq bot merged commit b6ac768 into develop Jan 10, 2024
16 checks passed
@kodiakhq kodiakhq bot deleted the chore/abstract-module-repository branch January 10, 2024 13:12
This was referenced Jan 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants