Skip to content

Commit 5ef4cc7

Browse files
committed
schematics
1 parent 101050f commit 5ef4cc7

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

lib/schematics/ng-add/index.ts

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -9,21 +9,21 @@ export default function (): Rule {
99
const angularMajorVersion = getDependencyMajorVersion("@angular/core", host);
1010

1111
if (angularMajorVersion === undefined) {
12-
context.logger.warn(`Not able to detect @angular/core version. Be aware that Angular versions <= 14 are no longer supported.`);
12+
context.logger.warn(`Not able to detect @angular/core version. Be aware that Angular versions <= 17 are no longer supported.`);
1313
}
1414

15-
if (angularMajorVersion !== undefined && (angularMajorVersion <= 16)) {
16-
throw new SchematicsException("Angular versions <= 16 are no longer supported.");
15+
if (angularMajorVersion !== undefined && (angularMajorVersion <= 17)) {
16+
throw new SchematicsException("Angular versions <= 17 are no longer supported.");
1717
}
1818

1919
const rxjsMajorVersion = getDependencyMajorVersion("rxjs", host);
2020

2121
if (rxjsMajorVersion === undefined) {
22-
context.logger.warn(`Not able to detect rxjs version. Be aware that rxjs version >= 7.4 is required, rxjs 6 is not supported.`);
22+
context.logger.warn(`Not able to detect rxjs version. Be aware that rxjs version >= 7.6 is required, rxjs 6 is not supported.`);
2323
}
2424

2525
if (rxjsMajorVersion !== undefined && (rxjsMajorVersion < 7)) {
26-
throw new SchematicsException("rxjs >= 7.4 is required for this lib, rxjs 6 is not supported.");
26+
throw new SchematicsException("rxjs >= 7.6 is required for this lib, rxjs 6 is not supported.");
2727
}
2828

2929
/* Task to run `npm install` (or user package manager) */

0 commit comments

Comments
 (0)