• Recent
  • Tags
  • Unsolved
  • Solved
  • MagicMirror² Repository
  • Documentation
  • 3rd-Party-Modules
  • Donate
  • Discord
  • Register
  • Login
MagicMirror Forum
  • Recent
  • Tags
  • Unsolved
  • Solved
  • MagicMirror² Repository
  • Documentation
  • 3rd-Party-Modules
  • Donate
  • Discord
  • Register
  • Login
A New Chapter for MagicMirror: The Community Takes the Lead
Read the statement by Michael Teeuw here.

Handle dependencies

Scheduled Pinned Locked Moved Development
4 Posts 2 Posters 2.2k Views 2 Watching
Loading More Posts
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • A Offline
    alexyak
    last edited by Sep 2, 2016, 3:16 PM

    I’ve developed a camera module that works in tandem with my voicecontrol module. How do we handle these module to module dependencies when publishing a module?

    S 1 Reply Last reply Sep 2, 2016, 3:46 PM Reply Quote 0
    • S Offline
      strawberry 3.141 Project Sponsor Module Developer @alexyak
      last edited by strawberry 3.141 Sep 2, 2016, 3:47 PM Sep 2, 2016, 3:46 PM

      @alexyak I have something like this as well, I try to implement mine to work without the other module and will add a config option that will add it as a feature. If this is not possible, I put a notice in the install guide

      Please create a github issue if you need help, so I can keep track

      A 1 Reply Last reply Sep 2, 2016, 3:52 PM Reply Quote 0
      • A Offline
        alexyak @strawberry 3.141
        last edited by alexyak Sep 2, 2016, 4:04 PM Sep 2, 2016, 3:52 PM

        thank you, @strawberry-3.141. But couldn’t we use the git url as dependencies in the package.json?

        Unrelated questions how do you insert github-card into a post?

        S 1 Reply Last reply Sep 2, 2016, 4:00 PM Reply Quote 0
        • S Offline
          strawberry 3.141 Project Sponsor Module Developer @alexyak
          last edited by strawberry 3.141 Sep 2, 2016, 4:01 PM Sep 2, 2016, 4:00 PM

          @alexyak e.g. [ card : alexyak/motiondetector ] without spaces

          Please create a github issue if you need help, so I can keep track

          1 Reply Last reply Reply Quote 0
          • 1 / 1
          1 / 1
          • First post
            1/4
            Last post
          Enjoying MagicMirror? Please consider a donation!
          MagicMirror created by Michael Teeuw.
          Forum managed by Sam, technical setup by Karsten.
          This forum is using NodeBB as its core | Contributors
          Contact | Privacy Policy