Skip to content

Commit

Permalink
fix(latest): config (valor-software#4716)
Browse files Browse the repository at this point in the history
* fix(latest): config

* feat(latest): add tsickle to config

* feat(schematics): clean up
  • Loading branch information
Domainv authored and leo6104 committed Oct 10, 2019
1 parent 2bda1ec commit 4fc3af3
Show file tree
Hide file tree
Showing 9 changed files with 15 additions and 61 deletions.
4 changes: 4 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -42,3 +42,7 @@ src/**/*.js
src/**/*.map
scripts/**/*.js
scripts/**/*.map

schematics/src/**/*.js
schematics/src/**/*.js.map
schematics/src/**/*.d.ts
5 changes: 3 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,8 @@
"build.es2015": "node ./scripts/es2015/bundle.es2015.js",
"start": "ng serve --aot --host 0.0.0.0",
"pretest": "run-s lint build",
"test": "ng test",
"test": "ng test && npm run test:schematics",
"test:schematics": "jasmine schematics/src/**/*.spec.js",
"test-cross": "SAUCE=true ng test",
"test-coverage": "ng test --code-coverage",
"version": "node scripts/version && npm run version.changelog",
Expand Down Expand Up @@ -153,7 +154,7 @@
"tslint": "5.10.0",
"tslint-config-valorsoft": "2.1.1",
"typedoc": "0.11.1",
"typescript": "~2.7.2",
"typescript": "2.7.2",
"wait-on": "2.1.0",
"wallaby-webpack": "3.9.7",
"webpack-bundle-analyzer": "2.11.3",
Expand Down
18 changes: 0 additions & 18 deletions schematics/.gitignore

This file was deleted.

3 changes: 0 additions & 3 deletions schematics/.npmignore

This file was deleted.

21 changes: 0 additions & 21 deletions schematics/README.md

This file was deleted.

15 changes: 0 additions & 15 deletions schematics/package.json

This file was deleted.

5 changes: 4 additions & 1 deletion scripts/ci/npm-ng-latest.sh
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,7 @@ npm i @angular/animations@latest \
@angular/platform-browser-dynamic@latest \
@angular/router@latest \
@angular/service-worker@latest \
rxjs@6.0.0
@schematics/angular@latest \
typescript@3.1.1 \
tsickle@0.33.0 \
rxjs@6.3
4 changes: 3 additions & 1 deletion src/chronos/utils/type-checks.ts
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,9 @@ export function isArray<T>(input?: any): input is T[] {
);
}

export function hasOwnProp<T>(a: T /*object*/, b: string): b is keyof T {
// TODO: returned type should be changed to "b is Extract<keyof T, string>"
// after update to typescript 3.1.1 (issue 4728)
export function hasOwnProp<T>(a: T /*object*/, b: string): boolean {
return Object.prototype.hasOwnProperty.call(a, b);
}

Expand Down
1 change: 1 addition & 0 deletions src/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
"inlineSources": true,
"noEmitHelpers": false,
"noImplicitAny": true,
"suppressImplicitAnyIndexErrors": true,
"declaration": true,
"skipLibCheck": false,
"stripInternal": true,
Expand Down

0 comments on commit 4fc3af3

Please sign in to comment.