Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Datatype API #12

Merged
merged 1 commit into from
Jun 27, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 10 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,13 @@
## 0.1.0 (2022-06-28)

### ✨ Features

* Datatype: module to generate various primitive values and data types.

Credits

* [@Bunlong](https://github.com/Bunlong)

## 0.0.7 (2022-06-23)

### ✨ Features
Expand Down
5 changes: 3 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -53,13 +53,14 @@ The API covers the following modules:
| Commerce | `commerce.product()` | Polo t-shirt |
| Company | `company.companyName()` | Zboncak and Sons |
| Database | `database.engine()` | MyISAM |
| Datatype | `datatype.uuid()` | 7b16dd12-935e-4acc-8381-b1e457bf0176 |

## 📜 Changelog

Latest version 0.0.6 (2022-06-23):
Latest version 0.1.0 (2022-06-28):

* API
* Database: module to generate database related entries.
* Datatype: module to generate various primitive values and data types.

Details changes for each release are documented in the [CHANGELOG.md](https://github.com/Bunlong/react-papaparse/blob/master/CHANGELOG.md).

Expand Down
5 changes: 3 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "next-faker",
"version": "0.0.7",
"version": "0.0.8",
"description": "React hook for generating fake data for testing and development.",
"author": "Bunlong <bunlong.van@gmail.com>",
"license": "MIT",
Expand All @@ -18,7 +18,8 @@
"reactjs",
"react",
"fakerjs",
"faker"
"faker",
"react-faker"
],
"homepage": "https://next-faker.github.io",
"main": "dist/next-faker.js",
Expand Down
1 change: 1 addition & 0 deletions src/useFaker.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,6 @@ export function useFaker() {
commerce: faker?.commerce,
company: faker?.company,
database: faker?.database,
datatype: faker?.datatype,
};
}