Skip to content

Commit

Permalink
feat(color): migrate hu human colors
Browse files Browse the repository at this point in the history
looks like the hu definition file was missed in faker-js#801 when migrating from faker.commerce.color to faker.color.human
  • Loading branch information
matthewmayer committed May 13, 2023
1 parent e0e9ae8 commit 66b9ae8
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 2 deletions.
File renamed without changes.
12 changes: 12 additions & 0 deletions src/locales/hu/color/index.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
/*
* This file is automatically generated.
* Run 'pnpm run generate:locales' to update.
*/
import type { ColorDefinition } from '../../..';
import human from './human';

const color: ColorDefinition = {
human,
};

export default color;
2 changes: 0 additions & 2 deletions src/locales/hu/commerce/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,11 @@
* Run 'pnpm run generate:locales' to update.
*/
import type { CommerceDefinition } from '../../..';
import color from './color';
import department from './department';
import product_description from './product_description';
import product_name from './product_name';

const commerce: CommerceDefinition = {
color,
department,
product_description,
product_name,
Expand Down
2 changes: 2 additions & 0 deletions src/locales/hu/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
*/
import type { LocaleDefinition } from '../..';
import animal from './animal';
import color from './color';
import commerce from './commerce';
import company from './company';
import date from './date';
Expand All @@ -17,6 +18,7 @@ import word from './word';

const hu: LocaleDefinition = {
animal,
color,
commerce,
company,
date,
Expand Down

0 comments on commit 66b9ae8

Please sign in to comment.