From a2a287961cdb617c9e41a078187f578eb98e5fdb Mon Sep 17 00:00:00 2001 From: Peter Bastiani Date: Fri, 29 Dec 2023 11:07:41 +0100 Subject: [PATCH] Fix error TS2307: Cannot find module 'ngx-openlayers' or its corresponding type declarations. --- package.json | 2 +- projects/common-map/package.json | 2 +- projects/common-map3d/package.json | 2 +- projects/ngx-openlayers/package.json | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/package.json b/package.json index 0386156..14a2dc3 100644 --- a/package.json +++ b/package.json @@ -23,7 +23,7 @@ "@farmmaps/common": "file:dist/common", "@farmmaps/common-map": "file:dist/common-map", "@farmmaps/common-map3d": "file:dist/common-map3d", - "@farmmaps/ngx-openlayers": "file:dist/ngx-openlayers", + "ngx-openlayers": "file:dist/ngx-openlayers", "@microsoft/signalr": "^3.1.16", "@ng-bootstrap/ng-bootstrap": "^13.0.0", "@ngrx/effects": "^14", diff --git a/projects/common-map/package.json b/projects/common-map/package.json index 7f65ff7..9072b76 100644 --- a/projects/common-map/package.json +++ b/projects/common-map/package.json @@ -14,7 +14,7 @@ "@ngrx/router-store":">=14.0.0", "@ngrx/store":">=14.0.0", "tassign": ">=1.0.0", - "@farmmaps/ngx-openlayers": "file:dist/ngx-openlayers", + "ngx-openlayers": "file:dist/ngx-openlayers", "ol": ">=6.8.1" } } diff --git a/projects/common-map3d/package.json b/projects/common-map3d/package.json index 22acee4..ec3a394 100644 --- a/projects/common-map3d/package.json +++ b/projects/common-map3d/package.json @@ -7,7 +7,7 @@ "peerDependencies": { "@angular/common": ">=14.0.0", "@angular/core": ">=14.0.0", - "@farmmaps/ngx-openlayers": "file:dist/ngx-openlayers", + "ngx-openlayers": "file:dist/ngx-openlayers", "cesium": ">=1.82.1", "ol-cesium": ">=2.13.0" }, diff --git a/projects/ngx-openlayers/package.json b/projects/ngx-openlayers/package.json index 94c20f9..c5ceced 100644 --- a/projects/ngx-openlayers/package.json +++ b/projects/ngx-openlayers/package.json @@ -1,5 +1,5 @@ { - "name": "@farmmaps/ngx-openlayers", + "name": "ngx-openlayers", "version": "2.0.0", "publishConfig": { "registry": "https://repository.akkerweb.nl/repository/npm-hosted/"