Template Management Package
Overview
There are cases where individuals or teams frequently use common files, such as pull request template files or various lint-related files for different languages, across different projects.
This package allows you to sync template files stored in a GitHub repository across multiple projects.
While it is possible to use GitHub’s template repository feature, syncing templates after they are updated can be challenging, and template duplication can occur when creating separate templates for each language or library. For this reason, I created this custom package.
Usage
Template repository: https://github.com/nakobase/nakobase-project-template
Package repository: https://github.com/nakobase/nakobase-template-sync
Running the following command will present options to choose which template files to sync, and upon selection, the template repository files will be synchronized.
$ npx @nakobase/nakobase-template-sync
At present, this package is dependent on my project structure, but by forking and modifying it to fit your environment, it can be used in a similar way. If you’re interested, feel free to try it out!