Repository navigation
Expand file tree
/
Copy pathpackage.json
More file actions
150 lines (150 loc) · 6.78 KB
/
Copy pathpackage.json
File metadata and controls
150 lines (150 loc) · 6.78 KB
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
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
{
"name": "maple",
"private": true,
"workspaces": [
"apps/*",
"packages/*",
"lib/*",
"examples/*"
],
"scripts": {
"build": "turbo build",
"dev": "bun run ./scripts/dev.ts",
"dev:signin": "bun run ./scripts/dev-signin.ts",
"preview:signin": "bun run ./scripts/preview-signin.ts",
"errors:tick": "bun run ./scripts/errors-tick.ts",
"errors:replay": "bun run ./scripts/errors-replay.ts",
"seed:demo": "bun run ./scripts/seed-demo.ts",
"seed:demo:env": "bun run ./scripts/seed-demo/make-env.ts",
"seed:demo:code-review": "bun run ./scripts/seed-demo/code-review.ts",
"prepare": "effect-tsgo unpatch --no-typescript --oxlint && effect-tsgo patch --no-typescript --oxlint",
"docker:build": "COMPOSE_PARALLEL_LIMIT=1 docker compose build",
"docker:up": "COMPOSE_PARALLEL_LIMIT=1 docker compose up --build",
"db:up": "docker compose up -d postgres electric",
"ch:up": "docker compose -f docker-compose.development.yml up -d clickhouse",
"ch:down": "docker compose -f docker-compose.development.yml stop clickhouse",
"bench:queries": "bun apps/api/scripts/bench-queries.ts",
"ch:test": "CLICKHOUSE_E2E=1 CLICKHOUSE_E2E_URL=http://127.0.0.1:8123 bun run --cwd apps/api test scripts/query-bench/catalog.clickhouse.e2e.test.ts && CLICKHOUSE_E2E=1 CLICKHOUSE_E2E_URL=http://127.0.0.1:8123 bun run --cwd packages/backend test src/services/warehouse/WarehouseQueryService.clickhouse.e2e.test.ts src/services/warehouse/web-analytics-parity.clickhouse.e2e.test.ts",
"db:migrate:local": "DATABASE_URL=postgres://maple:maple@localhost:5499/maple bun run --cwd packages/db db:migrate",
"backup:restore-test": "bun run --cwd packages/db db:restore-test",
"format": "oxfmt",
"format:check": "oxfmt --check",
"lint": "bun run lint:core && bun run lint:foldkit",
"lint:core": "oxlint -c .oxlintrc.effect.json --quiet --ignore-pattern 'apps/web/**' --ignore-pattern 'apps/local-ui/**' alchemy.run.ts scripts apps packages lib examples",
"lint:foldkit": "oxlint -c .oxlintrc.effect.json --quiet apps/web && oxlint -c .oxlintrc.effect.json --quiet apps/local-ui",
"lint:audit": "oxlint -c .oxlintrc.effect.json alchemy.run.ts scripts apps packages lib examples",
"lint:fix": "oxlint -c .oxlintrc.effect.json --fix alchemy.run.ts scripts apps packages lib examples",
"alchemy:build-deps": "turbo build --filter=@maple-dev/effect-sdk --filter=@maple-dev/alchemy --filter=@maple-dev/browser && bun run --cwd apps/scraper bundle",
"alchemy:deploy:prd": "bun run alchemy:build-deps && alchemy deploy --yes --adopt --stage ${MAPLE_STAGE:-prd}",
"alchemy:deploy:pr": "bun run alchemy:build-deps && alchemy deploy --yes --adopt --stage pr-${PR_NUMBER}",
"alchemy:destroy:pr": "bun run alchemy:build-deps && alchemy destroy --yes --stage pr-${PR_NUMBER}",
"test": "turbo test",
"changeset": "changeset",
"changeset:version": "changeset version && bun run ./scripts/sync-sdk-versions.ts && bun install --lockfile-only",
"changeset:publish": "bun run ./scripts/publish-packages.ts",
"tinybird:manifest": "bun run ./scripts/generate-tinybird-project-manifest.ts",
"tinybird:manifest:check": "bun run ./scripts/generate-tinybird-project-manifest.ts --check",
"tinybird:deploy": "bun run ./scripts/tinybird-deploy.ts",
"tinybird:datafiles": "bun run ./scripts/write-tinybird-datafiles.ts",
"clickhouse:schema": "bun run ./scripts/generate-clickhouse-schema.ts && bun run ./scripts/generate-clickhouse-schema-sql.ts && bun run ./scripts/generate-clickhouse-insert-mappings.ts && bun run ./scripts/lint-clickhouse-schema.ts",
"clickhouse:schema:check": "bun run ./scripts/generate-clickhouse-schema.ts --check && bun run ./scripts/generate-clickhouse-schema-sql.ts --check && bun run ./scripts/generate-clickhouse-insert-mappings.ts --check && bun run ./scripts/lint-clickhouse-schema.ts && bun run ./scripts/check-local-schema-manifest.ts",
"local-schema:bump": "bun run ./scripts/bump-local-schema.ts",
"clickhouse:schema:lint": "bun run ./scripts/lint-clickhouse-schema.ts",
"check:tokens": "bun run ./scripts/check-token-drift.ts",
"ios:openapi": "bun run ./scripts/generate-ios-openapi.ts",
"ios:openapi:check": "bun run ./scripts/generate-ios-openapi.ts --check",
"knip": "bun run --cwd apps/landing sync:i18n && knip",
"knip:fix": "bun run --cwd apps/landing sync:i18n && knip --fix --allow-remove-files",
"typecheck": "turbo typecheck && tsrs -p tsconfig.alchemy.json"
},
"dependencies": {
"pg": "^8.23.1"
},
"devDependencies": {
"@changesets/cli": "3.0.3",
"@cloudflare/workers-types": "catalog:alchemy",
"@effect/platform-node": "catalog:effect",
"@effect/sql-pg": "4.0.5",
"@effect/tsgo": "0.48.1",
"@effect/vitest": "catalog:effect",
"@maple-dev/effect-orm": "0.5.0",
"@maple/alchemy-portless": "workspace:*",
"@maple/db": "workspace:*",
"@maple/domain": "workspace:*",
"@maple/infra": "workspace:*",
"@oxlint/plugins": "1.86.0",
"@types/node": "catalog:tooling",
"alchemy": "catalog:alchemy",
"effect": "catalog:effect",
"knip": "^6.39.0",
"oxfmt": "^0.72.0",
"oxlint": "1.86.0",
"oxlint-tsgolint": "7.0.2003",
"portless": "^0.15.7",
"tsrs": "0.15.0-ts7.1.0-dev.20260929",
"turbo": "^2.11.7",
"typescript": "catalog:tooling",
"vitest": "catalog:"
},
"overrides": {
"@effect/platform-browser": "4.0.5",
"@effect/sql-d1": "4.0.5",
"@effect/sql-sqlite-do": "4.0.5",
"workerd": "1.20261002.1"
},
"packageManager": "bun@1.4.0",
"catalog": {
"vite": "^8.3.2",
"vitest": "^5.0.3",
"@vitest/browser-playwright": "^5.0.3",
"playwright": "^1.63.0"
},
"catalogs": {
"alchemy": {
"@cloudflare/workers-types": "5.20261005.1",
"alchemy": "2.0.0-beta.83"
},
"charts": {
"@tanstack/charts": "1.0.0",
"@tanstack/charts-scales": "1.0.0"
},
"effect": {
"@effect/ai-openai-compat": "4.0.5",
"@effect/ai-openrouter": "4.0.5",
"@effect/language-service": "^0.87.4",
"@effect/platform-bun": "4.0.5",
"@effect/platform-node": "4.0.5",
"@effect/vitest": "4.0.5",
"effect": "4.0.5"
},
"react": {
"@types/react": "^19.3.0",
"@types/react-dom": "^19.3.0",
"react": "^19.3.0",
"react-dom": "^19.3.0"
},
"tailwind": {
"@tailwindcss/vite": "^4.3.3",
"tailwind-merge": "^3.7.0",
"tailwindcss": "^4.3.3",
"tw-animate-css": "^1.4.0"
},
"tooling": {
"@types/node": "^24.19.1",
"typescript": "^7.0.2"
},
"ui": {
"@base-ui/react": "^1.8.0",
"@xyflow/react": "^12.12.0",
"class-variance-authority": "^0.7.1",
"clsx": "^2.1.1"
}
},
"patchedDependencies": {
"@effect/ai-openrouter@4.0.5": "patches/@effect%2Fai-openrouter@4.0.5.patch",
"@effect/vitest@4.0.5": "patches/@effect%2Fvitest@4.0.5.patch",
"effect@4.0.5": "patches/effect@4.0.5.patch",
"@cloudflare/workers-types@5.20261005.1": "patches/@cloudflare%2Fworkers-types@5.20261005.1.patch",
"alchemy@2.0.0-beta.83": "patches/alchemy@2.0.0-beta.83.patch"
}
}