2023-05-17 03:35:08 -04:00
|
|
|
# So basically, we want to selectively download packages from the Gitea repository but still allow the
|
2023-05-03 16:35:27 -04:00
|
|
|
# main repositories, so we are going to have to scope our packages properly.
|
|
|
|
npmScopes:
|
|
|
|
tornado:
|
2023-05-17 03:35:08 -04:00
|
|
|
# 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
|
2023-05-13 16:52:40 -04:00
|
|
|
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 16:35:27 -04: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
|