You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cordova.apache.org by Niclas Hedhman <ni...@apache.org> on 2017/04/12 00:07:29 UTC
Publish to npm registry
Hi,
In Apache Polygene, we are to publish to npm registry, and are a little bit
uncertain of how to do it.
Incubator pointed me to this community possibly having some experience. Do
you have any links (Jiras, website, mail) on that topic that I could go
through and not do the same mistakes that you might have done.
Cheers (Note: I am not subscribed)
--
Niclas Hedhman, Software Developer
http://zest.apache.org - New Energy for Java
Re: Publish to npm registry
Posted by Niclas Hedhman <ni...@apache.org>.
Ok, thanks. That's what I was looking for.
On Wed, Apr 12, 2017 at 8:38 AM, Shazron <sh...@gmail.com> wrote:
> I apologize -- something must have got lost in translation "we are to
> publish to npm registry, and are a little bit
> uncertain of how to do it" was what I read (interpreted it technically).
>
> For a cordova platform, we follow this procedure:
> https://github.com/apache/cordova-coho/blob/master/docs/
> platforms-release-process.md
>
> ... and of course we always publish after the vote, based on the svn .tgz
> that was voted on. There are similar docs in that repo's "docs" folder.
>
>
> On Tue, Apr 11, 2017 at 5:32 PM, Niclas Hedhman <ni...@apache.org> wrote:
>
>> Well, thanks, but we know the practical bits of pushing to npm registry.
>> I was looking for the process to comply with legal policy,
>> http://www.apache.org/legal/release-policy#publication and practical
>> details such as artifact must be part of a source release, tagged,
>> reviewed, voted upon and so on.
>>
>> Cheers
>> Niclas
>>
>>
>>
>> On Wed, Apr 12, 2017 at 8:23 AM, Shazron <sh...@gmail.com> wrote:
>>
>>> Confusing, sorry: "If you are not logged in, it will tell you to login
>>> with your npm account"
>>>
>>> On Tue, Apr 11, 2017 at 5:22 PM, Shazron <sh...@gmail.com> wrote:
>>>
>>>> Hi,
>>>> With this as the current working directory: https://github.com/
>>>> apache/polygene-java/tree/develop/tools/generator-polygene
>>>>
>>>> Run
>>>> ```
>>>> npm publish
>>>> ```
>>>>
>>>> If you don't have an npm account while you are logged in, it will tell
>>>> you to. More info: "npm publish --help"
>>>>
>>>>
>>>> On Tue, Apr 11, 2017 at 5:07 PM, Niclas Hedhman <ni...@apache.org>
>>>> wrote:
>>>>
>>>>> Hi,
>>>>> In Apache Polygene, we are to publish to npm registry, and are a
>>>>> little bit
>>>>> uncertain of how to do it.
>>>>>
>>>>> Incubator pointed me to this community possibly having some
>>>>> experience. Do
>>>>> you have any links (Jiras, website, mail) on that topic that I could go
>>>>> through and not do the same mistakes that you might have done.
>>>>>
>>>>> Cheers (Note: I am not subscribed)
>>>>> --
>>>>> Niclas Hedhman, Software Developer
>>>>> http://zest.apache.org - New Energy for Java
>>>>>
>>>>
>>>>
>>>
>>
>>
>> --
>> Niclas Hedhman, Software Developer
>> http://zest.apache.org - New Energy for Java
>>
>
>
--
Niclas Hedhman, Software Developer
http://zest.apache.org - New Energy for Java
Re: Publish to npm registry
Posted by Shazron <sh...@gmail.com>.
He didn't see this Steve, he's not subscribed, have to add him manually
when you reply.
On Tue, Apr 11, 2017 at 5:49 PM Steven Gill <st...@gmail.com> wrote:
The gist of it is that we build an archive using npm pack (after verifying
licenses and headers) , sign it with gpg, vote on it like apache wants us
to and the publish it to npm. Slower release cycle then the normal open
source development but we have caught issues our CI missed with releases
during the vote process.
Let us know if you have more questions around npm.
On Apr 11, 2017 5:39 PM, "Shazron" <sh...@gmail.com> wrote:
> I apologize -- something must have got lost in translation "we are to
> publish to npm registry, and are a little bit
> uncertain of how to do it" was what I read (interpreted it technically).
>
> For a cordova platform, we follow this procedure:
> https://github.com/apache/cordova-coho/blob/master/docs/
> platforms-release-process.md
>
> ... and of course we always publish after the vote, based on the svn .tgz
> that was voted on. There are similar docs in that repo's "docs" folder.
>
>
> On Tue, Apr 11, 2017 at 5:32 PM, Niclas Hedhman <ni...@apache.org> wrote:
>
> > Well, thanks, but we know the practical bits of pushing to npm registry.
> I
> > was looking for the process to comply with legal policy,
> > http://www.apache.org/legal/release-policy#publication and practical
> > details such as artifact must be part of a source release, tagged,
> > reviewed, voted upon and so on.
> >
> > Cheers
> > Niclas
> >
> >
> >
> > On Wed, Apr 12, 2017 at 8:23 AM, Shazron <sh...@gmail.com> wrote:
> >
> >> Confusing, sorry: "If you are not logged in, it will tell you to login
> >> with your npm account"
> >>
> >> On Tue, Apr 11, 2017 at 5:22 PM, Shazron <sh...@gmail.com> wrote:
> >>
> >>> Hi,
> >>> With this as the current working directory: https://github.com/
> >>> apache/polygene-java/tree/develop/tools/generator-polygene
> >>>
> >>> Run
> >>> ```
> >>> npm publish
> >>> ```
> >>>
> >>> If you don't have an npm account while you are logged in, it will tell
> >>> you to. More info: "npm publish --help"
> >>>
> >>>
> >>> On Tue, Apr 11, 2017 at 5:07 PM, Niclas Hedhman <ni...@apache.org>
> >>> wrote:
> >>>
> >>>> Hi,
> >>>> In Apache Polygene, we are to publish to npm registry, and are a
> little
> >>>> bit
> >>>> uncertain of how to do it.
> >>>>
> >>>> Incubator pointed me to this community possibly having some
> experience.
> >>>> Do
> >>>> you have any links (Jiras, website, mail) on that topic that I could
> go
> >>>> through and not do the same mistakes that you might have done.
> >>>>
> >>>> Cheers (Note: I am not subscribed)
> >>>> --
> >>>> Niclas Hedhman, Software Developer
> >>>> http://zest.apache.org - New Energy for Java
> >>>>
> >>>
> >>>
> >>
> >
> >
> > --
> > Niclas Hedhman, Software Developer
> > http://zest.apache.org - New Energy for Java
> >
>
Re: Publish to npm registry
Posted by Steven Gill <st...@gmail.com>.
The gist of it is that we build an archive using npm pack (after verifying
licenses and headers) , sign it with gpg, vote on it like apache wants us
to and the publish it to npm. Slower release cycle then the normal open
source development but we have caught issues our CI missed with releases
during the vote process.
Let us know if you have more questions around npm.
On Apr 11, 2017 5:39 PM, "Shazron" <sh...@gmail.com> wrote:
> I apologize -- something must have got lost in translation "we are to
> publish to npm registry, and are a little bit
> uncertain of how to do it" was what I read (interpreted it technically).
>
> For a cordova platform, we follow this procedure:
> https://github.com/apache/cordova-coho/blob/master/docs/
> platforms-release-process.md
>
> ... and of course we always publish after the vote, based on the svn .tgz
> that was voted on. There are similar docs in that repo's "docs" folder.
>
>
> On Tue, Apr 11, 2017 at 5:32 PM, Niclas Hedhman <ni...@apache.org> wrote:
>
> > Well, thanks, but we know the practical bits of pushing to npm registry.
> I
> > was looking for the process to comply with legal policy,
> > http://www.apache.org/legal/release-policy#publication and practical
> > details such as artifact must be part of a source release, tagged,
> > reviewed, voted upon and so on.
> >
> > Cheers
> > Niclas
> >
> >
> >
> > On Wed, Apr 12, 2017 at 8:23 AM, Shazron <sh...@gmail.com> wrote:
> >
> >> Confusing, sorry: "If you are not logged in, it will tell you to login
> >> with your npm account"
> >>
> >> On Tue, Apr 11, 2017 at 5:22 PM, Shazron <sh...@gmail.com> wrote:
> >>
> >>> Hi,
> >>> With this as the current working directory: https://github.com/
> >>> apache/polygene-java/tree/develop/tools/generator-polygene
> >>>
> >>> Run
> >>> ```
> >>> npm publish
> >>> ```
> >>>
> >>> If you don't have an npm account while you are logged in, it will tell
> >>> you to. More info: "npm publish --help"
> >>>
> >>>
> >>> On Tue, Apr 11, 2017 at 5:07 PM, Niclas Hedhman <ni...@apache.org>
> >>> wrote:
> >>>
> >>>> Hi,
> >>>> In Apache Polygene, we are to publish to npm registry, and are a
> little
> >>>> bit
> >>>> uncertain of how to do it.
> >>>>
> >>>> Incubator pointed me to this community possibly having some
> experience.
> >>>> Do
> >>>> you have any links (Jiras, website, mail) on that topic that I could
> go
> >>>> through and not do the same mistakes that you might have done.
> >>>>
> >>>> Cheers (Note: I am not subscribed)
> >>>> --
> >>>> Niclas Hedhman, Software Developer
> >>>> http://zest.apache.org - New Energy for Java
> >>>>
> >>>
> >>>
> >>
> >
> >
> > --
> > Niclas Hedhman, Software Developer
> > http://zest.apache.org - New Energy for Java
> >
>
Re: Publish to npm registry
Posted by Shazron <sh...@gmail.com>.
I apologize -- something must have got lost in translation "we are to
publish to npm registry, and are a little bit
uncertain of how to do it" was what I read (interpreted it technically).
For a cordova platform, we follow this procedure:
https://github.com/apache/cordova-coho/blob/master/docs/platforms-release-process.md
... and of course we always publish after the vote, based on the svn .tgz
that was voted on. There are similar docs in that repo's "docs" folder.
On Tue, Apr 11, 2017 at 5:32 PM, Niclas Hedhman <ni...@apache.org> wrote:
> Well, thanks, but we know the practical bits of pushing to npm registry. I
> was looking for the process to comply with legal policy,
> http://www.apache.org/legal/release-policy#publication and practical
> details such as artifact must be part of a source release, tagged,
> reviewed, voted upon and so on.
>
> Cheers
> Niclas
>
>
>
> On Wed, Apr 12, 2017 at 8:23 AM, Shazron <sh...@gmail.com> wrote:
>
>> Confusing, sorry: "If you are not logged in, it will tell you to login
>> with your npm account"
>>
>> On Tue, Apr 11, 2017 at 5:22 PM, Shazron <sh...@gmail.com> wrote:
>>
>>> Hi,
>>> With this as the current working directory: https://github.com/
>>> apache/polygene-java/tree/develop/tools/generator-polygene
>>>
>>> Run
>>> ```
>>> npm publish
>>> ```
>>>
>>> If you don't have an npm account while you are logged in, it will tell
>>> you to. More info: "npm publish --help"
>>>
>>>
>>> On Tue, Apr 11, 2017 at 5:07 PM, Niclas Hedhman <ni...@apache.org>
>>> wrote:
>>>
>>>> Hi,
>>>> In Apache Polygene, we are to publish to npm registry, and are a little
>>>> bit
>>>> uncertain of how to do it.
>>>>
>>>> Incubator pointed me to this community possibly having some experience.
>>>> Do
>>>> you have any links (Jiras, website, mail) on that topic that I could go
>>>> through and not do the same mistakes that you might have done.
>>>>
>>>> Cheers (Note: I am not subscribed)
>>>> --
>>>> Niclas Hedhman, Software Developer
>>>> http://zest.apache.org - New Energy for Java
>>>>
>>>
>>>
>>
>
>
> --
> Niclas Hedhman, Software Developer
> http://zest.apache.org - New Energy for Java
>
Re: Publish to npm registry
Posted by Niclas Hedhman <ni...@apache.org>.
Well, thanks, but we know the practical bits of pushing to npm registry. I
was looking for the process to comply with legal policy,
http://www.apache.org/legal/release-policy#publication and practical
details such as artifact must be part of a source release, tagged,
reviewed, voted upon and so on.
Cheers
Niclas
On Wed, Apr 12, 2017 at 8:23 AM, Shazron <sh...@gmail.com> wrote:
> Confusing, sorry: "If you are not logged in, it will tell you to login
> with your npm account"
>
> On Tue, Apr 11, 2017 at 5:22 PM, Shazron <sh...@gmail.com> wrote:
>
>> Hi,
>> With this as the current working directory: https://github.com/
>> apache/polygene-java/tree/develop/tools/generator-polygene
>>
>> Run
>> ```
>> npm publish
>> ```
>>
>> If you don't have an npm account while you are logged in, it will tell
>> you to. More info: "npm publish --help"
>>
>>
>> On Tue, Apr 11, 2017 at 5:07 PM, Niclas Hedhman <ni...@apache.org>
>> wrote:
>>
>>> Hi,
>>> In Apache Polygene, we are to publish to npm registry, and are a little
>>> bit
>>> uncertain of how to do it.
>>>
>>> Incubator pointed me to this community possibly having some experience.
>>> Do
>>> you have any links (Jiras, website, mail) on that topic that I could go
>>> through and not do the same mistakes that you might have done.
>>>
>>> Cheers (Note: I am not subscribed)
>>> --
>>> Niclas Hedhman, Software Developer
>>> http://zest.apache.org - New Energy for Java
>>>
>>
>>
>
--
Niclas Hedhman, Software Developer
http://zest.apache.org - New Energy for Java
Re: Publish to npm registry
Posted by Shazron <sh...@gmail.com>.
Confusing, sorry: "If you are not logged in, it will tell you to login with
your npm account"
On Tue, Apr 11, 2017 at 5:22 PM, Shazron <sh...@gmail.com> wrote:
> Hi,
> With this as the current working directory: https://github.com/
> apache/polygene-java/tree/develop/tools/generator-polygene
>
> Run
> ```
> npm publish
> ```
>
> If you don't have an npm account while you are logged in, it will tell you
> to. More info: "npm publish --help"
>
>
> On Tue, Apr 11, 2017 at 5:07 PM, Niclas Hedhman <ni...@apache.org> wrote:
>
>> Hi,
>> In Apache Polygene, we are to publish to npm registry, and are a little
>> bit
>> uncertain of how to do it.
>>
>> Incubator pointed me to this community possibly having some experience. Do
>> you have any links (Jiras, website, mail) on that topic that I could go
>> through and not do the same mistakes that you might have done.
>>
>> Cheers (Note: I am not subscribed)
>> --
>> Niclas Hedhman, Software Developer
>> http://zest.apache.org - New Energy for Java
>>
>
>
Re: Publish to npm registry
Posted by Shazron <sh...@gmail.com>.
Hi,
With this as the current working directory:
https://github.com/apache/polygene-java/tree/develop/tools/generator-polygene
Run
```
npm publish
```
If you don't have an npm account while you are logged in, it will tell you
to. More info: "npm publish --help"
On Tue, Apr 11, 2017 at 5:07 PM, Niclas Hedhman <ni...@apache.org> wrote:
> Hi,
> In Apache Polygene, we are to publish to npm registry, and are a little bit
> uncertain of how to do it.
>
> Incubator pointed me to this community possibly having some experience. Do
> you have any links (Jiras, website, mail) on that topic that I could go
> through and not do the same mistakes that you might have done.
>
> Cheers (Note: I am not subscribed)
> --
> Niclas Hedhman, Software Developer
> http://zest.apache.org - New Energy for Java
>