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

Checker to verify if all package.json starts with the same prefix among modules #61

Open
flaviostutz opened this issue Nov 14, 2022 · 2 comments
Labels
enhancement New feature or request

Comments

@flaviostutz
Copy link
Owner

Is your feature request related to a problem? Please describe.
Sometimes in a monorepo we want to declare all packages from the same organization group (e.g.: @mymonorepo/test)

Describe the solution you'd like
I would like a rule that shows me package.jsons whose name starts with a different prefix

Describe alternatives you've considered
I didn't found alternatives other than implementing something manually

Additional context
Maybe this capability could be added to modules-same-contents by manipulating jmespath or something :)

@flaviostutz flaviostutz added the enhancement New feature or request label Nov 14, 2022
@sergioflores-j
Copy link
Collaborator

I like the idea!
I think it could be a rule on its own also.

{
  "modules-same-organization": "@<org_name>"
}

What do you think?

@flaviostutz
Copy link
Owner Author

flaviostutz commented Nov 23, 2022 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants