Skip to content

Commit ba87956

Browse files
committed
chore: version 1.1.0-beta.1
1 parent 5e5be8e commit ba87956

12 files changed

Lines changed: 66 additions & 39 deletions

ponyracer/e2e/app.e2e-spec.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@ describe('ponyracer App', () => {
77
page = new PonyracerPage();
88
});
99

10-
it('should display message saying app works', () => {
10+
it('should display welcome message', () => {
1111
page.navigateTo();
12-
expect(page.getParagraphText()).toEqual('app works!');
12+
expect(page.getParagraphText()).toEqual('Welcome to app!!');
1313
});
1414
});

ponyracer/e2e/app.po.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { browser, element, by } from 'protractor';
1+
import { browser, by, element } from 'protractor';
22

33
export class PonyracerPage {
44
navigateTo() {

ponyracer/e2e/tsconfig.e2e.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
"outDir": "../out-tsc/e2e",
55
"module": "commonjs",
66
"target": "es5",
7-
"types":[
7+
"types": [
88
"jasmine",
99
"node"
1010
]

ponyracer/karma.conf.js

Lines changed: 1 addition & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -15,25 +15,14 @@ module.exports = function (config) {
1515
client:{
1616
clearContext: false // leave Jasmine Spec Runner output visible in browser
1717
},
18-
files: [
19-
{ pattern: './src/test.ts', watched: false }
20-
],
21-
preprocessors: {
22-
'./src/test.ts': ['@angular/cli']
23-
},
24-
mime: {
25-
'text/x-typescript': ['ts','tsx']
26-
},
2718
coverageIstanbulReporter: {
2819
reports: [ 'html', 'lcovonly' ],
2920
fixWebpackSourcePaths: true
3021
},
3122
angularCli: {
3223
environment: 'dev'
3324
},
34-
reporters: config.angularCli && config.angularCli.codeCoverage
35-
? ['progress', 'coverage-istanbul']
36-
: ['progress', 'kjhtml'],
25+
reporters: ['progress', 'kjhtml'],
3726
port: 9876,
3827
colors: true,
3928
logLevel: config.LOG_INFO,

ponyracer/package.json

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,11 +12,13 @@
1212
},
1313
"private": true,
1414
"dependencies": {
15+
"@angular/animations": "^4.0.0",
1516
"@angular/common": "^4.0.0",
1617
"@angular/compiler": "^4.0.0",
1718
"@angular/core": "^4.0.0",
1819
"@angular/forms": "^4.0.0",
1920
"@angular/http": "^4.0.0",
21+
"@angular/language-service": "^4.0.0",
2022
"@angular/platform-browser": "^4.0.0",
2123
"@angular/platform-browser-dynamic": "^4.0.0",
2224
"@angular/router": "^4.0.0",
@@ -25,7 +27,7 @@
2527
"zone.js": "^0.8.4"
2628
},
2729
"devDependencies": {
28-
"@angular/cli": "1.1.0-beta.0",
30+
"@angular/cli": "1.1.0-beta.1",
2931
"@angular/compiler-cli": "^4.0.0",
3032
"@angular/language-service": "^4.0.0",
3133
"@types/jasmine": "2.5.38",
@@ -34,14 +36,14 @@
3436
"jasmine-core": "~2.5.2",
3537
"jasmine-spec-reporter": "~3.2.0",
3638
"karma": "~1.4.1",
37-
"karma-chrome-launcher": "~2.0.0",
39+
"karma-chrome-launcher": "~2.1.1",
3840
"karma-cli": "~1.0.1",
3941
"karma-jasmine": "~1.1.0",
4042
"karma-jasmine-html-reporter": "^0.2.2",
41-
"karma-coverage-istanbul-reporter": "^0.2.0",
43+
"karma-coverage-istanbul-reporter": "^1.0.0",
4244
"protractor": "~5.1.0",
4345
"ts-node": "~2.0.0",
4446
"tslint": "~5.1.0",
45-
"typescript": "~2.2.0"
47+
"typescript": "~2.3.1"
4648
}
4749
}
Lines changed: 20 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,20 @@
1-
<h1>
2-
{{title}}
3-
</h1>
1+
<!--The whole content below can be removed with the new code.-->
2+
<div style="text-align:center">
3+
<h1>
4+
Welcome to {{title}}!!
5+
</h1>
6+
<img width="300" src="data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGlu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sNTIuMUwxMjUsNTIuMUwxMjUsNTIuMQ0KCQlMMTI1LDUyLjF6IE0xNDIsMTM1LjRIMTA4bDE3LTQwLjlMMTQyLDEzNS40eiIvPg0KPC9nPg0KPC9zdmc+DQo=" />
7+
</div>
8+
<h2>Here are some links to help you start: </h2>
9+
<ul>
10+
<li>
11+
<h2><a target="_blank" href="https://angular.io/docs/ts/latest/tutorial/">Tour of Heroes</a></h2>
12+
</li>
13+
<li>
14+
<h2><a target="_blank" href="https://github.com/angular/angular-cli/wiki">CLI Documentation</a></h2>
15+
</li>
16+
<li>
17+
<h2><a target="_blank" href="http://angularjs.blogspot.ca/">Angular blog</a></h2>
18+
</li>
19+
</ul>
20+

ponyracer/src/app/app.component.spec.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,16 +17,16 @@ describe('AppComponent', () => {
1717
expect(app).toBeTruthy();
1818
}));
1919

20-
it(`should have as title 'app works!'`, async(() => {
20+
it(`should have as title 'app'`, async(() => {
2121
const fixture = TestBed.createComponent(AppComponent);
2222
const app = fixture.debugElement.componentInstance;
23-
expect(app.title).toEqual('app works!');
23+
expect(app.title).toEqual('app');
2424
}));
2525

2626
it('should render title in a h1 tag', async(() => {
2727
const fixture = TestBed.createComponent(AppComponent);
2828
fixture.detectChanges();
2929
const compiled = fixture.debugElement.nativeElement;
30-
expect(compiled.querySelector('h1').textContent).toContain('app works!');
30+
expect(compiled.querySelector('h1').textContent).toContain('Welcome to app!!');
3131
}));
3232
});

ponyracer/src/app/app.component.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,5 +6,5 @@ import { Component } from '@angular/core';
66
styleUrls: ['./app.component.css']
77
})
88
export class AppComponent {
9-
title = 'app works!';
9+
title = 'app';
1010
}

ponyracer/src/app/app.module.ts

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
11
import { BrowserModule } from '@angular/platform-browser';
22
import { NgModule } from '@angular/core';
3-
import { FormsModule } from '@angular/forms';
4-
import { HttpModule } from '@angular/http';
53

64
import { AppComponent } from './app.component';
75

@@ -10,9 +8,7 @@ import { AppComponent } from './app.component';
108
AppComponent
119
],
1210
imports: [
13-
BrowserModule,
14-
FormsModule,
15-
HttpModule
11+
BrowserModule
1612
],
1713
providers: [],
1814
bootstrap: [AppComponent]

ponyracer/src/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,6 @@
99
<link rel="icon" type="image/x-icon" href="favicon.ico">
1010
</head>
1111
<body>
12-
<app-root>Loading...</app-root>
12+
<app-root></app-root>
1313
</body>
1414
</html>

0 commit comments

Comments
 (0)