Add selected components from custom download tool in JS comments

18 posts, 0 answers
  1. Adam
    Adam avatar
    3 posts
    Member since:
    Dec 2013

    Posted 25 Jun 2015 Link to this post

    I use the custom download tool http://www.telerik.com/download/custom-download to get the smallest package possible but when a Kendo UI update is released I always find it hard to remember exactly which components I need to include in the download that I used last time. It would be helpful to include all the ticked items in the downloaded JS as comments at the top of the file. 
  2. Kiril Nikolov
    Admin
    Kiril Nikolov avatar
    2565 posts

    Posted 30 Jun 2015 Link to this post

    Hello Adam,

    Currently selection cannot be persisted with the custom download build tool. You can use the grunt builder and persists the selection there. How to build custom distribution with grunt is explained in the following README:

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

    Regards,
    Kiril Nikolov
    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. Adam
    Adam avatar
    3 posts
    Member since:
    Dec 2013

    Posted 02 Jul 2015 in reply to Kiril Nikolov Link to this post

    Thanks that will be useful. But can I do this across non-free components e.g. Grid? I won't have the source files in a form that will work with Grunt will?
  5. Kiril Nikolov
    Admin
    Kiril Nikolov avatar
    2565 posts

    Posted 02 Jul 2015 Link to this post

    Hello Adam,

     

    You can use Grunt to build the non-opensource version of the product as well. The approach is the same. You just need to have the required files available on your machine.

     

    Regards,
    Kiril Nikolov
    Telerik
     
    Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
     
  6. Darlesson
    Darlesson avatar
    1 posts
    Member since:
    Dec 2015

    Posted 13 Jan in reply to Kiril Nikolov Link to this post

    The professional version 2016.1.112 released today doesn't include the Gruntfile.js anymore. I was using the Grunt to run grunt custom task in a child process and unfortunately that is now broken. I thought I was doing something wrong as the documentation http://docs.telerik.com/kendo-ui/intro/installation/what-you-need still states Grunt should be used. When I checked the /src folder I saw it was replaced by Gulp.

  7. Kiril Nikolov
    Admin
    Kiril Nikolov avatar
    2565 posts

    Posted 14 Jan Link to this post

    Hello Darlesson,

     

    Grunt was replaced by Gulp in the latest release, this is why we ship gulpfile.js now. We have updated the README of the repository as well. We have also added note in the breaking changes documentation page:

    http://docs.telerik.com/kendo-ui/backwards-compatibility/2016/2016-backward-compatibility

     

    Regards,
    Kiril Nikolov
    Telerik
     
    Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
     
  8. Scott
    Scott avatar
    17 posts
    Member since:
    Aug 2015

    Posted 15 May in reply to Kiril Nikolov Link to this post

    I've tried building the telerik.kendoui.professional.2016.2.504.commercial-source.zip files using gulp and I'm consistently getting errors.  A newer gulp version is out, which is easy to fix, but this one is consistent on both Linux and Windows.  Any ideas?

    /home/scott/src/kendouipro/src/gulpfile.js:83

        .pipe(uglify, { compress, mangle, preserveComments: "license" })
                                ^
    SyntaxError: Unexpected token ,
        at Module._compile (module.js:439:25)
        at Object.Module._extensions..js (module.js:474:10)
        at Module.load (module.js:356:32)
        at Function.Module._load (module.js:312:12)
        at Module.require (module.js:364:17)
        at require (module.js:380:17)
        at Liftoff.handleArguments (/usr/local/lib/node_modules/gulp/bin/gulp.js:116:3)
        at Liftoff.<anonymous> (/usr/local/lib/node_modules/gulp/node_modules/liftoff/index.js:193:16)
        at module.exports (/usr/local/lib/node_modules/gulp/node_modules/liftoff/node_modules/flagged-respawn/index.js:17:3)
        at Liftoff.<anonymous> (/usr/local/lib/node_modules/gulp/node_modules/liftoff/index.js:185:9)

  9. Kiril Nikolov
    Admin
    Kiril Nikolov avatar
    2565 posts

    Posted 16 May Link to this post

    Hello,

    Which gulp version are you using? What is the version of the gulpfile, is it the latest one?

    Regards,
    Kiril Nikolov
    Telerik
     
    Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
     
  10. Scott
    Scott avatar
    17 posts
    Member since:
    Aug 2015

    Posted 16 May in reply to Kiril Nikolov Link to this post

    I've got gulp 3.9.1 installed globally and the gulpfile.js is the one that came with the source code.  I've attached a zip containing the gulpfile.js, npm-shrinkwrap.json and package.json files.  There didn't seem to be any kind of version number in the gulpfile.js I could reference.

  11. Kiril Nikolov
    Admin
    Kiril Nikolov avatar
    2565 posts

    Posted 17 May Link to this post

    Hello,

    Note that the latest version is available here:

    https://github.com/telerik/kendo-ui-core/blob/master/gulpfile.js

    and it is different than the one in the file that you sent.

    Regards,
    Kiril Nikolov
    Telerik
     
    Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
     
  12. Scott
    Scott avatar
    17 posts
    Member since:
    Aug 2015

    Posted 18 May in reply to Kiril Nikolov Link to this post

    I was still having issues so I created an Ubuntu 16.04 VM using VirtualBox and followed the instructions on this page to build the free

    core version of Kendo UI...

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

    Which worked.  One thing I had to do was setup a symbolic link for nodejs (sudo ln -s /usr/bin/nodejs /usr/bin/node) but mostly it went very smooth.

    I then took a copy of the professional version and ran...

     

    1. npm install
    2. gulp less
    3. gulp custom -c autocomplete,dropdownlist

     

    ...which worked without issue.

     

    Why this worked when nothing else I tried did?  I don't know, but I thought I would put my experience here so that if someone else has this issue it may help them.

  13. Kiril Nikolov
    Admin
    Kiril Nikolov avatar
    2565 posts

    Posted 20 May Link to this post

    Hi,

    Thanks for sharing Scott! It will really be helpful for the other I am sure.

    As for why it did not work - it might be something in your machine configuration or the node version that you are using.

    Regards,
    Kiril Nikolov
    Telerik
     
    Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
     
  14. Adam
    Adam avatar
    3 posts
    Member since:
    Dec 2013

    Posted 30 Oct Link to this post

    Is there in anyway to replicate the feature selection of a component in the js build tool? It seems you can only add whole components without selecting specific features.
  15. Kiril Nikolov
    Admin
    Kiril Nikolov avatar
    2565 posts

    Posted 31 Oct Link to this post

    Hello,

    Currently this is not possible, however you can submit it as a feature request in our feedback portal, so it can be considered for future improvement.

    Regards,
    Kiril Nikolov
    Telerik by Progress
     
    Build rich, delightful, *native* Angular 2 apps with Kendo UI for Angular 2. Try it out today! Kendo UI for Angular 2 (currently in beta) is a jQuery-free toolset, written in TypeScript, designed from the ground up to offer true, native Angular 2 components.
     
  16. evb
    evb avatar
    3 posts
    Member since:
    Dec 2013

    Posted 10 Nov Link to this post

    I'm using angularjs together with kendo ui

    I tried the suggested way : gulp custom -c autocomplete,dropdownlist

    It creates a customized kendo.custom.min.js file, but when trying to use it, the application throws error that it don't find the kendo.directives.

    So is the gulp custom task useable with angularjs?

    How we say that the gulp task must include the needed angularjs kendo code?

    Regards

  17. Kiril Nikolov
    Admin
    Kiril Nikolov avatar
    2565 posts

    Posted 11 Nov Link to this post

    Hello,

    You need to include the angular directives as well:

    gulp custom -c angular,autocomplete,dropdownlist

    Regards,
    Kiril Nikolov
    Telerik by Progress
     
    Build rich, delightful, *native* Angular 2 apps with Kendo UI for Angular 2. Try it out today! Kendo UI for Angular 2 (currently in beta) is a jQuery-free toolset, written in TypeScript, designed from the ground up to offer true, native Angular 2 components.
     
  18. evb
    evb avatar
    3 posts
    Member since:
    Dec 2013

    Posted 14 Nov in reply to Kiril Nikolov Link to this post

    That sounds so obvious, why didn't I think about it myself.

    It is now working, thanks,

  19. Kiril Nikolov
    Admin
    Kiril Nikolov avatar
    2565 posts

    Posted 14 Nov Link to this post

    Hi,

    I am glad to hear that the issue is resolved.

    Regards,
    Kiril Nikolov
    Telerik by Progress
     
    Build rich, delightful, *native* Angular 2 apps with Kendo UI for Angular 2. Try it out today! Kendo UI for Angular 2 (currently in beta) is a jQuery-free toolset, written in TypeScript, designed from the ground up to offer true, native Angular 2 components.
     
Back to Top
Kendo UI is VS 2017 Ready