Skip to content

misc(build): quiet the 'npm pack' command - #11783

Merged
paulirish merged 1 commit into
masterfrom
packdevnull
Dec 10, 2020
Merged

misc(build): quiet the 'npm pack' command#11783
paulirish merged 1 commit into
masterfrom
packdevnull

Conversation

@paulirish

Copy link
Copy Markdown
Member

when looking at CI logs i sometimes gotta inspect the yarn build output. (example)

99% of it is all the filenames that went into the npm pack. IMO these don't add value, especially not in the CI scenario.

now, no more noisy output. we just got a filename when it succeeds:

$ npm pack 2>/dev/null
lighthouse-6.5.0.tgz

@connorjclark connorjclark left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

LGTM b/c the publish scripts do this https://github.com/GoogleChrome/lighthouse/blob/master/lighthouse-core/scripts/release/prepare-package.sh#L32 and at this point we do want this output visible.

@paulirish
paulirish merged commit 6ad1591 into master Dec 10, 2020
@paulirish
paulirish deleted the packdevnull branch December 10, 2020 01:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants