Skip to content

Commit

Permalink
fix: use peerDependencies instead of dependencies #86du3xkgh
Browse files Browse the repository at this point in the history
  • Loading branch information
alejandro25262 committed Jul 13, 2024
1 parent 2d83836 commit b4c6170
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 53 deletions.
2 changes: 2 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,8 @@
"test": "lerna run test"
},
"devDependencies": {
"@angular/compiler": "^16.2.0",
"@angular/core": "^16.2.0",
"@commitlint/cli": "13.1.0",
"@commitlint/config-conventional": "13.1.0",
"@commitlint/config-lerna-scopes": "13.1.0",
Expand Down
5 changes: 3 additions & 2 deletions packages/widget-angular/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,15 +35,16 @@
},
"typings": "index.d.ts",
"dependencies": {
"@mifiel/widget": "^0.0.2"
},
"peerDependencies": {
"@angular/animations": "^16.2.0",
"@angular/common": "^16.2.0",
"@angular/compiler": "^16.2.0",
"@angular/core": "^16.2.0",
"@angular/forms": "^16.2.0",
"@angular/platform-browser": "^16.2.0",
"@angular/platform-browser-dynamic": "^16.2.0",
"@angular/router": "^16.2.0",
"@mifiel/widget": "^0.0.2",
"rxjs": "~7.8.0",
"tslib": "^2.3.0",
"zone.js": "~0.13.0"
Expand Down
2 changes: 1 addition & 1 deletion packages/widget-angular/src/lib/widget-mifiel.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ import { MifielWidget as Mifiel } from './stencil-generated/components';
@Component({
selector: 'mifiel-widget',
changeDetection: ChangeDetectionStrategy.OnPush,
template: '<ng-content widget-version="1"></ng-content>',
template: '<ng-content></ng-content>',
})
export class MifielWidget extends Mifiel implements OnInit {
protected override el!: HTMLElement;
Expand Down
51 changes: 1 addition & 50 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -158,13 +158,6 @@
"@angular-eslint/bundled-angular-compiler" "12.7.0"
"@typescript-eslint/experimental-utils" "4.28.2"

"@angular/animations@^16.2.0":
version "16.2.12"
resolved "https://registry.yarnpkg.com/@angular/animations/-/animations-16.2.12.tgz#27744d8176e09e70e0f6d837c3abcfcee843a936"
integrity sha512-MD0ElviEfAJY8qMOd6/jjSSvtqER2RDAi0lxe6EtUacC1DHCYkaPrKW4vLqY+tmZBg1yf+6n+uS77pXcHHcA3w==
dependencies:
tslib "^2.3.0"

"@angular/cli@^16.2.14":
version "16.2.14"
resolved "https://registry.yarnpkg.com/@angular/cli/-/cli-16.2.14.tgz#ab58910ae354ee31b89a7479efd5978fd1a3042e"
Expand All @@ -189,13 +182,6 @@
symbol-observable "4.0.0"
yargs "17.7.2"

"@angular/common@^16.2.0":
version "16.2.12"
resolved "https://registry.yarnpkg.com/@angular/common/-/common-16.2.12.tgz#aa1d1522701833f1998001caa1ac95c3ac11d077"
integrity sha512-B+WY/cT2VgEaz9HfJitBmgdk4I333XG/ybC98CMC4Wz8E49T8yzivmmxXB3OD6qvjcOB6ftuicl6WBqLbZNg2w==
dependencies:
tslib "^2.3.0"

"@angular/compiler-cli@^16.2.0":
version "16.2.12"
resolved "https://registry.yarnpkg.com/@angular/compiler-cli/-/compiler-cli-16.2.12.tgz#e24b4bdaf23047b23d7b39e295b7d25b38c5734c"
Expand Down Expand Up @@ -224,34 +210,6 @@
dependencies:
tslib "^2.3.0"

"@angular/forms@^16.2.0":
version "16.2.12"
resolved "https://registry.yarnpkg.com/@angular/forms/-/forms-16.2.12.tgz#a533ad61a65080281e709ca68840a1da9f189afc"
integrity sha512-1Eao89hlBgLR3v8tU91vccn21BBKL06WWxl7zLpQmG6Hun+2jrThgOE4Pf3os4fkkbH4Apj0tWL2fNIWe/blbw==
dependencies:
tslib "^2.3.0"

"@angular/platform-browser-dynamic@^16.2.0":
version "16.2.12"
resolved "https://registry.yarnpkg.com/@angular/platform-browser-dynamic/-/platform-browser-dynamic-16.2.12.tgz#14488188c06013eb4153ac6e0603975f8b679f70"
integrity sha512-ya54jerNgreCVAR278wZavwjrUWImMr2F8yM5n9HBvsMBbFaAQ83anwbOEiHEF2BlR+gJiEBLfpuPRMw20pHqw==
dependencies:
tslib "^2.3.0"

"@angular/platform-browser@^16.2.0":
version "16.2.12"
resolved "https://registry.yarnpkg.com/@angular/platform-browser/-/platform-browser-16.2.12.tgz#66b5611066cb3f8bb55f035658e978b50720f3b0"
integrity sha512-NnH7ju1iirmVEsUq432DTm0nZBGQsBrU40M3ZeVHMQ2subnGiyUs3QyzDz8+VWLL/T5xTxWLt9BkDn65vgzlIQ==
dependencies:
tslib "^2.3.0"

"@angular/router@^16.2.0":
version "16.2.12"
resolved "https://registry.yarnpkg.com/@angular/router/-/router-16.2.12.tgz#2f4cae64ddb7f998832aa340dd3f843cfb85cbc8"
integrity sha512-aU6QnYSza005V9P3W6PpkieL56O0IHps96DjqI1RS8yOJUl3THmokqYN4Fm5+HXy4f390FN9i6ftadYQDKeWmA==
dependencies:
tslib "^2.3.0"

"@assemblyscript/loader@^0.10.1":
version "0.10.1"
resolved "https://registry.yarnpkg.com/@assemblyscript/loader/-/loader-0.10.1.tgz#70e45678f06c72fa2e350e8553ec4a4d72b92e06"
Expand Down Expand Up @@ -11220,7 +11178,7 @@ run-parallel@^1.1.9:
dependencies:
queue-microtask "^1.2.2"

[email protected], rxjs@^7.5.1, rxjs@^7.5.5, rxjs@^7.5.6, rxjs@~7.8.0:
[email protected], rxjs@^7.5.1, rxjs@^7.5.5, rxjs@^7.5.6:
version "7.8.1"
resolved "https://registry.yarnpkg.com/rxjs/-/rxjs-7.8.1.tgz#6f6f3d99ea8044291efd92e7c7fcf562c4057543"
integrity sha512-AA3TVj+0A2iuIoQkWEK/tqFjBq2j+6PO6Y0zJcvzLAFhEFIO3HL0vls9hWLncZbAAbK0mar7oZ4V079I/qPMxg==
Expand Down Expand Up @@ -13221,10 +13179,3 @@ [email protected]:
version "3.7.1"
resolved "https://registry.yarnpkg.com/zod/-/zod-3.7.1.tgz#143a9f9bc8ebad27525f1b1069dad7328d0f9d53"
integrity sha512-9TRjeMKz3xFUOl/CYhBmp/hCrMhk5U6qRnfy9q+HwmQPbMYp3qnM+/cPst+wzHQjfSBjHDYZq7S7TQnlAjqjFg==

zone.js@~0.13.0:
version "0.13.3"
resolved "https://registry.yarnpkg.com/zone.js/-/zone.js-0.13.3.tgz#344c24098fa047eda6427a4c7ed486e391fd67b5"
integrity sha512-MKPbmZie6fASC/ps4dkmIhaT5eonHkEt6eAy80K42tAm0G2W+AahLJjbfi6X9NPdciOE9GRFTTM8u2IiF6O3ww==
dependencies:
tslib "^2.3.0"

0 comments on commit b4c6170

Please sign in to comment.