Skip to content

Commit d3f4fba

Browse files
authored
Merge pull request #2368 from MikeMcC399/yarn-v1-deprecation
Deprecate Yarn v1
2 parents a6b8ea0 + ab143a1 commit d3f4fba

File tree

1 file changed

+17
-1
lines changed

1 file changed

+17
-1
lines changed

README.md

Lines changed: 17 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@ The official Node.js docker image, made with love by the node community.
3030
- [License](#license)
3131
- [Supported Docker versions](#supported-docker-versions)
3232
- [Supported Node.js versions](#supported-nodejs-versions)
33+
- [Yarn v1 Classic bundling](#yarn-v1-classic-bundling)
3334
- [Governance and Current Members](#governance-and-current-members)
3435
- [Docker Maintainers](#docker-maintainers)
3536
- [Collaborators](#collaborators)
@@ -147,10 +148,12 @@ $ docker run node npm --loglevel=warn ...
147148

148149
The `node` images come in many flavors, each designed for a specific use case.
149150
All of the images contain pre-installed versions of `node`,
150-
[`npm`](https://www.npmjs.com/), and [`yarn`](https://yarnpkg.com). For each
151+
[`npm`](https://www.npmjs.com/), and [Yarn v1 Classic](https://classic.yarnpkg.com/). For each
151152
supported architecture, the supported variants are different. In the file:
152153
[versions.json](./versions.json), it lists all supported variants for all of
153154
the architectures that we support now.
155+
See [Yarn v1 Classic bundling](#yarn-v1-classic-bundling) for future plans to
156+
remove this legacy version.
154157

155158
### `node:<version>`
156159

@@ -246,6 +249,19 @@ for current Engine versions.
246249

247250
This project will support Node.js versions as still under active support as per the [Node.js release schedule](https://github.com/nodejs/Release).
248251

252+
## Yarn v1 Classic bundling
253+
254+
[Yarn v1 Classic](https://classic.yarnpkg.com/) is currently bundled in `node` image
255+
variants. Because Yarn v1 is [frozen](https://github.com/yarnpkg/yarn) and no longer maintained,
256+
bundling plans have been revised.
257+
258+
As of Node.js 26.0.0 it is planned to no longer bundle Yarn v1 into `node` images.
259+
For lower versions of Node.js (<26) `node` images will continue to bundle Yarn v1.
260+
261+
Users with legacy requirements for Yarn v1 under Node.js 26 and above may be able
262+
to follow [Yarn v1 installation instructions](https://classic.yarnpkg.com/en/docs/install)
263+
and install using `npm install --global yarn`.
264+
249265
## Governance and Current Members
250266

251267
The Node.js Docker Image is governed by an open maintainer model. See

0 commit comments

Comments
 (0)