Navigation Menu

Skip to content

Commit

Permalink
Updated to Angular 4
Browse files Browse the repository at this point in the history
  • Loading branch information
xmaestro committed Apr 13, 2017
1 parent f278768 commit 5a0469f
Show file tree
Hide file tree
Showing 3 changed files with 28 additions and 21 deletions.
2 changes: 1 addition & 1 deletion assets/app/app.component.ts
@@ -1,6 +1,6 @@
import {Component} from '@angular/core';
@Component({
selector: 'my-app',
template: '<h1>My First Angular 2 Sails App</h1>'
template: '<h1>My First Angular/Sails App</h1>'
})
export class AppComponent { }
36 changes: 20 additions & 16 deletions package.json
@@ -1,20 +1,20 @@
{
"name": "sails-angular2",
"private": true,
"version": "0.1.1",
"description": "a Sails application",
"version": "0.2.0",
"description": "a Sails + Angular 4 sample application",
"keywords": [],
"dependencies": {
"@angular/common": "2.4.5",
"@angular/compiler": "2.4.5",
"@angular/core": "2.4.5",
"@angular/forms": "2.4.5",
"@angular/http": "2.4.5",
"@angular/platform-browser": "2.4.5",
"@angular/platform-browser-dynamic": "2.4.5",
"@angular/router": "3.4.5",
"@angular/upgrade": "2.4.5",
"angular-in-memory-web-api": "~0.2.4",
"@angular/common": "4.0.2",
"@angular/compiler": "4.0.2",
"@angular/core": "4.0.2",
"@angular/forms": "4.0.2",
"@angular/http": "4.0.2",
"@angular/platform-browser": "4.0.2",
"@angular/platform-browser-dynamic": "4.0.2",
"@angular/router": "4.0.2",
"@angular/upgrade": "4.0.2",
"angular-in-memory-web-api": "~0.3.0",
"core-js": "^2.4.1",
"ejs": "2.3.4",
"es6-promise": "^3.0.2",
Expand All @@ -35,11 +35,11 @@
"include-all": "~0.1.6",
"rc": "1.0.1",
"reflect-metadata": "^0.1.2",
"rxjs": "^5.0.1",
"sails": "~0.12.4",
"rxjs": "5.0.1",
"sails": "~0.12.13",
"sails-disk": "~0.10.9",
"systemjs": "0.19.40",
"zone.js": "^0.7.4"
"zone.js": "^0.8.4"
},
"scripts": {
"debug": "node debug app.js",
Expand All @@ -50,6 +50,10 @@
"type": "git",
"url": "git://github.com/xmaestro/sails-angular2.git"
},
"devDependencies": {
"@types/core-js": "^0.9.41",
"typescript": "~2.1.0"
},
"author": "xmaestro",
"license": ""
}
}
11 changes: 7 additions & 4 deletions tsconfig.json
Expand Up @@ -2,14 +2,17 @@
"compilerOptions": {
"module": "commonjs",
"target": "es5",
"experimentalDecorators": true,
"moduleResolution": "node",
"sourceMap": true,
"emitDecoratorMetadata": true,
"sourceMap": true
"experimentalDecorators": true,
"lib": [ "es2015", "dom" ],
"noImplicitAny": true,
"suppressImplicitAnyIndexErrors": true
},
"exclude": [
".tmp",
"node_modules",
"typings/globals",
"typings/modules"
"typings"
]
}

0 comments on commit 5a0469f

Please sign in to comment.