Skip to content

Commit 9e8c1a1

Browse files
authored
cleanup(angular): set target version to v22 for the decorate cli script deprecation warning (#31170)
## Current Behavior The deprecation warning for the old script to decorate the Angular CLI doesn't state the version in which it will be removed. This was intentional to allow sufficient time for users to migrate away from it. ## Expected Behavior The deprecation warning for the old script to decorate the Angular CLI should state that it will be removed in Nx v22. It has been a long time since it was deprecated, and it should have provided more than enough time for users to move away from it. ## Related Issue(s) Fixes #
1 parent 617b8d4 commit 9e8c1a1

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

packages/nx/src/adapter/decorate-cli.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,11 @@
1+
// TODO(v22): remove this file
2+
13
import { readFileSync, writeFileSync } from 'fs';
24
import { output } from '../utils/output';
35

46
export function decorateCli() {
57
output.warn({
6-
title: `Decoration of the Angular CLI is deprecated and will be removed in a future version`,
8+
title: `Decoration of the Angular CLI is deprecated and will be removed in Nx v22`,
79
bodyLines: [
810
`Please replace usage of "ng <command>" in any scripts, particularly for CI, with "nx <command>"`,
911
],

0 commit comments

Comments
 (0)