Skip to content

Commit

Permalink
Update Dependency Versions (#227)
Browse files Browse the repository at this point in the history
- update angular version to angular 8
- update additional dependencies
- remove core-js dependency
  • Loading branch information
madoar authored Aug 11, 2019
1 parent 9ee9681 commit 4bb54a6
Show file tree
Hide file tree
Showing 32 changed files with 71 additions and 74 deletions.
1 change: 0 additions & 1 deletion karma-shim.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
import 'core-js';
import 'zone.js/dist/zone';
import 'zone.js/dist/long-stack-trace-zone';
import 'zone.js/dist/proxy.js';
Expand Down
64 changes: 31 additions & 33 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -47,43 +47,41 @@
"e2e": "ng e2e"
},
"devDependencies": {
"@angular-devkit/build-angular": "~0.13.0",
"@angular-devkit/build-ng-packagr": "~0.13.0",
"@angular/cli": "~7.3.5",
"@angular/common": "^7.2.8",
"@angular/compiler": "^7.2.8",
"@angular/compiler-cli": "^7.2.8",
"@angular/core": "^7.2.8",
"@angular/forms": "^7.2.8",
"@angular/http": "^7.2.8",
"@angular/language-service": "^7.2.8",
"@angular/platform-browser": "^7.2.8",
"@angular/platform-browser-dynamic": "^7.2.8",
"@angular/router": "^7.2.8",
"@angular-devkit/build-angular": "~0.802.1",
"@angular-devkit/build-ng-packagr": "~0.802.1",
"@angular/cli": "~8.2.1",
"@angular/common": "^8.2.1",
"@angular/compiler": "^8.2.1",
"@angular/compiler-cli": "^8.2.1",
"@angular/core": "^8.2.1",
"@angular/forms": "^8.2.1",
"@angular/language-service": "^8.2.1",
"@angular/platform-browser": "^8.2.1",
"@angular/platform-browser-dynamic": "^8.2.1",
"@angular/router": "^8.2.1",
"@earshinov/extract-scss-variables": "^0.1.1",
"@types/jasmine": "~2.8.8",
"@types/jasminewd2": "~2.0.3",
"@types/node": "~8.9.4",
"codelyzer": "~4.3.0",
"core-js": "^2.5.4",
"jasmine-core": "~2.99.1",
"@types/jasmine": "~3.4.0",
"@types/jasminewd2": "~2.0.6",
"@types/node": "~12.7.1",
"codelyzer": "^5.1.0",
"jasmine-core": "~3.4.0",
"jasmine-spec-reporter": "~4.2.1",
"karma": "~3.0.0",
"karma-chrome-launcher": "~2.2.0",
"karma-coverage-istanbul-reporter": "~2.0.1",
"karma-jasmine": "~1.1.2",
"karma-jasmine-html-reporter": "^0.2.2",
"ng-packagr": "^4.1.0",
"karma": "~4.2.0",
"karma-chrome-launcher": "~3.0.0",
"karma-coverage-istanbul-reporter": "~2.1.0",
"karma-jasmine": "~2.0.1",
"karma-jasmine-html-reporter": "^1.4.2",
"ng-packagr": "^5.3.0",
"node-sass": "^4.12.0",
"protractor": "~5.4.0",
"rxjs": "~6.4.0",
"scss-bundle": "^2.5.0",
"ts-node": "~7.0.0",
"tsickle": ">=0.34.0",
"tslib": "^1.9.0",
"tslint": "~5.11.0",
"typescript": "~3.2.4",
"zone.js": "~0.8.29"
"rxjs": "~6.5.2",
"scss-bundle": "^2.5.1",
"ts-node": "~8.3.0",
"tsickle": "^0.36.0",
"tslib": "^1.10.0",
"tslint": "~5.18.0",
"typescript": "~3.5.3",
"zone.js": "~0.9.1"
},
"peerDependencies": {
"@angular/common": ">= 5"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ import {WizardComponent} from './wizard.component';
})
class WizardTestComponent {

@ViewChild(WizardComponent)
@ViewChild(WizardComponent, {static: false})
public wizard: WizardComponent;

public isValid: any = true;
Expand Down
2 changes: 1 addition & 1 deletion src/lib/components/wizard-navigation-bar.component.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ import {WizardComponent} from './wizard.component';
class WizardTestComponent {
public firstStepId = 'step1';

@ViewChild(WizardComponent)
@ViewChild(WizardComponent, {static: false})
public wizard: WizardComponent;
}

Expand Down
2 changes: 1 addition & 1 deletion src/lib/components/wizard-step.component.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ import {WizardComponent} from './wizard.component';
})
class WizardTestComponent {

@ViewChild(WizardComponent)
@ViewChild(WizardComponent, {static: false})
public wizard: WizardComponent;

public isValid: any = true;
Expand Down
2 changes: 1 addition & 1 deletion src/lib/components/wizard.component.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ class WizardTestComponent implements AfterViewInit {
public showStep1 = true;
public showStep3 = true;

@ViewChild(WizardComponent)
@ViewChild(WizardComponent, {static: false})
public wizard: WizardComponent;

constructor(private _changeDetectionRef: ChangeDetectorRef) {
Expand Down
2 changes: 1 addition & 1 deletion src/lib/directives/completed-step.directive.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ import {WizardComponent} from '../components/wizard.component';
`
})
class WizardTestComponent {
@ViewChild(WizardComponent)
@ViewChild(WizardComponent, {static: false})
public wizard: WizardComponent;
}

Expand Down
2 changes: 1 addition & 1 deletion src/lib/directives/enable-back-links.directive.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ import {WizardComponent} from '../components/wizard.component';
})
class WizardTestComponent {

@ViewChild(WizardComponent)
@ViewChild(WizardComponent, {static: false})
public wizard: WizardComponent;

public isValid: any = true;
Expand Down
2 changes: 1 addition & 1 deletion src/lib/directives/go-to-step.directive.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ import {WizardComponent} from '../components/wizard.component';
})
class WizardTestComponent {

@ViewChild(WizardComponent)
@ViewChild(WizardComponent, {static: false})
public wizard: WizardComponent;

public goToSecondStep = 1;
Expand Down
2 changes: 1 addition & 1 deletion src/lib/directives/next-step.directive.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ import {WizardComponent} from '../components/wizard.component';
})
class WizardTestComponent {

@ViewChild(WizardComponent)
@ViewChild(WizardComponent, {static: false})
public wizard: WizardComponent;

public eventLog: Array<string> = [];
Expand Down
2 changes: 1 addition & 1 deletion src/lib/directives/optional-step.directive.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ import {WizardComponent} from '../components/wizard.component';
})
class WizardTestComponent {

@ViewChild(WizardComponent)
@ViewChild(WizardComponent, {static: false})
public wizard: WizardComponent;
}

Expand Down
2 changes: 1 addition & 1 deletion src/lib/directives/previous-step.directive.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ import {WizardComponent} from '../components/wizard.component';
})
class WizardTestComponent {

@ViewChild(WizardComponent)
@ViewChild(WizardComponent, {static: false})
public wizard: WizardComponent;

public eventLog: Array<string> = [];
Expand Down
2 changes: 1 addition & 1 deletion src/lib/directives/reset-wizard.directive.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ import { checkWizardState } from '../util/test-utils';
})
class WizardTestComponent {

@ViewChild(WizardComponent)
@ViewChild(WizardComponent, {static: false})
public wizard: WizardComponent;

public eventLog: Array<string> = [];
Expand Down
2 changes: 1 addition & 1 deletion src/lib/directives/selected-step.directive.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ import {WizardComponent} from '../components/wizard.component';
})
class WizardTestComponent {

@ViewChild(WizardComponent)
@ViewChild(WizardComponent, {static: false})
public wizard: WizardComponent;
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ import {WizardComponent} from '../components/wizard.component';
})
class WizardTestComponent {

@ViewChild(WizardComponent)
@ViewChild(WizardComponent, {static: false})
public wizard: WizardComponent;

public isValid: any = true;
Expand Down
2 changes: 1 addition & 1 deletion src/lib/directives/wizard-step-symbol.directive.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ import {WizardComponent} from '../components/wizard.component';
`
})
class WizardTestComponent {
@ViewChild(WizardComponent)
@ViewChild(WizardComponent, {static: false})
public wizard: WizardComponent;
}

Expand Down
2 changes: 1 addition & 1 deletion src/lib/directives/wizard-step-title.directive.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ import {WizardComponent} from '../components/wizard.component';
`
})
class WizardTestComponent {
@ViewChild(WizardComponent)
@ViewChild(WizardComponent, {static: false})
public wizard: WizardComponent;
}

Expand Down
4 changes: 2 additions & 2 deletions src/lib/directives/wizard-step.directive.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -24,10 +24,10 @@ import {WizardComponent} from '../components/wizard.component';
})
class WizardTestComponent {

@ViewChild(WizardComponent)
@ViewChild(WizardComponent, {static: false})
public wizard: WizardComponent;

@ViewChild(forwardRef(() => WizardStepTestComponent))
@ViewChild(forwardRef(() => WizardStepTestComponent), {static: false})
public wizardStepTestComponent;

public eventLog: Array<string> = [];
Expand Down
4 changes: 2 additions & 2 deletions src/lib/navigation/navigation-mode-selection.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ class CustomNavigationMode extends BaseNavigationMode {
})
class WizardTestComponent {

@ViewChild(WizardComponent)
@ViewChild(WizardComponent, {static: false})
public wizard: WizardComponent;
}

Expand All @@ -38,7 +38,7 @@ class WizardTestComponent {
})
class WizardWithCustomNavigationModeComponent {

@ViewChild(WizardComponent)
@ViewChild(WizardComponent, {static: false})
public wizard: WizardComponent;

public customNavigationMode: CustomNavigationMode = new CustomNavigationMode();
Expand Down
2 changes: 1 addition & 1 deletion src/lib/navigation/wizard-navigation-allow-forward.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ import {checkWizardState} from '../util/test-utils';
`
})
class WizardTestComponent {
@ViewChild(WizardComponent)
@ViewChild(WizardComponent, {static: false})
public wizard: WizardComponent;
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ import {checkWizardState} from '../util/test-utils';
`
})
class WizardTestComponent {
@ViewChild(WizardComponent)
@ViewChild(WizardComponent, {static: false})
public wizard: WizardComponent;
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ import {checkWizardState} from '../util/test-utils';
`
})
class WizardTestComponent {
@ViewChild(WizardComponent)
@ViewChild(WizardComponent, {static: false})
public wizard: WizardComponent;
}

Expand Down
2 changes: 1 addition & 1 deletion src/lib/navigation/wizard-navigation.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ import {checkWizardState} from '../util/test-utils';
`
})
class WizardTestComponent {
@ViewChild(WizardComponent)
@ViewChild(WizardComponent, {static: false})
public wizard: WizardComponent;
}

Expand Down
2 changes: 1 addition & 1 deletion src/lib/util/step-id.interface.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ import { checkWizardState } from './test-utils';
})
class WizardTestComponent {

@ViewChild(WizardComponent)
@ViewChild(WizardComponent, {static: false})
public wizard: WizardComponent;

public canExit = true;
Expand Down
2 changes: 1 addition & 1 deletion src/lib/util/step-index.interface.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ import { checkWizardState } from './test-utils';
})
class WizardTestComponent {

@ViewChild(WizardComponent)
@ViewChild(WizardComponent, {static: false})
public wizard: WizardComponent;

public canExit = true;
Expand Down
2 changes: 1 addition & 1 deletion src/lib/util/step-offset.interface.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ import { checkWizardState } from './test-utils';
})
class WizardTestComponent {

@ViewChild(WizardComponent)
@ViewChild(WizardComponent, {static: false})
public wizard: WizardComponent;

public canExit = true;
Expand Down
2 changes: 1 addition & 1 deletion src/lib/util/wizard-completion-step.interface.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ import {WizardComponent} from '../components/wizard.component';
})
class WizardTestComponent {

@ViewChild(WizardComponent)
@ViewChild(WizardComponent, {static: false})
public wizard: WizardComponent;

public isValid: any = true;
Expand Down
8 changes: 4 additions & 4 deletions src/lib/util/wizard-step.interface.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -29,16 +29,16 @@ class WizardTestComponent {

public canExit: any = true;

@ViewChild(WizardComponent)
@ViewChild(WizardComponent, {static: false})
public wizard: WizardComponent;

@ViewChild('firstStep')
@ViewChild('firstStep', {static: false})
public firstStep: WizardStep;

@ViewChild('secondStep')
@ViewChild('secondStep', {static: false})
public secondStep: WizardStep;

@ViewChild('thirdStep')
@ViewChild('thirdStep', {static: false})
public thirdStep: WizardStep;

public eventLog: Array<string> = [];
Expand Down
4 changes: 2 additions & 2 deletions src/lib/util/wizard-step.interface.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,14 +15,14 @@ export abstract class WizardStep {
* This title is then shown inside the navigation bar.
* Compared to `stepTitle` this property can contain any html content and not only plain text
*/
@ContentChild(WizardStepTitleDirective)
@ContentChild(WizardStepTitleDirective, {static: false})
public stepTitleTemplate: WizardStepTitleDirective;

/**
* A step symbol property that, if defined, overrides `navigationSymbol`.
* Allows to display arbitrary content as a step symbol instead of plain text.
*/
@ContentChild(WizardStepSymbolDirective)
@ContentChild(WizardStepSymbolDirective, {static: false})
public stepSymbolTemplate: WizardStepSymbolDirective;

/**
Expand Down
1 change: 0 additions & 1 deletion src/test.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
// This file is required by karma.conf.js and loads recursively all the .spec and framework files

import 'core-js/es7/reflect';
import 'zone.js/dist/zone';
import 'zone.js/dist/zone-testing';
import { getTestBed } from '@angular/core/testing';
Expand Down
5 changes: 3 additions & 2 deletions tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,16 @@
"compileOnSave": false,
"compilerOptions": {
"baseUrl": "./",
"downlevelIteration": true,
"importHelpers": true,
"outDir": "./dist/out-tsc",
"sourceMap": true,
"declaration": false,
"module": "es2015",
"module": "esnext",
"moduleResolution": "node",
"emitDecoratorMetadata": true,
"experimentalDecorators": true,
"target": "es5",
"target": "es2015",
"typeRoots": [
"node_modules/@types"
],
Expand Down
8 changes: 4 additions & 4 deletions tslint.json
Original file line number Diff line number Diff line change
Expand Up @@ -118,12 +118,12 @@
"check-type"
],
"no-output-on-prefix": true,
"use-input-property-decorator": true,
"use-output-property-decorator": true,
"use-host-property-decorator": true,
"no-inputs-metadata-property": true,
"no-outputs-metadata-property": true,
"no-host-metadata-property": true,
"no-input-rename": true,
"no-output-rename": true,
"use-life-cycle-interface": true,
"use-lifecycle-interface": true,
"use-pipe-transform-interface": true,
"component-class-suffix": true,
"directive-class-suffix": true
Expand Down

0 comments on commit 4bb54a6

Please sign in to comment.