@stacksjs/config 0.58.58 → 0.58.60
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.
- package/package.json +1 -1
- package/src/config.ts +1 -1
- package/src/defaults.ts +32 -16
- package/src/overrides.ts +2 -0
package/package.json
CHANGED
package/src/config.ts
CHANGED
package/src/defaults.ts
CHANGED
|
@@ -5,6 +5,7 @@ import type { StacksOptions } from '@stacksjs/types'
|
|
|
5
5
|
|
|
6
6
|
export default {
|
|
7
7
|
ai: {
|
|
8
|
+
deploy: false,
|
|
8
9
|
models: [
|
|
9
10
|
'amazon.titan-embed-text-v1',
|
|
10
11
|
'amazon.titan-text-express-v1',
|
|
@@ -23,15 +24,6 @@ export default {
|
|
|
23
24
|
driver: undefined,
|
|
24
25
|
},
|
|
25
26
|
|
|
26
|
-
api: {
|
|
27
|
-
prefix: 'api',
|
|
28
|
-
description: 'Stacks API',
|
|
29
|
-
prewarm: true,
|
|
30
|
-
memorySize: 512,
|
|
31
|
-
timeout: 30,
|
|
32
|
-
// version: 'v1',
|
|
33
|
-
},
|
|
34
|
-
|
|
35
27
|
app: {
|
|
36
28
|
name: 'Stacks',
|
|
37
29
|
description: 'A Stacks application.',
|
|
@@ -64,6 +56,7 @@ export default {
|
|
|
64
56
|
command: 'my-custom-cli',
|
|
65
57
|
description: 'Stacks is a full-stack framework for TypeScript.',
|
|
66
58
|
source: p.appPath('commands'),
|
|
59
|
+
deploy: false,
|
|
67
60
|
},
|
|
68
61
|
|
|
69
62
|
cache: {
|
|
@@ -76,6 +69,8 @@ export default {
|
|
|
76
69
|
connection: 'default',
|
|
77
70
|
host: 'localhost',
|
|
78
71
|
port: 6379,
|
|
72
|
+
username: '',
|
|
73
|
+
password: '',
|
|
79
74
|
},
|
|
80
75
|
},
|
|
81
76
|
},
|
|
@@ -112,12 +107,23 @@ export default {
|
|
|
112
107
|
headers: [],
|
|
113
108
|
queryStrings: [],
|
|
114
109
|
},
|
|
110
|
+
realtimeLogs: {
|
|
111
|
+
enabled: true,
|
|
112
|
+
samplingRate: 2,
|
|
113
|
+
},
|
|
115
114
|
},
|
|
116
115
|
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
116
|
+
api: {
|
|
117
|
+
deploy: false,
|
|
118
|
+
prefix: 'api',
|
|
119
|
+
description: 'Stacks API',
|
|
120
|
+
prewarm: true,
|
|
121
|
+
memorySize: 512,
|
|
122
|
+
timeout: 30,
|
|
123
|
+
// version: 'v1',
|
|
124
|
+
},
|
|
125
|
+
|
|
126
|
+
fileSystem: false,
|
|
121
127
|
},
|
|
122
128
|
|
|
123
129
|
database: {
|
|
@@ -147,6 +153,7 @@ export default {
|
|
|
147
153
|
title: 'Stacks',
|
|
148
154
|
description: 'Rapid application, cloud & library framework.',
|
|
149
155
|
lastUpdated: true,
|
|
156
|
+
deploy: false,
|
|
150
157
|
|
|
151
158
|
themeConfig: {
|
|
152
159
|
editLink: {
|
|
@@ -174,9 +181,10 @@ export default {
|
|
|
174
181
|
address: 'no-reply@stacksjs.org',
|
|
175
182
|
},
|
|
176
183
|
|
|
184
|
+
mailboxes: [],
|
|
185
|
+
|
|
177
186
|
server: {
|
|
178
187
|
scan: true,
|
|
179
|
-
mailboxes: [],
|
|
180
188
|
},
|
|
181
189
|
},
|
|
182
190
|
|
|
@@ -319,6 +327,12 @@ export default {
|
|
|
319
327
|
},
|
|
320
328
|
},
|
|
321
329
|
|
|
330
|
+
logger: {
|
|
331
|
+
level: 3,
|
|
332
|
+
logFilePath: 'storage/logs/console.log',
|
|
333
|
+
errorsPath: 'storage/logs/errors.log',
|
|
334
|
+
},
|
|
335
|
+
|
|
322
336
|
notification: {
|
|
323
337
|
default: 'email',
|
|
324
338
|
},
|
|
@@ -419,16 +433,18 @@ export default {
|
|
|
419
433
|
|
|
420
434
|
team: {
|
|
421
435
|
name: 'Stacks',
|
|
422
|
-
members:
|
|
436
|
+
members: {
|
|
423
437
|
'Chris Breuer': 'chris@stacksjs.org',
|
|
424
|
-
}
|
|
438
|
+
},
|
|
425
439
|
},
|
|
426
440
|
|
|
427
441
|
ui: {
|
|
428
442
|
shortcuts: [
|
|
429
443
|
['btn', 'inline-flex items-center px-4 py-2 ml-2 border border-transparent shadow-sm text-base font-medium rounded-md text-white bg-indigo-600 hover:bg-indigo-700 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-indigo-500 cursor-pointer'],
|
|
430
444
|
],
|
|
445
|
+
|
|
431
446
|
safelist: 'prose prose-sm m-auto text-left',
|
|
447
|
+
|
|
432
448
|
trigger: ':stx:',
|
|
433
449
|
classPrefix: 'stx-',
|
|
434
450
|
reset: 'tailwind',
|
package/src/overrides.ts
CHANGED
|
@@ -11,6 +11,7 @@ import email from 'config/email'
|
|
|
11
11
|
import git from 'config/git'
|
|
12
12
|
import hashing from 'config/hashing'
|
|
13
13
|
import library from 'config/library'
|
|
14
|
+
import logger from 'config/logger'
|
|
14
15
|
import queue from 'config/queue'
|
|
15
16
|
import payment from 'config/payment'
|
|
16
17
|
import notification from 'config/notification'
|
|
@@ -35,6 +36,7 @@ export default {
|
|
|
35
36
|
git,
|
|
36
37
|
hashing,
|
|
37
38
|
library,
|
|
39
|
+
logger,
|
|
38
40
|
notification,
|
|
39
41
|
queue,
|
|
40
42
|
payment,
|