blob: 068b5cdc4619cf28d56c78ec74ed3800f67eb00b [file] [log] [blame] [edit]
# Set a custom registry for a scope that is picked up by pnpm when resolving packages;
# This affects the lockfile format and is here to cover this case.
@types:registry=https://registry.yarnpkg.com
# The rules_js linker won't see this public-hoist-pattern[] since hoisting is _not_ encoded
# in the pnpm lockfile. In pnpm it is a linking time consideration when laying out the node_modules
# tree. In rules_js we currently have a `public_hoist_packages` attribute on `npm_translate_lock`
# the emulates this behavior (see example in WORKSPACE). In the future we'll add support to
# parse the .npmrc file so these directives are used to direct hoisting in the rules_js linker as well.
public-hoist-pattern[]=ms