You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat: enhance task driver manager and plugin options
- Added `driver` property to `TaskDriverManager` class for better driver management.
- Introduced `initializeDefaultDriver` option in `TasksPluginOptions` to control default driver initialization.
- Updated documentation to reflect changes in driver setup and options.
- Improved SQLiteDriver with statement caching for better performance.
Copy file name to clipboardExpand all lines: apps/website/docs/guide/17-tasks/01-getting-started.mdx
+3-2Lines changed: 3 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -28,9 +28,10 @@ export default defineConfig({
28
28
});
29
29
```
30
30
31
-
## Setting Up a Driver
31
+
## Setting Up a Driver (optional)
32
32
33
-
Configure a driver before the tasks plugin loads:
33
+
By default, the plugin will initialize the sqlite driver. You can set up a different driver by calling `setDriver` function from the `@commandkit/tasks` package.
34
+
If you want to disable the default driver initialization behavior, you can pass `initializeDefaultDriver: false` to the `tasks()` options in your commandkit config.
Copy file name to clipboardExpand all lines: packages/tasks/README.md
+3-1Lines changed: 3 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -29,7 +29,9 @@ export default defineConfig({
29
29
});
30
30
```
31
31
32
-
### 2. Set up a driver
32
+
### 2. Set up a driver (optional)
33
+
34
+
By default, the plugin will initialize the sqlite driver. You can set up a different driver by calling `setDriver` function from the `@commandkit/tasks` package. If you want to disable the default driver initialization behavior, you can pass `initializeDefaultDriver: false` to the `tasks()` options in your commandkit config.
0 commit comments