@serhiy_ivanov/theme-loader

1.2.0 • Public • Published

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:

REPO=git@github.com: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

REPO=git@github.com:TheCodeGodOfJava/Themes.git BRANCH=main THEME=lorem DESTINATION_FOLDER=current_theme DEFAULT_THEME=def node themeScripts/downloadTheme.js

Readme

Keywords

none

Package Sidebar

Install

npm i @serhiy_ivanov/theme-loader

Weekly Downloads

0

Version

1.2.0

License

ISC

Unpacked Size

7.58 kB

Total Files

6

Last publish

Collaborators

  • serhiy_ivanov