Variables
Const ERROR_CODE_DOC_REGEXP
ERROR_CODE_DOC_REGEXP: RegExp = /## (?<code>YN[0-9]{4}) - `(?<name>[A-Z_]+)`\n\n(?<details>(?:.(?!##))+)/gs
Const MERGE_CONFLICT_START
MERGE_CONFLICT_START: "<<<<<<<" = `<<<<<<<`
Const PR_REGEXP
PR_REGEXP: RegExp = /^[0-9]+$/
Const REMOTE_REGISTRY
REMOTE_REGISTRY: "https://raw.githubusercontent.com/yarnpkg/berry/master/plugins.yml" = `https://raw.githubusercontent.com/yarnpkg/berry/master/plugins.yml`
Const SIMPLE_SEMVER
SIMPLE_SEMVER: RegExp = /^([\^~]?)[0-9]+(?:\.[0-9]+){0,2}(?:-\S+)?$/
Const WORKSPACE_PROTOCOL
WORKSPACE_PROTOCOL: "workspace:" = `workspace:`
Const acceptedStrategies
accepted
Strategies: Set<HIGHEST> = new Set(Object.values(Strategy))
@yarnpkg/plugin-essentials
This plugin adds support for various commands deemed essential to a package manager (
yarn add
,yarn remove
, ...).Install
This plugin is included by default in Yarn.