From 653f41707d1059ee93bfd8b2ee0133cd993a6427 Mon Sep 17 00:00:00 2001 From: Ward Bell Date: Wed, 14 Oct 2015 00:55:27 -0700 Subject: [PATCH] (docs) Getting Started/ToH-pt1: update for alpha-42, no tsd, noImplicitAny:false --- .../_examples/gettingstarted/ts/package.json | 8 +- .../_examples/gettingstarted/ts/src/app.ts | 2 +- .../gettingstarted/ts/src/app/app.ts | 2 +- .../gettingstarted/ts/src/index.1.html | 2 +- .../gettingstarted/ts/src/tsconfig.json | 2 +- .../docs/ts/latest/guide/gettingStarted.jade | 101 ++++++++---------- public/docs/ts/latest/guide/toh-pt1.jade | 9 +- 7 files changed, 54 insertions(+), 72 deletions(-) diff --git a/public/docs/_examples/gettingstarted/ts/package.json b/public/docs/_examples/gettingstarted/ts/package.json index bc9bdee8ca..3d864eb0b3 100644 --- a/public/docs/_examples/gettingstarted/ts/package.json +++ b/public/docs/_examples/gettingstarted/ts/package.json @@ -4,22 +4,18 @@ "description": "", "main": "index.js", "scripts": { - "postinstall": "npm run tsd", - "tsd": "tsd link --config src/tsd.json && tsd reinstall -ro --config src/tsd.json", "tsc": "tsc -p src -w", - "start": "live-server --open=src", - "test": "echo \"Error: no test specified\" && exit 1" + "start": "live-server --open=src" }, "keywords": [], "author": "", "license": "ISC", "dependencies": { - "angular2": "2.0.0-alpha.40", + "angular2": "2.0.0-alpha.42", "systemjs": "0.19.2" }, "devDependencies": { "live-server": "^0.8.1", - "tsd": "^0.6.5", "typescript": "^1.6.2" } } diff --git a/public/docs/_examples/gettingstarted/ts/src/app.ts b/public/docs/_examples/gettingstarted/ts/src/app.ts index 4bf8b814d5..e34a9804be 100644 --- a/public/docs/_examples/gettingstarted/ts/src/app.ts +++ b/public/docs/_examples/gettingstarted/ts/src/app.ts @@ -1,5 +1,5 @@ // #docregion -import {Component, View, bootstrap} from 'angular2/core'; +import {Component, bootstrap} from 'angular2/angular2'; @Component({ selector: 'my-app', diff --git a/public/docs/_examples/gettingstarted/ts/src/app/app.ts b/public/docs/_examples/gettingstarted/ts/src/app/app.ts index 4bf8b814d5..e34a9804be 100644 --- a/public/docs/_examples/gettingstarted/ts/src/app/app.ts +++ b/public/docs/_examples/gettingstarted/ts/src/app/app.ts @@ -1,5 +1,5 @@ // #docregion -import {Component, View, bootstrap} from 'angular2/core'; +import {Component, bootstrap} from 'angular2/angular2'; @Component({ selector: 'my-app', diff --git a/public/docs/_examples/gettingstarted/ts/src/index.1.html b/public/docs/_examples/gettingstarted/ts/src/index.1.html index a5ff3ccdb3..a4333c3a4f 100644 --- a/public/docs/_examples/gettingstarted/ts/src/index.1.html +++ b/public/docs/_examples/gettingstarted/ts/src/index.1.html @@ -6,7 +6,7 @@ Getting Started - +