Is there any sample/medium/blog teaching how to publish/consume a js library with gradle?
a
ankushg
08/16/2018, 9:04 PM
Haven't written up anything yet, but I'm working on a project that's a KMPP that spits out a few npm modules that we consume from our JS app. It doesn't consume any JS libraries, so I can't talk to that, but if you've got particular questions about publishing JS I can try to be helpful
ankushg
08/16/2018, 9:06 PM
Definitely still in the early stages though -- will probably write something after I'm further along
j
juliocbcotta
08/16/2018, 9:38 PM
ohh thanks..
Well... I am working in a kmpp library too and I got the js version working with the frontend plugin... but I don't have a clue of how it the publishing process of the js lib... Will I have to create an account in the NPM site ? Is it something like the jar/aar publishing process?
a
ankushg
08/16/2018, 9:45 PM
Yeah so I'm not using the frontend plugin but instead am using this: https://github.com/srs/gradle-node-plugin
If you want to publish to NPM, you'll need to create an account, write a
package.json
and then call
npm publish
j
juliocbcotta
08/16/2018, 10:16 PM
Ok, I will take a look at it. I know frontend plugin creates the