From 2a786c25fff29cc3d0114172109f5c12be2b74f3 Mon Sep 17 00:00:00 2001 From: Philipp Gfeller Date: Fri, 26 Apr 2024 10:35:02 +0200 Subject: [PATCH] chore: reorganize build scripts --- packages/intranet-header-workspace/package.json | 2 +- .../projects/intranet-header-showcase/package.json | 5 +++++ pnpm-lock.yaml | 9 ++++++--- 3 files changed, 12 insertions(+), 4 deletions(-) create mode 100644 packages/intranet-header-workspace/projects/intranet-header-showcase/package.json diff --git a/packages/intranet-header-workspace/package.json b/packages/intranet-header-workspace/package.json index 5b2b5a6b89..b4f5e3a3b8 100644 --- a/packages/intranet-header-workspace/package.json +++ b/packages/intranet-header-workspace/package.json @@ -6,6 +6,7 @@ "scripts": { "clean": "rimraf dist", "start": "ng serve --port 9320", + "build": "ng build intranet-header", "lint": "ng lint" }, "dependencies": { @@ -20,7 +21,6 @@ "@angular/router": "17.3.3", "@ng-bootstrap/ng-bootstrap": "16.0.0", "@popperjs/core": "2.11.8", - "@swisspost/design-system-intranet-header": "workspace:7.0.0", "@swisspost/design-system-styles": "workspace:7.0.0", "rxjs": "7.8.1", "tslib": "2.6.2", diff --git a/packages/intranet-header-workspace/projects/intranet-header-showcase/package.json b/packages/intranet-header-workspace/projects/intranet-header-showcase/package.json new file mode 100644 index 0000000000..816191ee92 --- /dev/null +++ b/packages/intranet-header-workspace/projects/intranet-header-showcase/package.json @@ -0,0 +1,5 @@ +{ + "dependencies": { + "@swisspost/design-system-intranet-header": "workspace:7.0.0" + } +} diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 6a16184445..e31650dde5 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -816,9 +816,6 @@ importers: '@popperjs/core': specifier: 2.11.8 version: 2.11.8 - '@swisspost/design-system-intranet-header': - specifier: workspace:7.0.0 - version: link:dist/intranet-header '@swisspost/design-system-styles': specifier: workspace:7.0.0 version: link:../styles/dist @@ -915,6 +912,12 @@ importers: version: 2.6.2 publishDirectory: ../../dist/intranet-header + packages/intranet-header-workspace/projects/intranet-header-showcase: + dependencies: + '@swisspost/design-system-intranet-header': + specifier: workspace:7.0.0 + version: link:../../dist/intranet-header + packages/migrations: dependencies: '@angular-devkit/core':