Skip to content

Commit 488fe4e

Browse files
committed
docs: reword Yarn v1 bundling descriptions for Node.js 26 release
1 parent 6f8bcd7 commit 488fe4e

2 files changed

Lines changed: 13 additions & 10 deletions

File tree

CONTRIBUTING.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,8 @@ New **Node.js** releases are released as soon as possible.
2727

2828
New **npm** releases are not tracked. We simply use the npm version bundled in the corresponding Node.js release.
2929

30-
**[Yarn v1 Classic](https://classic.yarnpkg.com/)** is no longer maintained upstream, and will be removed starting with the Node 26 images.
30+
**[Yarn v1 Classic](https://classic.yarnpkg.com/)** is no longer maintained upstream, and it is removed when constructing Dockerfiles
31+
from templates starting with the Node 26 images.
3132

3233
### Image Creation Automation
3334

README.md

Lines changed: 11 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -148,13 +148,16 @@ $ docker run node npm --loglevel=warn ...
148148
## Image Variants
149149

150150
The `node` images come in many flavors, each designed for a specific use case.
151-
All of the images contain pre-installed versions of `node`,
152-
[`npm`](https://www.npmjs.com/), and [Yarn v1 Classic](https://classic.yarnpkg.com/). For each
151+
All of the images contain pre-installed versions of `node` which includes also
152+
[`npm`](https://www.npmjs.com/). For each
153153
supported architecture, the supported variants are different. In the file:
154154
[versions.json](./versions.json), it lists all supported variants for all of
155155
the architectures that we support now.
156-
See [Yarn v1 Classic bundling](#yarn-v1-classic-bundling) for future plans to
157-
remove this legacy version.
156+
157+
The legacy package manager
158+
[Yarn v1 Classic](https://classic.yarnpkg.com/)
159+
is included in `node` images with Node.js 25 and below. See
160+
[Yarn v1 Classic bundling](#yarn-v1-classic-bundling) for details.
158161

159162
### `node:<version>`
160163

@@ -267,12 +270,11 @@ This project will support Node.js versions as still under active support as per
267270

268271
## Yarn v1 Classic bundling
269272

270-
[Yarn v1 Classic](https://classic.yarnpkg.com/) is currently bundled in `node` image
271-
variants. Because Yarn v1 is [frozen](https://github.com/yarnpkg/yarn) and no longer maintained,
272-
bundling plans have been revised.
273+
The [Yarn v1 Classic](https://classic.yarnpkg.com/) package manager is bundled in `node` image
274+
variants that include Node.js versions 25 and below.
273275

274-
As of Node.js 26.0.0 it is planned to no longer bundle Yarn v1 into `node` images.
275-
For lower versions of Node.js (<26) `node` images will continue to bundle Yarn v1.
276+
Yarn v1 is not bundled into `node` images as of Node.js 26.0.0.
277+
This version of the Yarn package manager has been declared as [frozen](https://github.com/yarnpkg/yarn) and is no longer maintained.
276278

277279
Users with legacy requirements for Yarn v1 under Node.js 26 and above may be able
278280
to follow [Yarn v1 installation instructions](https://classic.yarnpkg.com/en/docs/install)

0 commit comments

Comments
 (0)