make-mp-data 1.5.55 → 2.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/.claude/settings.local.json +20 -0
- package/.gcloudignore +2 -1
- package/.vscode/launch.json +6 -3
- package/.vscode/settings.json +31 -2
- package/dungeons/media.js +371 -0
- package/index.js +354 -1757
- package/{components → lib/cli}/cli.js +21 -6
- package/lib/cloud-function.js +20 -0
- package/lib/core/config-validator.js +248 -0
- package/lib/core/context.js +180 -0
- package/lib/core/storage.js +268 -0
- package/{components → lib/data}/defaults.js +17 -14
- package/lib/generators/adspend.js +133 -0
- package/lib/generators/events.js +242 -0
- package/lib/generators/funnels.js +330 -0
- package/lib/generators/mirror.js +168 -0
- package/lib/generators/profiles.js +93 -0
- package/lib/generators/scd.js +102 -0
- package/lib/orchestrators/mixpanel-sender.js +222 -0
- package/lib/orchestrators/user-loop.js +194 -0
- package/lib/orchestrators/worker-manager.js +200 -0
- package/{components → lib/utils}/ai.js +8 -36
- package/{components → lib/utils}/chart.js +9 -9
- package/{components → lib/utils}/project.js +4 -4
- package/{components → lib/utils}/utils.js +35 -23
- package/package.json +19 -12
- package/scripts/dana.mjs +137 -0
- package/scripts/new-dungeon.sh +7 -6
- package/scripts/update-deps.sh +2 -1
- package/tests/cli.test.js +28 -25
- package/tests/e2e.test.js +38 -36
- package/tests/int.test.js +151 -56
- package/tests/testSoup.mjs +1 -1
- package/tests/unit.test.js +15 -14
- package/tsconfig.json +1 -1
- package/types.d.ts +76 -18
- package/vitest.config.js +47 -0
- package/dungeons/adspend.js +0 -96
- package/dungeons/anon.js +0 -104
- package/dungeons/big.js +0 -224
- package/dungeons/business.js +0 -327
- package/dungeons/complex.js +0 -396
- package/dungeons/foobar.js +0 -241
- package/dungeons/funnels.js +0 -220
- package/dungeons/gaming-experiments.js +0 -323
- package/dungeons/gaming.js +0 -314
- package/dungeons/governance.js +0 -288
- package/dungeons/mirror.js +0 -129
- package/dungeons/sanity.js +0 -118
- package/dungeons/scd.js +0 -205
- package/dungeons/session-replay.js +0 -175
- package/dungeons/simple.js +0 -150
- package/dungeons/userAgent.js +0 -190
- package/log.json +0 -1067
- package/tests/jest.config.js +0 -47
- /package/{components → lib/utils}/prompt.txt +0 -0
package/tests/jest.config.js
DELETED
|
@@ -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
|