Skip to content

Commit 393db76

Browse files
committed
feat: add all Angular library dependencies as peer dependencies
1 parent cd1a8e3 commit 393db76

File tree

3 files changed

+7
-8
lines changed

3 files changed

+7
-8
lines changed

.eslintrc.json

+2-1
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,8 @@
5959
"@angular-eslint/template/no-interpolation-in-attributes": "off",
6060
"@angular-eslint/template/button-has-type": "off",
6161
"@angular-eslint/template/no-inline-styles": "off",
62-
"@angular-eslint/template/accessibility-interactive-supports-focus": "off"
62+
"@angular-eslint/template/accessibility-interactive-supports-focus": "off",
63+
"@angular-eslint/template/attributes-order": "off"
6364
}
6465
}
6566
]

projects/stream-chat-angular/ng-package.json

+1-4
Original file line numberDiff line numberDiff line change
@@ -6,13 +6,10 @@
66
"entryFile": "src/public-api.ts"
77
},
88
"allowedNonPeerDependencies": [
9-
"angular-mentions",
109
"dayjs",
1110
"@stream-io/transliterate",
12-
"@popperjs/core",
1311
"uuidv4",
1412
"pretty-bytes",
15-
"emoji-regex",
16-
"ngx-popperjs"
13+
"emoji-regex"
1714
]
1815
}

projects/stream-chat-angular/package.json

+4-3
Original file line numberDiff line numberDiff line change
@@ -11,16 +11,17 @@
1111
"peerDependencies": {
1212
"@angular/common": "^15.0.0 || ^16.0.0 || ^17.0.0",
1313
"@angular/core": "^15.0.0 || ^16.0.0 || ^17.0.0",
14+
"@floating-ui/dom": "^1.6.3",
1415
"@ngx-translate/core": "^14.0.0 || ^15.0.0",
16+
"angular-mentions": "^1.4.0",
17+
"ngx-float-ui": "^15.0.0|| ^16.0.0 || ^17.0.0",
18+
"rxjs": "^7.4.0",
1519
"stream-chat": "^8.24.0"
1620
},
1721
"dependencies": {
18-
"angular-mentions": "^1.4.0",
1922
"@stream-io/transliterate": "^1.5.2",
20-
"@popperjs/core": "^2.11.5",
2123
"dayjs": "^1.11.10",
2224
"emoji-regex": "^10.3.0",
23-
"ngx-popperjs": "^15.2.4 || ^16.0.7 || ^17.0.0",
2425
"pretty-bytes": "^6.1.1",
2526
"tslib": "^2.3.0",
2627
"uuidv4": "^6.2.13"

0 commit comments

Comments
 (0)