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

@lukekarrys lukekarrys 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

@lukekarrys lukekarrys changed the title lk/proc log deps Apr 12, 2024
@lukekarrys lukekarrys force-pushed the lk/proc-log-deps branch 9 times, most recently from 09526ae to 0b77f20 Compare April 13, 2024 01:44
@lukekarrys lukekarrys changed the title Update proc-log and @npmcli/run-script deps Apr 13, 2024
@lukekarrys lukekarrys changed the title Use proc-log out stdout and stderr Apr 14, 2024
Comment thread lib/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 owner April 15, 2024 22:34
@lukekarrys lukekarrys force-pushed the lk/proc-log-deps branch 2 times, most recently from e612ae9 to d9985cc Compare April 15, 2024 23:43
@lukekarrys lukekarrys mentioned this pull request Apr 16, 2024
1 task
Comment thread lib/utils/display.js
Comment thread lib/utils/display.js
Comment thread lib/utils/display.js Outdated
Comment thread lib/utils/display.js
Comment thread lib/utils/display.js Outdated
Comment thread lib/utils/display.js Outdated
Comment thread lib/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 thread test/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
Contributor Author

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
Contributor Author

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

@lukekarrys lukekarrys merged commit 9123de4 into latest Apr 16, 2024
@lukekarrys lukekarrys deleted the lk/proc-log-deps branch April 16, 2024 15:58
@github-actions github-actions Bot mentioned this pull request Apr 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

2 participants