From b9db0b29279618d5dcc600c1bb0160bd5c1bc38e Mon Sep 17 00:00:00 2001 From: Victor Savkin Date: Mon, 7 May 2018 11:11:16 -0400 Subject: [PATCH] fix(schematics): add missing dependencies to create-nx-workspace --- packages/schematics/bin/create-nx-workspace.ts | 3 ++- .../src/collection/ng-new/files/__directory__/package.json | 4 +++- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/packages/schematics/bin/create-nx-workspace.ts b/packages/schematics/bin/create-nx-workspace.ts index f9a42959b001e..44f14ef5d77c9 100644 --- a/packages/schematics/bin/create-nx-workspace.ts +++ b/packages/schematics/bin/create-nx-workspace.ts @@ -93,7 +93,8 @@ writeFileSync( JSON.stringify({ dependencies: { [nxTool.packageName]: nxVersion, - '@angular/cli': '1.7.1' + '@angular/cli': '6.0.0', + cosmiconfig: '5.0.1' }, license: 'MIT' }) diff --git a/packages/schematics/src/collection/ng-new/files/__directory__/package.json b/packages/schematics/src/collection/ng-new/files/__directory__/package.json index cd725244f4f3b..bb8d916157cdf 100755 --- a/packages/schematics/src/collection/ng-new/files/__directory__/package.json +++ b/packages/schematics/src/collection/ng-new/files/__directory__/package.json @@ -67,6 +67,8 @@ "ts-node": "~5.0.1", "tslint": "~5.9.1", "typescript": "<%= typescriptVersion %>", - "prettier": "<%= prettierVersion %>" + "prettier": "<%= prettierVersion %>", + "cosmiconfig": "5.0.1", + "fs-extra": "6.0.0" } }