Skip to content

Commit

Permalink
refactor(@angular/cli): remove no longer relevant regexps from `ng ve…
Browse files Browse the repository at this point in the history
…rsion` checks

Bazel and NgUniversal packages information is not needed in version 17.
  • Loading branch information
alan-agius4 committed Dec 15, 2023
1 parent 1b6e9c3 commit 30efb76
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions packages/angular/cli/src/commands/version/cli.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@
* found in the LICENSE file at https://angular.io/license
*/

import nodeModule from 'module';
import { resolve } from 'path';
import nodeModule from 'node:module';
import { resolve } from 'node:path';
import { Argv } from 'yargs';
import { CommandModule, CommandModuleImplementation } from '../../command-builder/command-module';
import { colors } from '../../utilities/color';
Expand All @@ -28,9 +28,7 @@ const SUPPORTED_NODE_MAJORS = [18, 20];
const PACKAGE_PATTERNS = [
/^@angular\/.*/,
/^@angular-devkit\/.*/,
/^@bazel\/.*/,
/^@ngtools\/.*/,
/^@nguniversal\/.*/,
/^@schematics\/.*/,
/^rxjs$/,
/^typescript$/,
Expand Down

0 comments on commit 30efb76

Please sign in to comment.