@@ -19,6 +19,7 @@ commands directly from the IDE terminal.
1919 * [ Linting and fixing] ( #linting-and-fixing )
2020 * [ Translations] ( #translations )
2121 * [ Maintenance utilities] ( #maintenance-utilities )
22+ * [ Yarn version management] ( #yarn-version-management )
2223 * [ Yarn commands] ( #yarn-commands )
2324 * [ Examples] ( #examples )
2425
@@ -106,6 +107,25 @@ make docker-remove-containers # Remove all Docker containers on the host
106107make docker-remove-images # Remove all Docker images on the host
107108```
108109
110+ #### Yarn version management [ ᐞ] ( #table-of-contents )
111+
112+ <a id =" yarn-version-management " ></a >
113+
114+ The project pins Yarn in-repo for consistent development, CI, and Docker environments.
115+ Manage the pinned Yarn version with these commands:
116+
117+ ``` bash
118+ make yarn-status # Show configured, active, and latest stable Yarn versions
119+ make yarn-upgrade-check # Dry-run check for Yarn upgrade (no file changes)
120+ make yarn-upgrade # Upgrade Yarn to latest stable version
121+ make yarn-upgrade VERSION=4.17.0 # Upgrade Yarn to a specific version
122+ make yarn-update VERSION=4.17.0 # Alternative upgrade approach (requires VERSION parameter)
123+ make yarn-check-and-upgrade # Convenience workflow: check status, validate, then upgrade
124+ make yarn upgrade VERSION=4.17.0 # Compatible alias for yarn-upgrade
125+ ```
126+
127+ For detailed documentation, see ` doc/YARN_UPDATE.md ` and ` doc/YARN_UPDATE_QUICK_REF.md ` .
128+
109129## Yarn commands [ ᐞ] ( #table-of-contents )
110130
111131<a id =" yarn-commands " ></a >
@@ -196,6 +216,31 @@ Start development mode with immutable dependency install:
196216make start-immutable
197217```
198218
219+ Check current Yarn version and status:
220+
221+ ``` bash
222+ make yarn-status
223+ ```
224+
225+ Upgrade Yarn to the latest stable version:
226+
227+ ``` bash
228+ make yarn-upgrade
229+ ```
230+
231+ Upgrade Yarn to a specific version with dry-run check first:
232+
233+ ``` bash
234+ make yarn-upgrade-check # Validate without making changes
235+ make yarn-upgrade VERSION=4.17.0 # Perform the upgrade
236+ ```
237+
238+ Run comprehensive Yarn validation and upgrade workflow:
239+
240+ ``` bash
241+ make yarn-check-and-upgrade
242+ ```
243+
199244---
200245
201246[ Back to resources index] ( README.md ) - [ Back to main README.md] ( ../README.md )
0 commit comments