Upgrade to Angular 15
This commit is contained in:
parent
c68d9ba749
commit
56d2bd17e4
7209
package-lock.json
generated
7209
package-lock.json
generated
File diff suppressed because it is too large
Load Diff
38
package.json
38
package.json
@ -30,23 +30,23 @@
|
|||||||
"postinstall": "ngcc --properties es2015 es5 browser module main --first-only --create-ivy-entry-points --tsconfig \"./src/tsconfig.app.json\""
|
"postinstall": "ngcc --properties es2015 es5 browser module main --first-only --create-ivy-entry-points --tsconfig \"./src/tsconfig.app.json\""
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@angular/animations": "^14.3.0",
|
"@angular/animations": "^16.2.12",
|
||||||
"@angular/cdk": "14.2.7",
|
"@angular/cdk": "15.2.9",
|
||||||
"@angular/common": "^14.3.0",
|
"@angular/common": "^16.2.12",
|
||||||
"@angular/compiler": "^14.3.0",
|
"@angular/compiler": "^16.2.12",
|
||||||
"@angular/core": "^14.3.0",
|
"@angular/core": "^15.2.10",
|
||||||
"@angular/forms": "^14.3.0",
|
"@angular/forms": "^16.2.12",
|
||||||
"@angular/google-maps": "^12.2.13",
|
"@angular/google-maps": "^12.2.13",
|
||||||
"@angular/platform-browser": "^14.3.0",
|
"@angular/platform-browser": "^16.2.12",
|
||||||
"@angular/platform-browser-dynamic": "^14.3.0",
|
"@angular/platform-browser-dynamic": "^16.2.12",
|
||||||
"@angular/router": "^14.3.0",
|
"@angular/router": "^16.2.12",
|
||||||
"@asymmetrik/ngx-leaflet": "3.0.1",
|
"@asymmetrik/ngx-leaflet": "3.0.1",
|
||||||
"@microsoft/signalr": "^6.0.8",
|
"@microsoft/signalr": "^6.0.8",
|
||||||
"@nebular/auth": "10.0.0",
|
"@nebular/auth": "11.0.0",
|
||||||
"@nebular/date-fns": "^10.0.0",
|
"@nebular/date-fns": "^11.0.0",
|
||||||
"@nebular/eva-icons": "10.0.0",
|
"@nebular/eva-icons": "11.0.0",
|
||||||
"@nebular/security": "10.0.0",
|
"@nebular/security": "11.0.0",
|
||||||
"@nebular/theme": "10.0.0",
|
"@nebular/theme": "11.0.0",
|
||||||
"angular2-chartjs": "0.4.1",
|
"angular2-chartjs": "0.4.1",
|
||||||
"angular2-qrcode": "^2.0.3",
|
"angular2-qrcode": "^2.0.3",
|
||||||
"bootstrap": "4.3.1",
|
"bootstrap": "4.3.1",
|
||||||
@ -81,10 +81,10 @@
|
|||||||
"zone.js": "~0.11.4"
|
"zone.js": "~0.11.4"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@angular-devkit/build-angular": "^14.2.13",
|
"@angular-devkit/build-angular": "^15.2.11",
|
||||||
"@angular/cli": "^14.2.13",
|
"@angular/cli": "^15.2.11",
|
||||||
"@angular/compiler-cli": "^14.3.0",
|
"@angular/compiler-cli": "^16.2.12",
|
||||||
"@angular/language-service": "14.3.0",
|
"@angular/language-service": "16.2.12",
|
||||||
"@compodoc/compodoc": "1.0.1",
|
"@compodoc/compodoc": "1.0.1",
|
||||||
"@fortawesome/fontawesome-free": "^5.2.0",
|
"@fortawesome/fontawesome-free": "^5.2.0",
|
||||||
"@schematics/angular": "^14.1.3",
|
"@schematics/angular": "^14.1.3",
|
||||||
@ -109,6 +109,6 @@
|
|||||||
"rimraf": "2.6.1",
|
"rimraf": "2.6.1",
|
||||||
"stylelint": "7.13.0",
|
"stylelint": "7.13.0",
|
||||||
"ts-node": "3.2.2",
|
"ts-node": "3.2.2",
|
||||||
"typescript": "~4.6.4"
|
"typescript": "~4.9.5"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -20,7 +20,6 @@ import {
|
|||||||
|
|
||||||
// Unfortunately there's no typing for the `__karma__` variable. Just declare it as any.
|
// Unfortunately there's no typing for the `__karma__` variable. Just declare it as any.
|
||||||
declare const __karma__: any;
|
declare const __karma__: any;
|
||||||
declare const require: any;
|
|
||||||
|
|
||||||
// Prevent Karma from running prematurely.
|
// Prevent Karma from running prematurely.
|
||||||
__karma__.loaded = function () {};
|
__karma__.loaded = function () {};
|
||||||
@ -32,9 +31,5 @@ getTestBed().initTestEnvironment(
|
|||||||
teardown: { destroyAfterEach: false }
|
teardown: { destroyAfterEach: false }
|
||||||
},
|
},
|
||||||
);
|
);
|
||||||
// Then we find all the tests.
|
|
||||||
const context = require.context('./', true, /\.spec\.ts$/);
|
|
||||||
// And load the modules.
|
|
||||||
context.keys().map(context);
|
|
||||||
// Finally, start Karma to run the tests.
|
// Finally, start Karma to run the tests.
|
||||||
__karma__.start();
|
__karma__.start();
|
||||||
|
|||||||
@ -8,7 +8,7 @@
|
|||||||
"declaration": false,
|
"declaration": false,
|
||||||
"moduleResolution": "node",
|
"moduleResolution": "node",
|
||||||
"experimentalDecorators": true,
|
"experimentalDecorators": true,
|
||||||
"target": "es2020",
|
"target": "ES2022",
|
||||||
"typeRoots": [
|
"typeRoots": [
|
||||||
"node_modules/@types"
|
"node_modules/@types"
|
||||||
],
|
],
|
||||||
@ -20,6 +20,7 @@
|
|||||||
{
|
{
|
||||||
"name": "tslint-language-service"
|
"name": "tslint-language-service"
|
||||||
}
|
}
|
||||||
]
|
],
|
||||||
|
"useDefineForClassFields": false
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
Loading…
x
Reference in New Issue
Block a user