Skip to content

Commit

Permalink
core: update angular to 14
Browse files Browse the repository at this point in the history
  • Loading branch information
NileshPatel17 committed Jul 10, 2022
1 parent 13ceaaa commit 65ed8d9
Show file tree
Hide file tree
Showing 6 changed files with 25 additions and 23 deletions.
1 change: 0 additions & 1 deletion angular.json
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,6 @@
}
}
},
"defaultProject": "ng-multiselect-dropdown-base",
"schematics": {
"@schematics/angular:component": {
"prefix": "ng",
Expand Down
31 changes: 17 additions & 14 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -44,21 +44,24 @@
"url": "https://github.com/nileshpatel17/ng-multiselect-dropdown/issues"
},
"homepage": "https://github.com/nileshpatel17/ng-multiselect-dropdown#readme",
"peerDependencies": {},
"peerDependencies": {
"@angular/common": ">=2.0.0",
"@angular/core": ">=2.0.0"
},
"devDependencies": {
"@angular-devkit/build-angular": "~13.3.8",
"@angular/animations": "13.3.11",
"@angular/cli": "^13.3.8",
"@angular/common": "13.3.11",
"@angular/compiler": "13.3.11",
"@angular/compiler-cli": "13.3.11",
"@angular/core": "13.3.11",
"@angular/forms": "13.3.11",
"@angular-devkit/build-angular": "^14.0.5",
"@angular/animations": "14.0.5",
"@angular/cli": "^14.0.5",
"@angular/common": "14.0.5",
"@angular/compiler": "14.0.5",
"@angular/compiler-cli": "14.0.5",
"@angular/core": "14.0.5",
"@angular/forms": "14.0.5",
"@angular/http": "7.2.15",
"@angular/language-service": "13.3.11",
"@angular/platform-browser": "13.3.11",
"@angular/platform-browser-dynamic": "13.3.11",
"@angular/router": "13.3.11",
"@angular/language-service": "14.0.5",
"@angular/platform-browser": "14.0.5",
"@angular/platform-browser-dynamic": "14.0.5",
"@angular/router": "14.0.5",
"@types/jasmine": "~3.4.0",
"@types/jasminewd2": "~2.0.2",
"@types/node": "^12.11.1",
Expand All @@ -72,7 +75,7 @@
"jest": "^24.9.0",
"jest-preset-angular": "^7.1.1",
"ng-multiselect-dropdown": "^0.2.11",
"ng-packagr": "^13.3.1",
"ng-packagr": "^14.0.3",
"ngx-bootstrap": "^5.1.1",
"protractor": "~7.0.0",
"rimraf": "^3.0.0",
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { FormBuilder, FormGroup } from "@angular/forms";
import { UntypedFormBuilder, UntypedFormGroup } from "@angular/forms";
import { Component, OnInit } from "@angular/core";
import { IDropdownSettings } from "../../../../ng-multiselect-dropdown/src";

Expand All @@ -7,7 +7,7 @@ import { IDropdownSettings } from "../../../../ng-multiselect-dropdown/src";
templateUrl: "./multiple-custom-template.html",
})
export class MultipleCustomTempComponent implements OnInit {
myForm: FormGroup;
myForm: UntypedFormGroup;
disabled = false;
ShowFilter = true;
showAll = true;
Expand Down Expand Up @@ -159,7 +159,7 @@ export class MultipleCustomTempComponent implements OnInit {
}
`;

constructor(private fb: FormBuilder) {}
constructor(private fb: UntypedFormBuilder) {}

ngOnInit() {
this.cities = [
Expand Down
6 changes: 3 additions & 3 deletions src/app/components/select/multiple-demo.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { FormBuilder, FormGroup } from '@angular/forms';
import { UntypedFormBuilder, UntypedFormGroup } from '@angular/forms';
import { Component, OnInit } from '@angular/core';
import { IDropdownSettings } from '../../../ng-multiselect-dropdown/src';

Expand All @@ -7,7 +7,7 @@ import { IDropdownSettings } from '../../../ng-multiselect-dropdown/src';
templateUrl: './multiple-demo.html'
})
export class MultipleDemoComponent implements OnInit {
myForm: FormGroup;
myForm: UntypedFormGroup;
disabled = false;
ShowFilter = true;
showAll = true;
Expand Down Expand Up @@ -108,7 +108,7 @@ export class MultipleDemoComponent implements OnInit {
}
`;

constructor(private fb: FormBuilder) {}
constructor(private fb: UntypedFormBuilder) {}

ngOnInit() {
this.cities = [
Expand Down
2 changes: 1 addition & 1 deletion src/tsconfig.spec.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"compilerOptions": {
"outDir": "../out-tsc/spec",
"baseUrl": "./",
"target": "es5",
"target": "es2020",
"types": [
"jasmine",
"node"
Expand Down
2 changes: 1 addition & 1 deletion tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"declaration": false,
"moduleResolution": "node",
"experimentalDecorators": true,
"target": "es2018",
"target": "es2020",
"typeRoots": ["node_modules/@types"],
"lib": ["es2016","es2015", "dom"]
}
Expand Down

0 comments on commit 65ed8d9

Please sign in to comment.