Closed dherges closed 10 years ago
@dherges You can take a look at brackets-grunt and see it can help your workflow.
Adding the extension idea label as this does not sound like something we'd have in Brackets core itself. (We close the extension idea issues as we are not directly working on them, but they are still available in searches...)
Well, I'll put it together in a grunt plugin https://github.com/dherges/grunt-bower
@dherges did you ever roll up your above 'bower-aem' code into a grunt plugin?
Eh yes.
https://github.com/dherges/grunt-bower-event https://github.com/dherges/grunt-bower-event/blob/master/tasks/lib/AemClientLibsListener.js
Do you need a working example? Haven't tried this out for a while ...
Hi,
this is a feature request / proposal.
At our company, we have an AEM workflow, where we user bower for dependency and package management of our frontend components.
bower install
extracts the components in a public JCR node, e.g./etc/clientlibs/project
. In a quick'n'dirty draft, I wrote a grunt task that reads thebower list --json
command and generates a.content.xml
file for each component so that they becomecq:ClientLibraryFolder
s once they're deployed to an AEM server.Idea is to write a grunt plugin hat automates all that stuff and is configurable (pathes, prefixes, etc.). Goal is to have a
bower.json
file and then run a single taskgrunt:bower-aem
, resulting in all the packages being ready to be deployed to AEM.Just let me know if that is of any interest to you.
Cheers, David
Quick draft: