Skip to content

Commit

Permalink
(chore) Bump Angular to v16 (#111)
Browse files Browse the repository at this point in the history
  • Loading branch information
denniskigen authored Jan 2, 2024
1 parent 6bae35c commit c7af85d
Show file tree
Hide file tree
Showing 5 changed files with 3,130 additions and 2,177 deletions.
52 changes: 26 additions & 26 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,28 +17,28 @@
"@carbon/styles": "1.x"
},
"dependencies": {
"@angular-devkit/core": "^15.2.10",
"@angular-extensions/elements": "^15.3.0",
"@angular/animations": "^15.2.10",
"@angular/cdk": "^15.2.9",
"@angular/common": "^15.2.10",
"@angular/compiler": "^15.2.10",
"@angular/core": "^15.2.10",
"@angular/forms": "^15.2.10",
"@angular/platform-browser": "^15.2.10",
"@angular/platform-browser-dynamic": "^15.2.10",
"@angular/router": "^15.2.10",
"@angular-devkit/core": "^16.2.11",
"@angular-extensions/elements": "^16.0.0",
"@angular/animations": "^16.2.12",
"@angular/cdk": "^16.2.12",
"@angular/common": "^16.2.12",
"@angular/compiler": "^16.2.12",
"@angular/core": "^16.2.12",
"@angular/forms": "^16.2.12",
"@angular/platform-browser": "^16.2.12",
"@angular/platform-browser-dynamic": "^16.2.12",
"@angular/router": "^16.2.12",
"@carbon/styles": "1.x",
"@ng-select/ng-select": "^10.0.4",
"@ngx-translate/core": "^14.0.0",
"@ng-select/ng-select": "^11.2.0",
"@ngx-translate/core": "^15.0.0",
"@openmrs/ngx-file-uploader": "next",
"core-js": "^2.6.12",
"font-awesome": "^4.7.0",
"jquery": "^3.7.1",
"jspdf": "^2.5.1",
"lodash": "^4.17.21",
"moment": "^2.29.4",
"ngx-bootstrap": "^10.3.0",
"ngx-bootstrap": "^11.0.1",
"ngx-webcam": "0.4.1",
"pdfmake": "0.1.72",
"reflect-metadata": "^0.1.13",
Expand All @@ -49,19 +49,19 @@
"time-ago-pipe": "^1.3.2",
"tree-model": "^1.0.7",
"tslib": "^2.0.0",
"zone.js": "~0.11.8"
"zone.js": "~0.13.3"
},
"devDependencies": {
"@angular-devkit/build-angular": "^15.2.10",
"@angular-eslint/builder": "^15.2.1",
"@angular-eslint/eslint-plugin": "^15.2.1",
"@angular-eslint/eslint-plugin-template": "^15.2.1",
"@angular-eslint/schematics": "^15.2.1",
"@angular-eslint/template-parser": "^15.2.1",
"@angular/cli": "^15.2.10",
"@angular/compiler-cli": "^15.2.10",
"@angular/language-service": "^15.2.10",
"@angular/material": "^15.2.9",
"@angular-devkit/build-angular": "^16.2.11",
"@angular-eslint/builder": "^16.3.1",
"@angular-eslint/eslint-plugin": "^16.3.1",
"@angular-eslint/eslint-plugin-template": "^16.3.1",
"@angular-eslint/schematics": "^16.3.1",
"@angular-eslint/template-parser": "^16.3.1",
"@angular/cli": "^16.2.11",
"@angular/compiler-cli": "^16.2.12",
"@angular/language-service": "^16.2.12",
"@angular/material": "^16.2.12",
"@types/jasmine": "~3.6.11",
"@types/jasminewd2": "~2.0.11",
"@types/node": "^12.20.55",
Expand All @@ -79,7 +79,7 @@
"karma-firefox-launcher": "^2.1.2",
"karma-jasmine": "~5.1.0",
"karma-jasmine-html-reporter": "^2.1.0",
"ng-packagr": "~15.2.2",
"ng-packagr": "~16.2.3",
"prettier": "2.1.2",
"protractor": "~7.0.0",
"sass": "^1.68.0",
Expand Down
18 changes: 9 additions & 9 deletions projects/ngx-formentry/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,16 +3,16 @@
"version": "5.0.0",
"dependencies": {},
"peerDependencies": {
"@angular/animations": "^15.2.10",
"@angular/cdk": "^15.2.9",
"@angular/common": "^15.2.10",
"@angular/compiler": "^15.2.10",
"@angular/compiler-cli": "^15.2.10",
"@angular/core": "^15.2.10",
"@angular/forms": "^15.2.10",
"@angular/animations": "^16.2.12",
"@angular/cdk": "^16.2.12",
"@angular/common": "^16.2.12",
"@angular/compiler": "^16.2.12",
"@angular/compiler-cli": "^16.2.12",
"@angular/core": "^16.2.12",
"@angular/forms": "^16.2.12",
"@carbon/styles": "^1.11.0",
"@ng-select/ng-select": "^10.0.4",
"@ngx-translate/core": "^14.0.0",
"@ng-select/ng-select": "^11.2.0",
"@ngx-translate/core": "^15.0.0",
"@openmrs/ngx-file-uploader": "next",
"lodash": "^4.17.21",
"moment": "^2.29.4",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -66,8 +66,7 @@ describe('OwlDateTimeComponent', () => {
function createComponent(
component: Type<any>,
imports: Type<any>[] = [],
providers: (FactoryProvider | ValueProvider)[] = [],
entryComponents: Type<any>[] = []
providers: (FactoryProvider | ValueProvider)[] = []
): ComponentFixture<any> {
TestBed.configureTestingModule({
imports: [
Expand All @@ -79,13 +78,7 @@ describe('OwlDateTimeComponent', () => {
...imports
],
providers,
declarations: [component, ...entryComponents]
});

TestBed.overrideModule(BrowserDynamicTestingModule, {
set: {
entryComponents: [entryComponents]
}
declarations: [component]
}).compileComponents();

return TestBed.createComponent(component);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,10 @@ export class DiagnosisValueAdapter implements ValueAdapter {
}
});
this._updatedOldDiagnoses(payload, existingDiagnoses);
deletedDiagnoses = this._getDeletedDiagnoses(diagnosisNodes, existingDiagnoses);
deletedDiagnoses = this._getDeletedDiagnoses(
diagnosisNodes,
existingDiagnoses
);
return payload.concat(deletedDiagnoses);
}

Expand Down
Loading

0 comments on commit c7af85d

Please sign in to comment.