Coder Social home page Coder Social logo

add: do recursive dependency install about volo HOT 4 CLOSED

volojs avatar volojs commented on August 30, 2024
add: do recursive dependency install

from volo.

Comments (4)

KidkArolis avatar KidkArolis commented on August 30, 2024

Hi James. I was wondering if there is any progress with this feature?

I'm thinking about splitting my large app into modules. The main container app would then have a package.json listing all of the modules as dependencies. Each module might have other modules as dependencies as well as "jquery" and "backbone" and other libraries. I want the following 2 scenarios to be possible:

  1. Running any module standalone. I would have to do volo install (similarly to npm install), to install dependencies for this module locally.
  2. Running the main container app with all of the modules. This time, when I run volo install, I want all of the nested dependencies to be loaded in such a way that I only have a single jquery file and a single backbone file and all my modules would correctly reference those files. I could then build the core app, the modules and library dependencies as separate AMD modules or all as one file.

Does that make sense? Do you know if it's currently possible with any other tools out there? Is this something that volo wants to support in the future? Is volo in a good enough state for me to take an attempt to build this kind of feature in?

Thanks!

from volo.

jrburke avatar jrburke commented on August 30, 2024

The 0.2.0 release has recursive install capability now, it looks in the package.json's volo.dependencies for the dependencies. It is still new though, so I'm sure there are some rough edges. Feel free to open more targeted bugs around them if you see them.

from volo.

passy avatar passy commented on August 30, 2024

Very cool, I will give it a try. Thank you, James!

from volo.

KidkArolis avatar KidkArolis commented on August 30, 2024

Awesome!

from volo.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.