Kendo UI Professional npm package

Thread is closed for posting
36 posts, 0 answers
  1. Josh
    Josh avatar
    72 posts
    Member since:
    Jun 2013

    Posted 01 Oct 2015 Link to this post

    Is it possible to install Kendo UI Professional as npm module?

    I see there's a git repository with Kendo UI Professional Bower package but i can't find Kendo UI Professional npm ​package.

     Thanks.

  2. T. Tsonev
    Admin
    T. Tsonev avatar
    2770 posts

    Posted 05 Oct 2015 Link to this post

    Hello,

    We haven't really considered building a NPM package for Kendo UI. It doesn't make a lot of sense as we don't support NodeJS as a runtime.
    Most of the widgets, if not all, require a live DOM to function which means a browser.

    I hope this makes sense.

    Regards,
    T. Tsonev
    Telerik
     
    Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
     
  3. Kendo UI is VS 2017 Ready
  4. William
    William avatar
    6 posts
    Member since:
    Dec 2014

    Posted 11 Oct 2015 Link to this post

    T Tsonev I agree it should be published on the NPM repository.  The world is moving away from using bower and getting their packages directly from NPM.  I am not running NodeJS server but I still use NPM for front end building and package management as are yourselves have a look at the build instructions.

     https://github.com/telerik/kendo-ui-core

     

    If you are relying on NPM to do the build of your own framework why not publish it out to NPM so we can do the same?

  5. Petyo
    Admin
    Petyo avatar
    2438 posts

    Posted 13 Oct 2015 Link to this post

    Hello William,

     

    your observation is correct. In fact, JSPM is also something we should look into. A workaround you may utilize currently is to install Kendo UI from the git url using napa. Something like this in package.json should do the trick:

     

    {
        "scripts": {
            "install": "napa git+https://github.com/kendo-labs/bower-kendo-ui.git" // or the private bower url, respectively. 
        }
    }

     

    Regards,
    Petyo
    Telerik
     
    Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
     
  6. Josh
    Josh avatar
    72 posts
    Member since:
    Jun 2013

    Posted 13 Nov 2015 in reply to Petyo Link to this post

    And... then there's this:

    https://twitter.com/nachocoloma/status/663622545162280960

    :D​

  7. Petyo
    Admin
    Petyo avatar
    2438 posts

    Posted 17 Nov 2015 Link to this post

    Hello Josh,

     

    yes, we follow the recent development of events regarding the bower development, too. Bower still works, but it looks like all current frameworks (react, angular, bootstrap to name a few) "recommend" the NPM way.  

     

    Regards,
    Petyo
    Telerik
     
    Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
     
  8. andy
    andy avatar
    2 posts
    Member since:
    May 2015

    Posted 22 Dec 2015 in reply to Petyo Link to this post

    Hi,

     

    Has there been any progress on this? It's not possible to use napa with private repos.

     

    Thanks,

    Andy

  9. Alex Gyoshev
    Admin
    Alex Gyoshev avatar
    2500 posts

    Posted 23 Dec 2015 Link to this post

    Hello Andy,

    I am afraid that we do not offer private npm packages yet.

    Regards,
    Alex Gyoshev
    Telerik
     
    Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
     
  10. Pascale
    Pascale avatar
    2 posts
    Member since:
    Jan 2016

    Posted 13 Jan in reply to Alex Gyoshev Link to this post

    Hi Telerik guys,

    Just saying that I would really appreciate a NPM packages, and the reason is pretty much simple... the module bundler (WebPack, Browserify, etc.) are on NPM. There is no need to support NodeJS as a runtime, just to support NPM.

    Yes, we can add Bower to the projects... but quite bad to have 2 package managers.

    Kind regards,

    Pascale

  11. andy
    andy avatar
    2 posts
    Member since:
    May 2015

    Posted 13 Jan in reply to Pascale Link to this post

    I for one am not planing any new projects with Bower as PM.
  12. Jeff
    Jeff avatar
    2 posts
    Member since:
    Nov 2011

    Posted 13 Jan Link to this post

    I too would like to use an NPM package. Thanks
  13. Josh
    Josh avatar
    72 posts
    Member since:
    Jun 2013

    Posted 13 Jan Link to this post

    Someone beat me to adding this to the Kendo UserVoice feedback portal: http://kendoui-feedback.telerik.com/forums/127393-telerik-kendo-ui-feedback/suggestions/11434125-npm-package

    Please go there to vote for this issue, versus any more comments on this thread.

  14. Mike
    Mike avatar
    18 posts
    Member since:
    Dec 2015

    Posted 13 Jan in reply to T. Tsonev Link to this post

    @ T Tsonev,

     Your arguments would against having an npm install for Kendo UI Pro would apply equally to the open source version, yet there it is:

    https://www.npmjs.com/package/kendo-ui-core  

    Install with:

    npm install kendo-ui-core

     

    Tools like Webpack and JSPM will resolve the differences between CommonJS, AMD and even ES6 modules (with a little help from Babel).

    So why doesn't Telerik let us developers worry about that, you put Kendo UI Pro on npm, as we are asking?

     

     

     

  15. Alex Gyoshev
    Admin
    Alex Gyoshev avatar
    2500 posts

    Posted 14 Jan Link to this post

    Hello Mike,

    You are right, and this task is currently in progress. Once we have a private NPM registry bound to our authorization infrastructure, we will provide Kendo UI Professional on NPM.

    Regards,
    Alex Gyoshev
    Telerik
     
    Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
     
  16. Mike
    Mike avatar
    18 posts
    Member since:
    Dec 2015

    Posted 14 Jan in reply to Alex Gyoshev Link to this post

     Thank you, @Alex Gyoshev.  That's great news!

     Do you have an ETA for this?

     It would be great to be able to ditch Bower, where Kendo UI Pro currently *does* reside.  And that's the only reason that I'm forced to use Bower at the moment.

  17. Alex Gyoshev
    Admin
    Alex Gyoshev avatar
    2500 posts

    Posted 15 Jan Link to this post

    Hello Mike,

    I am afraid that we have no estimate at this time.

    Regards,
    Alex Gyoshev
    Telerik
     
    Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
     
  18. Jeff
    Jeff avatar
    2 posts
    Member since:
    Nov 2011

    Posted 15 Jan in reply to Alex Gyoshev Link to this post

    Thank you! I will be looking forward to this release.
  19. Mike
    Mike avatar
    18 posts
    Member since:
    Dec 2015

    Posted 07 Mar in reply to Alex Gyoshev Link to this post

    Any update on this, Alex (or anybody else at Telerik)?

    Do we have a date or targeted release of KendoUI Pro on NPM?

  20. Petyo
    Admin
    Petyo avatar
    2438 posts

    Posted 08 Mar Link to this post

    Hello,

    there is no update on this. We don't have concrete estimates about the infrastructure necessary to support this effort. 

    Regards,
    Petyo
    Telerik
     
    Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
     
  21. Matheus
    Matheus avatar
    5 posts
    Member since:
    Jan 2016

    Posted 18 May Link to this post

    Is there any updates about this? Or any place that I could check this out?

    I'm studing angular2 rigth now and I look forward for this update!

     

  22. Petyo
    Admin
    Petyo avatar
    2438 posts

    Posted 19 May Link to this post

    Hi,

    The private NPM registry setup is part of our Q3 2016 development efforts. Once ready, we will announce the necessary details. 

    Regards,
    Petyo
    Telerik
     
    Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
     
  23. Petyo
    Admin
    Petyo avatar
    2438 posts

    Posted 08 Jun Link to this post

    Hi,

    We need your feedback, as a proof-of-concept NPM installation is available for Kendo UI Professional. Please check the installation steps here:

    http://docs.telerik.com/kendo-ui/intro/installation/npm#kendo-ui-professional
     

    Regards,
    Petyo
    Telerik
     
    Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
     
  24. Mike
    Mike avatar
    18 posts
    Member since:
    Dec 2015

    Posted 08 Jun in reply to Petyo Link to this post

    It worked fine for me, Petyo.  And very quick compared to Bower.

    I didn't need my login details though.  Just the following was enough for me to install from npm:

     npm install 'git+https://bower.telerik.com/npm-kendo-ui.git' --save-dev

     

    And that's just as well, because wouldn't my login details have been saved in the package.json file if I'd followed the instructions on that URL?

     

     

  25. Petyo
    Admin
    Petyo avatar
    2438 posts

    Posted 09 Jun Link to this post

    Hello Mike,

    Thank you! Given that you mention Bower, most likely you have followed the steps to save your credentials in the _netrc file - hence you don't need them here. At any case, I think you will need them in the package.json file in order for the installation to work when deploying to production. 

    Regards,
    Petyo
    Telerik
     
    Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
     
  26. Hal
    Hal avatar
    3 posts
    Member since:
    May 2014

    Posted 13 Jun Link to this post

    This new NPM package doesn't work well with AngularJS in my experience. I had a bunch of headaches trying to get angular to see jQuery when initially binding the 'kendo.directives' to my root Angular module. The dependencies seem a bit clumsy here. Any plan to address this to make this package work with Angular 1 out the box? Or any suggestions for a decent work around welcome...
  27. Petyo
    Admin
    Petyo avatar
    2438 posts

    Posted 14 Jun Link to this post

    Hi,

    may you post your setup somewhere? Most likely, what's missing is the dependency of kendo ui to angular which should be set manually. 

    Regards,
    Petyo
    Telerik
     
    Get started with Kendo UI in days. Online training courses help you quickly implement components into your apps.
     
  28. Noah
    Noah avatar
    15 posts
    Member since:
    Jan 2013

    Posted 27 Jun Link to this post

    the kendo project jquery dependency version is set to >=1.9.1.  this pulls in version 3.x.x which doesn't work.  it might be better to set a peer dependency and let the people using the library decide which version of jquery to use.

  29. Petyo
    Admin
    Petyo avatar
    2438 posts

    Posted 28 Jun Link to this post

    Hi,

    Thank you for the heads up - I think that this can be fixed by narrowing down the jQuery version in the dependencies list of the app.

    In other news, we are working on making Kendo UI work with jQuery 3. 

    Regards,
    Petyo
    Telerik
     
    Get started with Kendo UI in days. Online training courses help you quickly implement components into your apps.
     
  30. Hal
    Hal avatar
    3 posts
    Member since:
    May 2014

    Posted 30 Jun in reply to Petyo Link to this post

    The only way i could get this working with webpack and angular was by bringing down jquery 2.2.4 and replacing all the `require('jquery');` statements in the kendo.*.js libs with `require('jquery/dist/jquery.js');`. Am I over looking something here?

    Thanks...

  31. Hal
    Hal avatar
    3 posts
    Member since:
    May 2014

    Posted 30 Jun Link to this post

    Apologies,

    I retract my previous comment (not sure how to delete it). using an explicit reference to jquery version 2.2.4 in my app's package.json has kendo working out the box... 1.9.1 doesn't work though. Cheers.

Back to Top
Kendo UI is VS 2017 Ready