Skip to content

Commit

Permalink
fix(package): Correction to typings install
Browse files Browse the repository at this point in the history
The `typings install` step was incorrectly set in the `postinstall` hook
when it should have been set in the `prebuild` hook.  This was causing
typings to attempt to be installed whenever the package was installed,
which was incorrect.  Closes
#67.
  • Loading branch information
Stabzs committed Sep 16, 2016
1 parent 623c6b4 commit 4b3a4c7
Show file tree
Hide file tree
Showing 4 changed files with 20 additions and 13 deletions.
8 changes: 8 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,11 @@
# 1.0.1 (2016-09-16)
### Bug Fix
* **package.json:** The `typings install` step was incorrectly set in the `postinstall` hook when
it should have been set in the `prebuild` hook. This was causing typings to attempt to be
installed whenever the package was installed, which was incorrect. Closes
[#67](https://github.com/Stabzs/Angular2-Toaster/issues/67).


# 1.0.0 (2016-09-15)
### Features
* **Angular: Final Version:** The library has been updated to Angular `2.0.0` and the version has
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@
largely based off of [AngularJS-Toaster](https://github.com/jirikavi/AngularJS-Toaster).

[![Build Status](https://travis-ci.org/Stabzs/Angular2-Toaster.svg?branch=master)](https://travis-ci.org/Stabzs/Angular2-Toaster)
[![Coverage Status](https://coveralls.io/repos/github/Stabzs/Angular2-Toaster/badge.svg?branch=master&bump=1.0.0)](https://coveralls.io/github/Stabzs/Angular2-Toaster?branch=master)
[![Coverage Status](https://coveralls.io/repos/github/Stabzs/Angular2-Toaster/badge.svg?branch=master&bump=1.0.1)](https://coveralls.io/github/Stabzs/Angular2-Toaster?branch=master)

### Current Version 1.0.0
### Current Version 1.0.1

## Installation:

Expand Down
16 changes: 8 additions & 8 deletions demo/systemjs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,17 +18,17 @@
"rimraf": "^2.5.2"
},
"dependencies": {
"@angular/common": "2.0.0-rc.6",
"@angular/compiler": "2.0.0-rc.6",
"@angular/core": "2.0.0-rc.6",
"@angular/platform-browser": "2.0.0-rc.6",
"@angular/platform-browser-dynamic": "2.0.0-rc.6",
"rxjs": "5.0.0-beta.11",
"angular2-toaster": "0.5.2-rc.6",
"@angular/common": "2.0.0",
"@angular/compiler": "2.0.0",
"@angular/core": "2.0.0",
"@angular/platform-browser": "2.0.0",
"@angular/platform-browser-dynamic": "2.0.0",
"rxjs": "5.0.0-beta.12",
"angular2-toaster": "1.0.1",
"es6-shim": "0.35.0",
"http-server": "^0.8.5",
"reflect-metadata": "0.1.3",
"systemjs": "^0.19.27",
"zone.js": "0.6.12"
"zone.js": "0.6.21"
}
}
5 changes: 2 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,14 +1,13 @@
{
"name": "angular2-toaster",
"version": "1.0.0",
"version": "1.0.1",
"description": "An Angular 2 Toaster Notification library based on AngularJS-Toaster",
"main": "angular2-toaster.js",
"scripts": {
"postinstall": "typings install",
"clean": "rimraf ./lib",
"watch": "tsc -p src -w",
"start": "npm run test && http-server -c-1 -o -p 8875 .",
"prebuild": "npm run clean",
"prebuild": "npm run clean && typings install",
"build": "node_modules/.bin/ngc -p src && cpx src/toaster.css lib",
"pretest": "npm run build",
"test": "karma start karma.conf.js",
Expand Down

0 comments on commit 4b3a4c7

Please sign in to comment.