feat: add monorepo to template
This commit is contained in:
18
template/.env.schema
Normal file
18
template/.env.schema
Normal file
@@ -0,0 +1,18 @@
|
||||
# @currentEnv=$REPO_ENVIRONMENT
|
||||
# ---
|
||||
|
||||
# Canonical repo environment used by Varlock.
|
||||
# @type=enum(development,ci,production)
|
||||
REPO_ENVIRONMENT=development
|
||||
|
||||
# Safe starter values for local development.
|
||||
# @type=string
|
||||
APP_NAME=typescript-monorepo
|
||||
|
||||
# @type=port
|
||||
APP_PORT=3000
|
||||
|
||||
# Optional example secret resolved from OpenBao.
|
||||
# Replace the namespace and secret path with values for your repo before use.
|
||||
# @optional @sensitive
|
||||
EXAMPLE_API_TOKEN=exec('bao kv get -mount=kv -namespace="${BAO_NAMESPACE:+$BAO_NAMESPACE/}template" -field=EXAMPLE_API_TOKEN "$REPO_ENVIRONMENT/shared" 2>/dev/null || true')
|
||||
Reference in New Issue
Block a user