Git Product home page Git Product logo

Comments (10)

shidhincr avatar shidhincr commented on June 17, 2024

Agree.. It would be better if we change the Angular and Angular router load from bower packages

from lookaround.

sahilbhatia avatar sahilbhatia commented on June 17, 2024

@shidhincr @anuja-joshi

I am working on it. Will rebase and push the changes once you accept the pull request for issue #12

Waiting for you to accept issue #12 as that includes changes for ngRoute.

from lookaround.

shidhincr avatar shidhincr commented on June 17, 2024

@anuja-joshi @sahilbhatia I'll accept the PR now. The only problem is that, the changes for removing the sensor got removed when I merged the changes. So you might need to add that change again in your next PR.

from lookaround.

shidhincr avatar shidhincr commented on June 17, 2024

#16 is merged

from lookaround.

sahilbhatia avatar sahilbhatia commented on June 17, 2024

Thanks @shidhincr 😄

from lookaround.

anuja-joshi avatar anuja-joshi commented on June 17, 2024

@sahilbhatia will you be adding bower_components folder to git repo?

from lookaround.

sahilbhatia avatar sahilbhatia commented on June 17, 2024

Yes @anuja-joshi , I am planning to push it to git. I know it will increase the repo size but I see the following advantages of adding it to git:

  • Demo app is running on heroku (without the dependencies committed, the target server (e.g. Heroku) must run bower install to generate the dependencies)
  • Deployment process will no longer be dependent on availability of Bower repository

@anuja-joshi @shidhincr What are your thougts on this?

from lookaround.

shidhincr avatar shidhincr commented on June 17, 2024

@sahilbhatia I wouldn't rather do that. Because:

  • It's always better to do the bower install ( on build time ), so that we get the dependencies updated, and will know about any breaking changes.
  • For any new user who uses the app, it's better to do bower install on their machine rather than serving the whole bunch of files.
  • If we start adding more dependencies, this will be a pain to see whole bunch of these files in the commit history.

from lookaround.

anuja-joshi avatar anuja-joshi commented on June 17, 2024

@sahilbhatia I agree with approach suggested by @shidhincr ,
You can specify bower as dependency in package.json and add bower install in postinstall section.
You can refer this.

from lookaround.

sahilbhatia avatar sahilbhatia commented on June 17, 2024

Fair enough, will not push bower_compnents to git. Instead, I will add bower as dependency to package.json as suggested by @anuja-joshi above.

from lookaround.

Related Issues (13)

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.