Skip to content

Commit 51e29fe

Browse files
authored
Merge branch 'main' into drop-json-stringify
2 parents 006a548 + 6629806 commit 51e29fe

18 files changed

+156
-73
lines changed

package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -96,12 +96,12 @@
9696
"@algolia/client-search": "~4.14.1",
9797
"@types/markdown-it": "~12.2.3",
9898
"@types/node": "~18.0.6",
99-
"@types/prettier": "~2.6.3",
99+
"@types/prettier": "~2.6.4",
100100
"@types/react": "~18.0.15",
101101
"@types/sanitize-html": "~2.6.2",
102102
"@types/validator": "~13.7.4",
103-
"@typescript-eslint/eslint-plugin": "~5.30.7",
104-
"@typescript-eslint/parser": "~5.30.7",
103+
"@typescript-eslint/eslint-plugin": "~5.31.0",
104+
"@typescript-eslint/parser": "~5.31.0",
105105
"@vitest/ui": "~0.19.1",
106106
"c8": "~7.12.0",
107107
"conventional-changelog-cli": "~2.2.2",

pnpm-lock.yaml

Lines changed: 40 additions & 40 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/definitions/address.ts

Lines changed: 27 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -8,53 +8,61 @@ export type AddressDefinitions = LocaleEntry<{
88
* Postcodes patterns by state
99
*/
1010
postcode_by_state: { [state: string]: { min: number; max: number } };
11+
1112
/**
12-
* Postcodes patterns (Fake-Pattern | Fake-Pattern[]).
13+
* Postcodes patterns.
1314
*/
1415
postcode: string | string[];
1516

1617
/**
1718
* The patterns to generate city names.
1819
*/
1920
city: string[];
21+
2022
/**
2123
* The names of actual cities.
2224
*/
2325
city_name: string[];
26+
2427
/**
25-
* Common city prefixes
28+
* Common city prefixes.
2629
*/
2730
city_prefix: string[];
31+
2832
/**
29-
* Common city suffixes
33+
* Common city suffixes.
3034
*/
3135
city_suffix: string[];
3236

3337
/**
34-
* The names of all countries
38+
* The names of all countries.
3539
*/
3640
country: string[];
41+
3742
/**
38-
* The names of this country's states
43+
* The names of this country's states.
3944
*/
4045
state: string[];
46+
4147
/**
42-
* The abbreviated names of this country's states
48+
* The abbreviated names of this country's states.
4349
*/
4450
state_abbr: string[];
51+
4552
/**
46-
* The names of counties inside the country or state
53+
* The names of counties inside the country or state.
4754
*/
4855
county: string[];
4956

5057
/**
5158
* The names of the compass directions.
52-
* First the 4 cardinal directions, then the 4 ordinal directions
59+
* First the 4 cardinal directions, then the 4 ordinal directions.
5360
*/
5461
direction: string[];
62+
5563
/**
5664
* The abbreviated names of the compass directions.
57-
* First the 4 cardinal directions, then the 4 ordinal directions
65+
* First the 4 cardinal directions, then the 4 ordinal directions.
5866
*/
5967
direction_abbr: string[];
6068

@@ -67,16 +75,19 @@ export type AddressDefinitions = LocaleEntry<{
6775
* The patterns to generate street names.
6876
*/
6977
street: string[];
78+
7079
/**
7180
* The names of actual streets.
7281
*/
7382
street_name: string[];
83+
7484
/**
75-
* Common street prefixes
85+
* Common street prefixes.
7686
*/
7787
street_prefix: string[];
88+
7889
/**
79-
* Common street suffixes
90+
* Common street suffixes.
8091
*/
8192
street_suffix: string[];
8293

@@ -88,6 +99,7 @@ export type AddressDefinitions = LocaleEntry<{
8899
* The fake pattern to generate only the street address.
89100
*/
90101
normal: string;
102+
91103
/**
92104
* The fake pattern to generate the full street address including the secondary address.
93105
*/
@@ -103,11 +115,14 @@ export type AddressDefinitions = LocaleEntry<{
103115
* The ISO-3166-1 ALPHA-2 country codes related to this locale.
104116
*/
105117
country_code: string[];
118+
106119
/**
107120
* The ISO-3166-1 ALPHA-3 country codes related to this locale.
108121
*/
109122
country_code_alpha_3: string[];
110123

111-
// A list of timezones names.
124+
/**
125+
* A list of timezones names.
126+
*/
112127
time_zone: string[];
113128
}>;

src/definitions/color.ts

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,14 @@
11
import type { LocaleEntry } from './definitions';
22

33
/**
4-
* The possible definitions related to color.
4+
* The possible definitions related to colors.
55
*/
66
export type ColorDefinitions = LocaleEntry<{
77
/**
8-
* Human readable color names
8+
* Human readable color names.
99
*/
1010
human: string[];
11+
1112
/**
1213
* Color space names.
1314
*/

src/definitions/commerce.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,12 @@ export type CommerceDefinitions = LocaleEntry<{
88
* Department names inside a shop.
99
*/
1010
department: string[];
11+
1112
/**
1213
* Product name generation definitions.
1314
*/
1415
product_name: CommerceProductNameDefinitions;
16+
1517
/**
1618
* Descriptions for products.
1719
*/
@@ -26,10 +28,12 @@ export interface CommerceProductNameDefinitions {
2628
* Adjectives describing a product (e.g. tasty).
2729
*/
2830
adjective: string[];
31+
2932
/**
3033
* Materials describing a product (e.g. wood).
3134
*/
3235
material: string[];
36+
3337
/**
3438
* Types of products (e.g. chair).
3539
*/

0 commit comments

Comments
 (0)