Difference between depName
and packageName
?
#14885
-
I'm having some difficulty understanding the difference between From the
|
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
depName is essentially the "display name" while packageName is the actual package name used to do the lookup. If in doubt, just use depName. When packageName is blank, it defaults to depName's value. In most cases they're the same. Sometimes though the name of the package is quite long, and you don't want that full name in commit messages and PR titles. So when you use both depName and packageName, depName is used in logs, commit messages and PRs while packageName is used to do the actual lookup from package registries |
Beta Was this translation helpful? Give feedback.
depName is essentially the "display name" while packageName is the actual package name used to do the lookup.
If in doubt, just use depName. When packageName is blank, it defaults to depName's value. In most cases they're the same.
Sometimes though the name of the package is quite long, and you don't want that full name in commit messages and PR titles. So when you use both depName and packageName, depName is used in logs, commit messages and PRs while packageName is used to do the actual lookup from package registries