Renaming your module - bitfocus/companion-module-base GitHub Wiki
This process needs a rework
Due to some technical changes on the module inclusion process, this flow may not be possible anymore. We need to review it and reconsider what is possible and allowed
-
Make sure you are happy for any changes in the main branch of the module to be included into beta builds of Companion
-
Ask in the module-development slack for approval on the new name
This is so that we can be sure the new name conforms to our standard structure ofcompanion-module-manufacturer-product(orcompanion-module-manufacturer-protocol). -
Once approved, the team will be able to rename the GitHub repository for you.
-
Some additional changes need to be made. This might be done for you, or might be left for you to do:
- Update the
nameand any urls in thepackage.json - Update the
nameand related fields incompanion/manifest.json - Add the old name to the
legacyIdsarray incompanion/manifest.json. This lets Companion know of the rename, so that existing users will be migrated accross.
- Update the
-
Once everything is updated, this can be included in the builds
A note for the maintainers running the build script, the old module name will need to be manually removed from the bundled-modules github repository.