-
Notifications
You must be signed in to change notification settings - Fork 4
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
Misc Cleanups #573
Misc Cleanups #573
Conversation
To work around lerna/lerna#1171. The lerna publishing commands don't seem to update the yarn.lock file, unfortunately. This means on CI when we run `yarn install --immutable` we get an error because yarn tries to make changes to the lockfile (which lerna should have, but didn't, make). If we specify with dependencies between workspace packages with https://yarnpkg.com/features/workspaces/#workspace-ranges-workspace, then everything works because the version number of the packages doesn't actually appear in the yarn.lock file, and therefore doesn't need to get updated.
Codecov Report
@@ Coverage Diff @@
## main #573 +/- ##
=======================================
Coverage 95.30% 95.30%
=======================================
Files 21 21
Lines 298 298
Branches 89 89
=======================================
Hits 284 284
Misses 14 14 Continue to review full report at Codecov.
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
size-limit report
Path | Size |
---|---|
components | 52.58 KB (0%) |
styles | 3.91 KB (0%) |
… packages" This reverts commit 4e1e5ca.
@@ -61,9 +61,6 @@ | |||
"@babel/preset-typescript": "^7.12.17", | |||
"@chanzuckerberg/axe-storybook-testing": "^3.0.2", | |||
"@chanzuckerberg/story-utils": "^2.0.0", | |||
"@commitlint/cli": "^8.3.5", | |||
"@commitlint/config-conventional": "^8.3.4", | |||
"@commitlint/prompt-cli": "^8.3.5", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No need to have v8 here and v11 at the top level.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🧹
This pull request has been linked to Clubhouse Story #132355: Remove classnames import (in favor of using clsx) from EDS. |
Summary:
This PR makes a couple miscellaneous cleanups
Uses workspace ranges to define dependencies between packages to work aroundpublish
andbootstrap
not update yarn.lock when internal dependencies version increment lerna/lerna#1171lerna run
that I missed in Migrate to Yarn v3 #533.Test Plan:
Alpha version publishThis didn't work, so I'll need to figure something else out. Removing the workspace ranges stuff