gitea-guide/yarnrc.yml

18 lines
1000 B
YAML
Raw Normal View History

2023-04-28 17:40:24 +00:00
# So basically, we want to selectively download packages from the Gitea repository but still allow the
2023-05-03 20:45:20 +00:00
# main repositories, so we are going to have to scope our packages properly.
2023-04-28 17:40:24 +00:00
npmScopes:
# @tornado, the scope by which the following registries are selected
2023-05-03 20:45:20 +00:00
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}
2023-05-03 20:45:20 +00:00
# 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
2023-04-28 17:40:24 +00:00
# If you want to use the new linkers uncomment or change the following
nodeLinker: "node-modules"
# We disable telemetry for obvious reasons. enableTelemetry: false
2023-04-28 17:40:24 +00:00
enableTelemetry: false