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

Commit 3598fea

Browse files
author
Vladimir Budilov
committed
Upgraded to angular cli 1.0.0-rc.2
1 parent 8beeb85 commit 3598fea

File tree

5 files changed

+68
-42
lines changed

5 files changed

+68
-42
lines changed

angular-cli.json renamed to .angular-cli.json

+8-4
Original file line numberDiff line numberDiff line change
@@ -1,25 +1,29 @@
11
{
22
"project": {
33
"version": "1.0.0-beta.14",
4-
"name": "migration-project"
4+
"name": "aws-cognito-quickstart"
55
},
66
"apps": [
77
{
88
"root": "src",
99
"outDir": "dist",
10-
"assets": "assets",
10+
"assets": [
11+
"assets",
12+
"favicon.ico"
13+
],
1114
"index": "index.html",
1215
"main": "main.ts",
1316
"test": "test.ts",
14-
"tsconfig": "tsconfig.json",
17+
"tsconfig": "tsconfig.app.json",
18+
"testTsconfig": "tsconfig.spec.json",
1519
"prefix": "app",
1620
"mobile": false,
1721
"styles": [
1822
"styles.css"
1923
],
2024
"scripts": [],
25+
"environmentSource": "environments/environment.ts",
2126
"environments": {
22-
"source": "environments/environment.ts",
2327
"dev": "environments/environment.ts",
2428
"prod": "environments/environment.prod.ts"
2529
}

package.json

+22-26
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
"version": "1.0.0",
55
"angular-cli": {},
66
"scripts": {
7-
"start": "ng serve",
7+
"start": "ng serve --port 3333",
88
"startnode": "node ./bin/www",
99
"lint": "tslint \"src/**/*.ts\"",
1010
"test": "ng test",
@@ -14,22 +14,19 @@
1414
},
1515
"private": true,
1616
"dependencies": {
17-
"@angular/common": "2.2.4",
18-
"@angular/compiler": "2.2.4",
19-
"@angular/compiler-cli": "2.2.4",
20-
"@angular/core": "2.2.4",
21-
"@angular/forms": "2.2.4",
22-
"@angular/http": "2.2.4",
23-
"@angular/platform-browser": "2.2.4",
24-
"@angular/platform-browser-dynamic": "2.2.4",
25-
"@angular/platform-server": "2.2.4",
26-
"@angular/router": "3.2.4",
17+
"@angular/common": "2.4.9",
18+
"@angular/compiler": "2.4.9",
19+
"@angular/core": "2.4.9",
20+
"@angular/forms": "2.4.9",
21+
"@angular/http": "2.4.9",
22+
"@angular/platform-browser": "2.4.9",
23+
"@angular/platform-browser-dynamic": "2.4.9",
24+
"@angular/platform-server": "2.4.9",
25+
"@angular/router": "3.4.9",
2726
"core-js": "2.4.1",
28-
"ng2-auto-complete": "^0.7.4",
29-
"rxjs": "5.0.0-beta.12",
27+
"rxjs": "5.2.0",
3028
"ts-helpers": "1.1.1",
31-
"zone.js": "0.6.23",
32-
29+
"zone.js": "0.8.1",
3330
"body-parser": "~1.15.1",
3431
"cookie-parser": "~1.4.3",
3532
"debug": "~2.2.0",
@@ -38,21 +35,13 @@
3835
"morgan": "~1.7.0",
3936
"serve-favicon": "~2.3.0",
4037

41-
"angular-cli": "1.0.0-beta.20-4",
42-
"@types/jasmine": "2.2.30",
43-
"@types/selenium-webdriver": "2.44.26",
4438
"codelyzer": "~0.0.26",
45-
"jasmine-core": "2.4.1",
46-
"jasmine-spec-reporter": "2.5.0",
4739
"karma": "1.2.0",
4840
"karma-chrome-launcher": "2.0.0",
4941
"karma-cli": "1.0.1",
5042
"karma-jasmine": "1.0.2",
5143
"karma-remap-istanbul": "0.2.1",
5244
"protractor": "4.0.5",
53-
"ts-node": "1.2.1",
54-
"tslint": "3.13.0",
55-
"typescript": "2.0.3",
5645
"webpack": "2.1.0-beta.22",
5746
"webpack-dev-middleware": "1.6.1",
5847
"webpack-dev-server": "2.1.0-beta.9",
@@ -62,8 +51,15 @@
6251

6352
},
6453
"devDependencies": {
65-
66-
67-
54+
"@angular/cli": "1.0.0-rc.2",
55+
"@angular/compiler-cli": "2.4.9",
56+
"protractor": "5.1.1",
57+
"ts-node": "2.1.0",
58+
"tslint": "4.5.1",
59+
"typescript": "2.0.10",
60+
"jasmine-core": "2.4.1",
61+
"jasmine-spec-reporter": "2.5.0",
62+
"@types/jasmine": "2.2.30",
63+
"@types/selenium-webdriver": "2.44.26"
6864
}
6965
}

src/app/app.module.ts

-2
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@ import {MyProfileComponent} from "./secure/profile/myprofile.component";
1212
import {SecureHomeComponent} from "./secure/landing/securehome.component";
1313
import {JwtComponent} from "./secure/jwttokens/jwt.component";
1414
import {DynamoDBService} from "./service/ddb.service";
15-
import {Ng2AutoCompleteModule} from "ng2-auto-complete";
1615
import {LoginComponent} from "./public/auth/login/login.component";
1716
import {RegisterComponent} from "./public/auth/register/registration.component";
1817
import {ForgotPasswordStep1Component, ForgotPassword2Component} from "./public/auth/forgot/forgotPassword.component";
@@ -39,7 +38,6 @@ import {ResendCodeComponent} from "./public/auth/resend/resendCode.component";
3938
AppComponent
4039
],
4140
imports: [
42-
Ng2AutoCompleteModule,
4341
BrowserModule,
4442
FormsModule,
4543
HttpModule,
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,22 @@
11
{
22
"compilerOptions": {
3+
"sourceMap": true,
34
"declaration": false,
5+
"moduleResolution": "node",
46
"emitDecoratorMetadata": true,
57
"experimentalDecorators": true,
68
"lib": [
7-
"es6",
9+
"es2016",
810
"dom"
911
],
10-
"mapRoot": "./",
11-
"module": "es6",
12-
"moduleResolution": "node",
13-
"outDir": "../dist/out-tsc",
14-
"sourceMap": true,
12+
"outDir": "../out-tsc/app",
1513
"target": "es5",
16-
"typeRoots": [
17-
"../node_modules/@types"
18-
]
19-
}
14+
"module": "es2015",
15+
"baseUrl": "",
16+
"types": []
17+
},
18+
"exclude": [
19+
"test.ts",
20+
"**/*.spec.ts"
21+
]
2022
}

src/tsconfig.spec.json

+26
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
{
2+
"compilerOptions": {
3+
"sourceMap": true,
4+
"declaration": false,
5+
"moduleResolution": "node",
6+
"emitDecoratorMetadata": true,
7+
"experimentalDecorators": true,
8+
"lib": [
9+
"es2016"
10+
],
11+
"outDir": "../out-tsc/spec",
12+
"module": "commonjs",
13+
"target": "es6",
14+
"baseUrl": "",
15+
"types": [
16+
"jasmine",
17+
"node"
18+
]
19+
},
20+
"files": [
21+
"test.ts"
22+
],
23+
"include": [
24+
"**/*.spec.ts"
25+
]
26+
}

0 commit comments

Comments
 (0)