From 037280ee70e74121a6908eff3a106f7223e4b3c0 Mon Sep 17 00:00:00 2001 From: Bunlong Date: Mon, 27 Jun 2022 22:01:52 +0700 Subject: [PATCH] Add Datatype --- CHANGELOG.md | 10 ++++++++++ README.md | 5 +++-- package.json | 5 +++-- src/useFaker.tsx | 1 + 4 files changed, 17 insertions(+), 4 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 28d7877..4ceb2cb 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -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 diff --git a/README.md b/README.md index a59310d..57a3a9a 100644 --- a/README.md +++ b/README.md @@ -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). diff --git a/package.json b/package.json index fbba572..e6ca569 100644 --- a/package.json +++ b/package.json @@ -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 ", "license": "MIT", @@ -18,7 +18,8 @@ "reactjs", "react", "fakerjs", - "faker" + "faker", + "react-faker" ], "homepage": "https://next-faker.github.io", "main": "dist/next-faker.js", diff --git a/src/useFaker.tsx b/src/useFaker.tsx index 9410c84..9fe22b3 100644 --- a/src/useFaker.tsx +++ b/src/useFaker.tsx @@ -8,5 +8,6 @@ export function useFaker() { commerce: faker?.commerce, company: faker?.company, database: faker?.database, + datatype: faker?.datatype, }; }