@ak--47/dungeon-master 1.0.0
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 +518 -0
- package/dungeons/array-of-object-lookup-schema.json +327 -0
- package/dungeons/array-of-object-lookup.js +220 -0
- package/dungeons/ecommerce-schema.json +462 -0
- package/dungeons/ecommerce.js +447 -0
- package/dungeons/education-schema.json +2409 -0
- package/dungeons/education.js +768 -0
- package/dungeons/fintech-schema.json +14034 -0
- package/dungeons/fintech.js +696 -0
- package/dungeons/foobar-schema.json +403 -0
- package/dungeons/foobar.js +296 -0
- package/dungeons/food-delivery-schema.json +192 -0
- package/dungeons/food-delivery.js +602 -0
- package/dungeons/food-schema.json +1152 -0
- package/dungeons/food.js +754 -0
- package/dungeons/gaming-schema.json +1270 -0
- package/dungeons/gaming.js +508 -0
- package/dungeons/insurance-application-schema.json +204 -0
- package/dungeons/insurance-application.js +605 -0
- package/dungeons/media-schema.json +906 -0
- package/dungeons/media.js +790 -0
- package/dungeons/retention-cadence-schema.json +78 -0
- package/dungeons/retention-cadence.js +244 -0
- package/dungeons/rpg-schema.json +4526 -0
- package/dungeons/rpg.js +919 -0
- package/dungeons/sanity-schema.json +255 -0
- package/dungeons/sanity.js +152 -0
- package/dungeons/sass-schema.json +1291 -0
- package/dungeons/sass.js +795 -0
- package/dungeons/scd-schema.json +919 -0
- package/dungeons/scd.js +277 -0
- package/dungeons/simple-schema.json +608 -0
- package/dungeons/simple.js +285 -0
- package/dungeons/simplest-schema.json +1418 -0
- package/dungeons/simplest.js +392 -0
- package/dungeons/social-schema.json +1118 -0
- package/dungeons/social.js +686 -0
- package/dungeons/text-generation-schema.json +3096 -0
- package/dungeons/text-generation.js +812 -0
- package/index.js +567 -0
- package/lib/core/config-validator.js +395 -0
- package/lib/core/context.js +204 -0
- package/lib/core/dungeon-loader.js +337 -0
- package/lib/core/storage.js +379 -0
- package/lib/generators/adspend.js +132 -0
- package/lib/generators/events.js +271 -0
- package/lib/generators/funnels.js +407 -0
- package/lib/generators/mirror.js +167 -0
- package/lib/generators/product-lookup.js +262 -0
- package/lib/generators/product-names.js +195 -0
- package/lib/generators/profiles.js +93 -0
- package/lib/generators/scd.js +124 -0
- package/lib/generators/text.js +1192 -0
- package/lib/orchestrators/mixpanel-sender.js +266 -0
- package/lib/orchestrators/user-loop.js +335 -0
- package/lib/templates/abbreviated.d.ts +169 -0
- package/lib/templates/defaults.js +1405 -0
- package/lib/templates/phrases.js +2526 -0
- package/lib/templates/schema.d.ts +173 -0
- package/lib/templates/soup-presets.js +188 -0
- package/lib/utils/function-registry.js +302 -0
- package/lib/utils/json-evaluator.js +172 -0
- package/lib/utils/logger.js +34 -0
- package/lib/utils/utils.js +1490 -0
- package/package.json +89 -0
- package/types.d.ts +865 -0
package/package.json
ADDED
|
@@ -0,0 +1,89 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@ak--47/dungeon-master",
|
|
3
|
+
"version": "1.0.0",
|
|
4
|
+
"description": "generate fancy datasets",
|
|
5
|
+
"type": "module",
|
|
6
|
+
"main": "index.js",
|
|
7
|
+
"types": "types.d.ts",
|
|
8
|
+
"exports": {
|
|
9
|
+
".": {
|
|
10
|
+
"import": "./index.js",
|
|
11
|
+
"types": "./types.d.ts"
|
|
12
|
+
},
|
|
13
|
+
"./utils": "./lib/utils/utils.js",
|
|
14
|
+
"./text": "./lib/generators/text.js"
|
|
15
|
+
},
|
|
16
|
+
"files": [
|
|
17
|
+
"index.js",
|
|
18
|
+
"types.d.ts",
|
|
19
|
+
"lib/",
|
|
20
|
+
"dungeons/",
|
|
21
|
+
"!dungeons/customers/",
|
|
22
|
+
"package.json",
|
|
23
|
+
"README.md"
|
|
24
|
+
],
|
|
25
|
+
"publishConfig": {
|
|
26
|
+
"access": "public"
|
|
27
|
+
},
|
|
28
|
+
"scripts": {
|
|
29
|
+
"post": "npm publish",
|
|
30
|
+
"test": "NODE_ENV=test vitest run",
|
|
31
|
+
"test:coverage": "NODE_ENV=test vitest run --coverage",
|
|
32
|
+
"typecheck": "tsc --noEmit",
|
|
33
|
+
"dev": "nodemon scratch.mjs --ignore ./data/*",
|
|
34
|
+
"prune": "rm -f ./data/* && rm -f ./tmp/* && rm -f vscode-profile-*",
|
|
35
|
+
"deps": "./scripts/update-deps.sh",
|
|
36
|
+
"dungeon:run": "node ./scripts/run-dungeon.mjs",
|
|
37
|
+
"dungeon:to-json": "node ./scripts/dungeon-to-json.mjs",
|
|
38
|
+
"dungeon:from-json": "node ./scripts/json-to-dungeon.mjs"
|
|
39
|
+
},
|
|
40
|
+
"repository": {
|
|
41
|
+
"type": "git",
|
|
42
|
+
"url": "git+https://github.com/ak--47/dungeon-master.git"
|
|
43
|
+
},
|
|
44
|
+
"keywords": [
|
|
45
|
+
"mixpanel",
|
|
46
|
+
"analytics",
|
|
47
|
+
"tracking",
|
|
48
|
+
"datamart",
|
|
49
|
+
"scd 2",
|
|
50
|
+
"dummy data",
|
|
51
|
+
"fake data",
|
|
52
|
+
"data generation"
|
|
53
|
+
],
|
|
54
|
+
"author": "ak@mixpanel.com",
|
|
55
|
+
"license": "ISC",
|
|
56
|
+
"bugs": {
|
|
57
|
+
"url": "https://github.com/ak--47/dungeon-master/issues"
|
|
58
|
+
},
|
|
59
|
+
"homepage": "https://github.com/ak--47/dungeon-master#readme",
|
|
60
|
+
"dependencies": {
|
|
61
|
+
"@google-cloud/storage": "^7.14.0",
|
|
62
|
+
"ak-tools": "^1.1.12",
|
|
63
|
+
"chance": "^1.1.11",
|
|
64
|
+
"dayjs": "^1.11.11",
|
|
65
|
+
"dotenv": "^16.4.5",
|
|
66
|
+
"hyparquet-writer": "^0.6.1",
|
|
67
|
+
"mixpanel": "^0.18.0",
|
|
68
|
+
"mixpanel-import": "^3.2.8",
|
|
69
|
+
"p-limit": "^3.1.0",
|
|
70
|
+
"pino": "^9.0.0",
|
|
71
|
+
"pino-pretty": "^11.0.0",
|
|
72
|
+
"seedrandom": "^3.0.5",
|
|
73
|
+
"sentiment": "^5.0.2",
|
|
74
|
+
"tracery-grammar": "^2.8.4"
|
|
75
|
+
},
|
|
76
|
+
"devDependencies": {
|
|
77
|
+
"@vitest/coverage-v8": "^2.1.9",
|
|
78
|
+
"@vitest/ui": "^2.1.9",
|
|
79
|
+
"nodemon": "^3.1.3",
|
|
80
|
+
"typescript": "^5.6.0",
|
|
81
|
+
"vitest": "^2.1.9"
|
|
82
|
+
},
|
|
83
|
+
"nodemonConfig": {
|
|
84
|
+
"ignore": [
|
|
85
|
+
"data/",
|
|
86
|
+
"tmp/"
|
|
87
|
+
]
|
|
88
|
+
}
|
|
89
|
+
}
|