-
Notifications
You must be signed in to change notification settings - Fork 5
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
feat: add monorepo-tools bin as lerna replacement #148
Conversation
packages/monorepo-tools/src/utils/get-packages-in-topological-order.spec.ts
Outdated
Show resolved
Hide resolved
|
||
const edges: [string, string][] = getEdgeList(internalPackages); | ||
|
||
// if includeDependencies is specified augment the scopes with dependents |
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.
Is this comment (and the one below) not worded the wrong way around? 🤔
I think you might as well replace (and remove) lerna inside the root package.json for all of devtools-shared in this PR. Would act as another "test" to prove that it works. |
Going to close this one. The intention was to ditch lerna cause is not compatible with s390x we just list packages directly in toposorted order for |
@lerouxb not sure if this is too much, the filter part in
getPackagesInTopologicalOrder
is probably ok, since we are maintaining it already and the added code + tests doesn't seem to be overwhelming, but do we want to have an actuallerna
replacement? or something likemonorepo-packages | xargs xargs -I{} npm run -w {}
(if it works everywhere)