Skip to content

Commit 30efb76

Browse files
committed
refactor(@angular/cli): remove no longer relevant regexps from ng version checks
Bazel and NgUniversal packages information is not needed in version 17.
1 parent 1b6e9c3 commit 30efb76

File tree

1 file changed

+2
-4
lines changed
  • packages/angular/cli/src/commands/version

1 file changed

+2
-4
lines changed

packages/angular/cli/src/commands/version/cli.ts

+2-4
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@
66
* found in the LICENSE file at https://angular.io/license
77
*/
88

9-
import nodeModule from 'module';
10-
import { resolve } from 'path';
9+
import nodeModule from 'node:module';
10+
import { resolve } from 'node:path';
1111
import { Argv } from 'yargs';
1212
import { CommandModule, CommandModuleImplementation } from '../../command-builder/command-module';
1313
import { colors } from '../../utilities/color';
@@ -28,9 +28,7 @@ const SUPPORTED_NODE_MAJORS = [18, 20];
2828
const PACKAGE_PATTERNS = [
2929
/^@angular\/.*/,
3030
/^@angular-devkit\/.*/,
31-
/^@bazel\/.*/,
3231
/^@ngtools\/.*/,
33-
/^@nguniversal\/.*/,
3432
/^@schematics\/.*/,
3533
/^rxjs$/,
3634
/^typescript$/,

0 commit comments

Comments
 (0)