Lets say I have project A and B. Project B depends on Project A.
I am working on project A and I would like to see immediate results by running project B.
My co-worker is working on project B and is not allowed to check-out the code for project A at all!
In Maven+Intellij I can easily do this for Java projects. I can define module dependencies in Intellij which allows me to work on project A and run project B with my modifications. For my co-worker Maven will fetch the deployed artifact on our local repository.
Now I am trying to implement the same work-flow for front-end development. (images, HTML, JavaScript).
I decided to go with Bower which seems "straight and to the point".
How can I achieve these 2 qualities I have with Maven and Intellij:
Bower is a package manager for client-side libraries and components that contain HTML, CSS, JavaScript, fonts, image files, and so on. You can install, locate, upgrade, and remove Bower packages without leaving WebStorm, on the dedicated Bower page or from the command line in the built-in terminal.
1. Bower has been deprecated by its creators. After a long and heated debate on Github, the creators of Bower decided it does not add value to the current web development stack and should be discontinued.
json file which defines some information about the projects as well as a list of dependencies. The bower. json file is actually used to define a Bower package, so in effect you're creating your own package that contains all of the dependencies for your application.
I can only answer the first question as I have never used these IDEs.
You can use bower link
to symlink project A into project B.
Run bower link -h
for more info.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With