Skip to content

Commit

Permalink
(chore) Upgrade Angular to v16 (#1558)
Browse files Browse the repository at this point in the history
  • Loading branch information
denniskigen authored Jan 3, 2024
1 parent 0d26db0 commit 8da491d
Show file tree
Hide file tree
Showing 3 changed files with 1,545 additions and 2,869 deletions.
54 changes: 27 additions & 27 deletions packages/esm-form-entry-app/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,51 +35,51 @@
"url": "https://github.com/openmrs/openmrs-esm-patient-chart/issues"
},
"dependencies": {
"@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/compiler-cli": "^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-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/compiler-cli": "^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.14.0",
"@ng-select/ng-select": "^10.0.4",
"@ngx-translate/core": "^13.0.0",
"@ng-select/ng-select": "^11.2.0",
"@ngx-translate/core": "^15.0.0",
"@openmrs/ngx-file-uploader": "next",
"@openmrs/ngx-formentry": "next",
"jspdf": "^2.5.1",
"moment": "^2.29.4",
"ngx-bootstrap": "^10.3.0",
"ngx-bootstrap": "^11.0.1",
"ngx-webcam": "^0.4.1",
"reflect-metadata": "^0.1.13",
"single-spa-angular": "^8.1.1",
"single-spa-angular": "^9.0.1",
"slick-carousel": "^1.8.1",
"systemjs-webpack-interop": "^2.3.7",
"tree-model": "^1.0.7",
"tslib": "^2.4.1",
"uuid": "^8.3.2",
"zone.js": "~0.11.8"
"zone.js": "~0.13.3"
},
"peerDependencies": {
"@openmrs/esm-framework": "5.x",
"rxjs": "6.x",
"single-spa": "5.x"
},
"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/localize": "^15.2.10",
"@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/localize": "^16.2.12",
"@openmrs/esm-framework": "next",
"@types/jasmine": "~3.6.11",
"@types/jasminewd2": "~2.0.3",
Expand All @@ -96,7 +96,7 @@
"karma-coverage-istanbul-reporter": "~3.0.3",
"karma-jasmine": "~5.1.0",
"karma-jasmine-html-reporter": "^2.1.0",
"ngx-build-plus": "^15.0.0",
"ngx-build-plus": "^16.0.0",
"openmrs": "next",
"protractor": "~7.0.0",
"rxjs": "~6.6.7",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ jest.mock('@openmrs/esm-framework', () => {
userHasAccess: jest.fn().mockImplementation((privilege, _) => (privilege ? false : true)),
usePagination: jest.fn().mockImplementation((data) => ({
currentPage: 1,
goTo: () => { },
goTo: () => {},
results: data,
})),
};
Expand All @@ -41,7 +41,7 @@ describe('EncounterList', () => {
mockedGetConfig.mockResolvedValue({ htmlFormEntryForms: [] });
mockedUsePagination.mockImplementationOnce(() => ({
currentPage: 1,
goTo: () => { },
goTo: () => {},
results: [],
}));

Expand All @@ -57,7 +57,7 @@ describe('EncounterList', () => {

mockedUsePagination.mockImplementationOnce(() => ({
currentPage: 1,
goTo: () => { },
goTo: () => {},
results: mockEncounters,
}));

Expand Down Expand Up @@ -115,7 +115,7 @@ describe('Delete Encounter', () => {
mockedUserHasAccess.mockReturnValue(true);
mockedUsePagination.mockImplementationOnce(() => ({
currentPage: 1,
goTo: () => { },
goTo: () => {},
results: mockEncounters,
}));

Expand Down
Loading

0 comments on commit 8da491d

Please sign in to comment.