UNPKG

synopkg

Version:

Consistent dependency versions in large JavaScript Monorepos

51 lines (34 loc) 1.25 kB
--- title: Pinned --- import { Badge } from "@astrojs/starlight/components"; import Packages from "@partials/group-config/packages.mdx"; import Dependencies from "@partials/group-config/dependencies.mdx"; import DependencyTypes from "@partials/group-config/dependency-types.mdx"; import SpecifierTypes from "@partials/group-config/specifier-types.mdx"; import Label from "@partials/group-config/label.mdx"; import Details from "@site/components/details.astro"; Pin the version of all dependencies in this group to match a specific version you've defined. ## Configuration ### pinVersion <Badge text="Required" variant="danger" /> The version specifier you would like to use, this can be anything supported by a package manager. ```json title=".synopkgrc.json" { "versionGroups": [ { "dependencies": ["@types/node"], "pinVersion": "18.14.2" } ] } ``` ### dependencies <Badge text="Optional" variant="note" /> <Dependencies /> ### dependencyTypes <Badge text="Optional" variant="note" /> <DependencyTypes /> ### specifierTypes <Badge text="Optional" variant="note" /> <SpecifierTypes /> ### label <Badge text="Optional" variant="note" /> <Label /> ### packages <Badge text="Optional" variant="note" /> <Packages />