diff --git a/.gitignore b/.gitignore index 1b71f90..69fb743 100644 --- a/.gitignore +++ b/.gitignore @@ -27,6 +27,7 @@ speed-measure-plugin.json .history/* # misc +/.angular/cache /.sass-cache /connect.lock /coverage diff --git a/angular.json b/angular.json index e349217..8298e73 100644 --- a/angular.json +++ b/angular.json @@ -27,18 +27,6 @@ "tsConfig": "projects/mat-file-upload/tsconfig.spec.json", "karmaConfig": "projects/mat-file-upload/karma.conf.js" } - }, - "lint": { - "builder": "@angular-devkit/build-angular:tslint", - "options": { - "tsConfig": [ - "projects/mat-file-upload/tsconfig.lib.json", - "projects/mat-file-upload/tsconfig.spec.json" - ], - "exclude": [ - "**/node_modules/**" - ] - } } } }, @@ -135,18 +123,6 @@ "projects/demo/src/assets" ] } - }, - "lint": { - "builder": "@angular-devkit/build-angular:tslint", - "options": { - "tsConfig": [ - "projects/demo/tsconfig.app.json", - "projects/demo/tsconfig.spec.json" - ], - "exclude": [ - "**/node_modules/**" - ] - } } } }, @@ -166,15 +142,6 @@ "devServerTarget": "demo:serve:production" } } - }, - "lint": { - "builder": "@angular-devkit/build-angular:tslint", - "options": { - "tsConfig": "projects/demo-e2e/tsconfig.e2e.json", - "exclude": [ - "**/node_modules/**" - ] - } } } } diff --git a/projects/demo/src/polyfills.ts b/projects/demo/src/polyfills.ts index 9a6fac3..be9bc8a 100644 --- a/projects/demo/src/polyfills.ts +++ b/projects/demo/src/polyfills.ts @@ -18,16 +18,6 @@ * 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 * user can disable parts of macroTask/DomEvents patch by setting following flags diff --git a/projects/demo/src/test.ts b/projects/demo/src/test.ts index a8eade7..08acb9b 100644 --- a/projects/demo/src/test.ts +++ b/projects/demo/src/test.ts @@ -13,7 +13,9 @@ declare const require: any // First, initialize the Angular testing environment. getTestBed().initTestEnvironment( BrowserDynamicTestingModule, - platformBrowserDynamicTesting() + platformBrowserDynamicTesting(), { + teardown: { destroyAfterEach: false } +} ) // Then we find all the tests. const context = require.context('./', true, /\.spec\.ts$/) diff --git a/projects/mat-file-upload/src/test.ts b/projects/mat-file-upload/src/test.ts index 89c1d55..18c8875 100644 --- a/projects/mat-file-upload/src/test.ts +++ b/projects/mat-file-upload/src/test.ts @@ -14,7 +14,9 @@ declare const require: any; // First, initialize the Angular testing environment. getTestBed().initTestEnvironment( BrowserDynamicTestingModule, - platformBrowserDynamicTesting() + platformBrowserDynamicTesting(), { + teardown: { destroyAfterEach: false } +} ); // Then we find all the tests. const context = require.context('./', true, /\.spec\.ts$/); diff --git a/projects/mat-file-upload/tsconfig.lib.prod.json b/projects/mat-file-upload/tsconfig.lib.prod.json index 2617a83..6330633 100644 --- a/projects/mat-file-upload/tsconfig.lib.prod.json +++ b/projects/mat-file-upload/tsconfig.lib.prod.json @@ -4,6 +4,6 @@ "declarationMap": false }, "angularCompilerOptions": { - "enableIvy": false + "compilationMode": "partial" } } \ No newline at end of file