@stacksjs/config 0.58.73 → 0.59.2
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/dist/config.d.ts +7 -0
- package/dist/defaults.d.ts +343 -0
- package/dist/helpers.d.ts +37 -0
- package/dist/index.d.ts +2 -0
- package/dist/index.js +1890 -0
- package/dist/overrides.d.ts +26 -0
- package/package.json +2 -1
- package/src/config.ts +1 -0
- package/src/defaults.ts +5 -3
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
declare const _default: {
|
|
2
|
+
ai: any;
|
|
3
|
+
app: any;
|
|
4
|
+
cache: any;
|
|
5
|
+
cli: any;
|
|
6
|
+
cloud: any;
|
|
7
|
+
database: any;
|
|
8
|
+
dns: any;
|
|
9
|
+
docs: any;
|
|
10
|
+
email: any;
|
|
11
|
+
git: any;
|
|
12
|
+
hashing: any;
|
|
13
|
+
library: any;
|
|
14
|
+
logger: any;
|
|
15
|
+
notification: any;
|
|
16
|
+
queue: any;
|
|
17
|
+
payment: any;
|
|
18
|
+
ports: any;
|
|
19
|
+
searchEngine: any;
|
|
20
|
+
security: any;
|
|
21
|
+
services: any;
|
|
22
|
+
storage: any;
|
|
23
|
+
team: any;
|
|
24
|
+
ui: any;
|
|
25
|
+
};
|
|
26
|
+
export default _default;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@stacksjs/config",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "0.
|
|
4
|
+
"version": "0.59.2",
|
|
5
5
|
"description": "The Stacks config helper methods.",
|
|
6
6
|
"author": "Chris Breuer",
|
|
7
7
|
"license": "MIT",
|
|
@@ -35,6 +35,7 @@
|
|
|
35
35
|
},
|
|
36
36
|
"files": [
|
|
37
37
|
"README.md",
|
|
38
|
+
"dist",
|
|
38
39
|
"src"
|
|
39
40
|
],
|
|
40
41
|
"scripts": {
|
package/src/config.ts
CHANGED
package/src/defaults.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { commandsPath, projectStoragePath } from '@stacksjs/path'
|
|
2
2
|
import type { StacksOptions } from '@stacksjs/types'
|
|
3
3
|
|
|
4
4
|
// import { userConfig as overrides } from './overrides'
|
|
@@ -44,7 +44,7 @@ export default {
|
|
|
44
44
|
name: 'My Custom CLI',
|
|
45
45
|
command: 'my-custom-cli',
|
|
46
46
|
description: 'Stacks is a full-stack framework for TypeScript.',
|
|
47
|
-
source:
|
|
47
|
+
source: commandsPath(),
|
|
48
48
|
deploy: false,
|
|
49
49
|
},
|
|
50
50
|
|
|
@@ -65,6 +65,8 @@ export default {
|
|
|
65
65
|
},
|
|
66
66
|
|
|
67
67
|
cloud: {
|
|
68
|
+
type: 'serverless',
|
|
69
|
+
|
|
68
70
|
driver: 'aws',
|
|
69
71
|
|
|
70
72
|
storage: {},
|
|
@@ -124,7 +126,7 @@ export default {
|
|
|
124
126
|
|
|
125
127
|
connections: {
|
|
126
128
|
sqlite: {
|
|
127
|
-
database:
|
|
129
|
+
database: projectStoragePath('framework/database/stacks.sqlite'),
|
|
128
130
|
prefix: '',
|
|
129
131
|
},
|
|
130
132
|
},
|