@zaneray/node-setup

0.0.13 • Public • Published

CONCEPT

@see https://zaneray.atlassian.net/wiki/spaces/ZR/pages/839548939/Base+Repositories

  • provides an NPMJS executable module (NPX module) @zaneray/create-repo
  • uses respositories in the ZaneRay Templates project at Bitbucket as a basis to create client repositories
  • creates client repositories in /Users/Shared/cloud/${client}

REQUIREMENTS

  • bash (available in OSX)
  • gettext (install with Brew https://docs.brew.sh/Installation, brew install gettext)
  • git (install with Brew, brew install git)
  • nodejs18 or greater

USAGE

  • in a Terminal session with nodejs18 or greater, execute the following command and follow the prompts
  • npx @zaneray/create-repo

TEMPLATE REPOSITORY REQUIREMENTS

  • bitbucket-pipelines.yml - for deployment from Bitbucket to the target platform

  • On the Bitbucket Repository, in the Description field, a CSV with MENU_NAME,PROJECT_SUFFIX

    -- MENU_NAME is presented in the prompts when running the npx @zaneray/create-repo command

    -- PROJECT_SUFFIX is concatenated with the CLIENT for the new repository name, CLIENT-PROJECT_SUFFIX

  • OPTIONAL - _setup/special-sauce (permissions 777) - will be executed post template repository cloning

  • OPTIONAL - README.md - will be output at the end of the process

  • OPTIONAL - .env-sample - CLIENT=${CLIENT} will be set

Readme

Keywords

none

Package Sidebar

Install

npm i @zaneray/node-setup

Weekly Downloads

1

Version

0.0.13

License

To Kill

Unpacked Size

5.41 kB

Total Files

4

Last publish

Collaborators

  • ianzr
  • mmullendore
  • dmastrianni-zr
  • mtshane
  • jermartin77
  • deanzaneray
  • tyler.furry
  • jonkofal
  • zaneray-bitbucket
  • trzr
  • nicoleoldow
  • f1ux1uxday
  • emilyduttinger
  • floskyland