Skip to content
Snippets Groups Projects
Commit c025e1db authored by Clayton, Brandon Scott's avatar Clayton, Brandon Scott
Browse files

update to ng 13

parent 0d090dd4
No related branches found
No related tags found
1 merge request!17Angular 13
...@@ -32,6 +32,7 @@ speed-measure-plugin*.json ...@@ -32,6 +32,7 @@ speed-measure-plugin*.json
.history/* .history/*
# misc # misc
/.angular/cache
/.sass-cache /.sass-cache
/connect.lock /connect.lock
/coverage /coverage
......
...@@ -93,13 +93,6 @@ ...@@ -93,13 +93,6 @@
"scripts": [] "scripts": []
} }
}, },
"lint": {
"builder": "@angular-devkit/build-angular:tslint",
"options": {
"tsConfig": ["tsconfig.app.json", "tsconfig.spec.json", "e2e/tsconfig.json"],
"exclude": ["**/node_modules/**"]
}
},
"e2e": { "e2e": {
"builder": "@angular-devkit/build-angular:protractor", "builder": "@angular-devkit/build-angular:protractor",
"options": { "options": {
......
Source diff could not be displayed: it is too large. Options to address this: view the blob.
...@@ -11,14 +11,14 @@ ...@@ -11,14 +11,14 @@
}, },
"private": true, "private": true,
"dependencies": { "dependencies": {
"@angular/animations": "~12.2.16", "@angular/animations": "~13.2.6",
"@angular/common": "~12.2.16", "@angular/common": "~13.2.6",
"@angular/compiler": "~12.2.16", "@angular/compiler": "~13.2.6",
"@angular/core": "~12.2.16", "@angular/core": "~13.2.6",
"@angular/forms": "~12.2.16", "@angular/forms": "~13.2.6",
"@angular/platform-browser": "~12.2.16", "@angular/platform-browser": "~13.2.6",
"@angular/platform-browser-dynamic": "~12.2.16", "@angular/platform-browser-dynamic": "~13.2.6",
"@angular/router": "~12.2.16", "@angular/router": "~13.2.6",
"@ghsc/nshmp-utils": "^4.0.1", "@ghsc/nshmp-utils": "^4.0.1",
"@nshmp/disagg-d3": "file:..", "@nshmp/disagg-d3": "file:..",
"geojson": "^0.5.0", "geojson": "^0.5.0",
...@@ -27,9 +27,9 @@ ...@@ -27,9 +27,9 @@
"zone.js": "~0.11.4" "zone.js": "~0.11.4"
}, },
"devDependencies": { "devDependencies": {
"@angular-devkit/build-angular": "~12.2.16", "@angular-devkit/build-angular": "~13.2.6",
"@angular/cli": "~12.2.16", "@angular/cli": "~13.2.6",
"@angular/compiler-cli": "~12.2.16", "@angular/compiler-cli": "~13.2.6",
"@types/geojson": "^7946.0.7", "@types/geojson": "^7946.0.7",
"@types/jasmine": "~3.6.0", "@types/jasmine": "~3.6.0",
"@types/jasminewd2": "~2.0.3", "@types/jasminewd2": "~2.0.3",
...@@ -45,6 +45,6 @@ ...@@ -45,6 +45,6 @@
"protractor": "~7.0.0", "protractor": "~7.0.0",
"ts-node": "~8.3.0", "ts-node": "~8.3.0",
"tslint": "~6.1.0", "tslint": "~6.1.0",
"typescript": "~4.3.5" "typescript": "~4.5.5"
} }
} }
\ No newline at end of file
...@@ -18,16 +18,6 @@ ...@@ -18,16 +18,6 @@
* BROWSER POLYFILLS * BROWSER POLYFILLS
*/ */
/** IE10 and 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: { ...@@ -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.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment