forked from kindfi-org/kindfi
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathTaskfile.yml
More file actions
120 lines (99 loc) · 2.98 KB
/
Taskfile.yml
File metadata and controls
120 lines (99 loc) · 2.98 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
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 prepack
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, PostgreSQL DB, and a query service"
cmds:
- cd apps/indexer && bun start:docker
# ? Academy Web App tasks
academy:dev:
desc: "Run the development server for the Academy web app"
cmds:
- cd apps/academy-wep && bun dev
academy:build:
desc: "Build the Academy web app"
cmds:
- cd apps/academy-wep && bun run build
academy:start:
desc: "Start the production server for the Academy web app"
cmds:
- cd apps/academy-wep && bun run start
academy:test:
desc: "Run tests for the Academy web app"
cmds:
- cd apps/academy-wep && bun test
# ? AI Service tasks
ai:dev:
desc: "Run the AI service in development mode"
cmds:
- cd services/ai && bun start
ai:test:
desc: "Run tests for the AI service"
cmds:
- cd services/ai && bun test