Publishing Part To Npm
_part_ to demonstrate the pattern within the name. You can use
_part_ as a tool to
bind the context/receiver of a native function or to “curry” the argument(s).
I followed the publishing documentation without much trouble and I tested the installation process locally, as NPM suggests. Everything seemed fine.
However, NPM barfed when I tried to publish.
While devastated, I felt the publishing process needed to continue, so I willingly:
- changed the name to
- changed all of the references in the documentation to
- changed references in the build process to
So, I gave up being clever and just called the damned thing
part. I will keep the documentation using the
_part_ variable name and I will keep the same github repo. But I wished I would have known about this