@ts-cloud/core 0.5.31 → 0.5.32

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/dist/types.d.ts +12 -3
  2. package/package.json +2 -2
package/dist/types.d.ts CHANGED
@@ -940,11 +940,20 @@ export interface SiteConfig {
940
940
  * @default true
941
941
  */
942
942
  zeroDowntime?: boolean;
943
- /** Laravel queue workers to run for this site (systemd-managed). */
943
+ /**
944
+ * App framework for this site's background work (scheduler + queue workers),
945
+ * selecting how they're invoked (driver-based). Stacks-first: defaults to
946
+ * `'stacks'` (Bun — `buddy schedule:run` / `buddy queue:work`). Set
947
+ * `'laravel'` for PHP/Artisan (`php artisan schedule:run` / `queue:work` /
948
+ * Horizon).
949
+ * @default 'stacks'
950
+ */
951
+ framework?: 'stacks' | 'laravel';
952
+ /** Queue workers to run for this site (systemd-managed; invoked per {@link SiteConfig.framework}). */
944
953
  queues?: QueueWorkerConfig[];
945
954
  /**
946
- * Run the Laravel scheduler for this site
947
- * (`* * * * * php artisan schedule:run`). `true` enables it with defaults;
955
+ * Run the app scheduler for this site every minute (cron → `schedule:run`,
956
+ * invoked per {@link SiteConfig.framework}). `true` enables it with defaults;
948
957
  * pass a {@link SchedulerConfig} to attach heartbeat monitoring.
949
958
  */
950
959
  scheduler?: boolean | SchedulerConfig;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ts-cloud/core",
3
- "version": "0.5.31",
3
+ "version": "0.5.32",
4
4
  "type": "module",
5
5
  "description": "Core CloudFormation generation library for ts-cloud",
6
6
  "author": "Chris Breuer <chris@stacksjs.com>",
@@ -31,7 +31,7 @@
31
31
  "typecheck": "tsc --noEmit"
32
32
  },
33
33
  "dependencies": {
34
- "@ts-cloud/aws-types": "0.5.31"
34
+ "@ts-cloud/aws-types": "0.5.32"
35
35
  },
36
36
  "devDependencies": {
37
37
  "typescript": "^5.9.3"