Skip to content

Commit

Permalink
fix: allow to install the same cdk of peer dependencies (#9414)
Browse files Browse the repository at this point in the history
  • Loading branch information
splincode authored Oct 9, 2024
1 parent 5343993 commit 0d9ac9d
Show file tree
Hide file tree
Showing 18 changed files with 2,239 additions and 1,491 deletions.
3,550 changes: 2,150 additions & 1,400 deletions package-lock.json

Large diffs are not rendered by default.

10 changes: 5 additions & 5 deletions projects/addon-charts/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,10 @@
"peerDependencies": {
"@angular/common": ">=16.0.0",
"@angular/core": ">=16.0.0",
"@ng-web-apis/common": "^4.8.0",
"@taiga-ui/cdk": "^4.10.0",
"@taiga-ui/core": "^4.10.0",
"@taiga-ui/polymorpheus": "^4.7.4",
"tslib": "^2.7.0"
"@ng-web-apis/common": ">=4.8.0 <5",
"@taiga-ui/cdk": ">=4.10.0 <5",
"@taiga-ui/core": ">=4.10.0 <5",
"@taiga-ui/polymorpheus": ">=4.7.4 <5",
"tslib": ">=2.7.0"
}
}
20 changes: 10 additions & 10 deletions projects/addon-commerce/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,16 +17,16 @@
"@angular/common": ">=16.0.0",
"@angular/core": ">=16.0.0",
"@angular/forms": ">=16.0.0",
"@maskito/angular": "^3.0.3",
"@maskito/core": "^3.0.3",
"@maskito/kit": "^3.0.3",
"@ng-web-apis/common": "^4.8.0",
"@taiga-ui/cdk": "^4.10.0",
"@taiga-ui/core": "^4.10.0",
"@taiga-ui/i18n": "^4.10.0",
"@taiga-ui/kit": "^4.10.0",
"@taiga-ui/polymorpheus": "^4.7.4",
"@maskito/angular": ">=3.0.3 <4",
"@maskito/core": ">=3.0.3 <4",
"@maskito/kit": ">=3.0.3 <4",
"@ng-web-apis/common": ">=4.8.0 <5",
"@taiga-ui/cdk": ">=4.10.0 <5",
"@taiga-ui/core": ">=4.10.0 <5",
"@taiga-ui/i18n": ">=4.10.0 <5",
"@taiga-ui/kit": ">=4.10.0 <5",
"@taiga-ui/polymorpheus": ">=4.7.4 <5",
"rxjs": ">=7.0.0",
"tslib": "^2.7.0"
"tslib": ">=2.7.0"
}
}
16 changes: 8 additions & 8 deletions projects/addon-doc/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,15 +22,15 @@
"@angular/core": ">=16.0.0",
"@angular/forms": ">=16.0.0",
"@angular/router": ">=16.0.0",
"@ng-web-apis/common": "^4.8.0",
"@taiga-ui/addon-mobile": "^4.10.0",
"@taiga-ui/cdk": "^4.10.0",
"@taiga-ui/core": "^4.10.0",
"@taiga-ui/kit": "^4.10.0",
"@taiga-ui/legacy": "^4.10.0",
"@taiga-ui/polymorpheus": "^4.7.4",
"@ng-web-apis/common": ">=4.8.0 <5",
"@taiga-ui/addon-mobile": ">=4.10.0 <5",
"@taiga-ui/cdk": ">=4.10.0 <5",
"@taiga-ui/core": ">=4.10.0 <5",
"@taiga-ui/kit": ">=4.10.0 <5",
"@taiga-ui/legacy": ">=4.10.0 <5",
"@taiga-ui/polymorpheus": ">=4.7.4 <5",
"markdown-it": ">=14.1.0",
"ngx-highlightjs": ">=10.0.0",
"tslib": "^2.7.0"
"tslib": ">=2.7.0"
}
}
12 changes: 6 additions & 6 deletions projects/addon-mobile/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,12 +17,12 @@
"@angular/cdk": ">=16.0.0",
"@angular/common": ">=16.0.0",
"@angular/core": ">=16.0.0",
"@ng-web-apis/common": "^4.8.0",
"@taiga-ui/cdk": "^4.10.0",
"@taiga-ui/core": "^4.10.0",
"@taiga-ui/kit": "^4.10.0",
"@taiga-ui/polymorpheus": "^4.7.4",
"@ng-web-apis/common": ">=4.8.0 <5",
"@taiga-ui/cdk": ">=4.10.0 <5",
"@taiga-ui/core": ">=4.10.0 <5",
"@taiga-ui/kit": ">=4.10.0 <5",
"@taiga-ui/polymorpheus": ">=4.7.4 <5",
"rxjs": ">=7.0.0",
"tslib": "^2.7.0"
"tslib": ">=2.7.0"
}
}
14 changes: 7 additions & 7 deletions projects/addon-table/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,13 +15,13 @@
"peerDependencies": {
"@angular/common": ">=16.0.0",
"@angular/core": ">=16.0.0",
"@ng-web-apis/intersection-observer": "^4.8.0",
"@taiga-ui/cdk": "^4.10.0",
"@taiga-ui/core": "^4.10.0",
"@taiga-ui/i18n": "^4.10.0",
"@taiga-ui/kit": "^4.10.0",
"@taiga-ui/polymorpheus": "^4.7.4",
"@ng-web-apis/intersection-observer": ">=4.8.0 <5",
"@taiga-ui/cdk": ">=4.10.0 <5",
"@taiga-ui/core": ">=4.10.0 <5",
"@taiga-ui/i18n": ">=4.10.0 <5",
"@taiga-ui/kit": ">=4.10.0 <5",
"@taiga-ui/polymorpheus": ">=4.7.4 <5",
"rxjs": ">=7.0.0",
"tslib": "^2.7.0"
"tslib": ">=2.7.0"
}
}
14 changes: 7 additions & 7 deletions projects/cdk/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,19 +29,19 @@
"@angular/common": ">=16.0.0",
"@angular/core": ">=16.0.0",
"@angular/forms": ">=16.0.0",
"@ng-web-apis/common": "^4.8.0",
"@ng-web-apis/mutation-observer": "^4.8.0",
"@ng-web-apis/resize-observer": "^4.8.0",
"@taiga-ui/event-plugins": "^4.2.4",
"@taiga-ui/polymorpheus": "^4.7.4",
"@ng-web-apis/common": ">=4.8.0 <5",
"@ng-web-apis/mutation-observer": ">=4.8.0 <5",
"@ng-web-apis/resize-observer": ">=4.8.0 <5",
"@taiga-ui/event-plugins": ">=4.2.4 <5",
"@taiga-ui/polymorpheus": ">=4.7.4 <5",
"rxjs": ">=7.0.0"
},
"optionalDependencies": {
"@angular-devkit/core": ">=16.0.0",
"@angular-devkit/schematics": ">=16.0.0",
"@schematics/angular": ">=16.0.0",
"ng-morph": "^4.8.4",
"parse5": "^7.1.2"
"ng-morph": ">=4.8.4 <5",
"parse5": ">=7.1.2"
},
"ng-update": {
"migrations": "./schematics/migration.json",
Expand Down
14 changes: 7 additions & 7 deletions projects/core/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,14 +24,14 @@
"@angular/forms": ">=16.0.0",
"@angular/platform-browser": ">=16.0.0",
"@angular/router": ">=16.0.0",
"@ng-web-apis/common": "^4.8.0",
"@ng-web-apis/mutation-observer": "^4.8.0",
"@taiga-ui/cdk": "^4.10.0",
"@taiga-ui/event-plugins": "^4.2.4",
"@taiga-ui/i18n": "^4.10.0",
"@taiga-ui/polymorpheus": "^4.7.4",
"@ng-web-apis/common": ">=4.8.0 <5",
"@ng-web-apis/mutation-observer": ">=4.8.0 <5",
"@taiga-ui/cdk": ">=4.10.0 <5",
"@taiga-ui/event-plugins": ">=4.2.4 <5",
"@taiga-ui/i18n": ">=4.10.0 <5",
"@taiga-ui/polymorpheus": ">=4.7.4 <5",
"rxjs": ">=7.0.0",
"tslib": "^2.7.0"
"tslib": ">=2.7.0"
},
"schematics": "./schematics/collection.json"
}
10 changes: 4 additions & 6 deletions projects/demo/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@taiga-ui/demo",
"private": true,
"dependencies": {
"devDependencies": {
"@angular/animations": "16.2.12",
"@angular/cdk": "16.2.14",
"@angular/common": "16.2.12",
Expand All @@ -14,16 +14,14 @@
"@angular/router": "16.2.12",
"@docsearch/js": "3.6.2",
"@ng-web-apis/universal": "4.8.0",
"@nguniversal/builders": "16.2.0",
"@nguniversal/express-engine": "16.2.0",
"@stackblitz/sdk": "1.11.0",
"@taiga-ui/dompurify": "4.1.7",
"date-fns": "4.1.0",
"rxjs": "7.8.1"
},
"devDependencies": {
"@nguniversal/builders": "16.2.0",
"@types/express": "5.0.0",
"date-fns": "4.1.0",
"express": "4.21.1",
"rxjs": "7.8.1",
"terser-webpack-plugin": "5.3.10"
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ export class StackblitzDepsService {
}

private async getCommonPackages(): Promise<Record<string, string>> {
const {dependencies: demoDeps} = await import('@taiga-ui/demo/package.json');
const {devDependencies: demoDeps} = await import('@taiga-ui/demo/package.json');
const {peerDependencies: cdkDeps} = await import('@taiga-ui/cdk/package.json');
const {peerDependencies: kitDeps} = await import('@taiga-ui/kit/package.json');
const {devDependencies: rootDevDeps} = await import('@demo/root-package');
Expand Down
12 changes: 6 additions & 6 deletions projects/experimental/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,12 @@
"peerDependencies": {
"@angular/common": ">=16.0.0",
"@angular/core": ">=16.0.0",
"@taiga-ui/addon-commerce": "^4.10.0",
"@taiga-ui/cdk": "^4.10.0",
"@taiga-ui/core": "^4.10.0",
"@taiga-ui/kit": "^4.10.0",
"@taiga-ui/polymorpheus": "^4.7.4",
"@taiga-ui/addon-commerce": ">=4.10.0 <5",
"@taiga-ui/cdk": ">=4.10.0 <5",
"@taiga-ui/core": ">=4.10.0 <5",
"@taiga-ui/kit": ">=4.10.0 <5",
"@taiga-ui/polymorpheus": ">=4.7.4 <5",
"rxjs": ">=7.0.0",
"tslib": "^2.7.0"
"tslib": ">=2.7.0"
}
}
4 changes: 2 additions & 2 deletions projects/i18n/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@
"license": "Apache-2.0",
"peerDependencies": {
"@angular/core": ">=16.0.0",
"@ng-web-apis/common": "^4.8.0",
"@ng-web-apis/common": ">=4.8.0 <5",
"rxjs": ">=7.0.0",
"tslib": "^2.7.0"
"tslib": ">=2.7.0"
}
}
26 changes: 13 additions & 13 deletions projects/kit/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,19 +20,19 @@
"@angular/core": ">=16.0.0",
"@angular/forms": ">=16.0.0",
"@angular/router": ">=16.0.0",
"@maskito/angular": "^3.0.3",
"@maskito/core": "^3.0.3",
"@maskito/kit": "^3.0.3",
"@maskito/phone": "^3.0.3",
"@ng-web-apis/common": "^4.8.0",
"@ng-web-apis/intersection-observer": "^4.8.0",
"@ng-web-apis/mutation-observer": "^4.8.0",
"@ng-web-apis/resize-observer": "^4.8.0",
"@taiga-ui/cdk": "^4.10.0",
"@taiga-ui/core": "^4.10.0",
"@taiga-ui/i18n": "^4.10.0",
"@taiga-ui/polymorpheus": "^4.7.4",
"@maskito/angular": ">=3.0.3 <4",
"@maskito/core": ">=3.0.3 <4",
"@maskito/kit": ">=3.0.3 <4",
"@maskito/phone": ">=3.0.3 <4",
"@ng-web-apis/common": ">=4.8.0 <5",
"@ng-web-apis/intersection-observer": ">=4.8.0 <5",
"@ng-web-apis/mutation-observer": ">=4.8.0 <5",
"@ng-web-apis/resize-observer": ">=4.8.0 <5",
"@taiga-ui/cdk": ">=4.10.0 <5",
"@taiga-ui/core": ">=4.10.0 <5",
"@taiga-ui/i18n": ">=4.10.0 <5",
"@taiga-ui/polymorpheus": ">=4.7.4 <5",
"rxjs": ">=7.0.0",
"tslib": "^2.7.0"
"tslib": ">=2.7.0"
}
}
10 changes: 5 additions & 5 deletions projects/layout/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,11 @@
"peerDependencies": {
"@angular/common": ">=16.0.0",
"@angular/core": ">=16.0.0",
"@taiga-ui/cdk": "^4.10.0",
"@taiga-ui/core": "^4.10.0",
"@taiga-ui/kit": "^4.10.0",
"@taiga-ui/polymorpheus": "^4.7.4",
"@taiga-ui/cdk": ">=4.10.0 <5",
"@taiga-ui/core": ">=4.10.0 <5",
"@taiga-ui/kit": ">=4.10.0 <5",
"@taiga-ui/polymorpheus": ">=4.7.4 <5",
"rxjs": ">=7.0.0",
"tslib": "^2.7.0"
"tslib": ">=2.7.0"
}
}
2 changes: 1 addition & 1 deletion projects/legacy/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,6 @@
"license": "Apache-2.0",
"peerDependencies": {
"@angular/core": ">=16.0.0",
"tslib": "^2.7.0"
"tslib": ">=2.7.0"
}
}
6 changes: 3 additions & 3 deletions projects/styles/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
"version": "4.10.0",
"description": "Global Styles for Taiga UI",
"peerDependencies": {
"@taiga-ui/cdk": "^4.10.0",
"@taiga-ui/core": "^4.10.0",
"tslib": "^2.7.0"
"@taiga-ui/cdk": ">=4.10.0 <5",
"@taiga-ui/core": ">=4.10.0 <5",
"tslib": ">=2.7.0"
}
}
4 changes: 2 additions & 2 deletions projects/taiga-schematics/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@
"@taiga-ui/cdk": "^4.10.0"
},
"peerDependencies": {
"@taiga-ui/cdk": "^4.10.0",
"tslib": "^2.7.0"
"@taiga-ui/cdk": ">=4.10.0 <5",
"tslib": ">=2.7.0"
},
"schematics": "../@taiga-ui/cdk/schematics/collection.json"
}
4 changes: 2 additions & 2 deletions projects/testing/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"ts-jest": "29.2.5"
},
"peerDependencies": {
"@taiga-ui/cdk": "^4.10.0",
"tslib": "^2.7.0"
"@taiga-ui/cdk": ">=4.10.0 <5",
"tslib": ">=2.7.0"
}
}

0 comments on commit 0d9ac9d

Please sign in to comment.