Skip to content
This repository was archived by the owner on Jan 6, 2025. It is now read-only.

chore: upgrade to Angular 14.0.0 #1405

Closed
wants to merge 10 commits into from
Closed
Show file tree
Hide file tree
Changes from 4 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions angular.json
Original file line number Diff line number Diff line change
Expand Up @@ -249,6 +249,5 @@
}
}
}
},
"defaultProject": "@angular/flex-layout"
}
}
43 changes: 21 additions & 22 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "flex-layout-srcs",
"description": "Angular Flex Layout",
"version": "13.0.0-beta.38",
"version": "14.0.0-beta.38",
"homepage": "https://github.com/angular/flex-layout",
"bugs": "https://github.com/angular/flex-layout/issues",
"repository": {
Expand Down Expand Up @@ -29,32 +29,31 @@
"changelog": "conventional-changelog -p angular -i CHANGELOG.md -s"
},
"private": true,
"requiredAngularVersion": "^13.0.0",
"requiredAngularVersion": "^14.0.0",
"dependencies": {
"@angular/animations": "~13.0.0",
"@angular/common": "~13.0.0",
"@angular/compiler": "~13.0.0",
"@angular/core": "~13.0.0",
"@angular/forms": "~13.0.0",
"@angular/material": "^13.0.2",
"@angular/platform-browser": "~13.0.0",
"@angular/platform-browser-dynamic": "~13.0.0",
"@angular/platform-server": "~13.0.0",
"@angular/router": "~13.0.0",
"@nguniversal/builders": "^13.0.1",
"@nguniversal/express-engine": "^13.0.1",
"@angular/animations": "^14.0.0",
"@angular/common": "^14.0.0",
"@angular/compiler": "^14.0.0",
"@angular/core": "^14.0.0",
"@angular/forms": "^14.0.0",
"@angular/material": "^14.0.0",
"@angular/platform-browser": "^14.0.0",
"@angular/platform-browser-dynamic": "^14.0.0",
"@angular/platform-server": "^14.0.0",
"@angular/router": "^14.0.0",
"@nguniversal/builders": "^14.0.0",
"@nguniversal/express-engine": "^14.0.0",
"express": "^4.17.1",
"rxjs": "~7.4.0",
"tslib": "^2.3.0",
"zone.js": "~0.11.4"
},
"devDependencies": {
"@angular-devkit/build-angular": "~13.0.0",
"@angular/cdk": "^13.0.2",
"@angular/cli": "~13.0.0",
"@angular/compiler-cli": "~13.0.0",
"@ngtools/webpack": "^13.0.3",
"@nguniversal/builders": "^13.0.1",
"@angular-devkit/build-angular": "^14.0.0",
"@angular/cdk": "^14.0.0",
"@angular/cli": "^14.0.0",
"@angular/compiler-cli": "^14.0.0",
"@ngtools/webpack": "^14.0.0",
"@types/express": "^4.17.0",
"@types/jasmine": "~3.10.0",
"@types/minimatch": "^3.0.5",
Expand All @@ -71,14 +70,14 @@
"karma-parallel": "^0.3.1",
"karma-sauce-launcher": "^2.0.2",
"minimatch": "^3.0.4",
"ng-packagr": "^13.0.0",
"ng-packagr": "^14.0.0",
"postcss": "^8.3.3",
"postcss-scss": "^4.0.2",
"protractor": "^7.0.0",
"stylelint": "^14.1.0",
"ts-node": "^10.4.0",
"tslint": "^6.1.3",
"typescript": "~4.4.3",
"typescript": "~4.7.2",
"webpack": "^5.64.1",
"webpack-cli": "^4.9.1"
}
Expand Down
2 changes: 1 addition & 1 deletion projects/libs/flex-layout/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
"tslib": "^2.3.0"
},
"peerDependencies": {
"@angular/cdk": "^13.0.0",
"@angular/cdk": "^14.0.0",

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pardon the repeated comment, I wanted to point out the specific line this was referring to

@CaerusKaru for this and future updates, would it be possible to use peer deps similar to how Angular Material does, which includes the next major version as well, to ease the update process. e.g. ^14.0.0 || ^15.0.0 (https://github.com/angular/components/blob/5816a12dfa816e3f340627fdf561658de0e8c970/packages.bzl#L4) It's not usually the case that the next major Angular or CDK versions break this library, so it's likely safe to do and would improve the DX for this interim period between angular and flex layout releases.

"@angular/core": "0.0.0-NG",
"@angular/common": "0.0.0-NG",
"@angular/platform-browser": "0.0.0-NG",
Expand Down
2 changes: 1 addition & 1 deletion tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
"experimentalDecorators": true,
"moduleResolution": "node",
"importHelpers": true,
"target": "es2017",
"target": "es2020",
"module": "es2020",
"lib": [
"es2020",
Expand Down
Loading