Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Drop support for Node version lower than 18 #2990

Merged
merged 1 commit into from
Feb 27, 2025

Conversation

ahnpnl
Copy link
Collaborator

@ahnpnl ahnpnl commented Feb 27, 2025

Test plan

Green CI

Does this PR introduce a breaking change?

  • Yes
  • No

Other information

N.A.

@ahnpnl ahnpnl requested a review from Copilot February 27, 2025 19:59

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

PR Overview

This pull request drops support for Node versions lower than 18 by updating configuration files and improving snapshot stability. Key changes include:

  • Replacing the JavaScript commitlint configuration with a TypeScript version.
  • Updating the Angular snapshot serializer to remove dynamically generated "id" attributes.
  • Removing the deprecated commitlint.config.js file.

Reviewed Changes

File Description
commitlint.config.ts New TypeScript-based commitlint configuration with updated rules.
src/serializers/no-ng-attributes.ts Enhanced serializer to remove unstable "id" attributes from nodes.
commitlint.config.js Removal of outdated commitlint configuration file.

Copilot reviewed 7 out of 7 changed files in this pull request and generated no comments.

BREAKING CHANGE

The support versions are `^18.19.1 || ^20.11.1 || >=22.0.0`
@ahnpnl ahnpnl force-pushed the refactor/drop-node-smaller-18 branch from fb16365 to 2903991 Compare February 27, 2025 20:01
@ahnpnl ahnpnl requested a review from Copilot February 27, 2025 20:01

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot reviewed 1 out of 1 changed files in this pull request and generated no comments.

@ahnpnl ahnpnl marked this pull request as ready for review February 27, 2025 20:21
@ahnpnl ahnpnl merged commit 604e7ea into next Feb 27, 2025
10 checks passed
@ahnpnl ahnpnl deleted the refactor/drop-node-smaller-18 branch February 27, 2025 20:21
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.

1 participant