GithubHelp home page GithubHelp logo

backbase-widget-dependencies-proposal's People

Contributors

robhrt7 avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

backbase-widget-dependencies-proposal's Issues

Do we need assets-tree.json?

assets-tree.json, that could be generated during backbase-cli install may be very useful for developing build scripts on project level. It will look approximately like this:

{
"bower_components" : {
  "jquery": {
    "js": "dist/jquery.js"
  }
},
"bb_components" : {
  "widget-robert-todo": {
    "js": "js/robert-todo.js",
    "css": "css/robert-todo.css"
  }
}
}

How do you think, will it be really useful, or we could just parse dependencies folders by hand from our project build scripts?

Is it worth it to maintain in official backbase-cli install tool?

Dependencies folder naming

As Bower allows to configure names, folder naming topic is open for discussion. Current proposal describes two endpoints for dependencies:

  • bower_components - standard Bower path for storing client-side dependencies
  • bb_components - backbase structure related folder for item dependencies (widgets, bundles, containers, etc...)

I suggest using standard directory for client-side dependencies, as in most open source projects in is not renamed. Despite the ability to configure, it's not always easy to follow conf changes, also as config for Bower is defined in .bowerrc, most users will not see it at all (dotfiles are hidden by default).

In case with item deps - bb_components, I chose temp name, so I would like to hear your options.

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.