Skip to content

Commit

Permalink
(chore) Bump Angular to v15 (#99)
Browse files Browse the repository at this point in the history
  • Loading branch information
denniskigen authored Nov 7, 2023
1 parent 8fdb1d5 commit 8f09a0a
Show file tree
Hide file tree
Showing 6 changed files with 1,504 additions and 2,480 deletions.
48 changes: 24 additions & 24 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": "^14.2.13",
"@angular-extensions/elements": "^14.1.0",
"@angular/animations": "^14.3.0",
"@angular/cdk": "^14.2.7",
"@angular/common": "^14.3.0",
"@angular/compiler": "^14.3.0",
"@angular/core": "^14.3.0",
"@angular/forms": "^14.3.0",
"@angular/platform-browser": "^14.3.0",
"@angular/platform-browser-dynamic": "^14.3.0",
"@angular/router": "^14.3.0",
"@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",
"@carbon/styles": "1.x",
"@ng-select/ng-select": "^9.1.0",
"@ngx-translate/core": "^14.0.0",
"@openmrs/ngx-file-uploader": "next",
"@openmrs/ngx-file-uploader": "^0.0.16-pre.17",
"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": "^9.0.0",
"ngx-bootstrap": "^10.3.0",
"ngx-webcam": "0.4.1",
"pdfmake": "0.1.72",
"reflect-metadata": "^0.1.13",
Expand All @@ -52,15 +52,15 @@
"zone.js": "~0.11.8"
},
"devDependencies": {
"@angular-devkit/build-angular": "^14.2.13",
"@angular-eslint/builder": "^13.5.0",
"@angular-eslint/eslint-plugin": "^13.5.0",
"@angular-eslint/eslint-plugin-template": "^13.5.0",
"@angular-eslint/schematics": "^14.4.0",
"@angular-eslint/template-parser": "^12.7.0",
"@angular/cli": "^14.2.13",
"@angular/compiler-cli": "^14.3.0",
"@angular/language-service": "^14.3.0",
"@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",
"@types/jasmine": "~3.6.11",
"@types/jasminewd2": "~2.0.11",
"@types/node": "^12.20.55",
Expand All @@ -78,13 +78,13 @@
"karma-firefox-launcher": "^2.1.2",
"karma-jasmine": "~5.1.0",
"karma-jasmine-html-reporter": "^2.1.0",
"ng-packagr": "~14.2.2",
"ng-packagr": "~15.2.2",
"prettier": "2.1.2",
"protractor": "~7.0.0",
"sass": "^1.68.0",
"ts-node": "~5.0.1",
"turbo": "^1.10.14",
"typescript": "~4.6.4"
"typescript": "~4.9.5"
},
"browserslist": [
"extends browserslist-config-openmrs"
Expand Down
6 changes: 0 additions & 6 deletions projects/ngx-formentry/src/test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,6 @@ import {
platformBrowserDynamicTesting
} from '@angular/platform-browser-dynamic/testing';

declare const require: any;

// First, initialize the Angular testing environment.
getTestBed().initTestEnvironment(
BrowserDynamicTestingModule,
Expand All @@ -19,7 +17,3 @@ getTestBed().initTestEnvironment(
teardown: { destroyAfterEach: false }
}
);
// Then we find all the tests.
const context = require.context('./', true, /\.spec\.ts$/);
// And load the modules.
context.keys().map(context);
1 change: 0 additions & 1 deletion projects/ngx-formentry/tsconfig.lib.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
"extends": "../../tsconfig.json",
"compilerOptions": {
"outDir": "../../out-tsc/lib",
"target": "es2020",
"declarationMap": true,
"module": "es2015",
"moduleResolution": "node",
Expand Down
6 changes: 0 additions & 6 deletions src/test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,6 @@ import {
platformBrowserDynamicTesting
} from '@angular/platform-browser-dynamic/testing';

declare const require: any;

// First, initialize the Angular testing environment.
getTestBed().initTestEnvironment(
BrowserDynamicTestingModule,
Expand All @@ -17,7 +15,3 @@ getTestBed().initTestEnvironment(
teardown: { destroyAfterEach: false }
}
);
// Then we find all the tests.
const context = require.context('./', true, /\.spec\.ts$/);
// And load the modules.
context.keys().map(context);
22 changes: 16 additions & 6 deletions tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,13 +13,23 @@
"moduleResolution": "node",
"resolveJsonModule": true,
"importHelpers": true,
"target": "es2020",
"typeRoots": ["node_modules/@types"],
"lib": ["es2018", "dom"],
"target": "ES2022",
"typeRoots": [
"node_modules/@types"
],
"lib": [
"es2018",
"dom"
],
"paths": {
"@openmrs/ngx-formentry": ["projects/ngx-formentry/src/lib"],
"@openmrs/ngx-formentry/*": ["projects/ngx-formentry/src/lib*"]
}
"@openmrs/ngx-formentry": [
"projects/ngx-formentry/src/lib"
],
"@openmrs/ngx-formentry/*": [
"projects/ngx-formentry/src/lib*"
]
},
"useDefineForClassFields": false
},
"angularCompilerOptions": {
"disableTypeScriptVersionCheck": true,
Expand Down
Loading

0 comments on commit 8f09a0a

Please sign in to comment.