Skip to content
This repository was archived by the owner on Sep 9, 2024. It is now read-only.

Commit 37abee1

Browse files
author
Patrick Schroeter
committed
[UPDATE] angular-cli
1 parent b6522aa commit 37abee1

File tree

7 files changed

+31
-24
lines changed

7 files changed

+31
-24
lines changed

.gitignore

+7-2
Original file line numberDiff line numberDiff line change
@@ -6,17 +6,22 @@
66

77
# dependencies
88
/node_modules
9-
/bower_components
109

1110
# IDEs and editors
1211
/.idea
13-
/.vscode
1412
.project
1513
.classpath
1614
.c9/
1715
*.launch
1816
.settings/
1917

18+
# IDE - VSCode
19+
.vscode/*
20+
!.vscode/settings.json
21+
!.vscode/tasks.json
22+
!.vscode/launch.json
23+
!.vscode/extensions.json
24+
2025
# misc
2126
/.sass-cache
2227
/connect.lock

.vscode/settings.json

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
{
2+
"typescript.check.workspaceVersion": false
3+
}

angular-cli.json

+2-3
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"project": {
3-
"version": "1.0.0-beta.22-1",
3+
"version": "1.0.0-beta.24",
44
"name": "pk"
55
},
66
"apps": [
@@ -20,8 +20,7 @@
2020
"styles": [
2121
"styles.scss"
2222
],
23-
"scripts": [
24-
],
23+
"scripts": [],
2524
"environments": {
2625
"source": "environments/environment.ts",
2726
"dev": "environments/environment.ts",

package.json

+16-16
Original file line numberDiff line numberDiff line change
@@ -4,37 +4,38 @@
44
"license": "MIT",
55
"angular-cli": {},
66
"scripts": {
7+
"ng": "ng",
78
"start": "ng serve",
89
"lint": "tslint \"src/**/*.ts\"",
910
"test": "ng test",
10-
"pree2e": "webdriver-manager update",
11+
"pree2e": "webdriver-manager update --standalone false --gecko false",
1112
"e2e": "protractor",
1213
"i18n": "ng-xi18n",
1314
"swagger": "rm -rf ./src/app/swagger | java -jar ./.swagger/swagger-codegen-cli.jar generate -i http://pk.multimedia.hs-augsburg.de:8000/swagger/v1/swagger.json -l typescript-angular2 -o ./src/app/swagger"
1415
},
1516
"private": true,
1617
"dependencies": {
17-
"@angular/common": "2.2.3",
18-
"@angular/compiler": "2.2.3",
19-
"@angular/core": "2.2.3",
20-
"@angular/forms": "2.2.3",
21-
"@angular/http": "2.2.3",
22-
"@angular/platform-browser": "2.2.3",
23-
"@angular/platform-browser-dynamic": "2.2.3",
24-
"@angular/router": "3.2.3",
18+
"@angular/common": "^2.3.1",
19+
"@angular/compiler": "^2.3.1",
20+
"@angular/core": "^2.3.1",
21+
"@angular/forms": "^2.3.1",
22+
"@angular/http": "^2.3.1",
23+
"@angular/platform-browser": "^2.3.1",
24+
"@angular/platform-browser-dynamic": "^2.3.1",
25+
"@angular/router": "^3.3.1",
2526
"core-js": "^2.4.1",
2627
"lodash": "^4.17.2",
2728
"material-design-icons": "^3.0.1",
28-
"rxjs": "5.0.0-beta.12",
29+
"rxjs": "^5.0.1",
2930
"ts-helpers": "^1.1.1",
30-
"zone.js": "^0.6.23"
31+
"zone.js": "^0.7.2"
3132
},
3233
"devDependencies": {
33-
"@angular/compiler-cli": "2.2.3",
34+
"@angular/compiler-cli": "^2.3.1",
3435
"@types/jasmine": "2.5.38",
3536
"@types/lodash": "^4.14.43",
3637
"@types/node": "^6.0.42",
37-
"angular-cli": "1.0.0-beta.22-1",
38+
"angular-cli": "1.0.0-beta.24",
3839
"codelyzer": "~2.0.0-beta.1",
3940
"jasmine-core": "2.5.2",
4041
"jasmine-spec-reporter": "2.5.0",
@@ -43,10 +44,9 @@
4344
"karma-cli": "^1.0.1",
4445
"karma-jasmine": "^1.0.2",
4546
"karma-remap-istanbul": "^0.2.1",
46-
"protractor": "4.0.9",
47+
"protractor": "~4.0.13",
4748
"ts-node": "1.2.1",
4849
"tslint": "^4.0.2",
49-
"typescript": "~2.0.3",
50-
"webdriver-manager": "10.2.5"
50+
"typescript": "~2.0.3"
5151
}
5252
}

protractor.conf.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
// Protractor configuration file, see link for more information
2-
// https://github.com/angular/protractor/blob/master/docs/referenceConf.js
2+
// https://github.com/angular/protractor/blob/master/lib/config.ts
33

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

src/main.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import './polyfills.ts';
33
import { platformBrowserDynamic } from '@angular/platform-browser-dynamic';
44
import { enableProdMode } from '@angular/core';
55
import { environment } from './environments/environment';
6-
import { AppModule } from './app/';
6+
import { AppModule } from './app/app.module';
77

88
if (environment.production) {
99
enableProdMode();

src/test.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ getTestBed().initTestEnvironment(
2525
platformBrowserDynamicTesting()
2626
);
2727
// Then we find all the tests.
28-
let context = require.context('./', true, /\.spec\.ts/);
28+
let context = require.context('./', true, /\.spec\.ts$/);
2929
// And load the modules.
3030
context.keys().map(context);
3131
// Finally, start Karma to run the tests.

0 commit comments

Comments
 (0)