grunt-bower-task icon indicating copy to clipboard operation
grunt-bower-task copied to clipboard

[Feature Request] Only install bower packages if there is a newer version

Open dotnetCarpenter opened this issue 11 years ago • 4 comments

I'm not sure if this can be done but it would be nice if grunt-bower-task could keep track of what versions is installed and not update if the current version is the newest. grunt-bower-task should keep track of this outside the project directory, e.g. in a file inside node_modules/grunt-bower-task. I realize that, sometimes you want to do re-installs, regardless. But it would be a nice option to have.

Should work with cleanup: true option.

dotnetCarpenter avatar Feb 05 '14 09:02 dotnetCarpenter

+1

ChrisC avatar Feb 05 '14 19:02 ChrisC

I think you can try grunt "newer" package

AndrewDryga avatar Apr 08 '14 01:04 AndrewDryga

@AndrewDryga What do you mean?

dotnetCarpenter avatar Apr 09 '14 21:04 dotnetCarpenter

Usually this package works to process only newer files (but I didn't tryed it with bower): https://www.npmjs.org/package/grunt-newer

AndrewDryga avatar Apr 09 '14 21:04 AndrewDryga