forked from kindfi-org/kindfi
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathTaskfile.yml
88 lines (73 loc) · 2.25 KB
/
Taskfile.yml
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
version: "3"
tasks:
# ? Task to install dependencies for all packages
install:
desc: "Install dependencies for all packages"
cmds:
- bun run init
silent: true
# ? Task to clean node_modules in all packages
clean:
desc: "Clean node_modules in all packages"
cmds:
- bun run clean
# ? Task to format and lint the codebase
lint:
desc: "Format and lint the codebase"
cmds:
- bun run format-and-lint
# ? Task to fix formatting and linting issues
lint:fix:
desc: "Fix formatting and linting issues"
cmds:
- bun run format-and-lint:fix
# ? Task to run the development server for the web app
web:dev:
desc: "Run the development server for the web app"
cmds:
- cd apps/web && bun dev
# ? Task to build the web app
web:build:
desc: "Build the web app"
cmds:
- cd apps/web && bun run build
# ? Task to start the production server for the web app
web:start:
desc: "Start the production server for the web app"
cmds:
- cd apps/web && bun run start
# ? Task to generate types and schemas for the Supabase service
supabase:gen:
desc: "Generate types and schemas for the Supabase service"
cmds:
- cd services/supabase && bun run gen
# ? Task to generate types and schemas for the Local Supabase service
supabase:gen-local:
desc: "Generate types and schemas for the Local Supabase service"
cmds:
- cd services/supabase && bun run gen:local
# ? Indexer tasks
indexer:build:
desc: "Build the Subquery Indexer"
cmds:
- cd apps/indexer && bun run build
indexer:build-dev:
desc: "Build the Subquery Indexer"
cmds:
- cd apps/indexer && bun run build:develop
indexer:codegen:
desc: "Generate code for the Subquery Indexer"
cmds:
- cd apps/indexer && bun run codegen
indexer:prepack:
desc: "Prepare the Subquery Indexer for packaging"
cmds:
- cd apps/indexer && bun preapack
indexer:dev:
desc: "Run the Subquery Indexer in development mode"
cmds:
- cd apps/indexer && bun dev
indexer:start-docker:
desc: "Start the Subquery Indexer in a Docker container with an indexer, PostgeSQL DB, and a query service"
cmds:
- cd apps/indexer && bun start:docker