Skip to content

Commit

Permalink
feat: Upgrades to Angular 17
Browse files Browse the repository at this point in the history
BREAKING CHANGE: Angular 17 required
  • Loading branch information
erikmom committed Nov 28, 2023
1 parent 0ba9ba3 commit 7c925db
Show file tree
Hide file tree
Showing 6 changed files with 3,562 additions and 2,184 deletions.
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ npm i ngx-sub-form
**Note about the versions:**

| `@angular` version | `ngx-sub-form` version |
| -------------------- | ---------------------------------------------------- |
|----------------------|------------------------------------------------------|
| v <= `7` | v <= `2.7.1` |
| `8.x` | `4.x` |
| `9.x` <= v <= `12.x` | `5.1.2` |
Expand All @@ -51,6 +51,7 @@ npm i ngx-sub-form
| `14.x` | `7.0.0` (deprecated API is now removed) |
| `15.x` | `8.0.0` |
| `16.x` | `9.0.0` |
| `17.x` | `10.0.0` |

# API

Expand Down
6 changes: 3 additions & 3 deletions angular.json
Original file line number Diff line number Diff line change
Expand Up @@ -65,18 +65,18 @@
"serve": {
"builder": "@angular-devkit/build-angular:dev-server",
"options": {
"browserTarget": "ngx-sub-form-demo:build"
"buildTarget": "ngx-sub-form-demo:build"
},
"configurations": {
"production": {
"browserTarget": "ngx-sub-form-demo:build:production"
"buildTarget": "ngx-sub-form-demo:build:production"
}
}
},
"extract-i18n": {
"builder": "@angular-devkit/build-angular:extract-i18n",
"options": {
"browserTarget": "ngx-sub-form-demo:build"
"buildTarget": "ngx-sub-form-demo:build"
}
},
"test": {
Expand Down
11 changes: 11 additions & 0 deletions cypress/tsconfig.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
/**
* Cypress 12 has an issue in combination with typescript 5.0.x
* "Option 'sourceMap' cannot be specified with option 'inlineSourceMap'"
* https://github.com/cypress-io/cypress/issues/26203
**/
{
"extends": "../tsconfig",
"compilerOptions": {
"sourceMap": false
}
}
56 changes: 28 additions & 28 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,16 +38,16 @@
},
"private": true,
"dependencies": {
"@angular/animations": "16.1.3",
"@angular/cdk": "16.1.3",
"@angular/common": "16.1.3",
"@angular/compiler": "16.1.3",
"@angular/core": "16.1.3",
"@angular/forms": "16.1.3",
"@angular/material": "16.1.3",
"@angular/platform-browser": "16.1.3",
"@angular/platform-browser-dynamic": "16.1.3",
"@angular/router": "16.1.3",
"@angular/animations": "17.0.4",
"@angular/cdk": "17.0.1",
"@angular/common": "17.0.4",
"@angular/compiler": "17.0.4",
"@angular/core": "17.0.4",
"@angular/forms": "17.0.4",
"@angular/material": "17.0.1",
"@angular/platform-browser": "17.0.4",
"@angular/platform-browser-dynamic": "17.0.4",
"@angular/router": "17.0.4",
"@types/uuid": "9.0.0",
"commitizen": "4.2.6",
"core-js": "3.23.1",
Expand All @@ -57,32 +57,32 @@
"rxjs": "7.6.0",
"tslib": "2.4.1",
"uuid": "9.0.0",
"zone.js": "0.13.1"
"zone.js": "0.14.0"
},
"devDependencies": {
"@angular-devkit/build-angular": "16.1.3",
"@angular-eslint/builder": "16.0.3",
"@angular-eslint/eslint-plugin": "16.0.3",
"@angular-eslint/eslint-plugin-template": "16.0.3",
"@angular-eslint/schematics": "16.0.3",
"@angular-eslint/template-parser": "16.0.3",
"@angular/cli": "16.1.3",
"@angular/compiler-cli": "16.1.3",
"@angular/language-service": "16.1.3",
"@angular-devkit/build-angular": "17.0.3",
"@angular-eslint/builder": "17.1.0",
"@angular-eslint/eslint-plugin": "17.1.0",
"@angular-eslint/eslint-plugin-template": "17.1.0",
"@angular-eslint/schematics": "17.1.0",
"@angular-eslint/template-parser": "17.1.0",
"@angular/cli": "17.0.3",
"@angular/compiler-cli": "17.0.4",
"@angular/language-service": "17.0.4",
"@types/jasmine": "4.3.1",
"@types/jasminewd2": "2.0.10",
"@types/lodash": "4.14.191",
"@types/lodash-es": "4.17.6",
"@types/node": "18.11.11",
"@typescript-eslint/eslint-plugin": "5.45.1",
"@typescript-eslint/parser": "5.45.1",
"@typescript-eslint/eslint-plugin": "6.11.0",
"@typescript-eslint/parser": "6.11.0",
"cypress": "12.0.2",
"cz-conventional-changelog": "3.3.0",
"embedme": "1.22.1",
"eslint": "8.29.0",
"eslint-config-prettier": "8.5.0",
"eslint-plugin-import": "2.26.0",
"eslint-plugin-jsdoc": "39.6.4",
"eslint": "8.54.0",
"eslint-config-prettier": "9.0.0",
"eslint-plugin-import": "2.29.0",
"eslint-plugin-jsdoc": "46.9.0",
"eslint-plugin-prefer-arrow": "1.2.3",
"http-server-spa": "1.3.0",
"jasmine-core": "4.5.0",
Expand All @@ -92,13 +92,13 @@
"karma-coverage-istanbul-reporter": "3.0.3",
"karma-jasmine": "5.1.0",
"karma-jasmine-html-reporter": "2.0.0",
"ng-packagr": "16.1.0",
"ng-packagr": "17.0.2",
"prettier": "2.7.1",
"semantic-release": "19.0.5",
"ts-node": "10.9.1",
"tsconfig-paths-webpack-plugin": "3.5.2",
"tsdef": "0.0.14",
"typescript": "4.9.5"
"typescript": "5.2.2"
},
"repository": {
"type": "git",
Expand Down
6 changes: 3 additions & 3 deletions projects/ngx-sub-form/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@
"tslib": "^2.0.0"
},
"peerDependencies": {
"@angular/common": "^16.0.0",
"@angular/core": "^16.0.0",
"@angular/forms": "^16.0.0",
"@angular/common": "^17.0.0",
"@angular/core": "^17.0.0",
"@angular/forms": "^17.0.0",
"fast-deep-equal": "^3.1.3",
"lodash-es": "^4.17.21",
"ngx-observable-lifecycle": "^2.2.1",
Expand Down
Loading

0 comments on commit 7c925db

Please sign in to comment.