Skip to content
This repository has been archived by the owner on Nov 30, 2019. It is now read-only.

Commit

Permalink
updated version and add example to Stackblitz
Browse files Browse the repository at this point in the history
Signed-off-by: Raí Siqueira <rai.siqueira@justa.com.vc>
  • Loading branch information
Raí Siqueira committed May 9, 2019
1 parent 2faf850 commit 3152178
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 2 deletions.
6 changes: 6 additions & 0 deletions projects/justa/br-validators/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,10 @@ export class AppComponent {
}
```

**Example on Stackblitz:**

- [https://stackblitz.com/edit/ng-validators-jst](https://stackblitz.com/edit/ng-validators-jst)

## Available custom validators

- validateDate (format: DD/MM/YYYY)
Expand All @@ -49,6 +53,8 @@ export class AppComponent {

Run `ng build @justa/validators` to build the project. The build artifacts will be stored in the `dist/` directory.

To build the package, run `ng build @justa/br-validators`.

## License

MIT
5 changes: 3 additions & 2 deletions projects/justa/br-validators/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@justa/ng-validators",
"version": "0.1.0",
"version": "0.2.0",
"peerDependencies": {
"@angular/common": "^5.0.0 || ^6.0.0 || ^7.0.0",
"@angular/core": "^5.0.0 || ^6.0.0 || ^7.0.0",
Expand Down Expand Up @@ -31,7 +31,8 @@
],
"repository": {
"type": "git",
"url": "https://github.com/justapagamentos/jst-ng-validators.git"
"url": "https://github.com/justapagamentos/jst-ng-validators.git",
"directory": "projects/justa/br-validators/"
},
"bugs": {
"url": "https://github.com/justapagamentos/jst-ng-validators/issues"
Expand Down

0 comments on commit 3152178

Please sign in to comment.