Skip to content

Commit

Permalink
chore(components-angular): refine package.json files
Browse files Browse the repository at this point in the history
  • Loading branch information
oliverschuerch committed Oct 13, 2023
1 parent da6b490 commit e3a06e0
Show file tree
Hide file tree
Showing 4 changed files with 37 additions and 23 deletions.
2 changes: 2 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,8 @@
"components:e2e": "start-server-and-test docs:headless 9300 'pnpm --filter design-system-components e2e'",
"components:e2e:watch": "start-server-and-test docs:headless 9300 'pnpm --filter design-system-components e2e:watch'",
"components:snapshots": "start-server-and-test docs:headless 9300 'pnpm --filter design-system-components snapshots'",
"components-angular:start": "pnpm --filter design-system-components-angular-workspace start",
"components-angular:build": "pnpm --filter design-system-components-angular-workspace build",
"intranet-header:start": "pnpm --filter design-system-intranet-header-workspace start",
"header:start": "pnpm --filter internet-header dev",
"header:build": "pnpm --filter internet-header build",
Expand Down
14 changes: 7 additions & 7 deletions packages/components-angular/package.json
Original file line number Diff line number Diff line change
@@ -1,14 +1,13 @@
{
"name": "@swisspost/design-system-components-angular-workspace",
"version": "1.0.0",
"license": "Apache-2.0",
"private": true,
"scripts": {
"ng": "ng",
"start": "ng serve",
"build": "ng build",
"watch": "ng build --watch --configuration development",
"test": "ng test"
"clean": "rimraf dist",
"start": "ng serve --port 9002",
"build": "ng build components"
},
"private": true,
"dependencies": {
"@angular/animations": "16.2.0",
"@angular/common": "16.2.0",
Expand All @@ -34,6 +33,7 @@
"karma-jasmine": "5.1.0",
"karma-jasmine-html-reporter": "2.1.0",
"ng-packagr": "16.2.0",
"rimraf": "5.0.1",
"typescript": "5.1.3"
}
}
}
26 changes: 23 additions & 3 deletions packages/components-angular/projects/components/package.json
Original file line number Diff line number Diff line change
@@ -1,12 +1,32 @@
{
"name": "@swisspost/design-system-components-angular",
"version": "1.0.0",
"peerDependencies": {
"@angular/common": "16.2.0",
"@angular/core": "16.2.0"
"description": "Swiss Post Design System - Angular Wrapper Components",
"author": "Swiss Post <[email protected]>",
"license": "Apache-2.0",
"repository": {
"type": "git",
"url": "https://github.com/swisspost/design-system.git"
},
"homepage": "https://swisspost-web-frontend.netlify.app",
"bugs": {
"url": "https://github.com/swisspost/design-system/issues"
},
"private": true,
"files": [
"dist"
],
"publishConfig": {
"access": "restricted",
"linkDirectory": true,
"directory": "../../dist/components"
},
"dependencies": {
"tslib": "2.3.0"
},
"peerDependencies": {
"@angular/common": "16.2.0",
"@angular/core": "16.2.0"
},
"sideEffects": false
}
18 changes: 5 additions & 13 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit e3a06e0

Please sign in to comment.