Skip to content

[node] - Removal of default installation of yarn v1(classic) - #1550

Merged
Abdurrahmaan Iqbal (abdurriq) merged 5 commits into
devcontainers:mainfrom
v-Kaniska244:check-node-key
Jan 29, 2026
Merged

Abdurrahmaan Iqbal (abdurriq) merged 5 commits into
devcontainers:mainfrom
v-Kaniska244:check-node-key

Conversation

@v-Kaniska244

@v-Kaniska244 Kaniska (v-Kaniska244) commented Jan 29, 2026 •

Copy link
Copy Markdown
Contributor

Ref: issue

Description: This yarn v1(classic) is out of active development cycle for quite sometime. And yarn v2(berry) is more flexible and available for installation via corepack when installYarnUsingApt flag is set to false.

Changelog:

  • Update install.sh and devcontainer-feature.json to make sure that installYarnUsingApt flag is set to true by default. Also ensure that yarn installation function doesn't proceed when node version is none
  • Version bump.
  • Added separate tests yarn installation via corepack.

Checklist:

  • All checks are passed.

@v-Kaniska244
Kaniska (v-Kaniska244) marked this pull request as ready for review January 29, 2026 15:07
@v-Kaniska244
Kaniska (v-Kaniska244) requested a review from a team as a code owner January 29, 2026 15:07
@v-Kaniska244 Kaniska (v-Kaniska244) changed the title [node] - Removal of default installation of yarm v1(classic) [node] - Removal of default installation of yarn v1(classic) Jan 29, 2026
Comment thread src/node/devcontainer-feature.json Outdated
auto-merge was automatically disabled January 29, 2026 16:44

Head branch was pushed to by a user without write access

@abdurriq
Abdurrahmaan Iqbal (abdurriq) merged commit 362dfda into devcontainers:main Jan 29, 2026
12 checks passed
@v-Kaniska244
Kaniska (v-Kaniska244) deleted the check-node-key branch January 29, 2026 18:46
Evgenii Shiliaev (Jekwwer) added a commit to Jekwwer/Jekwwer that referenced this pull request May 7, 2026
[PURPOSE]
 - 2.0.0 drops default yarn v1 install (devcontainers/features#1550);
   repo uses npm only, so breaking change does not apply.

[DEPENDENCIES UPDATED]
 - ghcr.io/devcontainers/features/node: 1.7.1 → 2.0.0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants