Skip to content

ProgressNS/nativescript-starter-kits-utils

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

72 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Manual Installation and Development

Download the GIT repository in you favorite projects directory

$ git clone [email protected]:NativeScript/nativescript-starter-kits-utils.git

deploy-templates

Automate npm deployment with github tags for listed Nativescript Sidekick Templates

Enter the scripts/deploy directory and copy the script to your fusion-templates directory

$ cp ./deploy-templates.sh PATH_TO_YOUR/fusion-templates/

Running the script

Make the file executable

$ chmod u+x ./deploy-templates.sh

Run the script with valid arguments

1: Valid Sidekick templates directory
2: Valid simver as an argument e.g [ 3.1.1 | major | minor | patch | ]
 $ ./deploy-templates.sh ./your-templates-dir 3.1.4
 

deploy-page-templates

Automate npm deployment with github tags for listed Nativescript Sidekick Page Templates

Enter the scripts/deploy directory and copy the script to your fusion-templates directory

$ cp ./deploy-page-templates.sh PATH_TO_YOUR_FOLDER/

Running the script

Make the file executable

$ chmod u+x ./deploy-page-templates.sh

Run the script with valid arguments

1: Valid Sidekick templates directory
2: Valid simver as an argument e.g [ 3.1.1 | major | minor | patch | ]
 $ ./deploy-page-templates.sh ./your-templates-dir 3.1.4
 

deploy-extension

Automate npm deployment with github tags for the Nativescript Starter Kits Extension

Enter the scripts/deploy directory and copy the script to your nativescript-starter-kits directory

$ cp ./deploy-extension.sh PATH_TO_YOUR/nativescript-starter-kits/

Running the script

Make the file executable

$ chmod u+x ./deploy-extension.sh

Run the script with a valid simver as an argument e.g [ 3.1.1 | major | minor | patch | ]

 $ ./deploy-extension.sh 3.1.4
 

get-templates

Enter the scripts/download directory and copy the script to your fusion-templates directory

$ cp ./get-templates.sh PATH_TO_YOUR/fusion-templates/

Running the script

Make the file executable

$ chmod u+x ./get-templates.sh

Run the script

 $ ./get-templates.sh
 

get-page-templates

Enter the scripts/download directory and copy the script to your fusion-templates directory

$ cp ./get-page-templates.sh /YOUR_DOWNLOAD_FOLDER

Running the script

Make the file executable

$ chmod u+x ./get-page-templates.sh

Run the script

 $ ./get-page-templates.sh
 

About

Useful automation scripts for npm deployment

Resources

License

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Shell 100.0%