Git submodule package.json dependencies
See original GitHub issueIn our project we have multiple git submodules, which have their own package.json definition. The main package.json has definition like this:
"dependencies": {
"react": "15.4.2",
"submodule_1": "client/submodule_1",
"submodule_2": "client/submodule_2",
},
The file structure of the project is something like this:
root_project
|-client
| |-submodule_1
| | '--package.json
| '-submodule_2
| '--package.json
'-package.json
So on npm install we have a all necessary modules downloaded. The problem is that electron does not package the submodule dependencies to the final installer. Is there a way to build the electron app with the dependencies from nested git submodules?
Issue Analytics
- State:
- Created 6 years ago
- Reactions:1
- Comments:9 (6 by maintainers)
Top Results From Across the Web
npm install dependencies of a git submodule - Stack Overflow
In this project's history, our install and build procedure has been: $ npm install # install dependencies in package. json $ grunt init...
Read more >Using Git submodules to streamline Node.js package ...
Git's submodule feature can streamline this by letting you ... The only dependency we've listed in package.json is the package directory.
Read more >Ubuntu Manpage: npm-submodule - Add a package as a git ...
DESCRIPTION. If the specified package has a git repository url in its package.json description, then this command will add it as a git...
Read more >Resolving Application Dependencies with Git Submodules
Git submodules, library-vendoring and private package repositories are all available when specifying application dependencies on Heroku.
Read more >git-submodule-utils - npm Package Health Analysis - Snyk
Git Submodule Utils ... This small package is meant to help initializing git submodules, and pinning them to a certain branch instead of...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
@bradydowling My comment is not relevant anymore. Please file a new issue (thanks for project) to be not forgotten
I’m having this issue with and without asar packaging. I’ll dig into it more with asar enabled but @develar what do you mean by “use default”?
Here’s the repo I’ve spun up.