From 7b4ee528336b8b23e225c8432dec718ddb3fea26 Mon Sep 17 00:00:00 2001 From: Victor Savkin Date: Mon, 14 Mar 2022 21:10:02 -0400 Subject: [PATCH] fix(core): fix a typo in a migration --- package.json | 2 +- .../update-13-9-0/replace-tao-and-cli-with-nx.ts | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/package.json b/package.json index e3a6e3073cd66..3f137030664b1 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@nrwl/nx-source", - "version": "13.9.0-beta.1", + "version": "13.9.0-beta.3", "description": "Smart, Fast and Extensible Build System", "homepage": "https://nx.dev", "private": true, diff --git a/packages/workspace/src/migrations/update-13-9-0/replace-tao-and-cli-with-nx.ts b/packages/workspace/src/migrations/update-13-9-0/replace-tao-and-cli-with-nx.ts index a97ae97276afa..f28780110ef64 100644 --- a/packages/workspace/src/migrations/update-13-9-0/replace-tao-and-cli-with-nx.ts +++ b/packages/workspace/src/migrations/update-13-9-0/replace-tao-and-cli-with-nx.ts @@ -4,11 +4,11 @@ export function replaceTaoAndCLIWithNx(host: Tree) { updateJson(host, 'package.json', (json: any) => { if (json.dependencies['@nrwl/workspace']) { json.dependencies['nx'] = json.dependencies['@nrwl/workspace']; - } else if (json.devDependencices['@nrwl/workspace']) { - json.dependencies['nx'] = json.devDependencices['@nrwl/workspace']; + } else if (json.devDependencies['@nrwl/workspace']) { + json.devDependencies['nx'] = json.devDependencies['@nrwl/workspace']; } removeTaoAndCLI(json.dependencies); - removeTaoAndCLI(json.devDependencices); + removeTaoAndCLI(json.devDependencies); return json; }); } @@ -16,7 +16,7 @@ export function replaceTaoAndCLIWithNx(host: Tree) { function removeTaoAndCLI(json: any) { if (!json) return; json['@nrwl/tao'] = undefined; - json['@nrwl/cli1'] = undefined; + json['@nrwl/cli'] = undefined; } export default replaceTaoAndCLIWithNx;