From f86da1b07e4657b9e959aa9a4addf6ce7b7a2efa Mon Sep 17 00:00:00 2001 From: Chau Tran Date: Tue, 17 Oct 2023 15:13:27 -0500 Subject: [PATCH] fix: add devkit and nx to deps --- libs/ngxtension/ng-package.json | 3 ++- libs/ngxtension/package.json | 2 ++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/libs/ngxtension/ng-package.json b/libs/ngxtension/ng-package.json index b103f726..42dc5465 100644 --- a/libs/ngxtension/ng-package.json +++ b/libs/ngxtension/ng-package.json @@ -3,5 +3,6 @@ "dest": "../../dist/libs/ngxtension", "lib": { "entryFile": "src/index.ts" - } + }, + "allowedNonPeerDependencies": ["@nx/devkit", "nx"] } diff --git a/libs/ngxtension/package.json b/libs/ngxtension/package.json index abd6f2ac..c90b93fd 100644 --- a/libs/ngxtension/package.json +++ b/libs/ngxtension/package.json @@ -24,6 +24,8 @@ "rxjs": "^6.0.0 || ^7.0.0" }, "dependencies": { + "@nx/devkit": "^16.0.0", + "nx": "^16.0.0", "tslib": "^2.3.0" }, "sideEffects": false,