make-mp-data 1.5.56 → 2.0.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.
Files changed (40) hide show
  1. package/.claude/settings.local.json +21 -0
  2. package/.gcloudignore +2 -1
  3. package/.vscode/launch.json +6 -17
  4. package/.vscode/settings.json +31 -2
  5. package/dungeons/media.js +371 -0
  6. package/index.js +353 -1766
  7. package/{components → lib/cli}/cli.js +25 -6
  8. package/lib/cloud-function.js +20 -0
  9. package/lib/core/config-validator.js +248 -0
  10. package/lib/core/context.js +180 -0
  11. package/lib/core/storage.js +268 -0
  12. package/{components → lib/data}/defaults.js +17 -14
  13. package/lib/generators/adspend.js +133 -0
  14. package/lib/generators/events.js +242 -0
  15. package/lib/generators/funnels.js +330 -0
  16. package/lib/generators/mirror.js +168 -0
  17. package/lib/generators/profiles.js +93 -0
  18. package/lib/generators/scd.js +102 -0
  19. package/lib/orchestrators/mixpanel-sender.js +222 -0
  20. package/lib/orchestrators/user-loop.js +194 -0
  21. package/lib/orchestrators/worker-manager.js +200 -0
  22. package/{components → lib/utils}/ai.js +8 -36
  23. package/{components → lib/utils}/chart.js +9 -9
  24. package/{components → lib/utils}/project.js +4 -4
  25. package/{components → lib/utils}/utils.js +35 -23
  26. package/package.json +15 -15
  27. package/scripts/dana.mjs +137 -0
  28. package/scripts/new-dungeon.sh +7 -6
  29. package/scripts/update-deps.sh +2 -1
  30. package/tests/cli.test.js +28 -25
  31. package/tests/e2e.test.js +38 -36
  32. package/tests/int.test.js +151 -56
  33. package/tests/testSoup.mjs +1 -1
  34. package/tests/unit.test.js +15 -14
  35. package/tsconfig.json +1 -1
  36. package/types.d.ts +68 -11
  37. package/vitest.config.js +47 -0
  38. package/log.json +0 -1678
  39. package/tests/jest.config.js +0 -47
  40. /package/{components → lib/utils}/prompt.txt +0 -0
@@ -1,47 +0,0 @@
1
-
2
-
3
- const isDebugMode = process.env.NODE_OPTIONS?.includes('--inspect') || process.env.NODE_OPTIONS?.includes('--inspect-brk');
4
-
5
- /** @type {import('jest').Config} */
6
- const jestConfig = {
7
- verbose: isDebugMode,
8
- watch: false,
9
- projects: [
10
- {
11
- "displayName": "cli",
12
- "testMatch": [
13
- "<rootDir>/tests/cli.test.js"
14
- ],
15
- maxWorkers: 1
16
- },
17
- {
18
- "displayName": "e2e",
19
- "testMatch": [
20
- "<rootDir>/tests/e2e.test.js"
21
- ],
22
- // @ts-ignore
23
- maxWorkers: 1
24
-
25
-
26
- },
27
- {
28
- displayName: "unit",
29
- testMatch: [
30
- "<rootDir>/tests/unit.test.js"
31
- ],
32
- // @ts-ignore
33
- maxWorkers: "50%"
34
- },
35
- {
36
- displayName: "integration",
37
- testMatch: [
38
- "<rootDir>/tests/int.test.js"
39
- ],
40
- // @ts-ignore
41
- maxWorkers: "50%"
42
- },
43
- ],
44
- coverageDirectory: "./tests/coverage",
45
- };
46
-
47
- module.exports = jestConfig;
File without changes