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

Add support for Npm.Publish #20

Closed
pascalberger opened this issue Feb 20, 2017 · 5 comments
Closed

Add support for Npm.Publish #20

pascalberger opened this issue Feb 20, 2017 · 5 comments
Assignees
Milestone

Comments

@pascalberger
Copy link
Member

Support for the npm publish command would be nice.

@Philo Philo added the question label Apr 13, 2017
pascalberger added a commit to pascalberger/Cake.Npm that referenced this issue May 3, 2017
@pascalberger pascalberger self-assigned this May 3, 2017
pascalberger added a commit to pascalberger/Cake.Npm that referenced this issue May 8, 2017
@pascalberger
Copy link
Member Author

pascalberger commented May 17, 2017

@FlorianHockmann Are you interested in testing? There is a version available here which contains an NpmPublish alias.

pascalberger added a commit to pascalberger/Cake.Npm that referenced this issue May 17, 2017
pascalberger added a commit to pascalberger/Cake.Npm that referenced this issue May 17, 2017
@FlorianHockmann
Copy link

@pascalberger I just tried it out and from the first impression it looks good, but I'm missing an option to specify the registry as I don't want my package to be published to the default registry. A property in the respective settings for the registry would be helpful. Currently I am simply issuing the following command from PowerShell:
npm publish $package --registry $registryUrl

pascalberger added a commit to pascalberger/Cake.Npm that referenced this issue May 18, 2017
pascalberger added a commit to pascalberger/Cake.Npm that referenced this issue May 18, 2017
pascalberger added a commit to pascalberger/Cake.Npm that referenced this issue May 18, 2017
@pascalberger
Copy link
Member Author

@FlorianHockmann I added a Registry parameter to the settings class which alows to add the --registry parameter. A new test build is available here.

@pascalberger pascalberger added this to the vNext milestone May 18, 2017
pascalberger added a commit that referenced this issue May 19, 2017
@FlorianHockmann
Copy link

Thanks @pascalberger, I just tried the test build and it works as expected :-)

@pascalberger
Copy link
Member Author

@FlorianHockmann It's now released: https://www.nuget.org/packages/Cake.Npm/0.10.0

Including support for --tag, --access parameters and a fluent syntax for generating the settings object.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants