Tool for make consistent version dependencies in workspaces
some-package: 1.0.0
"@scope":
scope-package: ~1.0.0
Default
// yarn.config.js
module.exports = require('@rsdk/yarn.constraints').config
With configuration
// yarn.config.js
module.exports = require('@rsdk/yarn.constraints').override(async (cfg) => {
// some actions, reference https://yarnpkg.com/features/constraints
})
Name | Description | Default |
---|---|---|
RSDK_YARN_CONSTRAINTS_CFG | path to constraints yml | ./.rsdk/.constraints.yml |