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(reporter): print install summary for workspace sub projects #7306

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

await-ovo
Copy link
Member

close #6481

The install summary of changed sub-projects will always be printed like the following:

image

@@ -298,6 +298,9 @@ test('prints summary without the filtered out entries', (done) => {
expect(output).toBe(EOL + `\
${h1('dependencies:')}
${ADD} foo ${versionColor('1.0.0')} ${versionColor('(2.0.0 is available)')}
` + EOL + `\
Copy link
Member Author

Choose a reason for hiding this comment

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

I'm not sure why this test kept giving an error on my branch, but after this change, both the main branch and the current branch workes fine.

It seems to actually print that a dev dependency qar has been added ?

@zkochan
Copy link
Member

zkochan commented Nov 19, 2023

The output is massive on first install. Maybe we should only show it when running install on a node_modules that already exists. In that case the output should be smaller.

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.

Improve installation summary when there are no changes in the root workspace project
2 participants