From 64564da547cd0bdb422f6cfb35fd61cdae5a1c3b Mon Sep 17 00:00:00 2001 From: "Amir H. Khanjani" <72540492+ahkhanjani@users.noreply.github.com> Date: Thu, 16 Feb 2023 15:11:48 +0330 Subject: [PATCH] fix(nx-plugin): Add typescript to avoid peer dependency error on create-nx-plugin MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Error stack: ``` . └─┬ create-nx-plugin 15.7.1 └─┬ @nrwl/devkit 15.7.1 └─┬ @phenomnomnominal/tsquery 4.1.1 └── ✕ missing peer typescript@"^3 || ^4" ``` --- packages/create-nx-plugin/package.json | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/create-nx-plugin/package.json b/packages/create-nx-plugin/package.json index 0bd1ef8e98ef8..b6bd81ee11085 100644 --- a/packages/create-nx-plugin/package.json +++ b/packages/create-nx-plugin/package.json @@ -33,6 +33,7 @@ "enquirer": "~2.3.6", "nx": "file:../nx", "tmp": "~0.2.1", + "typescript": "~4.9.5", "yargs-parser": "21.1.1" }, "publishConfig": {