Skip to content

Use proc-log for stdout and stderr - #7373

Merged
lukekarrys merged 13 commits into
latestfrom
lk/proc-log-deps
Apr 16, 2024
Merged

Use proc-log for stdout and stderr#7373
lukekarrys merged 13 commits into
latestfrom
lk/proc-log-deps

Conversation

@lukekarrys

@lukekarryslukekarrys commented Apr 12, 2024

Copy link
Copy Markdown
Contributor
  • deps: @npmcli/git@5.0.6
  • deps: @npmcli/package-json@5.0.3
  • deps: npm-package-arg@11.0.2
  • deps: npm-profile@9.0.1
  • deps: npm-registry-fetch@16.2.1
  • deps: pacote@17.0.7
  • deps: proc-log@4.0.0
  • deps: @npmcli/run-script@8.0.0
  • feat(libnpmversion)!: remove silent option
  • feat(libnpmpack)!: remove silent option
  • feat(libnpmexec)!: no longer accept output function
  • feat: do all ouput over proc-log events

TODO

@lukekarryslukekarrys changed the title lk/proc log depsUpdate proc-log and @npmcli/run-script depsApr 12, 2024
@lukekarrys
lukekarrysforce-pushed the lk/proc-log-deps branch 9 times, most recently from 09526ae to 0b77f20CompareApril 13, 2024 01:44
@lukekarryslukekarrys changed the title Update proc-log and @npmcli/run-script depsUse proc-log out stdout and stderrApr 13, 2024
@lukekarryslukekarrys changed the title Use proc-log out stdout and stderrUse proc-log for stdout and stderrApr 14, 2024
Comment threadlib/commands/unpublish.js Outdated
@lukekarrys
lukekarrys marked this pull request as ready for review April 15, 2024 22:34
@lukekarrys
lukekarrys requested a review from a team as a code ownerApril 15, 2024 22:34
@lukekarrys
lukekarrysforce-pushed the lk/proc-log-deps branch 2 times, most recently from e612ae9 to d9985ccCompareApril 15, 2024 23:43
@lukekarryslukekarrys mentioned this pull request Apr 16, 2024
1 task
Comment threadlib/utils/display.js
Comment threadlib/utils/display.js
Comment threadlib/utils/display.js Outdated
Comment threadlib/utils/display.js
Comment threadlib/utils/display.js Outdated
Comment threadlib/utils/display.js Outdated
Comment threadlib/utils/display.js
@wraithgar

wraithgar commented Apr 16, 2024

Copy link
Copy Markdown
Contributor

TODO: make sure we understand why signal-exit is not in node_modules anymore. I am pretty sure it's a dependency of write-file-atomic.

Comment threadtest/lib/npm.js
@wraithgar

Copy link
Copy Markdown
Contributor

The breaking change commits for libnpmversion and libnpmpack need BREAKING CHANGE clauses.

@lukekarrys

Copy link
Copy Markdown
ContributorAuthor

I'm not sure what combination of install commands caused signal-exit to update, but in doing so it looks like it deleted two erroneous files that are currently present in node_modules/signal-exit but shouldn't be: https://github.com/npm/cli/tree/9622597399ec93224fddf90a9209a98dbcfd6b2f/node_modules/signal-exit

@wraithgar

Copy link
Copy Markdown
Contributor

LGTM. update the comment, rebase/squash, and I'll approve it. Thanks for taking it in steps w/ TODOS.

BREAKING CHANGE: libnpmexec now emits an output event on process
instead of invoking the output function passed in
BREAKING CHANGE: libnpmversion no longer takes a `silent` option to
suppress output from `@npmcli/run-script`. That output is now emitted
via an `output` event on `process`.
BREAKING CHANGE: libnpmpack no longer takes a `silent` option to
suppress output from `@npmcli/run-script`. That output is now emitted
via an `output` event on `process`.
@lukekarrys

Copy link
Copy Markdown
ContributorAuthor

@wraithgar I added BREAKING CHANGE notes, updated the comments, and rebased so commit linting should pass now.

@lukekarrys
lukekarrys merged commit 9123de4 into latestApr 16, 2024
@lukekarrys
lukekarrys deleted the lk/proc-log-deps branch April 16, 2024 15:58
@github-actionsgithub-actionsBot mentioned this pull request Apr 12, 2024
Sign up for freeto 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.

2 participants

@lukekarrys@wraithgar