Skip to content

Commit a124301

Browse files
fix version for @angular/cdk
1 parent d57582a commit a124301

File tree

1 file changed

+1
-1
lines changed
  • packages/devextreme-schematics/src/add-layout

1 file changed

+1
-1
lines changed

packages/devextreme-schematics/src/add-layout/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -281,7 +281,7 @@ function addPackagesToDependency(globalNgCliVersion: string) {
281281
type: NodeDependencyType.Default,
282282
name: '@angular/cdk',
283283
version: version.raw.includes('next') || version.raw.includes('-rc')
284-
? 'next' : `^${version.major}.${version.minor > 1 ? version.minor - 1 : 0}.0`
284+
? 'next' : `^${version.major}.0.0`
285285
});
286286

287287
if (!zonejs) {

0 commit comments

Comments
 (0)