.env.example

Raw source
# Public npm registry (used by .npmrc registry=${NPM_PUBLIC_REGISTRY_URL}).
NPM_PUBLIC_REGISTRY_URL=https://registry.npmjs.org/
NPM_REGISTRY_URL=https://packages.aliyun.com/644f755a97d94d909e43534c/npm/npm-registry/
NPM_AUTH_TOKEN=
# Local publish:github: classic PAT with write:packages.
# Local release:github / release:github:organization: PAT with target repository contents write access
# (classic PAT: public_repo for public repositories, repo for private; organization SSO authorization if required).
# Actions release:github:action uses only its automatic GITHUB_TOKEN. Never reuse npm credentials.
GITHUB_PACKAGES_TOKEN=
# Optional CLI issue submission only; preview needs no token. Requires --submit --yes.
# GitHub Actions publishing continues to use its automatically provided GITHUB_TOKEN.
GITHUB_TOKEN=
# Private registry: Base64 of the password only, NOT username:password.
# Username/password takes precedence over Token for private registry requests.
NPM_PRIVATE_USERNAME=
NPM_PRIVATE_PASSWORD_BASE64=
OSS_ACCESS_KEY_ID=
OSS_ACCESS_KEY_SECRET=
OSS_BUCKET=
OSS_REGION=
# Optional custom endpoint; otherwise derived from OSS_REGION (e.g. oss-cn-hangzhou).
OSS_ENDPOINT=
# Public documentation/site origin (defaults to https://front.94ai.com when unset).
PUBLIC_SITE_ORIGIN=https://front.94ai.com
# Public npm / release:gitlab lib ZIP downloads. Full public URL of the releases/ directory.
# OSS writes remain fixed to releases/; this URL only controls the Release download link.
RELEASE_ASSET_BASE_URL=https://front.94ai.com/releases
# Test metrics use the same OSS variables but PUT only common-ui-plus-badges/{coverage,test-pass-rate}.svg.
# CI: mask/protect credentials and limit the identity to these objects' PutObject permission.
# Legacy rt-cli config compatibility. Versioned publish:doc fixes these two prefixes
# and does not allow environment overrides or deletion of historical documents.
OSS_DOCS_PATH=common-ui-plus
OSS_DOCS_OEM_PATH=common-ui-plus-oem
GITLAB_BASE_URL=http://gitlab.94ai.pro
# GitLab numeric project ID or URL-encoded project path.
GITLAB_PROJECT_ID=ui%2Fcommon-ui-plus
# Dedicated GitLab personal/project access token: api scope and Release/tag permissions.
# Required by public publishing and release:gitlab; private publishing does not need it. Never reuse npm/GitHub tokens.
GITLAB_TOKEN=
# Standalone release:gitee only: Gitee personal access token with projects scope and repository/tag write permission.
# Sent only to https://gitee.com/api/v5/repos/xccjh/common-ui-plus. Never reuse npm/GitLab/GitHub tokens.
GITEE_TOKEN=