From 71f8c7ee9e7d2acf4b53c7d6b6cdfb0280091b57 Mon Sep 17 00:00:00 2001 From: eromano Date: Wed, 27 Jul 2022 17:42:19 +0200 Subject: [PATCH] peer dep Signed-off-by: eromano --- lib/core/ng-package.json | 16 +++++++++++++++- lib/core/package.json | 6 ++++-- 2 files changed, 19 insertions(+), 3 deletions(-) diff --git a/lib/core/ng-package.json b/lib/core/ng-package.json index 4ca2ca960e..8d88b0318f 100644 --- a/lib/core/ng-package.json +++ b/lib/core/ng-package.json @@ -9,5 +9,19 @@ "lib": { "entryFile": "./public-api.ts", "flatModuleFile": "adf-core" - } + }, + "allowedNonPeerDependencies": [ + "cropperjs", + "@editorjs/editorjs", + "@editorjs/code", + "@editorjs/header", + "@editorjs/inline-code", + "@editorjs/list", + "@editorjs/marker", + "@editorjs/underline", + "@quanzo/change-font-size", + "editorjs-text-color-plugin", + "editorjs-html", + "editorjs-paragraph-with-alignment" + ] } diff --git a/lib/core/package.json b/lib/core/package.json index 3997977dd7..12a2ce692f 100644 --- a/lib/core/package.json +++ b/lib/core/package.json @@ -10,7 +10,7 @@ "bugs": { "url": "https://github.com/Alfresco/alfresco-ng2-components/issues" }, - "peerDependencies": { + "dependencies": { "cropperjs": "1.5.11", "@editorjs/editorjs": "2.25.0", "@editorjs/code": "2.7.0", @@ -22,7 +22,9 @@ "@quanzo/change-font-size": "1.0.0", "editorjs-text-color-plugin": "1.13.1", "editorjs-html": "3.4.2", - "editorjs-paragraph-with-alignment": "3.0.0", + "editorjs-paragraph-with-alignment": "3.0.0" + }, + "peerDependencies": { "@angular/animations": ">=10.0.2", "@angular/cdk": ">=10.0.1", "@angular/common": ">=10.0.2",