sdk-monorepo/@tornado/sdk-chain/.yarnrc.yml

34 lines
1.6 KiB
YAML
Raw Normal View History

# 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. This means, unless the tornadocash
# Gitea organization defines a default scope, that we'll have to add every user scope. Including my own below.
# Note that all scopes are after @ prefix. So my prefix is @thax
npmScopes:
thax:
npmPublishRegistry: "https://development.tornadocash.community/api/packages/T-Hax/npm/"
npmRegistryServer: "https://development.tornadocash.community/api/packages/T-Hax/npm/"
# The below can be EXPORTED via some env file which actually exports the variables though
# Check the env.example, you will notice it's not a regular env
# So split your env files up, since this is only for manual actions
# 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"
# So the tornadocash org, the person who maintains it, might setup something (in future) like,
# tornadocash:
# npmPublishRegistry: "https://development.tornadocash.community/api/packages/tornadocash/npm/"
# npmRegistryServer: "https://development.tornadocash.community/api/packages/tornadocash/npm/"
# We disable telemetry for obvious reasons.
enableTelemetry: false
packageExtensions:
"@resolver-engine/imports-fs@*":
dependencies:
"@resolver-engine/core": "*"
"@thax/circomlib@*":
dependencies:
"web3-utils": "*"