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: add explicit dependencies #65

Merged

Conversation

layershifter
Copy link
Member

@layershifter layershifter commented Mar 8, 2022

This PR:

  • adds dependencies for each package explicitly, this allows beachball (releasing tool) to properly populate & bump dependencies
  • to ensure that all dependencies are declared I added import/no-extraneous-dependencies:
    image
  • to ensure that dependencies are in sync I added syncpack check

@layershifter layershifter marked this pull request as ready for review March 8, 2022 10:57
@layershifter layershifter requested a review from a team as a code owner March 8, 2022 10:57
@@ -13,6 +13,7 @@
"scripts": {
"build": "nx affected:build",
"change": "beachball change",
"check-dependencies": "syncpack list -pP",
Copy link
Member

Choose a reason for hiding this comment

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

There is a list of script an engineer is supposed to run before pushing - lint, type-check, test... now this one.
What is the best way to know about that list? Not a big fan of precommit hook but can we have something like ci of verify which I can run (or to know the complete list)?

Copy link
Member Author

Choose a reason for hiding this comment

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

We don't have such script currently, is there sense to have it?

@layershifter layershifter merged commit de373b3 into microsoft:main Mar 8, 2022
@layershifter layershifter deleted the chore/add-expicit-dependencies branch March 8, 2022 13:09
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.

None yet

2 participants