25 lines
1.1 KiB
YAML
25 lines
1.1 KiB
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:
|
|
# Since there can be multiple repositories we select them via the .env we use `source .env` on Linux or `cmd.exe /c .env.bat` on Windows.
|
|
# Check .env.example or .env.example.bat
|
|
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
|
|
# 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
|