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

Commit 4ab6761

Browse files
committed
chore: revise to conform to QS reboot in angular.io PR #2762
1 parent 7556148 commit 4ab6761

File tree

8 files changed

+21
-304
lines changed

8 files changed

+21
-304
lines changed

.dockerignore

Lines changed: 0 additions & 1 deletion
This file was deleted.

CHANGELOG.md

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,18 @@
11
## Angular Documentation QuickStart Changelog
2-
Upgraders: to be sure of a fresh start, consider running these commands
2+
Upgraders: for a fresh start, consider running these commands
33
* `git clean -xdf`
44
* `npm install`
55
* `npm run webdriver:update`
66

7+
<a name="0.2.17"></a>
8+
# 0.2.17 (2016-11-16)
9+
* Conform to updated QuickStart advice
10+
* removed docker everywhere (was nice but not necessary)
11+
* removed wallaby
12+
* shrink styles.css
13+
* refine tsconfig.json
14+
* `AppComponent` uses interpolation
15+
716
<a name="0.2.16"></a>
817
# 0.2.16 (2016-11-14)
918
* Update to Angular 2.2.0

Dockerfile

Lines changed: 0 additions & 21 deletions
This file was deleted.

app/app.component.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import { Component } from '@angular/core';
22

33
@Component({
4-
selector: 'my-app',
5-
template: `<h1>Hello Angular</h1>`
4+
selector: 'my-app',
5+
template: `<h1>Hello {{name}}</h1>`,
66
})
7-
export class AppComponent { }
7+
export class AppComponent { name = 'Angular'; }

package.json

Lines changed: 2 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,6 @@
44
"description": "QuickStart package.json from the documentation, supplemented with testing support",
55
"scripts": {
66
"start": "tsc && concurrently \"tsc -w\" \"lite-server\" ",
7-
"docker-build": "docker build -t ng2-quickstart .",
8-
"docker": "npm run docker-build && docker run -it --rm -p 3000:3000 -p 3001:3001 ng2-quickstart",
9-
"pree2e": "npm run webdriver:update",
107
"e2e": "tsc && concurrently \"http-server -s\" \"protractor protractor.config.js\" --kill-others --success first",
118
"lint": "tslint ./app/**/*.ts -t verbose",
129
"lite": "lite-server",
@@ -18,12 +15,7 @@
1815
},
1916
"keywords": [],
2017
"author": "",
21-
"licenses": [
22-
{
23-
"type": "MIT",
24-
"url": "https://github.com/angular/angular.io/blob/master/LICENSE"
25-
}
26-
],
18+
"license": "MIT",
2719
"dependencies": {
2820
"@angular/common": "~2.2.0",
2921
"@angular/compiler": "~2.2.0",
@@ -33,7 +25,6 @@
3325
"@angular/platform-browser": "~2.2.0",
3426
"@angular/platform-browser-dynamic": "~2.2.0",
3527
"@angular/router": "~3.2.0",
36-
"@angular/upgrade": "~2.2.0",
3728

3829
"angular-in-memory-web-api": "~0.1.15",
3930
"systemjs": "0.19.40",
@@ -45,7 +36,7 @@
4536
"devDependencies": {
4637
"concurrently": "^3.1.0",
4738
"lite-server": "^2.2.2",
48-
"typescript": "^2.0.3",
39+
"typescript": "^2.0.10",
4940

5041
"canonical-path": "0.0.2",
5142
"http-server": "^0.9.0",

styles.css

Lines changed: 5 additions & 142 deletions
Original file line numberDiff line numberDiff line change
@@ -1,142 +1,5 @@
1-
/* Master Styles */
2-
h1 {
3-
color: #369;
4-
font-family: Arial, Helvetica, sans-serif;
5-
font-size: 250%;
6-
}
7-
h2, h3 {
8-
color: #444;
9-
font-family: Arial, Helvetica, sans-serif;
10-
font-weight: lighter;
11-
}
12-
body {
13-
margin: 2em;
14-
}
15-
body, input[text], button {
16-
color: #888;
17-
font-family: Cambria, Georgia;
18-
}
19-
a {
20-
cursor: pointer;
21-
cursor: hand;
22-
}
23-
button {
24-
font-family: Arial;
25-
background-color: #eee;
26-
border: none;
27-
padding: 5px 10px;
28-
border-radius: 4px;
29-
cursor: pointer;
30-
cursor: hand;
31-
}
32-
button:hover {
33-
background-color: #cfd8dc;
34-
}
35-
button:disabled {
36-
background-color: #eee;
37-
color: #aaa;
38-
cursor: auto;
39-
}
40-
41-
/* Navigation link styles */
42-
nav a {
43-
padding: 5px 10px;
44-
text-decoration: none;
45-
margin-top: 10px;
46-
display: inline-block;
47-
background-color: #eee;
48-
border-radius: 4px;
49-
}
50-
nav a:visited, a:link {
51-
color: #607D8B;
52-
}
53-
nav a:hover {
54-
color: #039be5;
55-
background-color: #CFD8DC;
56-
}
57-
nav a.router-link-active {
58-
color: #039be5;
59-
}
60-
61-
/* items class */
62-
.items {
63-
margin: 0 0 2em 0;
64-
list-style-type: none;
65-
padding: 0;
66-
width: 24em;
67-
}
68-
.items li {
69-
cursor: pointer;
70-
position: relative;
71-
left: 0;
72-
background-color: #EEE;
73-
margin: .5em;
74-
padding: .3em 0;
75-
height: 1.6em;
76-
border-radius: 4px;
77-
}
78-
.items li:hover {
79-
color: #607D8B;
80-
background-color: #DDD;
81-
left: .1em;
82-
}
83-
.items li.selected:hover {
84-
background-color: #BBD8DC;
85-
color: white;
86-
}
87-
.items .text {
88-
position: relative;
89-
top: -3px;
90-
}
91-
.items {
92-
margin: 0 0 2em 0;
93-
list-style-type: none;
94-
padding: 0;
95-
width: 24em;
96-
}
97-
.items li {
98-
cursor: pointer;
99-
position: relative;
100-
left: 0;
101-
background-color: #EEE;
102-
margin: .5em;
103-
padding: .3em 0;
104-
height: 1.6em;
105-
border-radius: 4px;
106-
}
107-
.items li:hover {
108-
color: #607D8B;
109-
background-color: #DDD;
110-
left: .1em;
111-
}
112-
.items li.selected {
113-
background-color: #CFD8DC;
114-
color: white;
115-
}
116-
117-
.items li.selected:hover {
118-
background-color: #BBD8DC;
119-
}
120-
.items .text {
121-
position: relative;
122-
top: -3px;
123-
}
124-
.items .badge {
125-
display: inline-block;
126-
font-size: small;
127-
color: white;
128-
padding: 0.8em 0.7em 0 0.7em;
129-
background-color: #607D8B;
130-
line-height: 1em;
131-
position: relative;
132-
left: -1px;
133-
top: -4px;
134-
height: 1.8em;
135-
margin-right: .8em;
136-
border-radius: 4px 0 0 4px;
137-
}
138-
139-
/* everywhere else */
140-
* {
141-
font-family: Arial, Helvetica, sans-serif;
142-
}
1+
h1 {
2+
color: #369;
3+
font-family: Arial, Helvetica, sans-serif;
4+
font-size: 250%;
5+
}

tsconfig.json

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -6,14 +6,9 @@
66
"sourceMap": true,
77
"emitDecoratorMetadata": true,
88
"experimentalDecorators": true,
9-
"removeComments": false,
109
"noImplicitAny": true,
11-
"suppressImplicitAnyIndexErrors": true,
12-
"typeRoots": [
13-
"./node_modules/@types/"
14-
]
10+
"suppressImplicitAnyIndexErrors": true
1511
},
16-
"compileOnSave": true,
1712
"exclude": [
1813
"node_modules/*",
1914
"**/*-aot.ts"

wallaby.js

Lines changed: 0 additions & 119 deletions
This file was deleted.

0 commit comments

Comments
 (0)