UNPKG

synopkg

Version:

Consistent dependency versions in large JavaScript Monorepos

27 lines (22 loc) 827 B
- An array of names of dependencies you've installed or otherwise reference in your package.json files. - If omitted, the default behaviour is to match every dependency. - The strings can be any combination of exact matches or [glob](HREF_GLOB) patterns: ```json title="Examples of valid values" // match any dependency dependencies: ["**"] // match all dependencies with a certain scope dependencies: ["@aws-sdk/**"] // match specific dependencies by name dependencies: ["react", "react-dom"] ``` ```json title="Where this pattern is matched against" { "name": "HERE", "dependencies": { "HERE": "0.0.0" }, "devDependencies": { "HERE": "0.0.0" }, "overrides": { "HERE": "0.0.0" }, "peerDependencies": { "HERE": "0.0.0" }, "pnpm": { "overrides": { "HERE": "0.0.0" } }, "resolutions": { "HERE": "0.0.0" } } ```