loredata 0.2.0 → 0.4.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +126 -65
- package/data/avengers/addresses.json +27 -0
- package/data/avengers/characters.json +305 -0
- package/data/avengers/meta.json +13 -0
- package/data/better-call-saul/addresses.json +37 -0
- package/data/better-call-saul/characters.json +268 -0
- package/data/better-call-saul/meta.json +13 -0
- package/data/big-bang-theory/addresses.json +31 -0
- package/data/big-bang-theory/characters.json +198 -0
- package/data/big-bang-theory/meta.json +13 -0
- package/data/breaking-bad/characters.json +249 -148
- package/data/breaking-bad/meta.json +8 -1
- package/data/fast-and-furious/addresses.json +1 -2
- package/data/fast-and-furious/characters.json +226 -133
- package/data/fast-and-furious/meta.json +13 -1
- package/data/friends/characters.json +402 -281
- package/data/friends/meta.json +8 -1
- package/data/game-of-thrones/addresses.json +6 -22
- package/data/game-of-thrones/characters.json +507 -299
- package/data/game-of-thrones/meta.json +8 -1
- package/data/guardians-of-the-galaxy/addresses.json +17 -0
- package/data/guardians-of-the-galaxy/characters.json +226 -0
- package/data/guardians-of-the-galaxy/meta.json +13 -0
- package/data/harry-potter/addresses.json +6 -11
- package/data/harry-potter/characters.json +239 -147
- package/data/harry-potter/meta.json +8 -1
- package/data/house-md/characters.json +184 -52
- package/data/house-md/meta.json +8 -1
- package/data/lost/characters.json +420 -299
- package/data/lost/meta.json +8 -1
- package/data/matrix/characters.json +144 -34
- package/data/matrix/meta.json +13 -1
- package/data/peaky-blinders/characters.json +191 -37
- package/data/peaky-blinders/meta.json +8 -1
- package/data/prison-break/addresses.json +24 -0
- package/data/prison-break/characters.json +188 -0
- package/data/prison-break/meta.json +13 -0
- package/data/sherlock/characters.json +369 -263
- package/data/sherlock/meta.json +8 -1
- package/data/simpsons/addresses.json +21 -0
- package/data/simpsons/characters.json +383 -0
- package/data/simpsons/meta.json +13 -0
- package/data/sopranos/addresses.json +37 -0
- package/data/sopranos/characters.json +292 -0
- package/data/sopranos/meta.json +13 -0
- package/data/south-park/addresses.json +31 -0
- package/data/south-park/characters.json +372 -0
- package/data/south-park/meta.json +13 -0
- package/data/spider-man/addresses.json +31 -0
- package/data/spider-man/characters.json +219 -0
- package/data/spider-man/meta.json +13 -0
- package/data/star-wars/addresses.json +19 -0
- package/data/star-wars/characters.json +254 -0
- package/data/star-wars/meta.json +13 -0
- package/data/stranger-things/addresses.json +31 -0
- package/data/stranger-things/characters.json +226 -0
- package/data/stranger-things/meta.json +13 -0
- package/data/supernatural/addresses.json +25 -0
- package/data/supernatural/characters.json +190 -0
- package/data/supernatural/meta.json +13 -0
- package/data/the-crown/addresses.json +27 -0
- package/data/the-crown/characters.json +275 -0
- package/data/the-crown/meta.json +13 -0
- package/data/the-office/characters.json +478 -283
- package/data/the-office/meta.json +8 -1
- package/data/the-walking-dead/addresses.json +25 -0
- package/data/the-walking-dead/characters.json +186 -0
- package/data/the-walking-dead/meta.json +13 -0
- package/data/the-witcher/addresses.json +22 -0
- package/data/the-witcher/characters.json +272 -0
- package/data/the-witcher/meta.json +13 -0
- package/data/vikings/addresses.json +26 -0
- package/data/vikings/characters.json +240 -0
- package/data/vikings/meta.json +13 -0
- package/data/westworld/addresses.json +19 -0
- package/data/westworld/characters.json +161 -0
- package/data/westworld/meta.json +13 -0
- package/data/x-men/addresses.json +24 -0
- package/data/x-men/characters.json +242 -0
- package/data/x-men/meta.json +18 -0
- package/dist/browser.cjs +18 -72
- package/dist/browser.cjs.map +1 -1
- package/dist/browser.d.cts +3 -3
- package/dist/browser.d.ts +3 -3
- package/dist/browser.js +18 -72
- package/dist/browser.js.map +1 -1
- package/dist/cli/cli.cjs +41 -73
- package/dist/cli/cli.cjs.map +1 -1
- package/dist/cli/cli.js +41 -73
- package/dist/cli/cli.js.map +1 -1
- package/dist/index.cjs +41 -72
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +5 -4
- package/dist/index.d.ts +5 -4
- package/dist/index.js +41 -72
- package/dist/index.js.map +1 -1
- package/dist/{universe-store-Del1UHgn.d.cts → universe-store-CWhCn3U6.d.cts} +21 -11
- package/dist/{universe-store-Del1UHgn.d.ts → universe-store-CWhCn3U6.d.ts} +21 -11
- package/package.json +85 -81
- package/data/breaking-bad/domains.json +0 -6
- package/data/fast-and-furious/domains.json +0 -6
- package/data/friends/domains.json +0 -6
- package/data/game-of-thrones/domains.json +0 -6
- package/data/harry-potter/domains.json +0 -6
- package/data/house-md/domains.json +0 -6
- package/data/lost/domains.json +0 -6
- package/data/matrix/domains.json +0 -6
- package/data/peaky-blinders/domains.json +0 -6
- package/data/sherlock/domains.json +0 -6
- package/data/the-office/domains.json +0 -6
|
@@ -12,8 +12,6 @@ interface Person {
|
|
|
12
12
|
lastName: string;
|
|
13
13
|
username: string;
|
|
14
14
|
email: string;
|
|
15
|
-
password: string;
|
|
16
|
-
phone: string;
|
|
17
15
|
address: Address;
|
|
18
16
|
profession: string;
|
|
19
17
|
interests: string[];
|
|
@@ -29,13 +27,13 @@ interface CharacterData {
|
|
|
29
27
|
firstName: string;
|
|
30
28
|
lastName: string;
|
|
31
29
|
usernames: string[];
|
|
30
|
+
emailDomains: string[];
|
|
32
31
|
profession: string;
|
|
33
32
|
interests: string[];
|
|
34
33
|
quotes: string[];
|
|
35
34
|
gender?: 'male' | 'female' | 'other';
|
|
36
35
|
birthYear?: number;
|
|
37
36
|
address?: AddressData;
|
|
38
|
-
emailDomain?: string;
|
|
39
37
|
symbol?: string;
|
|
40
38
|
color?: string;
|
|
41
39
|
}
|
|
@@ -46,12 +44,6 @@ interface AddressData {
|
|
|
46
44
|
zip?: string;
|
|
47
45
|
country?: string;
|
|
48
46
|
}
|
|
49
|
-
interface DomainsData {
|
|
50
|
-
emailDomains: string[];
|
|
51
|
-
phonePrefixes: string[];
|
|
52
|
-
phoneEasterEggs?: string[];
|
|
53
|
-
passwordEasterEggs?: string[];
|
|
54
|
-
}
|
|
55
47
|
interface UniverseData {
|
|
56
48
|
id: string;
|
|
57
49
|
name: string;
|
|
@@ -59,13 +51,26 @@ interface UniverseData {
|
|
|
59
51
|
description: string;
|
|
60
52
|
characters: CharacterData[];
|
|
61
53
|
addresses: AddressData[];
|
|
62
|
-
|
|
54
|
+
tmdbId?: number;
|
|
55
|
+
mediaType?: 'tv' | 'movie';
|
|
56
|
+
rating?: number;
|
|
57
|
+
year?: number;
|
|
58
|
+
networks?: string[];
|
|
59
|
+
posterPath?: string;
|
|
60
|
+
backdropPath?: string;
|
|
63
61
|
}
|
|
64
62
|
interface UniverseMeta {
|
|
65
63
|
id: string;
|
|
66
64
|
name: string;
|
|
67
65
|
genre: string[];
|
|
68
66
|
description: string;
|
|
67
|
+
tmdbId?: number;
|
|
68
|
+
mediaType?: 'tv' | 'movie';
|
|
69
|
+
rating?: number;
|
|
70
|
+
year?: number;
|
|
71
|
+
networks?: string[];
|
|
72
|
+
posterPath?: string;
|
|
73
|
+
backdropPath?: string;
|
|
69
74
|
}
|
|
70
75
|
|
|
71
76
|
interface CharacterEntry {
|
|
@@ -77,6 +82,11 @@ interface CharacterEntry {
|
|
|
77
82
|
interests: string[];
|
|
78
83
|
profession: string;
|
|
79
84
|
}
|
|
85
|
+
type LocationType = 'city' | 'state' | 'country';
|
|
86
|
+
interface LocationEntry {
|
|
87
|
+
name: string;
|
|
88
|
+
type: LocationType;
|
|
89
|
+
}
|
|
80
90
|
interface CharacterQuery {
|
|
81
91
|
universes?: string[];
|
|
82
92
|
interests?: string[];
|
|
@@ -97,4 +107,4 @@ declare class UniverseStore {
|
|
|
97
107
|
private buildIndex;
|
|
98
108
|
}
|
|
99
109
|
|
|
100
|
-
export { type Address as A, type CharacterData as C, type
|
|
110
|
+
export { type Address as A, type CharacterData as C, type LocationEntry as L, type Person as P, type UniverseMeta as U, type UniverseData as a, type AddressData as b, type CharacterEntry as c, type CharacterQuery as d, UniverseStore as e, type LocationType as f };
|
package/package.json
CHANGED
|
@@ -1,82 +1,86 @@
|
|
|
1
1
|
{
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
2
|
+
"name": "loredata",
|
|
3
|
+
"version": "0.4.1",
|
|
4
|
+
"description": "Generate personas from pop culture universes. Every field belongs to the same fictional world.",
|
|
5
|
+
"keywords": [
|
|
6
|
+
"fake-data",
|
|
7
|
+
"test-data",
|
|
8
|
+
"faker",
|
|
9
|
+
"mock-data",
|
|
10
|
+
"seed",
|
|
11
|
+
"persona",
|
|
12
|
+
"generator",
|
|
13
|
+
"fixtures",
|
|
14
|
+
"pop-culture",
|
|
15
|
+
"fictional",
|
|
16
|
+
"characters",
|
|
17
|
+
"cli"
|
|
18
|
+
],
|
|
19
|
+
"homepage": "https://loredata.orchidfiles.com",
|
|
20
|
+
"repository": {
|
|
21
|
+
"type": "git",
|
|
22
|
+
"url": "https://github.com/orchidfiles/loredata"
|
|
23
|
+
},
|
|
24
|
+
"bugs": {
|
|
25
|
+
"url": "https://github.com/orchidfiles/loredata/issues"
|
|
26
|
+
},
|
|
27
|
+
"license": "MIT",
|
|
28
|
+
"author": {
|
|
29
|
+
"name": "orchidfiles",
|
|
30
|
+
"email": "orchid@orchidfiles.com",
|
|
31
|
+
"url": "https://orchidfiles.com"
|
|
32
|
+
},
|
|
33
|
+
"type": "module",
|
|
34
|
+
"exports": {
|
|
35
|
+
".": {
|
|
36
|
+
"types": "./dist/index.d.ts",
|
|
37
|
+
"import": "./dist/index.js",
|
|
38
|
+
"require": "./dist/index.cjs"
|
|
39
|
+
},
|
|
40
|
+
"./browser": {
|
|
41
|
+
"types": "./dist/browser.d.ts",
|
|
42
|
+
"import": "./dist/browser.js",
|
|
43
|
+
"require": "./dist/browser.cjs"
|
|
44
|
+
},
|
|
45
|
+
"./data/*": "./data/*",
|
|
46
|
+
"./package.json": "./package.json"
|
|
47
|
+
},
|
|
48
|
+
"bin": {
|
|
49
|
+
"loredata": "./dist/cli/cli.js"
|
|
50
|
+
},
|
|
51
|
+
"files": [
|
|
52
|
+
"dist",
|
|
53
|
+
"data"
|
|
54
|
+
],
|
|
55
|
+
"engines": {
|
|
56
|
+
"node": ">=20.0.0"
|
|
57
|
+
},
|
|
58
|
+
"scripts": {
|
|
59
|
+
"build": "tsup",
|
|
60
|
+
"build:watch": "tsup --watch",
|
|
61
|
+
"validate": "node --import tsx/esm scripts/validate-universe.ts",
|
|
62
|
+
"check:quotes": "node --import tsx/esm scripts/check-quotes/run.ts",
|
|
63
|
+
"fetch:tmdb": "node --env-file=.env --import tsx/esm scripts/fetch-tmdb.ts",
|
|
64
|
+
"patch:chars": "node --import tsx/esm scripts/patch.ts chars",
|
|
65
|
+
"patch:meta": "node --import tsx/esm scripts/patch.ts meta",
|
|
66
|
+
"patch:delete": "node --import tsx/esm scripts/patch.ts delete-key",
|
|
67
|
+
"gen:colors": "node --import tsx/esm scripts/generate-colors.ts",
|
|
68
|
+
"lint": "eslint .",
|
|
69
|
+
"lint:fix": "eslint . --fix",
|
|
70
|
+
"release": "npm publish --access public"
|
|
71
|
+
},
|
|
72
|
+
"dependencies": {
|
|
73
|
+
"commander": "~14.0.3"
|
|
74
|
+
},
|
|
75
|
+
"devDependencies": {
|
|
76
|
+
"@loredata/dev-kit": "workspace:*",
|
|
77
|
+
"@twemoji/svg": "^15.0.0",
|
|
78
|
+
"@types/node": "~22.13.14",
|
|
79
|
+
"eslint": "~9.39.4",
|
|
80
|
+
"get-svg-colors": "^2.0.1",
|
|
81
|
+
"tsup": "~8.4.0",
|
|
82
|
+
"tsx": "~4.21.0",
|
|
83
|
+
"typescript": "~5.8.2",
|
|
84
|
+
"vite": "~6.2.7"
|
|
85
|
+
}
|
|
86
|
+
}
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"emailDomains": ["torettogarage.com", "teamtorretto.net", "dsmission.gov", "racersonly.com"],
|
|
3
|
-
"phonePrefixes": ["213", "305", "818"],
|
|
4
|
-
"phoneEasterEggs": ["213-555-0174", "305-555-0327"],
|
|
5
|
-
"passwordEasterEggs": ["ride_or_die", "quarter_mile", "family4ever", "toretto76"]
|
|
6
|
-
}
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"emailDomains": ["centralperk.coffee", "nycfriends.net", "pivotmail.com", "gellernet.org"],
|
|
3
|
-
"phonePrefixes": ["212", "718", "646", "347"],
|
|
4
|
-
"phoneEasterEggs": [],
|
|
5
|
-
"passwordEasterEggs": ["we_were_on_a_break", "how_you_doin", "oh_my_god_janice", "pivot", "smelly_cat", "joey_doesnt_share_food", "could_i_be_more"]
|
|
6
|
-
}
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"emailDomains": ["kingslanding.gov", "winterfell.net", "dragonstone.com", "citadel.edu"],
|
|
3
|
-
"phonePrefixes": ["777", "888"],
|
|
4
|
-
"phoneEasterEggs": ["777-555-0001", "888-555-0002"],
|
|
5
|
-
"passwordEasterEggs": ["winter1scoming", "youknownothing", "dracarys42", "not_today"]
|
|
6
|
-
}
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"emailDomains": ["hogwarts.edu", "ministry.gov.uk", "diagon.com", "hogsmeade.co.uk"],
|
|
3
|
-
"phonePrefixes": ["020", "0131"],
|
|
4
|
-
"phoneEasterEggs": ["020-555-0742", "0131-555-0001"],
|
|
5
|
-
"passwordEasterEggs": ["alohomora!", "expelliarmus1", "mischief_managed", "always"]
|
|
6
|
-
}
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"emailDomains": ["ppth.edu", "princeton-plainsboro.org", "rutgers.edu", "njms.edu", "diagnosticsgenius.net", "ppth.org"],
|
|
3
|
-
"phonePrefixes": ["609", "732", "848"],
|
|
4
|
-
"phoneEasterEggs": [],
|
|
5
|
-
"passwordEasterEggs": ["everybody_lies", "its_never_lupus", "vicodin", "what_would_house_do", "solving_puzzles", "not_your_call", "dead_end_diagnostics", "thirteen_hadley"]
|
|
6
|
-
}
|
package/data/lost/domains.json
DELETED
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"emailDomains": ["dharma-initiative.org", "oceanic-air.com", "hanso-foundation.org", "lostisland.net", "theothers.org", "widmore-corp.com"],
|
|
3
|
-
"phonePrefixes": ["310", "213", "323", "424"],
|
|
4
|
-
"phoneEasterEggs": [],
|
|
5
|
-
"passwordEasterEggs": ["the_numbers", "4_8_15_16_23_42", "oceanic815", "not_pennys_boat", "execute_button", "dharma_namaste", "live_together_die_alone", "man_of_faith", "see_you_in_another_life", "push_the_button"]
|
|
6
|
-
}
|
package/data/matrix/domains.json
DELETED
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"emailDomains": ["shelbylimited.co.uk", "garrisonbar.co.uk", "smallheathmail.com", "peakymail.co.uk"],
|
|
3
|
-
"phonePrefixes": ["0121", "0207"],
|
|
4
|
-
"phoneEasterEggs": [],
|
|
5
|
-
"passwordEasterEggs": ["by_order_of_the_peaky_blinders", "garrison_whiskey", "small_heath", "by_order", "razor_sharp"]
|
|
6
|
-
}
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"emailDomains": ["221b.co.uk", "scotlandyard.gov.uk", "thescienceofdeduction.com", "diogenesclub.co.uk", "bakerstreet.co.uk", "barts.nhs.uk"],
|
|
3
|
-
"phonePrefixes": ["020", "207", "208"],
|
|
4
|
-
"phoneEasterEggs": [],
|
|
5
|
-
"passwordEasterEggs": ["the_game_is_on", "elementary", "vatican_cameos", "sherlock_is_dead", "i_am_sherlocked", "did_you_miss_me", "high_functioning_sociopath", "burning_the_heart"]
|
|
6
|
-
}
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"emailDomains": ["dundermifflin.com", "schrute-farms.com", "vancerefrigeration.com", "michaelscottpaperco.com"],
|
|
3
|
-
"phonePrefixes": ["570", "484"],
|
|
4
|
-
"phoneEasterEggs": ["570-555-0177"],
|
|
5
|
-
"passwordEasterEggs": ["thats_what_she_said", "pretzel_day", "bears_beets_bsg", "nard_dog_2005"]
|
|
6
|
-
}
|