speareducation/Spear Build Variables

Outputs some variables useful for building environments.

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Stale
License
None

no inputs

namedescription
appEnvThe APP Environment, taken from the branch or tag.
appEnvAbbrThe Abbreviated APP Environment (stg, prd, dev, etc.)
releaseThe release name, taken from the branch or tag.
projectKeyThe repository basename (e.g. "accounts")
phpVersionThe PHP version from .pvmrc if present
nodeVersionThe requested Node version from .nvmrc if present
packageNameThe package name from package.json if present
packageScopeThe package scope (org) from package.json if present
packagePackageThe package name (without scope) from package.json if present
packageVersionThe package version from package.json if present (e.g. "1.2.3-pre.0")
packageMajorVersionThe package major version from package.json if present (e.g. "1")
packageMinorVersionThe package major and minor version from package.json if present (e.g. "1.2")
packagePatchVersionThe package major, minor, and patch version from package.json if present (e.g. "1.2.3")
packagePreVersionThe package pre-release version from package.json if present (e.g. "pre.0")
packageIsFullReleaseWhether the package version is a full release (i.e. not a pre-release)
dockerRegistryThe ECR or other registry containing the docker image
dockerBaseImageThe full base image URI for the docker container