Chore: Upgrade angular 12->13
This commit is contained in:
parent
cbc3402fbf
commit
d7b06cfdb4
@ -17,7 +17,8 @@
|
|||||||
},
|
},
|
||||||
"extends": [
|
"extends": [
|
||||||
"plugin:@angular-eslint/recommended",
|
"plugin:@angular-eslint/recommended",
|
||||||
"plugin:@angular-eslint/template/process-inline-templates"
|
"plugin:@angular-eslint/template/process-inline-templates",
|
||||||
|
"plugin:@angular-eslint/recommended--extra"
|
||||||
],
|
],
|
||||||
"plugins": [
|
"plugins": [
|
||||||
"import"
|
"import"
|
||||||
@ -49,7 +50,10 @@
|
|||||||
"import/order": [
|
"import/order": [
|
||||||
"error",
|
"error",
|
||||||
{
|
{
|
||||||
"alphabetize": {"order": "asc", "caseInsensitive": true},
|
"alphabetize": {
|
||||||
|
"order": "asc",
|
||||||
|
"caseInsensitive": true
|
||||||
|
},
|
||||||
"newlines-between": "always"
|
"newlines-between": "always"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
|
1
otis/.gitignore
vendored
1
otis/.gitignore
vendored
@ -32,6 +32,7 @@ speed-measure-plugin*.json
|
|||||||
.history/*
|
.history/*
|
||||||
|
|
||||||
# misc
|
# misc
|
||||||
|
/.angular/cache
|
||||||
/.sass-cache
|
/.sass-cache
|
||||||
/connect.lock
|
/connect.lock
|
||||||
/coverage
|
/coverage
|
||||||
|
@ -14,18 +14,18 @@
|
|||||||
},
|
},
|
||||||
"private": true,
|
"private": true,
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@angular/animations": "^12.2.16",
|
"@angular/animations": "^13.3.3",
|
||||||
"@angular/cdk": "^12.2.13",
|
"@angular/cdk": "^13.3.3",
|
||||||
"@angular/common": "^12.2.16",
|
"@angular/common": "^13.3.3",
|
||||||
"@angular/compiler": "^12.2.16",
|
"@angular/compiler": "^13.3.3",
|
||||||
"@angular/core": "^12.2.16",
|
"@angular/core": "^13.3.3",
|
||||||
"@angular/flex-layout": "^12.0.0-beta.35",
|
"@angular/flex-layout": "^13.0.0-beta.38",
|
||||||
"@angular/forms": "^12.2.16",
|
"@angular/forms": "^13.3.3",
|
||||||
"@angular/material": "^12.2.13",
|
"@angular/material": "^13.3.3",
|
||||||
"@angular/material-moment-adapter": "^12.2.13",
|
"@angular/material-moment-adapter": "^13.3.3",
|
||||||
"@angular/platform-browser": "^12.2.16",
|
"@angular/platform-browser": "^13.3.3",
|
||||||
"@angular/platform-browser-dynamic": "^12.2.16",
|
"@angular/platform-browser-dynamic": "^13.3.3",
|
||||||
"@angular/router": "^12.2.16",
|
"@angular/router": "^13.3.3",
|
||||||
"jspdf": "^2.3.0",
|
"jspdf": "^2.3.0",
|
||||||
"jspdf-autotable": "^3.5.13",
|
"jspdf-autotable": "^3.5.13",
|
||||||
"moment": "^2.29.1",
|
"moment": "^2.29.1",
|
||||||
@ -34,24 +34,24 @@
|
|||||||
"zone.js": "~0.11.4"
|
"zone.js": "~0.11.4"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@angular-devkit/build-angular": "~12.2.17",
|
"@angular-devkit/build-angular": "~13.3.3",
|
||||||
"@angular-eslint/builder": "^1.1.0",
|
"@angular-eslint/builder": "^13.2.1",
|
||||||
"@angular-eslint/eslint-plugin": "^1.1.0",
|
"@angular-eslint/eslint-plugin": "^13.2.1",
|
||||||
"@angular-eslint/eslint-plugin-template": "^1.1.0",
|
"@angular-eslint/eslint-plugin-template": "^13.2.1",
|
||||||
"@angular-eslint/schematics": "^1.1.0",
|
"@angular-eslint/schematics": "^13.2.1",
|
||||||
"@angular-eslint/template-parser": "^1.1.0",
|
"@angular-eslint/template-parser": "^13.2.1",
|
||||||
"@angular/cli": "^12.2.17",
|
"@angular/cli": "^13.3.3",
|
||||||
"@angular/compiler-cli": "^12.2.16",
|
"@angular/compiler-cli": "^13.3.3",
|
||||||
"@angular/language-service": "^12.2.16",
|
"@angular/language-service": "^13.3.3",
|
||||||
"@types/jasmine": "~3.6.3",
|
"@types/jasmine": "~3.6.3",
|
||||||
"@types/node": "^14.14.22",
|
"@types/node": "^14.14.22",
|
||||||
"@typescript-eslint/eslint-plugin": "^4.14.0",
|
"@typescript-eslint/eslint-plugin": "5.19.0",
|
||||||
"@typescript-eslint/parser": "^4.14.0",
|
"@typescript-eslint/parser": "5.19.0",
|
||||||
"eslint": "^7.18.0",
|
"eslint": "^8.2.0",
|
||||||
"eslint-plugin-import": "^2.22.1",
|
"eslint-plugin-import": "2.26.0",
|
||||||
"eslint-plugin-jsdoc": "^31.2.2",
|
"eslint-plugin-jsdoc": "^39.2.2",
|
||||||
"eslint-plugin-prefer-arrow": "1.2.2",
|
"eslint-plugin-prefer-arrow": "1.2.3",
|
||||||
"husky": "^4.3.8",
|
"husky": "^7.0.4",
|
||||||
"jasmine-core": "^3.6.0",
|
"jasmine-core": "^3.6.0",
|
||||||
"jasmine-spec-reporter": "^6.0.0",
|
"jasmine-spec-reporter": "^6.0.0",
|
||||||
"karma": "^6.3.18",
|
"karma": "^6.3.18",
|
||||||
@ -59,11 +59,11 @@
|
|||||||
"karma-coverage-istanbul-reporter": "~3.0.2",
|
"karma-coverage-istanbul-reporter": "~3.0.2",
|
||||||
"karma-jasmine": "^4.0.0",
|
"karma-jasmine": "^4.0.0",
|
||||||
"karma-jasmine-html-reporter": "^1.5.0",
|
"karma-jasmine-html-reporter": "^1.5.0",
|
||||||
"lint-staged": "^10.5.3",
|
"lint-staged": "^12.3.8",
|
||||||
"prettier": "^2.2.1",
|
"prettier": "^2.2.1",
|
||||||
"standard-version": "^9.1.0",
|
"standard-version": "^9.1.0",
|
||||||
"ts-node": "^9.1.1",
|
"ts-node": "^9.1.1",
|
||||||
"typescript": "^4.3.5"
|
"typescript": "^4.6.3"
|
||||||
},
|
},
|
||||||
"husky": {
|
"husky": {
|
||||||
"hooks": {
|
"hooks": {
|
||||||
|
@ -18,16 +18,6 @@
|
|||||||
* BROWSER POLYFILLS
|
* BROWSER POLYFILLS
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/** IE11 requires the following for NgClass support on SVG elements */
|
|
||||||
// import 'classlist.js'; // Run `npm install --save classlist.js`.
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Web Animations `@angular/platform-browser/animations`
|
|
||||||
* Only required if AnimationBuilder is used within the application and using IE/Edge or Safari.
|
|
||||||
* Standard animation support in Angular DOES NOT require any polyfills (as of Angular 6.0).
|
|
||||||
*/
|
|
||||||
// import 'web-animations-js'; // Run `npm install --save web-animations-js`.
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* By default, zone.js will patch all possible macroTask and DomEvents
|
* By default, zone.js will patch all possible macroTask and DomEvents
|
||||||
* user can disable parts of macroTask/DomEvents patch by setting following flags
|
* user can disable parts of macroTask/DomEvents patch by setting following flags
|
||||||
|
@ -19,7 +19,9 @@ declare const require: {
|
|||||||
};
|
};
|
||||||
|
|
||||||
// First, initialize the Angular testing environment.
|
// First, initialize the Angular testing environment.
|
||||||
getTestBed().initTestEnvironment(BrowserDynamicTestingModule, platformBrowserDynamicTesting());
|
getTestBed().initTestEnvironment(BrowserDynamicTestingModule, platformBrowserDynamicTesting(), {
|
||||||
|
teardown: { destroyAfterEach: false },
|
||||||
|
});
|
||||||
// Then we find all the tests.
|
// Then we find all the tests.
|
||||||
const context = require.context('./', true, /\.spec\.ts$/);
|
const context = require.context('./', true, /\.spec\.ts$/);
|
||||||
// And load the modules.
|
// And load the modules.
|
||||||
|
Loading…
Reference in New Issue
Block a user