From 003f1c312658774a32a2d7df4a6d3bbecfe11785 Mon Sep 17 00:00:00 2001 From: Nicolas Merget <104347736+nmerget@users.noreply.github.com> Date: Fri, 12 Jul 2024 14:42:32 +0200 Subject: [PATCH] fix: angular build by removing .npmignore (#2652) --- package-lock.json | 1 + packages/db-ui-elements-angular/package.json | 6 ++++-- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/package-lock.json b/package-lock.json index f0c9e6e3b..a873b56b0 100644 --- a/package-lock.json +++ b/package-lock.json @@ -40162,6 +40162,7 @@ "bs-logger": "0.2.6", "injection-js": "2.4.0", "ng-packagr": "17.3.0", + "rimraf": "6.0.1", "zone.js": "~0.14.7" } }, diff --git a/packages/db-ui-elements-angular/package.json b/packages/db-ui-elements-angular/package.json index 064d6dead..7f556dc72 100644 --- a/packages/db-ui-elements-angular/package.json +++ b/packages/db-ui-elements-angular/package.json @@ -18,7 +18,8 @@ "pretest": "npm run stencil:workaround", "prebuild": "npm run stencil:workaround", "start": "ng serve", - "build": "ng build" + "build": "ng build", + "postbuild": "rimraf dist/lib/.npmignore" }, "files": [ "dist/" @@ -38,12 +39,13 @@ "@angular/forms": "^17.3.11", "@angular/platform-browser": "^17.3.11", "@angular/platform-browser-dynamic": "^17.3.11", + "@rollup/plugin-commonjs": "26.0.1", "@rollup/plugin-json": "6.1.0", "@rollup/plugin-node-resolve": "15.2.3", - "@rollup/plugin-commonjs": "26.0.1", "bs-logger": "0.2.6", "injection-js": "2.4.0", "ng-packagr": "17.3.0", + "rimraf": "6.0.1", "zone.js": "~0.14.7" } }