Skip to content

Commit

Permalink
Updated typings to 1.3.1, removed unneeded stuff, and fixed testing o…
Browse files Browse the repository at this point in the history
…utput
  • Loading branch information
TheLarkInn committed Jul 6, 2016
1 parent 7ca3196 commit aea7447
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 27 deletions.
3 changes: 2 additions & 1 deletion addon/ng2/blueprints/ng2/files/__path__/typings.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,13 @@
// https://github.com/typings/typings
// https://www.typescriptlang.org/docs/handbook/writing-declaration-files.html

/// <reference path="<%= refToTypings %>/typings/browser.d.ts" />
/// <reference path="<%= refToTypings %>/typings/index.d.ts" />
/// <reference path="../node_modules/typescript/lib/lib.es2015.core.d.ts" />
/// <reference path="../node_modules/typescript/lib/lib.es2015.collection.d.ts" />
/// <reference path="../node_modules/typescript/lib/lib.es2015.promise.d.ts" />

<% if(!isMobile) { %>
declare var System: any;
declare var module: { id: string };
declare var require: any;
<% } %>
Expand Down
21 changes: 0 additions & 21 deletions addon/ng2/blueprints/ng2/files/angular-cli-build.js

This file was deleted.

2 changes: 1 addition & 1 deletion addon/ng2/blueprints/ng2/files/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,6 @@
"ts-node": "0.9.1",
"tslint": "3.11.0",
"typescript": "^1.9.0-dev.20160627-1.0",
"typings": "0.8.1"<%= stylePackage %>
"typings": "^1.3.1"<%= stylePackage %>
}
}
4 changes: 2 additions & 2 deletions addon/ng2/blueprints/ng2/files/typings.json
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
{
"ambientDevDependencies": {
"globalDevDependencies": {
"angular-protractor": "registry:dt/angular-protractor#1.5.0+20160425143459",
"jasmine": "registry:dt/jasmine#2.2.0+20160412134438",
"selenium-webdriver": "registry:dt/selenium-webdriver#2.44.0+20160317120654"
},
"ambientDependencies": {
"globalDependencies": {
<% if (isMobile) {%>"node": "registry:dt/node#6.0.0+20160621231320" <% } %>
}
}
1 change: 0 additions & 1 deletion addon/ng2/models/webpack-build-test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,6 @@ export const getWebpackTestConfig = function(projectRoot: string) {
// resolveGlobs: false,
module: "commonjs",
target: "es5",
lib: ['es6', 'dom'],
useForkChecker: true,
removeComments: true
}
Expand Down
2 changes: 1 addition & 1 deletion addon/ng2/models/webpack-karma-config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ export default function(config) {
preprocessors: { './config/spec-bundle.js': ['coverage', 'webpack', 'sourcemap'] },
webpack: testWebpackConfig,
webpackServer: { noInfo: true },
reporters: [ 'text-summary', 'mocha', 'coverage' ],
reporters: ['progress', 'mocha', 'coverage' ],
port: 9876,
colors: true,
logLevel: config.LOG_INFO,
Expand Down

0 comments on commit aea7447

Please sign in to comment.