Skip to content

Commit 1c5cd9b

Browse files
authored
chore: add config comments (#1082)
1 parent eb9b80e commit 1c5cd9b

File tree

9 files changed

+26
-3
lines changed

9 files changed

+26
-3
lines changed

addon/ng2/blueprints/ng2/files/.editorconfig

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# http://editorconfig.org
1+
# Editor configuration, see http://editorconfig.org
22
root = true
33

44
[*]

addon/ng2/blueprints/ng2/files/README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -15,11 +15,11 @@ Run `ng build` to build the project. The build artifacts will be stored in the `
1515

1616
## Running unit tests
1717

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

2020
## Running end-to-end tests
2121

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

2525
## Deploying to Github Pages

addon/ng2/blueprints/ng2/files/__path__/system-config.ts

+4
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
// SystemJS configuration file, see links for more information
2+
// https://github.com/systemjs/systemjs
3+
// https://github.com/systemjs/systemjs/blob/master/docs/config-api.md
4+
15
/***********************************************************************************************
26
* User Configuration.
37
**********************************************************************************************/
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,6 @@
1+
// Typings reference file, see links for more information
2+
// https://github.com/typings/typings
3+
// https://www.typescriptlang.org/docs/handbook/writing-declaration-files.html
4+
15
/// <reference path="<%= refToTypings %>/typings/browser.d.ts" />
26
<% if(!isMobile) { %>declare var module: { id: string };<% } %>

addon/ng2/blueprints/ng2/files/angular-cli-build.js

+4
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
// Angular-CLI build configuration
2+
// This file lists all the node_modules files that will be used in a build
3+
// Also see https://github.com/angular/angular-cli/wiki/3rd-party-libs
4+
15
/* global require, module */
26

37
var Angular2App = require('angular-cli/lib/broccoli/angular2-app');

addon/ng2/blueprints/ng2/files/config/environment.js

+3
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
// Angular-CLI server configuration
2+
// Unrelated to environment.dev|prod.ts
3+
14
/* jshint node: true */
25

36
module.exports = function(environment) {

addon/ng2/blueprints/ng2/files/config/karma-test-shim.js

+2
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
// Test shim for Karma, needed to load files via SystemJS
2+
13
/*global jasmine, __karma__, window*/
24
Error.stackTraceLimit = Infinity;
35
jasmine.DEFAULT_TIMEOUT_INTERVAL = 1000;

addon/ng2/blueprints/ng2/files/config/karma.conf.js

+3
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
// Karma configuration file, see link for more information
2+
// https://karma-runner.github.io/0.13/config/configuration-file.html
3+
14
module.exports = function (config) {
25
config.set({
36
basePath: '..',

addon/ng2/blueprints/ng2/files/config/protractor.conf.js

+3
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
// Protractor configuration file, see link for more information
2+
// https://github.com/angular/protractor/blob/master/docs/referenceConf.js
3+
14
/*global jasmine */
25
var SpecReporter = require('jasmine-spec-reporter');
36

0 commit comments

Comments
 (0)