2023-05-03 23:35:27 +03:00
|
|
|
# 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:
|
2023-05-13 23:52:40 +03:00
|
|
|
# Since there can be multiple repositories 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 23:35:27 +03:00
|
|
|
|
|
|
|
# If the following isn't set you won't have a node_modules folder
|
|
|
|
# You might be used to a node_modules folder instead of a pnp or other folder 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
|
|
|
|
|
|
|
|
plugins:
|
|
|
|
- path: .yarn/plugins/@yarnpkg/plugin-workspace-tools.cjs
|
|
|
|
spec: "@yarnpkg/plugin-workspace-tools"
|
|
|
|
|
|
|
|
npmPublishAccess: public
|