Skip to content
This repository was archived by the owner on Dec 25, 2021. It is now read-only.

Commit 9b11c5f

Browse files
Bruzzano, BrunoBruzzano, Bruno
authored andcommitted
Fix Doc Viewer. Fix package name.
1 parent 124958c commit 9b11c5f

17 files changed

Lines changed: 25 additions & 27 deletions

.angular-cli.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"$schema": "./node_modules/@angular/cli/lib/config/schema.json",
33
"project": {
4-
"name": "angular5-datatable"
4+
"name": "angular5-data-table"
55
},
66
"apps": [
77
{
@@ -12,7 +12,7 @@
1212
"assets",
1313
"favicon.ico",
1414
{"glob": "**/*","input":"./app/components/datatable/","output":"./assets/src/datatable"},
15-
{"glob": "**/*.md","input":"../libs/datatable/src/","output":"./assets/src/datatable"}
15+
{"glob": "**/*.md","input":"../libs/datatable/","output":"./assets/datatable"}
1616
],
1717
"index": "index.html",
1818
"main": "main.ts",

README.md

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,6 @@
22

33
*Note*: Originally this was fork of this [package](https://github.com/MIt9/angular-4-data-table).
44

5-
*Important*: Since v1.0.0 the package was renamed from `angular5-data-table` to `angular5-datatable`.
6-
75
A simple Angular 5 data table, with built-in solutions for features including:
86
* pagination
97
* sorting
@@ -44,7 +42,7 @@ npm install bootstrap@4.0.0 font-awesome@4.7.0
4442
## Installation
4543

4644
```bash
47-
npm install angular5-datatable
45+
npm install angular5-data-table
4846
```
4947

5048
## Usage
@@ -53,7 +51,7 @@ npm install angular5-datatable
5351
```ts
5452
import { BrowserModule } from '@angular/platform-browser';
5553
import { NgModule } from '@angular/core';
56-
import { DataTableModule } from 'angular5-datatable';
54+
import { DataTableModule } from 'angular5-data-table';
5755

5856
@NgModule({
5957
imports: [

libs/datatable/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,15 +35,15 @@ npm install bootstrap@4.0.0 font-awesome@4.7.0
3535
---
3636
# Installation
3737
```bash
38-
npm install angular5-datatable
38+
npm install angular5-data-table
3939
```
4040
---
4141
# Usage
4242
#### 1.Import Datatable module
4343
```ts
4444
import { BrowserModule } from '@angular/platform-browser';
4545
import { NgModule } from '@angular/core';
46-
import { DataTableModule } from 'angular5-datatable';
46+
import { DataTableModule } from 'angular5-data-table';
4747

4848
@NgModule({
4949
imports: [

libs/datatable/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"name": "angular5-datatable",
2+
"name": "angular5-data-table",
33
"description": "This library contains an Angualar5-compatible Datatable component.",
44
"version": "1.0.0",
55
"private": false,
@@ -11,7 +11,7 @@
1111
},
1212
"ngPackage": {
1313
"$schema": "./node_modules/ng-packagr/ng-package.schema.json",
14-
"dest": "../../dist/angular5-datatable",
14+
"dest": "../../dist/angular5-data-table",
1515
"workingDirectory": "./.ng_build",
1616
"lib": {
1717
"entryFile": "src/public_api.ts"

package-lock.json

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,10 +11,10 @@
1111
"lint": "ng lint",
1212
"e2e": "ng e2e",
1313
"build:docs": "compodoc ./libs -p src/tsconfig.packages.json -s",
14-
"build:app": "cpr dist/angular5-datatable src/angualar5-datatable --overwrite && ng build --app packages && rimraf src/angular5-datatable",
15-
"build:app:prod": "cpr dist/angular5-datatable src/angular5-datatable --overwrite && ng build --prod --named-chunks=true --app packages && rimraf src/angular5-datatable",
14+
"build:app": "cpr dist/angular5-data-table src/angualar5-datatable --overwrite && ng build --app packages && rimraf src/angular5-data-table",
15+
"build:app:prod": "cpr dist/angular5-data-table src/angular5-data-table --overwrite && ng build --prod --named-chunks=true --app packages && rimraf src/angular5-data-table",
1616
"build:libs:datatable": "ng-packagr -p libs/datatable/package.json",
17-
"publish:libs:datatable": "npm publish dist/angular5-datatable"
17+
"publish:libs:datatable": "npm publish dist/angular5-data-table"
1818
},
1919
"dependencies": {
2020
"@angular/animations": "^5.2.0",

src/app/components/datatable/datatable.module.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import { CommonModule } from '@angular/common';
33
import { BrowserModule } from '@angular/platform-browser';
44
import { FormsModule } from '@angular/forms';
55
// module
6-
import { DataTableModule } from 'angular5-datatable';
6+
import { DataTableModule } from 'angular5-data-table';
77
// demo components
88
import { DataTableDemo1Component } from './demo1/data-table-demo1';
99
import { DataTableDemo2Component } from './demo2/data-table-demo2';

src/app/components/datatable/demo1/data-table-demo1.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import { Component } from '@angular/core';
22
import persons from './data-table-demo1-data';
3-
import { DataTableResource } from 'angular5-datatable';
3+
import { DataTableResource } from 'angular5-data-table';
44

55
@Component({
66
selector: 'app-data-table-demo-1',

src/app/components/datatable/demo2/data-table-demo2.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import { Component, ViewChild } from '@angular/core';
22
import { Cars } from './data-table-demo2-data';
3-
import { DataTable, DataTableResource } from 'angular5-datatable';
3+
import { DataTable, DataTableResource } from 'angular5-data-table';
44

55

66
@Component({

src/app/components/datatable/demo3/data-table-demo3.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import { Component, ViewChild } from '@angular/core';
22
import { films } from './data-table-demo3-data';
3-
import { DataTable, DataTableResource, DataTableTranslations } from 'angular5-datatable';
3+
import { DataTable, DataTableResource, DataTableTranslations } from 'angular5-data-table';
44

55

66
@Component({

0 commit comments

Comments
 (0)