Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

fix: Corrects completion message to show the package's name, rather than the safe name #895

Merged
merged 2 commits into from
Oct 11, 2021

Conversation

rschristian
Copy link
Collaborator

@rschristian rschristian commented Sep 14, 2021

Corrects a minor annoyance

As far as I know there's no reason we need to display the safe name here, and (IMO) it's better if the displayed name is the package's actual name or (in the case of a missing "name" in the pkg.json) the directory name.

@changeset-bot
Copy link

changeset-bot bot commented Sep 14, 2021

🦋 Changeset detected

Latest commit: 67deaab

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
microbundle Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@developit
Copy link
Owner

Does this change the name for multi-entry?

@rschristian
Copy link
Collaborator Author

Not sure I understand. Mutli-entry shouldn't be impacted in any way to my knowledge, the only thing that changes is the name in the output message. Assuming a pkg with "name": "microbundle-foo":

Before:
Output shown as microbundleFoo

After:
Output shown as microbundle-foo

Just has been a minor annoyance I've had in packages with hyphenated names.

@ForsakenHarmony ForsakenHarmony merged commit 26f382a into master Oct 11, 2021
@ForsakenHarmony ForsakenHarmony deleted the fix/pkg-name-msg branch October 11, 2021 19:39
@preact-bot preact-bot mentioned this pull request Oct 11, 2021
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants