Comments (5)
@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.
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.
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.
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.
yes i thought the same, will go with template control option for now, Thank You.
from node-deb.
Related Issues (20)
- No more node_modules/.bin directory in the debian package HOT 7
- Migrate from Bash to JavaScript
- Error parsing file HOT 6
- Using dh-sysuser when available HOT 1
- Unable to run app HOT 9
- node-deb not ignoring own temp directory... HOT 1
- Does node_deb.entrypoints.cli support more than 1 file? HOT 1
- Deprecated dependencies HOT 1
- Use node-deb in bitbucket pipelines HOT 1
- dpkg-deb: error: unable to create 'real-app_0.1.0_all.deb': Success
- Add option to specify conflicts
- Add Conflicts in debian control template
- add option to not create system users or groups HOT 3
- Typo prevents removing links from .bin HOT 1
- add tests for Bionic Beaver when it's released
- npm install in postinst fails when having native library dependency HOT 3
- Question: usage of pm2
- bash: node-deb: command not found HOT 5
- unescaped newline inside substitute pattern HOT 1
- postinst prevent user creation HOT 2
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 node-deb.