Skip to content
This repository has been archived by the owner on Jul 27, 2021. It is now read-only.

Commit

Permalink
Publish as seperate @PascalHonegger package
Browse files Browse the repository at this point in the history
  • Loading branch information
PascalHonegger committed Jan 27, 2019
1 parent e473497 commit be108d2
Show file tree
Hide file tree
Showing 7 changed files with 16 additions and 16 deletions.
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
# Table component with sorting and pagination for Angular
It is a forked version of [angular2-datatable](https://github.com/mariuszfoltak/angular2-datatable) updated to Angular 6.
It is a forked version of [ng-datatable](https://github.com/cmglez10/ng-datatable) updated to Angular 7.

[![npm version](https://badge.fury.io/js/%40cmglez10%2Fng-datatable.svg)](https://badge.fury.io/js/%40cmglez10%2Fng-datatable)
[![npm version](https://badge.fury.io/js/%40pascalhonegger%2Fng-datatable.svg)](https://badge.fury.io/js/%40pascalhonegger%2Fng-datatable)

##

## Installation

```
npm i @cmglez10/ng-datatable --save
npm i @pascalhonegger/ng-datatable --save
```

## Usage example
Expand All @@ -17,7 +17,7 @@ AppModule.ts
```typescript
import {NgModule} from "@angular/core";
...
import {DataTableModule} from "@cmglez10/ng-datatable";
import {DataTableModule} from "@pascalhonegger/ng-datatable";

@NgModule({
imports: [
Expand Down
2 changes: 1 addition & 1 deletion examples/systemjs/app/app.module.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import {NgModule} from "@angular/core";
import {AppComponent} from "./app.component";
import {BrowserModule} from "@angular/platform-browser";
import {DataTableModule} from "@cmglez10/ng-datatable";
import {DataTableModule} from "@pascalhonegger/ng-datatable";
import {HttpClientModule} from "@angular/common/http";
import {DataFilterPipe} from "./data-filter.pipe";
import {FormsModule} from "@angular/forms";
Expand Down
4 changes: 2 additions & 2 deletions examples/systemjs/app/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@
],
"baseUrl": ".",
"paths": {
"@cmglez10/ng-datatable": ["../../.."],
"@cmglez10/ng-datatable/*": ["../../../*"]
"@pascalhonegger/ng-datatable": ["../../.."],
"@pascalhonegger/ng-datatable/*": ["../../../*"]
}
}
}
2 changes: 1 addition & 1 deletion examples/systemjs/bs-config.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"server": {
"baseDir": ".",
"routes": {
"/node_modules/@cmglez10/ng-datatable": "../../."
"/node_modules/@pascalhonegger/ng-datatable": "../../."
}
}
}
4 changes: 2 additions & 2 deletions examples/systemjs/systemjs.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@

// other libraries
'rxjs': 'npm:rxjs',
'@cmglez10/ng-datatable': 'npm:@cmglez10/ng-datatable',
'@pascalhonegger/ng-datatable': 'npm:@pascalhonegger/ng-datatable',
'lodash': 'npm:lodash/lodash.js'
},
// packages tells the System loader how to load when no filename and/or no extension
Expand All @@ -42,7 +42,7 @@
main: 'index.js',
defaultExtension: 'js'
},
'@cmglez10/ng-datatable': {
'@pascalhonegger/ng-datatable': {
main: 'index.js',
defaultExtension: 'js'
}
Expand Down
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 4 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@cmglez10/ng-datatable",
"version": "0.7.3",
"name": "@pascalhonegger/ng-datatable",
"version": "2.0.0",
"description": "DataTable component for Angular framework",
"main": "index.js",
"scripts": {
Expand All @@ -15,7 +15,7 @@
},
"repository": {
"type": "git",
"url": "git+https://github.com/cmglez10/ng-datatable.git"
"url": "git+https://github.com/PascalHonegger/ng-datatable.git"
},
"keywords": [
"angular",
Expand All @@ -30,7 +30,7 @@
"author": "[email protected]",
"license": "MIT",
"bugs": {
"url": "https://github.com/cmglez10/ng-datatable/issues"
"url": "https://github.com/PascalHonegger/ng-datatable/issues"
},
"homepage": "https://github.com/cmglez10/ng-datatable#readme",
"devDependencies": {
Expand Down

0 comments on commit be108d2

Please sign in to comment.