Navigation

    MagicMirror Forum

    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • Donate
    • Discord

    Module template

    Education
    4
    8
    4450
    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.
    • R
      roramirez Core Contributors last edited by

      I wrote a module to help developers to build your own modules.

      This code include some examples and can be a quickstart. Included tasks to check code like is used in core by MagicMirror.

      Let me know any suggestion.

      1 Reply Last reply Reply Quote 4
      • Cato
        Cato Module Developer last edited by

        Had a quick look at it and it looks really great!

        I guess this is a much better start for first time MMM-developers since it includes most scenarios you need when you get past “Hello World”… (No offence, @MichMich!).

        I’ll probably start making a new module this weekend, so I’ll defently give this a try!

        Good work!

        1 Reply Last reply Reply Quote 0
        • J
          Jopyth Moderator last edited by

          Very nice start, I have had a look at it already, made a PR with a few things I stumbled upon. Let me know what you think on Github.

          R 1 Reply Last reply Reply Quote 0
          • R
            roramirez Core Contributors @Jopyth last edited by

            @Jopyth Your PR is already merged. Thanks!.

            1 Reply Last reply Reply Quote 0
            • R
              roramirez Core Contributors last edited by

              The new version 1.1.0 is released. Thanks to @Jopyth for your contribuitions.

              This version 1.1.0 include:

              [1.1.0] - 2017-03-04

              • Add example to use translations
              • Improvement configuration script and remote execution command
              • Fix description assignment
              • Set version by defaul 1.0.0 in template
              • Documentation fix and improvement
              strawberry 3.141 1 Reply Last reply Reply Quote 2
              • strawberry 3.141
                strawberry 3.141 Project Sponsor Module Developer @roramirez last edited by

                @roramirez you started the testsuite for the core project, how about adding this to the template as well?

                R 1 Reply Last reply Reply Quote 0
                • R
                  roramirez Core Contributors @strawberry 3.141 last edited by

                  @strawberry-3.141 Hi, yes, It’s a idea I’ve thinking how add the tests in modules.

                  You can comment about this on thread of testsuite. There a some people involved in this area https://forum.magicmirror.builders/topic/1456/test-suite-for-magicmirror

                  Maybe can be we work together for add this to testsuite

                  1 Reply Last reply Reply Quote 0
                  • R
                    roramirez Core Contributors last edited by

                    Hey, new release

                    [1.2.0] - 2017-07-21

                    • Use getStyles for module
                    • Include node 7 support
                    • Add test for ESLint, stylelint, jsonlint, markdownlint and js-yaml
                    • Include create CHANGELOG file
                    1 Reply Last reply Reply Quote 4
                    • 1 / 1
                    • First post
                      Last post
                    Enjoying MagicMirror? Please consider a donation!
                    MagicMirror created by Michael Teeuw.
                    Forum managed by Paul-Vincent Roll and Rodrigo Ramírez Norambuena.
                    This forum is using NodeBB as its core | Contributors
                    Contact | Privacy Policy