Skip to content

Commit 9024b95

Browse files
committed
update deps and publish v 1.0.0
1 parent 5c5625d commit 9024b95

File tree

6 files changed

+79
-33
lines changed

6 files changed

+79
-33
lines changed

‎README.md

Lines changed: 15 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,19 @@
11
# Gridjs-workspace
22

3+
## Please check [Gridjs Angular](./libs/gridjs-angular/README.md) docs
4+
5+
## Development
6+
37
This project is [Nx](https://nx.dev) workspace.
48

5-
Please check [Gridjs Angular](./libs/gridjs-angular/README.md) docs.
9+
- Install
10+
11+
```bash
12+
npm i
13+
```
14+
15+
- Then you can run storybook.
16+
17+
```bash
18+
npm run nx -- run gridjs-angular:storybook
19+
```

‎libs/gridjs-angular/package.json

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,18 @@
11
{
22
"name": "gridjs-angular",
3-
"version": "0.0.1",
3+
"version": "1.0.0",
4+
"keywords": [
5+
"gridjs",
6+
"table",
7+
"angular",
8+
"sort",
9+
"pagination",
10+
"grid"
11+
],
12+
"author": "Salama Ashoush <salamaashoush@gmail.com>",
13+
"homepage": "https://gridjs.io",
14+
"repository": "https://github.com/salamaashoush/gridjs-angular",
15+
"license": "MIT",
416
"peerDependencies": {
517
"@angular/common": "^9.0.0 || ^10.0.0",
618
"@angular/core": "^9.0.0 || ^10.0.0",

‎libs/gridjs-angular/src/index.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,4 @@
1+
export * from './lib/constants';
2+
export * from './lib/gridjs-angular.component';
13
export * from './lib/gridjs-angular.module';
4+
export * from './lib/types';

‎libs/gridjs-angular/src/lib/gridjs-angular.component.stories.ts

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -99,3 +99,20 @@ export const plugins = () => ({
9999
],
100100
},
101101
});
102+
103+
export const server = () => ({
104+
component: GridJsAngularComponent,
105+
props: {
106+
columns: ['Name', 'Language', 'Released At', 'Artist'],
107+
server: {
108+
url: 'https://api.scryfall.com/cards/search?q=Inspiring',
109+
then: (data) =>
110+
data.data.map((card) => [
111+
card.name,
112+
card.lang,
113+
card.released_at,
114+
card.artist,
115+
]),
116+
},
117+
},
118+
});

‎package-lock.json

Lines changed: 22 additions & 22 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎package.json

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@
3737
"@angular/platform-browser": "^10.1.0",
3838
"@angular/platform-browser-dynamic": "^10.1.0",
3939
"@angular/router": "^10.1.0",
40-
"@nrwl/angular": "10.0.7",
40+
"@nrwl/angular": "10.1.0",
4141
"gridjs": "^1.15.1",
4242
"rxjs": "~6.5.5",
4343
"tslib": "^2.0.0",
@@ -46,10 +46,10 @@
4646
"devDependencies": {
4747
"@angular-devkit/build-ng-packagr": "~0.1001.0",
4848
"@angular/cli": "~10.1.0",
49-
"@nrwl/workspace": "10.0.7",
49+
"@nrwl/workspace": "10.1.0",
5050
"@types/node": "~8.9.4",
5151
"dotenv": "6.2.0",
52-
"ng-packagr": "^10.0.0",
52+
"ng-packagr": "^10.1.0",
5353
"ts-node": "~7.0.0",
5454
"tslint": "~6.0.0",
5555
"eslint": "6.8.0",
@@ -60,13 +60,13 @@
6060
"@angular/language-service": "^10.1.0",
6161
"@angular-devkit/build-angular": "~0.1001.0",
6262
"codelyzer": "~5.0.1",
63-
"jest-preset-angular": "8.1.2",
64-
"@nrwl/jest": "10.0.7",
65-
"jest": "25.2.3",
66-
"@types/jest": "25.1.4",
67-
"ts-jest": "25.2.1",
63+
"jest-preset-angular": "8.2.1",
64+
"@nrwl/jest": "10.1.0",
65+
"jest": "26.2.2",
66+
"@types/jest": "26.0.8",
67+
"ts-jest": "26.1.4",
6868
"cypress": "^4.1.0",
69-
"@nrwl/cypress": "10.0.7",
69+
"@nrwl/cypress": "10.1.0",
7070
"@nrwl/storybook": "^10.0.7",
7171
"@storybook/addon-knobs": "5.3.9",
7272
"@storybook/angular": "5.3.9"

0 commit comments

Comments
 (0)