-
-
Notifications
You must be signed in to change notification settings - Fork 22
Expand file tree
/
Copy pathcommandkit.config.ts
More file actions
30 lines (28 loc) · 729 Bytes
/
commandkit.config.ts
File metadata and controls
30 lines (28 loc) · 729 Bytes
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
import { defineConfig, noBuildOnly } from 'commandkit/config';
import { i18n } from '@commandkit/i18n';
import { devtools } from '@commandkit/devtools';
import { cache } from '@commandkit/cache';
import { ai } from '@commandkit/ai';
import { tasks, setDriver } from '@commandkit/tasks';
import { SQLiteDriver } from '@commandkit/tasks/sqlite';
import { workflow } from '@commandkit/workflow';
noBuildOnly(() => {
setDriver(new SQLiteDriver());
// setDriver(
// new BullMQDriver({
// maxRetriesPerRequest: null,
// }),
// );
})();
export default defineConfig({
plugins: [
i18n(),
devtools(),
cache(),
ai(),
tasks({
initializeDefaultDriver: false,
}),
workflow(),
],
});