Skip to content

Git submodule package.json dependencies #1539

@Johnz86

Description

@Johnz86

In 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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions