Giter Site home page Giter Site logo

Comments (5)

heartsucker avatar heartsucker commented on August 24, 2024 1

@Ashishjshetty Your idea is similar to what I was considering implementing, but I think this would start creeping into a few too many features/flags. Right now node-deb uses reasonable (IMO) defaults for everything but provides the ability to override everything else via templates. I think I'm going to decline your offer to add this feature at the moment.

from node-deb.

heartsucker avatar heartsucker commented on August 24, 2024

One option would be to use the --template-control option to pass in a template for the control file with the dependencies hard coded and to not use the {{ node_deb_package_dependencies }} notation. This will avoid injecting nodejs (or anything else from package.json) and still let you specify your dependencies.

I think there is a fix I can make that won't break backwards compatibility, but I won't have time to implement it for a few days at least.

from node-deb.

Ashishjshetty avatar Ashishjshetty commented on August 24, 2024

Sure, if there is anything I can do , let me know, I will look into what
you suggest ed. Thank you.

On Oct 14, 2016 5:06 PM, "heartsucker" [email protected] wrote:

One option would be to use the --template-control option to pass in a
template for the control file with the dependencies hard coded and to not
use the {{ node_deb_package_dependencies }} notation. This will avoid
injecting nodejs (or anything else from package.json) and still let you
specify your dependencies.

I think there is a fix I can make that won't break backwards
compatibility, but I won't have time to implement it for a few days at
least.


You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
#26 (comment),
or mute the thread
https://github.com/notifications/unsubscribe-auth/AGISJBEoWgvlFOTyJGcWI2ZrPKwwp4Zlks5qz2k2gaJpZM4KW58P
.

from node-deb.

Ashishjshetty avatar Ashishjshetty commented on August 24, 2024

hi @heartsucker ,
I was thinking maybe we can add another option something like node_deb.no_node = true in package.json and check if is set ,ignore nodejs dependency and in all other cases inject nodejs dependency which will allow backwards compatibility. What do you think?, If you want i will make the necessary changes and send a PR.

from node-deb.

Ashishjshetty avatar Ashishjshetty commented on August 24, 2024

yes i thought the same, will go with template control option for now, Thank You.

from node-deb.

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.