@serhiy_ivanov/theme-loader
v1.2.0
Published
Theme manager that downloads themes from the remote repo, all you need to do is specify branch and name of the theme folder
Downloads
37
Readme
Remote git repo theme manager
REPO, BRANCH, THEME, DESTINATION_FOLDER - environment variables needed for this project
In a project (for example MainMenu) where you need to install this package, please use script like this:
[email protected]:TheCodeGodOfJava/Themes.git BRANCH=main THEME=lorem DESTINATION_FOLDER=current_theme DEFAULT_THEME=def node node_modules/@serhiy_ivanov/theme-loader/themeScripts/downloadTheme.js
In this project, to test the script, please use it like this, or create a script in "scripts" in the package.json
[email protected]:TheCodeGodOfJava/Themes.git BRANCH=main THEME=lorem DESTINATION_FOLDER=current_theme DEFAULT_THEME=def node themeScripts/downloadTheme.js
