This is a migrated thread and some comments may be shown as answers.

Kendo UI Professional npm package

35 Answers 1359 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Josh
Top achievements
Rank 1
Josh asked on 01 Oct 2015, 09:02 AM

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.

35 Answers, 1 is accepted

Sort by
0
T. Tsonev
Telerik team
answered on 05 Oct 2015, 06:48 AM
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!
 
0
William
Top achievements
Rank 1
answered on 11 Oct 2015, 05:22 PM

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?

0
Petyo
Telerik team
answered on 13 Oct 2015, 03:25 PM

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!
 
0
Josh
Top achievements
Rank 1
answered on 13 Nov 2015, 08:19 PM

And... then there's this:

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

:D​

0
Petyo
Telerik team
answered on 17 Nov 2015, 08:24 AM

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!
 
0
laura
Top achievements
Rank 1
answered on 22 Dec 2015, 09:59 PM

Hi,

 

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

 

Thanks,

Andy

0
Alex Gyoshev
Telerik team
answered on 23 Dec 2015, 03:20 PM

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!
 
0
Pascale
Top achievements
Rank 1
answered on 13 Jan 2016, 05:08 PM

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

0
laura
Top achievements
Rank 1
answered on 13 Jan 2016, 05:18 PM
I for one am not planing any new projects with Bower as PM.
0
Jeff
Top achievements
Rank 2
answered on 13 Jan 2016, 05:22 PM
I too would like to use an NPM package. Thanks
0
Josh
Top achievements
Rank 1
answered on 13 Jan 2016, 05:30 PM

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.

0
Mike
Top achievements
Rank 1
answered on 14 Jan 2016, 04:14 AM

@ 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?

 

 

 

0
Alex Gyoshev
Telerik team
answered on 14 Jan 2016, 02:49 PM

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!
 
0
Mike
Top achievements
Rank 1
answered on 14 Jan 2016, 09:05 PM

 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.

0
Alex Gyoshev
Telerik team
answered on 15 Jan 2016, 12:59 PM

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!
 
0
Jeff
Top achievements
Rank 2
answered on 15 Jan 2016, 03:33 PM
Thank you! I will be looking forward to this release.
0
Mike
Top achievements
Rank 1
answered on 08 Mar 2016, 03:53 AM

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

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

0
Petyo
Telerik team
answered on 08 Mar 2016, 09:01 AM
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!
 
0
Matheus
Top achievements
Rank 1
answered on 19 May 2016, 12:12 AM

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!

 

0
Petyo
Telerik team
answered on 19 May 2016, 05:59 AM
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!
 
0
Petyo
Telerik team
answered on 08 Jun 2016, 08:53 AM
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!
 
0
Mike
Top achievements
Rank 1
answered on 09 Jun 2016, 02:50 AM

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?

 

 

0
Petyo
Telerik team
answered on 09 Jun 2016, 07:11 AM
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!
 
0
Hal
Top achievements
Rank 2
answered on 13 Jun 2016, 08:57 PM
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...
0
Petyo
Telerik team
answered on 14 Jun 2016, 07:34 AM
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.
 
0
Noah
Top achievements
Rank 2
Iron
Iron
Iron
answered on 27 Jun 2016, 01:08 PM

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.

0
Petyo
Telerik team
answered on 28 Jun 2016, 11:16 AM
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.
 
0
Hal
Top achievements
Rank 2
answered on 30 Jun 2016, 06:15 AM

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...

0
Hal
Top achievements
Rank 2
answered on 30 Jun 2016, 06:28 AM

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.

0
Martin
Top achievements
Rank 1
answered on 30 Jun 2016, 02:33 PM

Hello,

Thanks for providing a npm access for kendo. It's the last dependency requiring me to keep bower in my project.

Since this is a git repository, I understand it's source files only (you do provide min.css files though).

I was wondering if you could provide a build version of the js files (min.js) as well?

If it's not possible, can you provide your internal build process to produce the same min.js we are getting from the bower package?

 

Thanks!

0
Petyo
Telerik team
answered on 04 Jul 2016, 07:41 AM
Hi,

the minification process is a fairly standard thing - we use uglifyJS. Most likely, you consume the npm package through a tool like browserify, webpack, or systemjs - all of them include standard means to minifiy the final output. 

Regards,
Petyo
Telerik
 
Get started with Kendo UI in days. Online training courses help you quickly implement components into your apps.
 
0
Tony
Top achievements
Rank 1
answered on 06 Aug 2016, 03:17 AM

Hello,
I can't seem to get this to work. When I try the instructions here:

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

I get an npm error: 

    fatal: Unable to find remote helper for 'git+https'

 

 

0
Tony
Top achievements
Rank 1
answered on 06 Aug 2016, 03:19 AM
Just wanted to mention that I tried using  node v6.3.0 with npm v3.10.3 as well as node v5.11.0 with npm v3.8.6
0
Tony
Top achievements
Rank 1
answered on 06 Aug 2016, 03:02 PM

Hello,
I looked into this further and this may be related to this issue for npm:

https://github.com/npm/npm/issues/8881#issuecomment-120108472

So looks like the format of the url for a 'git+https//' url may have changed. Can someone look into this and see if this is the issue?

0
Tony
Top achievements
Rank 1
answered on 08 Aug 2016, 01:11 AM
Never mind. Turns out I was using the wrong url all along. Works fine now.
Tags
General Discussions
Asked by
Josh
Top achievements
Rank 1
Answers by
T. Tsonev
Telerik team
William
Top achievements
Rank 1
Petyo
Telerik team
Josh
Top achievements
Rank 1
laura
Top achievements
Rank 1
Alex Gyoshev
Telerik team
Pascale
Top achievements
Rank 1
Jeff
Top achievements
Rank 2
Mike
Top achievements
Rank 1
Matheus
Top achievements
Rank 1
Hal
Top achievements
Rank 2
Noah
Top achievements
Rank 2
Iron
Iron
Iron
Martin
Top achievements
Rank 1
Tony
Top achievements
Rank 1
Share this question
or