diff --git a/.gitignore b/.gitignore index cd988669..3422917e 100644 --- a/.gitignore +++ b/.gitignore @@ -3,7 +3,6 @@ # compiled output /dist /tmp -/aot # dependencies /node_modules diff --git a/CHANGELOG.md b/CHANGELOG.md index f369affc..76cade04 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,14 @@ # Changelog +## 1.0.0 +* [[#36](https://github.com/VadimDez/ngx-filter-pipe/issues/36)] - Changed name tp `ngx-filter-pipe`. +* [[#38](https://github.com/VadimDez/ngx-filter-pipe/issues/38)] - Added UMD bundle. + +### Breaking changes + +* Module name was changed from `Ng2FilterPipeModule` to `FilterPipeModule`. +* UMD bundle for `SYSTEMJS` was added. user `/dist/bundles/ngx-filter-pipe.umd.js` instead of `/dist/index.js`. + ## 0.1.10 * [[#31](https://github.com/VadimDez/ng2-filter-pipe/issues/31)] - How to filter by two variables of the same array. * [[#4](https://github.com/VadimDez/ng2-filter-pipe/issues/4)] - Add $or operator. diff --git a/README.md b/README.md index 4f83ec44..cee2d537 100644 --- a/README.md +++ b/README.md @@ -1,20 +1,20 @@

Angular2+ Filter Pipe

- - downloads + + downloads - - + + - - npm version + + npm version - - + +

@@ -28,17 +28,17 @@ Angular 2+ pipeline for filtering arrays. ### Demo Page -[https://vadimdez.github.io/ng2-filter-pipe/](https://vadimdez.github.io/ng2-filter-pipe/) +[https://vadimdez.github.io/ngx-filter-pipe/](https://vadimdez.github.io/ngx-filter-pipe/) ## Install ``` -npm install ng2-filter-pipe --save +npm install ngx-filter-pipe --save ``` ## Usage -In case you're using ```systemjs``` - see configuration [here](https://github.com/VadimDez/ng2-filter-pipe/blob/master/SYSTEMJS.md). +In case you're using ```systemjs``` - see configuration [here](https://github.com/VadimDez/ngx-filter-pipe/blob/master/SYSTEMJS.md). Import `Ng2FilterPipeModule` to your module @@ -47,7 +47,7 @@ import { NgModule } from '@angular/core'; import { BrowserModule } from '@angular/platform-browser'; import { AppComponent } from './app'; -import { Ng2FilterPipeModule } from 'ng2-filter-pipe'; +import { Ng2FilterPipeModule } from 'ngx-filter-pipe'; @NgModule({ imports: [BrowserModule, Ng2FilterPipeModule], diff --git a/SYSTEMJS.md b/SYSTEMJS.md index 983516ab..94b121ac 100644 --- a/SYSTEMJS.md +++ b/SYSTEMJS.md @@ -7,7 +7,7 @@ Append to `map` ```js var map = { ... - 'ng2-filter-pipe': 'node_modules/ng2-filter-pipe' + 'ngx-filter-pipe': 'node_modules/ngx-filter-pipe' } ``` @@ -16,6 +16,6 @@ and then add to `packages` ```js var packages = { ... - 'ng2-filter-pipe': { main: 'dist/index.js' } + 'ngx-filter-pipe': { main: 'dist/bundles/ngx-filter-pipe.umd.js' } } ```` diff --git a/examples/ng-cli/src/app/app.component.html b/examples/ng-cli/src/app/app.component.html index 85cda744..7e786d6d 100644 --- a/examples/ng-cli/src/app/app.component.html +++ b/examples/ng-cli/src/app/app.component.html @@ -1,7 +1,7 @@
- ng2-filter-pipe + ngx-filter-pipe
@@ -305,9 +305,9 @@
After filtering