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: replace update-notifier with simple-update-notifier #20266

Merged
merged 1 commit into from Dec 19, 2022

Conversation

SimenB
Copy link
Contributor

@SimenB SimenB commented Dec 14, 2022

Issue: N/A

What I did

As can be seen from the diff in the lockfile, update-notifier pulls in a bunch of dependencies. Moving to simple-update-notifier (made initially for nodemon in remy/nodemon#2033) greatly reduces dependencies pulled in.

How to test

  • Is this testable with Jest or Chromatic screenshots?
  • Does this need a new example in the kitchen sink apps?
  • Does this need an update to the documentation?

If your answer is yes to any of these, please make sure to include it in your PR.

@SimenB SimenB changed the title feat: replace update-notifier with simple-update-notifier feat: replace update-notifier with simple-update-notifier Dec 14, 2022
@shilman shilman added maintenance User-facing maintenance tasks cli performance issue labels Dec 14, 2022
pkg,
const { default: updateNotifier } = await import('simple-update-notifier');
await updateNotifier({
pkg: pkg as any,
Copy link
Contributor Author

Choose a reason for hiding this comment

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

@ndelangen ndelangen merged commit 8add191 into storybookjs:next Dec 19, 2022
@SimenB SimenB deleted the update-notifier branch December 20, 2022 09:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cli maintenance User-facing maintenance tasks performance issue
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants