qooxdoo / qooxdoo-compiler

Compiler for Qooxdoo, 100% javascript
MIT License
36 stars 23 forks source link

Allow dependencies to be for development only #475

Open johnspackman opened 5 years ago

johnspackman commented 5 years ago

From Gitter @sgaillard :

I everybody, I'm asking my question here since I don't know if there is some activity on 'forum like' tools for that. I have published a package for file I/O for qooxdoo 6.x : sgaillard/qxfileio. That package, when compiled on it's own requires qxl.apiviewer. I wonder if there is a way to require qxl.apiviewer only in that case and not when including it in an other project so that project using qxfileion but not requiring apiviewer does not have to install it?

cboulanger commented 5 years ago

It's already possible if you commit qx-lock.json containing the dependency but remove it from Manifest.json's requires section. But we can think about adding something like a requiresDev section...