Skip to content

Commit a27f8fb

Browse files
committed
init
0 parents  commit a27f8fb

16 files changed

+7216
-0
lines changed

.gitignore

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
# compiled output
2+
/dist
3+
/node_modules
4+
5+
# Logs
6+
logs
7+
*.log
8+
npm-debug.log*
9+
yarn-debug.log*
10+
yarn-error.log*
11+
lerna-debug.log*
12+
13+
# OS
14+
.DS_Store
15+
16+
# Tests
17+
/coverage
18+
/.nyc_output
19+
20+
# IDEs and editors
21+
/.idea
22+
.project
23+
.classpath
24+
.c9/
25+
*.launch
26+
.settings/
27+
*.sublime-workspace
28+
29+
# IDE - VSCode
30+
.vscode/*
31+
!.vscode/settings.json
32+
!.vscode/tasks.json
33+
!.vscode/launch.json
34+
!.vscode/extensions.json

.prettierrc

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
{
2+
"singleQuote": true,
3+
"trailingComma": "all"
4+
}

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
RELEASE 1.0.0

CONTRIBUTING.md

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
# Contributing
2+
3+
1. [Fork it](https://help.github.com/articles/fork-a-repo/)
4+
2. Install dependencies (`npm install`)
5+
3. Create your feature branch (`git checkout -b my-new-feature`)
6+
4. Commit your changes (`git commit -am 'Added some feature'`)
7+
5. Test your changes (`npm test`)
8+
6. Push to the branch (`git push origin my-new-feature`)
9+
7. [Create new Pull Request](https://help.github.com/articles/creating-a-pull-request/)
10+
11+
## Testing
12+
13+
We use [Jest](https://github.com/facebook/jest) to write tests. Run our test suite with this command:
14+
15+
```
16+
npm test
17+
```
18+
19+
## Code Style
20+
21+
We use [Prettier](https://prettier.io/) and tslint to maintain code style and best practices.
22+
Please make sure your PR adheres to the guides by running:
23+
24+
```
25+
npm run format
26+
```
27+
28+
and
29+
```
30+
npm run lint
31+
```

LICENSE

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
MIT License
2+
3+
Copyright (c) 2019 John Biundo
4+
5+
Permission is hereby granted, free of charge, to any person obtaining a copy
6+
of this software and associated documentation files (the "Software"), to deal
7+
in the Software without restriction, including without limitation the rights
8+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9+
copies of the Software, and to permit persons to whom the Software is
10+
furnished to do so, subject to the following conditions:
11+
12+
The above copyright notice and this permission notice shall be included in all
13+
copies or substantial portions of the Software.
14+
15+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21+
SOFTWARE.

README.md

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
<h1 align="center"></h1>
2+
3+
<div align="center">
4+
<a href="http://nestjs.com/" target="_blank">
5+
<img src="https://nestjs.com/img/logo_text.svg" width="150" alt="Nest Logo" />
6+
</a>
7+
</div>
8+
9+
<h3 align="center">NestJS TypeORM Pagination</h3>
10+
11+
<div align="center">
12+
<a href="https://nestjs.com" target="_blank">
13+
<img src="https://img.shields.io/badge/built%20with-NestJs-red.svg" alt="Built with NestJS">
14+
</a>
15+
</div>
16+
17+
### Installation
18+
19+
```bash
20+
npm install @tfarras/nestjs-typeorm-pagination
21+
```

nest-cli.json

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
{
2+
"language": "ts",
3+
"collection": "@nestjs/schematics",
4+
"sourceRoot": "src"
5+
}

0 commit comments

Comments
 (0)