Comments (6)
👍 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.
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.
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.
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.
How do you get the check-dependencies.js
?
from ember-cli-dependency-checker.
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)
- Bower deprecations in ember-cli 4.3 HOT 5
- peer-dependency of ember-cli 3.2 HOT 2
- Fix ember-cli 4.x deprecations
- Reported Vulnerability for package set-value/2.0.1 with ember-cli-dependency-checker/3.3.1 version
- does not properly detect resolutions
- 3.3.2 includes the CI config
- Detect yarn and surface correct error message HOT 2
- Add ember-cli team to `npm` for releases... HOT 1
- Incorrectly flagging optional dependencies HOT 6
- dev dependencies required to be installed before running ember-deploy HOT 4
- Unhelpful message `TypeError: Invalid Version: *` HOT 2
- Broken with npm5 generated shrinkwraps HOT 2
- Yarn workspaces HOT 2
- Gets confused when dealing with Bower packages installed via Yarn HOT 5
- can't find packages if different directory specified in .bowerrc HOT 1
- False positive `Missing npm packages:` when installing from tarball HOT 1
- Yarn PnP Support HOT 1
- Idea: fail build if peerDep is missing? HOT 7
- Resolution of file: paths still failing HOT 3
- Major version release notes?
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ember-cli-dependency-checker.