[COMPASS-5421] Introduce a check in the monorepo that will protect from misuse of leafygreen packages Created: 13/Jan/22  Updated: 01/Mar/22  Resolved: 24/Feb/22

Status: Closed
Project: Compass
Component/s: None
Affects Version/s: None
Fix Version/s: No version

Type: Task Priority: Major - P3
Reporter: Sergey Petushkov Assignee: Rhys Howell
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Cloners
is cloned by COMPASS-5536 Add an eslint check for compass-compo... Open
Epic Link: COMPASS-5480
Documentation Changes: Not Needed
Sprint: Iteration Versailles

 Description   
  • This check should prohibit usage of @emotion/css in the monorepo completely. CSS styles should be applied only by using @leafygreen-ui/emotion package to guarantee that we are always using the same version as leafygreen
  • This check should prohibit usage of @leafyreen-ui outside of compass-component package to guarantee that all leafygreen components in the app are coming from one place and have the same version


 Comments   
Comment by Githook User [ 01/Mar/22 ]

Author:

{'name': 'Rhys', 'email': 'Anemy@users.noreply.github.com', 'username': 'Anemy'}

Message: chore: Add check for LeafyGreen dependencies outside compass-components package COMPASS-5421 (#2820)
Branch: COMPASS-5511-make-connection-form-a-form
https://github.com/mongodb-js/compass/commit/9b315bebba804bdf33ae0427860917baa61d8ef5

Comment by Githook User [ 28/Feb/22 ]

Author:

{'name': 'Rhys', 'email': 'Anemy@users.noreply.github.com', 'username': 'Anemy'}

Message: chore: Add check for LeafyGreen dependencies outside compass-components package COMPASS-5421 (#2820)
Branch: move-query-history-to-left-of-query-bar
https://github.com/mongodb-js/compass/commit/9b315bebba804bdf33ae0427860917baa61d8ef5

Comment by Githook User [ 25/Feb/22 ]

Author:

{'name': 'Rhys', 'email': 'Anemy@users.noreply.github.com', 'username': 'Anemy'}

Message: chore: Add check for LeafyGreen dependencies outside compass-components package COMPASS-5421 (#2820)
Branch: 1.31-releases
https://github.com/mongodb-js/compass/commit/9b315bebba804bdf33ae0427860917baa61d8ef5

Comment by Githook User [ 25/Feb/22 ]

Author:

{'name': 'Rhys', 'email': 'Anemy@users.noreply.github.com', 'username': 'Anemy'}

Message: chore: Add check for LeafyGreen dependencies outside compass-components package COMPASS-5421 (#2820)
Branch: connect-form-styling-update
https://github.com/mongodb-js/compass/commit/9b315bebba804bdf33ae0427860917baa61d8ef5

Comment by Githook User [ 24/Feb/22 ]

Author:

{'name': 'Rhys', 'email': 'Anemy@users.noreply.github.com', 'username': 'Anemy'}

Message: chore: Add check for LeafyGreen dependencies outside compass-components package COMPASS-5421 (#2820)
Branch: mongosh-120-kerberos-200
https://github.com/mongodb-js/compass/commit/9b315bebba804bdf33ae0427860917baa61d8ef5

Comment by Githook User [ 24/Feb/22 ]

Author:

{'name': 'Rhys', 'email': 'Anemy@users.noreply.github.com', 'username': 'Anemy'}

Message: chore: Add check for LeafyGreen dependencies outside compass-components package COMPASS-5421 (#2820)
Branch: main
https://github.com/mongodb-js/compass/commit/9b315bebba804bdf33ae0427860917baa61d8ef5

Generated at Wed Feb 07 22:39:30 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.