Skip to content

feat!: drop Node.js 20, require Node.js >=22.12.0#362

Merged
mizdra merged 2 commits intomainfrom
feat/drop-node-20
Apr 18, 2026
Merged

feat!: drop Node.js 20, require Node.js >=22.12.0#362
mizdra merged 2 commits intomainfrom
feat/drop-node-20

Conversation

@mizdra
Copy link
Copy Markdown
Owner

@mizdra mizdra commented Apr 18, 2026

Summary

  • Drop Node.js 20 support and require Node.js >=22.12.0 across all publishable packages (with minor changeset)
  • Add Node.js 24 to the CI test/vscode-test matrix, and bump single-version jobs (lint, build, test-stylelint-v16, check-generated-in-examples) to Node.js 24

Changes

Commit 1: Drop Node.js 20 (feat)

  • Updated engines.node from >=20.19.0 to >=22.12.0 in core, ts-plugin, codegen, eslint-plugin, stylelint-plugin
  • Removed Node.js 20 from test and vscode-test CI matrix
  • Added changeset (minor bump for all 5 packages)

Commit 2: Add Node.js 24 to CI (ci)

  • Bumped lint, build, test-stylelint-v16, check-generated-in-examples jobs to Node.js 24
  • Added Node.js 24 to test and vscode-test matrix → matrix is now [22, 24]

Test plan

  • CI passes on both Node.js 22 and Node.js 24 for test/vscode-test matrix jobs
  • CI passes on Node.js 24 for lint, build, test-stylelint-v16, check-generated-in-examples

🤖 Generated with Claude Code

@mizdra mizdra added the Type: Maintenance Repository Maintenance label Apr 18, 2026
@changeset-bot
Copy link
Copy Markdown

changeset-bot bot commented Apr 18, 2026

🦋 Changeset detected

Latest commit: 8ee293b

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 6 packages
Name Type
@css-modules-kit/codegen Major
@css-modules-kit/core Major
@css-modules-kit/eslint-plugin Major
@css-modules-kit/stylelint-plugin Major
@css-modules-kit/ts-plugin Major
css-modules-kit-vscode Major

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@mizdra mizdra added the Type: Breaking Change Includes breaking changes label Apr 18, 2026
…p Node.js 20, require >=22.12.0

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@mizdra mizdra force-pushed the feat/drop-node-20 branch from 5848346 to 1cb3716 Compare April 18, 2026 10:56
@mizdra mizdra changed the title feat: drop Node.js 20, require >=22.12.0, and run CI on Node.js 24 feat!: drop Node.js 20, require Node.js >=22.12.0 Apr 18, 2026
@mizdra mizdra enabled auto-merge (squash) April 18, 2026 11:02
@mizdra mizdra disabled auto-merge April 18, 2026 11:03
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@mizdra mizdra force-pushed the feat/drop-node-20 branch from 1cb3716 to 8ee293b Compare April 18, 2026 11:04
@mizdra mizdra merged commit e1f2983 into main Apr 18, 2026
20 checks passed
@mizdra mizdra deleted the feat/drop-node-20 branch April 18, 2026 11:08
@github-actions github-actions bot mentioned this pull request Apr 18, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Type: Breaking Change Includes breaking changes Type: Maintenance Repository Maintenance

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant