Can I chose the name of the package to publish?
Vanals opened this issue · comments
Hi!
I wanto to link a build of my package to another.
I build it, I go to /dist
, I run yalc publish
, and I get the message that my package has been published.
The name includes the version. I want to run this on a pipeline, and get the version would just increase complexity. Is there a way i can decide the name of the package I want to publish with yalc?
At the moment I get packageName@x.x.x
, where x.x.x is the version. Can i for example do something like yalc publish --name myNewName
?
Thanks
Maybe this could be added as a feature, not sure how often is needed
For now you can update name in package.json
before publishing, I recently did so -)
Maybe this could be added as a feature, not sure how often is needed
For now you can update name in
package.json
before publishing, I recently did so -)
The name I get in the package JSON has not version mentioned 🤔
"dependencies": { "newskit": "file:.yalc/newskit",
But the command suggested by yalc
, to add the package, clearly mention the version.
PS: Tested it and I do not need to specify @x.x.x apparently!
I probably didn't get your case.