Skip to content

Commit a7ba0bf

Browse files
committed
chore: wip
1 parent e3c0f20 commit a7ba0bf

24 files changed

+15
-130
lines changed

.stacks/core/config/src/defaults.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ import email from '../../../../config/email'
1111
import git from '../../../../config/git'
1212
import hashing from '../../../../config/hashing'
1313
import library from '../../../../config/library'
14+
import queue from '../../../../config/queue'
1415
import payment from '../../../../config/payment'
1516
import notification from '../../../../config/notification'
1617
import storage from '../../../../config/storage'
@@ -32,6 +33,7 @@ export const defaults: ResolvedStacksOptions = {
3233
hashing,
3334
library,
3435
notification,
36+
queue,
3537
payment,
3638
searchEngine,
3739
services,
@@ -53,6 +55,7 @@ export {
5355
hashing,
5456
library,
5557
notification,
58+
queue,
5659
payment,
5760
searchEngine,
5861
services,

.stacks/core/types/src/stacks.ts

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ import type {
1212
LibraryOptions,
1313
NotificationOptions,
1414
PaymentOptions,
15+
QueueOptions,
1516
SearchEngineOptions,
1617
ServicesOptions,
1718
StorageOptions,
@@ -153,6 +154,15 @@ export interface StacksOptions {
153154
*/
154155
payment: Partial<PaymentOptions>
155156

157+
/**
158+
* **Queue Options**
159+
*
160+
* This configuration defines all of your Queue options. Because Stacks is fully-typed,
161+
* you may hover any of the options below and the definitions will be provided. In case
162+
* you have any questions, feel free to reach out via Discord or GitHub Discussions.
163+
*/
164+
queue: Partial<QueueOptions>
165+
156166
/**
157167
* **Search Engine Options**
158168
*

.stacks/playwright.config.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import type { PlaywrightTestConfig } from '@playwright/test'
22
import { devices } from '@playwright/test'
3-
import { testsPath } from '@stacksjs/path'
3+
import { projectPath, testsPath } from '@stacksjs/path'
44

55
/**
66
* Read environment variables from file.
@@ -12,7 +12,7 @@ import { testsPath } from '@stacksjs/path'
1212
* See https://playwright.dev/docs/test-configuration.
1313
*/
1414
const config: PlaywrightTestConfig = {
15-
testDir: './tests/feature',
15+
testDir: projectPath('tests/feature'),
1616
/* Maximum time one test can run for. */
1717
timeout: 30 * 1000,
1818
expect: {

config/app.ts

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,3 @@
1-
import { defineApp } from 'stacks/utils'
2-
import { env } from 'stacks/validation'
3-
41
/**
52
* **Application Configuration**
63
*

config/cache.ts

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,3 @@
1-
import { defineCache } from 'stacks/utils'
2-
import { env } from 'stacks/validation'
3-
41
/**
52
* **Cache Configuration**
63
*

config/cdn.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
import { defineCdn } from 'stacks/utils'
2-
31
/**
42
* **CDN Configuration**
53
*

config/chat.ts

Lines changed: 0 additions & 31 deletions
This file was deleted.

config/cli.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
import { defineCli } from 'stacks/utils'
2-
31
/**
42
* **CLI Configuration**
53
*

config/database.ts

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,3 @@
1-
import { defineDatabase } from 'stacks/utils'
2-
import { env } from 'stacks/validation'
3-
41
/**
52
* **Database Configuration**
63
*

config/deps.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
import { defineDependencies } from 'stacks/utils'
2-
31
/**
42
* **Dependency Manager**
53
*

0 commit comments

Comments
 (0)