Git Product home page Git Product logo

Comments (6)

quaertym avatar quaertym commented on May 30, 2024

👍 I have a plan to work on an ember-agnostic dependency checker. However it is not clear how to make it work without ember-cli's build process and addon architecture. I think dependency-checker perfectly fitted ember/ember-cli workflow. It won't work seamlessly as in ember's case for other projects since it will require the consumer of that package do some work based on his build process. I am giving some thought to improve that experience for non-ember projects.

from ember-cli-dependency-checker.

herbrandson avatar herbrandson commented on May 30, 2024

Fantastic!

Can you tell me more about the problems you're running into WRT non-ember projects? I was envisioning it needing a package.json and/or bower.json file and a node_modules and/or bower_components directory and being able to do it's magic from there. However, I obviously haven't through the implementation details to the degree that you have. What else would the consumer need to provide?

If such a package could be created, I could see there being grunt, gulp, etc. wrappers that would allow the functionality to be available to all sorts of custom build processes. For that matter, any application could actually verify itself as part of the startup process and exit if the needed dependencies weren't present. Just thinking out loud about all the cool possibilities... :)

from ember-cli-dependency-checker.

quaertym avatar quaertym commented on May 30, 2024

A standalone package requires user to integrate dependency-checker with user's broccoli, grunt or gulp setup. The benefit of ember & ember-cli conventions is that it allows to build tools and higher abstractions as in the case of dependency-checker. I am interested in extracting dependency-checking part of this library and use it in this addon but I am not interested in building grunt or gulp plugins.

I will close this issue now and reopen it when I have more concrete thoughts and work.

from ember-cli-dependency-checker.

kellyselden avatar kellyselden commented on May 30, 2024

I wonder if it might be possible to avoid build tools in the abstraction. Something like this for a node rest server:

"scripts": {
  "start": "node check-dependencies.js && node server.js"
}

Just to solve the issue of someone adding/updating a package in the node server, and not all devs noticing to do an npm install.

from ember-cli-dependency-checker.

quaertym avatar quaertym commented on May 30, 2024

How do you get the check-dependencies.js?

from ember-cli-dependency-checker.

kellyselden avatar kellyselden commented on May 30, 2024

It could be the "bin" file of the hypothetical new library. It wouldn't be imported into a consuming app, but run via command line before running your app.

from ember-cli-dependency-checker.

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.