Skip to content

Commit

Permalink
chore(package): updated 3rd party dependecies
Browse files Browse the repository at this point in the history
  • Loading branch information
valorkin committed May 18, 2016
1 parent 95aca01 commit 1703634
Show file tree
Hide file tree
Showing 8 changed files with 31 additions and 35 deletions.
8 changes: 5 additions & 3 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,11 @@ node_js:
- "6"

script:
- npm run flow.install:typings
- npm test
- ./node_modules/.bin/codecov
- npm run flow.install:typings
- npm test

after_success:
- ./node_modules/.bin/codecov

addons:
# sauce labs tunel connector (read more https://docs.travis-ci.com/user/sauce-connect/ )
Expand Down
3 changes: 2 additions & 1 deletion components/alert/alert.component.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,8 @@ import { TestComponentBuilder, ComponentFixture } from '@angular/compiler/testin
import {AlertComponent} from './alert.component';

describe('Component: Alert', () => {
let fixture:ComponentFixture<any>, context:any;
let fixture:ComponentFixture<any>;
let context:any;
const overTemplate = `
<div class="alert" role="alert" [ngClass]="classes" *ngIf="!closed">
<button *ngIf="dismissible" type="button" class="close" (click)="onClose()" (touch)="onClose()">
Expand Down
4 changes: 2 additions & 2 deletions components/datepicker/daypicker.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -150,8 +150,8 @@ export class DayPickerComponent implements OnInit {

if (this.showWeeks) {
self.weekNumbers = [];
let thursdayIndex = (4 + 7 - this.startingDay) % 7,
numWeeks = self.rows.length;
let thursdayIndex = (4 + 7 - this.startingDay) % 7;
let numWeeks = self.rows.length;
for (let curWeek = 0; curWeek < numWeeks; curWeek++) {
self.weekNumbers.push(self.getISO8601WeekNumber(self.rows[curWeek][thursdayIndex].date));
}
Expand Down
3 changes: 2 additions & 1 deletion components/datepicker/yearpicker.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -86,8 +86,9 @@ export class YearPickerComponent implements OnInit {
this.datePicker.setRefreshViewHandler(function ():void {
let years:Array<any> = new Array(this.yearRange);
let date:Date;
let start = self.getStartingYear(this.activeDate.getFullYear());

for (let i = 0, start = self.getStartingYear(this.activeDate.getFullYear()); i < this.yearRange; i++) {
for (let i = 0; i < this.yearRange; i++) {
date = new Date(start + i, 0, 1);
date = this.fixTimeZone(date);
years[i] = this.createDateObject(date, this.formatYear);
Expand Down
3 changes: 2 additions & 1 deletion demo/components/progressbar/progressbar-demo.ts
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,8 @@ export class ProgressbarDemoComponent {

this.stacked = [];
let total = 0;
for (let i = 0, n = Math.floor((Math.random() * 4) + 1); i < n; i++) {
let n = Math.floor((Math.random() * 4) + 1);
for (let i = 0; i < n; i++) {
let index = Math.floor((Math.random() * 4));
let value = Math.floor((Math.random() * 30) + 1);
total += value;
Expand Down
6 changes: 4 additions & 2 deletions gulp-tasks/lint.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,13 @@

const gulp = require('gulp');
const tslint = require('gulp-tslint');
const paths = gulp.paths;
const gitignore = require('gitignore-to-glob')();

gitignore.push('**/*.ts');

gulp.task('tslint', () =>
gulp
.src(paths.tssrc)
.src(gitignore)
.pipe(tslint())
.pipe(tslint.report('prose', {
emitError: true,
Expand Down
9 changes: 0 additions & 9 deletions gulpfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,6 @@

const gulp = require('gulp');

gulp.paths = {
tssrc: [
'**/*.ts',
'!**/*.d.ts',
'!node_modules/**/*',
'!bundles/**/*',
'!typings/**/*']
};

require('require-dir')('./gulp-tasks');

gulp.task('default', () => {
Expand Down
30 changes: 14 additions & 16 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
"flow.tslint": "./node_modules/.bin/gulp lint",
"flow.lint": "npm run flow.eslint && npm run flow.tslint",
"flow.changelog": "./node_modules/.bin/conventional-changelog -i CHANGELOG.md -s -p angular -v",
"flow.github-release": "conventional-github-releaser -p angular",
"flow.github-release": "./node_modules/.bin/conventional-github-releaser -p angular",
"flow.build:prod": "NODE_ENV=production ./node_modules/.bin/webpack --progress --color",
"flow.build:dev": "./node_modules/.bin/webpack --progress --color",
"flow.serve:dev": "./node_modules/.bin/webpack-dev-server --hot --inline --colors --display-error-details --display-cached",
Expand Down Expand Up @@ -52,9 +52,7 @@
"peerDependencies": {
"@angular/common": "^2.0.0-rc.1",
"@angular/compiler": "^2.0.0-rc.1",
"@angular/core": "^2.0.0-rc.1",
"@angular/platform-browser": "^2.0.0-rc.1",
"@angular/platform-browser-dynamic": "^2.0.0-rc.1"
"@angular/core": "^2.0.0-rc.1"
},
"devDependencies": {
"@angular/common": "^2.0.0-rc.1",
Expand All @@ -63,27 +61,27 @@
"@angular/platform-browser": "^2.0.0-rc.1",
"@angular/platform-browser-dynamic": "^2.0.0-rc.1",
"async": "1.5.2",
"balanced-match": "0.4.1",
"bootstrap": "3.3.6",
"codecov": "1.0.1",
"compression-webpack-plugin": "0.3.1",
"conventional-changelog-cli": "1.1.1",
"conventional-changelog-cli": "1.2.0",
"conventional-github-releaser": "1.1.2",
"copy-webpack-plugin": "2.1.3",
"copy-webpack-plugin": "3.0.0",
"cpy-cli": "1.0.0",
"del-cli": "0.2.0",
"es6-promise": "3.1.2",
"es6-shim": "0.35.0",
"es6-promise": "3.2.1",
"es6-shim": "0.35.1",
"es7-reflect-metadata": "1.6.0",
"eslint-config-valorsoft": "0.0.10",
"eslint-config-valorsoft": "0.0.13",
"exports-loader": "0.6.3",
"file-loader": "0.8.5",
"gh-pages": "0.11.0",
"gitignore-to-glob": "0.2.1",
"gulp": "3.9.1",
"gulp-size": "2.1.0",
"gulp-tslint": "github:valorkin/gulp-tslint",
"gulp-tslint": "5.0.0",
"html-loader": "0.4.3",
"html-webpack-plugin": "2.16.1",
"html-webpack-plugin": "2.17.0",
"istanbul-instrumenter-loader": "0.2.0",
"jasmine": "2.4.1",
"karma": "0.13.22",
Expand All @@ -99,17 +97,17 @@
"marked": "0.3.5",
"phantomjs-polyfill": "0.0.2",
"phantomjs-prebuilt": "2.1.7",
"pre-commit": "1.1.2",
"prismjs": "1.4.1",
"prismjs-loader": "0.0.2",
"pre-commit": "1.1.3",
"prismjs": "1.5.0",
"prismjs-loader": "0.0.3",
"raw-loader": "0.5.1",
"reflect-metadata": "0.1.2",
"require-dir": "0.3.0",
"rxjs": "5.0.0-beta.6",
"source-map-loader": "0.1.5",
"systemjs-builder": "0.15.16",
"ts-loader": "0.8.2",
"tslint-config-valorsoft": "1.0.2",
"tslint-config-valorsoft": "1.0.3",
"typescript": "1.8.10",
"typings": "0.8.1",
"webpack": "1.13.0",
Expand Down

0 comments on commit 1703634

Please sign in to comment.