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

feat: add monorepo-tools bin as lerna replacement #148

Closed
wants to merge 7 commits into from
Closed

Conversation

mcasimir
Copy link
Collaborator

@mcasimir mcasimir commented Aug 21, 2023

@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 actual lerna replacement? or something like monorepo-packages | xargs xargs -I{} npm run -w {} (if it works everywhere)


const edges: [string, string][] = getEdgeList(internalPackages);

// if includeDependencies is specified augment the scopes with dependents
Copy link
Collaborator

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? 🤔

@lerouxb
Copy link
Collaborator

lerouxb commented Aug 22, 2023

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.

@mcasimir
Copy link
Collaborator Author

mcasimir commented Sep 5, 2023

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 mongosh

@mcasimir mcasimir closed this Sep 8, 2023
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.

3 participants