Skip to content

chore: add config comments #1082

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jun 14, 2016
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion addon/ng2/blueprints/ng2/files/.editorconfig
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# http://editorconfig.org
# Editor configuration, see http://editorconfig.org
root = true

[*]
Expand Down
4 changes: 2 additions & 2 deletions addon/ng2/blueprints/ng2/files/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,11 @@ Run `ng build` to build the project. The build artifacts will be stored in the `

## Running unit tests

Run `ng test` to execute the unit tests via Karma.
Run `ng test` to execute the unit tests via [Karma](https://karma-runner.github.io).

## Running end-to-end tests

Run `ng e2e` to execute the end-to-end tests via Protractor.
Run `ng e2e` to execute the end-to-end tests via [Protractor](http://www.protractortest.org/).
Before running the tests make sure you are serving the app via `ng serve`.

## Deploying to Github Pages
Expand Down
4 changes: 4 additions & 0 deletions addon/ng2/blueprints/ng2/files/__path__/system-config.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
// SystemJS configuration file, see links for more information
// https://github.com/systemjs/systemjs
// https://github.com/systemjs/systemjs/blob/master/docs/config-api.md

/***********************************************************************************************
* User Configuration.
**********************************************************************************************/
Expand Down
4 changes: 4 additions & 0 deletions addon/ng2/blueprints/ng2/files/__path__/typings.d.ts
Original file line number Diff line number Diff line change
@@ -1,2 +1,6 @@
// Typings reference file, see links for more information
// https://github.com/typings/typings
// https://www.typescriptlang.org/docs/handbook/writing-declaration-files.html

/// <reference path="<%= refToTypings %>/typings/browser.d.ts" />
<% if(!isMobile) { %>declare var module: { id: string };<% } %>
4 changes: 4 additions & 0 deletions addon/ng2/blueprints/ng2/files/angular-cli-build.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
// Angular-CLI build configuration
// This file lists all the node_modules files that will be used in a build
// Also see https://github.com/angular/angular-cli/wiki/3rd-party-libs

/* global require, module */

var Angular2App = require('angular-cli/lib/broccoli/angular2-app');
Expand Down
3 changes: 3 additions & 0 deletions addon/ng2/blueprints/ng2/files/config/environment.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Angular-CLI server configuration
// Unrelated to environment.dev|prod.ts

/* jshint node: true */

module.exports = function(environment) {
Expand Down
2 changes: 2 additions & 0 deletions addon/ng2/blueprints/ng2/files/config/karma-test-shim.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
// Test shim for Karma, needed to load files via SystemJS

/*global jasmine, __karma__, window*/
Error.stackTraceLimit = Infinity;
jasmine.DEFAULT_TIMEOUT_INTERVAL = 1000;
Expand Down
3 changes: 3 additions & 0 deletions addon/ng2/blueprints/ng2/files/config/karma.conf.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Karma configuration file, see link for more information
// https://karma-runner.github.io/0.13/config/configuration-file.html

module.exports = function (config) {
config.set({
basePath: '..',
Expand Down
3 changes: 3 additions & 0 deletions addon/ng2/blueprints/ng2/files/config/protractor.conf.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Protractor configuration file, see link for more information
// https://github.com/angular/protractor/blob/master/docs/referenceConf.js

/*global jasmine */
var SpecReporter = require('jasmine-spec-reporter');

Expand Down