@@ -7,16 +7,28 @@ hk = "1.18.1"
77_.path = [" ./node_modules/.bin" ]
88CODE_CMD = " code"
99
10+ # ## Main tasks
11+
1012[tasks .dev ]
1113description = ' Starts the project in watch mode and opens the extension in VSCode'
1214depends = [' dev-extension' , ' dev-webviews' , ' start-vscode' ]
1315
16+ [tasks .check ]
17+ description = " Lint, type-check, and test the project"
18+ depends = [' lint-fix' , ' test' , ' ts-check' , ' docs:extractSettings' ]
19+
20+ [tasks .check-all ]
21+ description = " Lint, type-check, test, build docs, and run e2e tests"
22+ depends = [' lint-fix' , ' test' , ' ts-check' , ' docs:extractSettings' , ' docs:build' , ' e2e-tests' ]
23+
24+ # ####################
25+
1426[tasks ."docs:extractSettings" ]
1527run = ' bun src/extract-settings.mjs'
1628dir = " {{config_root}}/docs"
1729
1830[tasks ."docs:dev" ]
19- alias = ' doc s '
31+ alias = ' docs '
2032description = ' Builds the documentation'
2133run = ' exec node --run dev'
2234dir = " {{config_root}}/docs"
@@ -94,14 +106,6 @@ run = 'node --run test'
94106run = ' node --run e2e-tests'
95107depends = [' install' ]
96108
97- [tasks .check ]
98- description = " Lint, type-check, and test the project"
99- depends = [' lint-fix' , ' test' , ' ts-check' , ' docs:extractSettings' ]
100-
101- [tasks .check-all ]
102- description = " Lint, type-check, test, build docs, and run e2e tests"
103- depends = [' lint-fix' , ' test' , ' ts-check' , ' docs:extractSettings' , ' docs:build' , ' e2e-tests' ]
104-
105109[tasks .e2e-test-action ]
106110tools = { act = ' latest' }
107111run = ' act push -j e2e-tests'
0 commit comments