gitea-guide/yarnrc.yml
T-Hax 90dccbf1ae Update with Theo's Gitea
Signed-off-by: T-Hax <>
2023-05-10 18:42:48 +00:00

18 lines
1000 B
YAML

# So basically, we want to selectively download packages from the Gitea repository but still allow the
# main repositories, so we are going to have to scope our packages properly.
npmScopes:
# @tornado, the scope by which the following registries are selected
tornado:
# Since our repos are across multiple registries we select them via the .env we `source`.
# Check .env.example
npmRegistryServer: https://${TARGET_REGISTRY_DOMAIN}/api/packages/${TARGET_REGISTRY_USER}/npm/
npmPublishRegistry: https://${TARGET_REGISTRY_DOMAIN}/api/packages/${TARGET_REGISTRY_USER}/npm/
npmAuthToken: ${GITEA_AUTH_TOKEN}
# If the following isn't set you won't have a node_modules folder, and will be using pnp instead
# You might be used to a node_modules folder instead of a pnp or other linker type
# If you want to use the new linkers uncomment or change the following
nodeLinker: "node-modules"
# We disable telemetry for obvious reasons. enableTelemetry: false
enableTelemetry: false