Remove old traces of typings.

In the commit akveo/ng2-admin@e7fca6d4, we moved to @types for TypeScript typings.

It remains some traces in the documentation. This commit remove them.
This commit is contained in:
Geoffrey Roguelon 2016-08-18 13:04:43 -05:00
parent 174fef85cc
commit 46691c94ca
5 changed files with 4 additions and 10 deletions

View file

@ -4,7 +4,7 @@ RUN git clone https://github.com/akveo/ng2-admin.git /var/www \
&& cd /var/www \ && cd /var/www \
&& npm install --global rimraf \ && npm install --global rimraf \
&& npm run clean \ && npm run clean \
&& npm install --global bower typings webpack webpack-dev-server typescript \ && npm install --global bower webpack webpack-dev-server typescript \
&& bower install --allow-root \ && bower install --allow-root \
&& npm install \ && npm install \
&& npm run prebuild:prod && npm run build:prod && npm run prebuild:prod && npm run build:prod

View file

@ -29,11 +29,6 @@ npm install --global webpack
npm install --global webpack-dev-server npm install --global webpack-dev-server
``` ```
* typings
```bash
npm install --global typings
```
* typescript * typescript
```bash ```bash
npm install --global typescript npm install --global typescript
@ -59,7 +54,7 @@ This will setup a working copy of ng2-admin on your local machine.
**Note**: If you have any issues after the installation, additionally run the following: **Note**: If you have any issues after the installation, additionally run the following:
```bash ```bash
typings install && bower install bower install
``` ```
## Running local copy ## Running local copy

View file

@ -53,7 +53,6 @@ ng2-admin/
├──tslint.json * typescript lint config ├──tslint.json * typescript lint config
├──typedoc.json * typescript documentation generator ├──typedoc.json * typescript documentation generator
├──tsconfig.json * config that webpack uses for typescript ├──tsconfig.json * config that webpack uses for typescript
├──typings.json * our typings manager
├──package.json * what npm uses to manage it's dependencies ├──package.json * what npm uses to manage it's dependencies
├──bower.json * DEPRECATED - moving to npm as primary package manager for all dependenties ├──bower.json * DEPRECATED - moving to npm as primary package manager for all dependenties
└──.bowerrc * DEPRECARD - temporary bower configuration └──.bowerrc * DEPRECARD - temporary bower configuration

View file

@ -38,7 +38,7 @@ export function main(initialHmrState?: any): Promise<any> {
* Vendors * Vendors
* For vendors for example jQuery, Lodash, angular2-jwt just import them anywhere in your app * For vendors for example jQuery, Lodash, angular2-jwt just import them anywhere in your app
* You can also import them in vendors to ensure that they are bundled in one file * You can also import them in vendors to ensure that they are bundled in one file
* Also see custom-typings.d.ts as you also need to do `typings install x` where `x` is your module * Also see custom-typings.d.ts as you also need to do `npm install @types/x` where `x` is your module
*/ */

View file

@ -1,7 +1,7 @@
// For vendors for example jQuery, Lodash, angular2-jwt just import them here unless you plan on // For vendors for example jQuery, Lodash, angular2-jwt just import them here unless you plan on
// chunking vendors files for async loading. You would need to import the async loaded vendors // chunking vendors files for async loading. You would need to import the async loaded vendors
// at the entry point of the async loaded file. Also see custom-typings.d.ts as you also need to // at the entry point of the async loaded file. Also see custom-typings.d.ts as you also need to
// run `typings install x` where `x` is your module // run `npm install @types/x` where `x` is your module
// Angular 2 // Angular 2
import '@angular/platform-browser'; import '@angular/platform-browser';