@stacksjs/config 0.50.0 → 0.51.0
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/index.d.ts +52 -34
- package/dist/index.mjs +160 -148
- package/package.json +8 -8
package/dist/index.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { CliOptions, AppOptions, DebugOptions, DeployOptions, Events,
|
|
1
|
+
import { CliOptions, AppOptions, DebugOptions, DeployOptions, Events, GitOptions, HashingOptions, LibraryOptions, NotificationOptions, SearchEngineOptions, UiOptions, DocsConfig } from '@stacksjs/types';
|
|
2
2
|
|
|
3
3
|
type Config = 'app' | 'cache' | 'database' | 'debug' | 'deploy' | 'docs' | 'git' | 'hashing' | 'library' | 'notification' | 'searchEngine' | 'services' | 'storage' | 'ui';
|
|
4
|
-
declare function config(key?: Config, fallback?: any): any;
|
|
4
|
+
declare function config$f(key?: Config, fallback?: any): any;
|
|
5
5
|
declare function env(key: string, fallback: any): any;
|
|
6
6
|
/**
|
|
7
7
|
* Determines the level of debugging.
|
|
@@ -16,7 +16,7 @@ declare function determineDebugMode(options?: CliOptions): boolean;
|
|
|
16
16
|
* you may hover any of the options below and the definitions will be provided. In case
|
|
17
17
|
* you have any questions, feel free to reach out via Discord or GitHub Discussions.
|
|
18
18
|
*/
|
|
19
|
-
declare const
|
|
19
|
+
declare const config$e: AppOptions;
|
|
20
20
|
|
|
21
21
|
/**
|
|
22
22
|
* **Cache Options**
|
|
@@ -25,7 +25,7 @@ declare const app: AppOptions;
|
|
|
25
25
|
* you may hover any of the options below and the definitions will be provided. In case
|
|
26
26
|
* you have any questions, feel free to reach out via Discord or GitHub Discussions.
|
|
27
27
|
*/
|
|
28
|
-
declare const
|
|
28
|
+
declare const config$d: {
|
|
29
29
|
driver: any;
|
|
30
30
|
redis: {
|
|
31
31
|
connection: string;
|
|
@@ -58,7 +58,7 @@ declare const cache: {
|
|
|
58
58
|
* you may hover any of the options below and the definitions will be provided. In case
|
|
59
59
|
* you have any questions, feel free to reach out via Discord or GitHub Discussions.
|
|
60
60
|
*/
|
|
61
|
-
declare const
|
|
61
|
+
declare const config$c: {
|
|
62
62
|
driver: string;
|
|
63
63
|
};
|
|
64
64
|
|
|
@@ -69,7 +69,7 @@ declare const database: {
|
|
|
69
69
|
* you may hover any of the options below and the definitions will be provided. In case
|
|
70
70
|
* you have any questions, feel free to reach out via Discord or GitHub Discussions.
|
|
71
71
|
*/
|
|
72
|
-
declare const
|
|
72
|
+
declare const config$b: DebugOptions;
|
|
73
73
|
|
|
74
74
|
/**
|
|
75
75
|
* **Deployment Options**
|
|
@@ -78,31 +78,16 @@ declare const debug: DebugOptions;
|
|
|
78
78
|
* you may hover any of the options below and the definitions will be provided. In case
|
|
79
79
|
* you have any questions, feel free to reach out via Discord or GitHub Discussions.
|
|
80
80
|
*/
|
|
81
|
-
declare const
|
|
81
|
+
declare const config$a: DeployOptions;
|
|
82
82
|
|
|
83
83
|
/**
|
|
84
84
|
* **Events**
|
|
85
85
|
*
|
|
86
|
-
* This configuration defines all of your events.
|
|
87
|
-
*
|
|
86
|
+
* This configuration defines all of your events. Think of this as your Events type definitions:
|
|
87
|
+
* first, pick an event name and then define it with its return type. In case you
|
|
88
88
|
* have any questions, feel free to reach out via Discord or GitHub Discussions.
|
|
89
89
|
*/
|
|
90
|
-
declare const
|
|
91
|
-
|
|
92
|
-
/**
|
|
93
|
-
* **Documentation Options**
|
|
94
|
-
*
|
|
95
|
-
* This configuration defines all of your documentation options. Because Stacks is full-typed,
|
|
96
|
-
* you may hover any of the options below and the definitions will be provided. In case
|
|
97
|
-
* you have any questions, feel free to reach out via Discord or GitHub Discussions.
|
|
98
|
-
*/
|
|
99
|
-
declare const _default: DocsConfig;
|
|
100
|
-
|
|
101
|
-
declare namespace docs {
|
|
102
|
-
export {
|
|
103
|
-
_default as default,
|
|
104
|
-
};
|
|
105
|
-
}
|
|
90
|
+
declare const config$9: Events;
|
|
106
91
|
|
|
107
92
|
/**
|
|
108
93
|
* **Git Options**
|
|
@@ -111,9 +96,9 @@ declare namespace docs {
|
|
|
111
96
|
* hover any of the options below and the definitions will be provided. In case you
|
|
112
97
|
* have any questions, feel free to reach out via Discord or GitHub Discussions.
|
|
113
98
|
*/
|
|
114
|
-
declare const
|
|
99
|
+
declare const config$8: GitOptions;
|
|
115
100
|
|
|
116
|
-
declare const
|
|
101
|
+
declare const config$7: HashingOptions;
|
|
117
102
|
|
|
118
103
|
/**
|
|
119
104
|
* **Library Options**
|
|
@@ -122,7 +107,25 @@ declare const hashing: HashingOptions;
|
|
|
122
107
|
* may hover any of the options below and the definitions will be provided. In case you
|
|
123
108
|
* have any questions, feel free to reach out via Discord or GitHub Discussions.
|
|
124
109
|
*/
|
|
125
|
-
declare const
|
|
110
|
+
declare const config$6: LibraryOptions;
|
|
111
|
+
|
|
112
|
+
/**
|
|
113
|
+
* **Debug Options**
|
|
114
|
+
*
|
|
115
|
+
* This configuration defines all of your database options. Because Stacks is full-typed,
|
|
116
|
+
* you may hover any of the options below and the definitions will be provided. In case
|
|
117
|
+
* you have any questions, feel free to reach out via Discord or GitHub Discussions.
|
|
118
|
+
*/
|
|
119
|
+
declare const config$5: {
|
|
120
|
+
onboarding: {
|
|
121
|
+
path: string;
|
|
122
|
+
pages: never[];
|
|
123
|
+
};
|
|
124
|
+
settings: {
|
|
125
|
+
path: string;
|
|
126
|
+
pages: never[];
|
|
127
|
+
};
|
|
128
|
+
};
|
|
126
129
|
|
|
127
130
|
/**
|
|
128
131
|
* **Notification Options**
|
|
@@ -131,7 +134,7 @@ declare const library: LibraryOptions;
|
|
|
131
134
|
* you may hover any of the options below and the definitions will be provided. In case
|
|
132
135
|
* you have any questions, feel free to reach out via Discord or GitHub Discussions.
|
|
133
136
|
*/
|
|
134
|
-
declare const
|
|
137
|
+
declare const config$4: NotificationOptions;
|
|
135
138
|
|
|
136
139
|
/**
|
|
137
140
|
* **Search Engine Options**
|
|
@@ -140,7 +143,7 @@ declare const notification: NotificationOptions;
|
|
|
140
143
|
* you may hover any of the options below and the definitions will be provided. In case
|
|
141
144
|
* you have any questions, feel free to reach out via Discord or GitHub Discussions.
|
|
142
145
|
*/
|
|
143
|
-
declare const
|
|
146
|
+
declare const config$3: SearchEngineOptions;
|
|
144
147
|
|
|
145
148
|
/**
|
|
146
149
|
* **Services**
|
|
@@ -149,7 +152,7 @@ declare const searchEngine: SearchEngineOptions;
|
|
|
149
152
|
* hover any of the options below and the definitions will be provided. In case you
|
|
150
153
|
* have any questions, feel free to reach out via Discord or GitHub Discussions.
|
|
151
154
|
*/
|
|
152
|
-
declare const
|
|
155
|
+
declare const config$2: {
|
|
153
156
|
algolia: {
|
|
154
157
|
appId: string;
|
|
155
158
|
apiKey: string;
|
|
@@ -188,7 +191,7 @@ declare const services: {
|
|
|
188
191
|
* you may hover any of the options below and the definitions will be provided. In case
|
|
189
192
|
* you have any questions, feel free to reach out via Discord or GitHub Discussions.
|
|
190
193
|
*/
|
|
191
|
-
declare const
|
|
194
|
+
declare const config$1: {
|
|
192
195
|
driver: string;
|
|
193
196
|
};
|
|
194
197
|
|
|
@@ -199,6 +202,21 @@ declare const storage: {
|
|
|
199
202
|
* may hover any of the options below and the definitions will be provided. In case you
|
|
200
203
|
* have any questions, feel free to reach out via Discord or GitHub Discussions.
|
|
201
204
|
*/
|
|
202
|
-
declare const
|
|
205
|
+
declare const config: UiOptions;
|
|
206
|
+
|
|
207
|
+
/**
|
|
208
|
+
* **Documentation Options**
|
|
209
|
+
*
|
|
210
|
+
* This configuration defines all of your documentation options. Because Stacks is full-typed,
|
|
211
|
+
* you may hover any of the options below and the definitions will be provided. In case
|
|
212
|
+
* you have any questions, feel free to reach out via Discord or GitHub Discussions.
|
|
213
|
+
*/
|
|
214
|
+
declare const _default: DocsConfig;
|
|
215
|
+
|
|
216
|
+
declare namespace docs {
|
|
217
|
+
export {
|
|
218
|
+
_default as default,
|
|
219
|
+
};
|
|
220
|
+
}
|
|
203
221
|
|
|
204
|
-
export { app, cache, config, database, debug, deploy, determineDebugMode, docs, env, events, git, hashing, library, notification, searchEngine, services, storage, ui };
|
|
222
|
+
export { config$e as app, config$d as cache, config$f as config, config$c as database, config$b as debug, config$a as deploy, determineDebugMode, docs, env, config$9 as events, config$8 as git, config$7 as hashing, config$6 as library, config$4 as notification, config$5 as page, config$3 as searchEngine, config$2 as services, config$1 as storage, config as ui };
|
package/dist/index.mjs
CHANGED
|
@@ -3,41 +3,42 @@ import { frameworkPath } from '@stacksjs/path';
|
|
|
3
3
|
|
|
4
4
|
const c = {
|
|
5
5
|
__proto__: null,
|
|
6
|
-
get app () { return
|
|
7
|
-
get cache () { return
|
|
8
|
-
get config () { return config; },
|
|
9
|
-
get database () { return
|
|
10
|
-
get debug () { return
|
|
11
|
-
get deploy () { return
|
|
6
|
+
get app () { return config$e; },
|
|
7
|
+
get cache () { return config$d; },
|
|
8
|
+
get config () { return config$f; },
|
|
9
|
+
get database () { return config$c; },
|
|
10
|
+
get debug () { return config$b; },
|
|
11
|
+
get deploy () { return config$a; },
|
|
12
12
|
get determineDebugMode () { return determineDebugMode; },
|
|
13
13
|
get docs () { return docs$1; },
|
|
14
14
|
get env () { return env; },
|
|
15
|
-
get events () { return
|
|
16
|
-
get git () { return
|
|
17
|
-
get hashing () { return
|
|
18
|
-
get library () { return
|
|
19
|
-
get notification () { return
|
|
20
|
-
get
|
|
21
|
-
get
|
|
22
|
-
get
|
|
23
|
-
get
|
|
15
|
+
get events () { return config$9; },
|
|
16
|
+
get git () { return config$8; },
|
|
17
|
+
get hashing () { return config$7; },
|
|
18
|
+
get library () { return config$6; },
|
|
19
|
+
get notification () { return config$4; },
|
|
20
|
+
get page () { return config$5; },
|
|
21
|
+
get searchEngine () { return config$3; },
|
|
22
|
+
get services () { return config$2; },
|
|
23
|
+
get storage () { return config$1; },
|
|
24
|
+
get ui () { return config; }
|
|
24
25
|
};
|
|
25
26
|
|
|
26
|
-
function config(key, fallback) {
|
|
27
|
+
function config$f(key, fallback) {
|
|
27
28
|
return key ? c[key] : fallback;
|
|
28
29
|
}
|
|
29
30
|
function env(key, fallback) {
|
|
30
31
|
return fallback;
|
|
31
32
|
}
|
|
32
33
|
function determineDebugMode(options) {
|
|
33
|
-
if (options?.
|
|
34
|
+
if (options?.verbose === true)
|
|
34
35
|
return true;
|
|
35
|
-
if (
|
|
36
|
+
if (config$e.debug === true)
|
|
36
37
|
return true;
|
|
37
38
|
return false;
|
|
38
39
|
}
|
|
39
40
|
|
|
40
|
-
const
|
|
41
|
+
const config$e = {
|
|
41
42
|
name: env$1("APP_NAME", "Stacks"),
|
|
42
43
|
env: env$1("APP_ENV", "local"),
|
|
43
44
|
key: env$1("APP_KEY", ""),
|
|
@@ -51,7 +52,7 @@ const app = {
|
|
|
51
52
|
editor: "vscode"
|
|
52
53
|
};
|
|
53
54
|
|
|
54
|
-
const
|
|
55
|
+
const config$d = {
|
|
55
56
|
driver: env$1("CACHE_DRIVER", "redis"),
|
|
56
57
|
redis: {
|
|
57
58
|
connection: "cache",
|
|
@@ -82,141 +83,25 @@ const cache = {
|
|
|
82
83
|
}
|
|
83
84
|
};
|
|
84
85
|
|
|
85
|
-
const
|
|
86
|
+
const config$c = {
|
|
86
87
|
driver: "planetscale"
|
|
87
88
|
};
|
|
88
89
|
|
|
89
|
-
const
|
|
90
|
+
const config$b = {
|
|
90
91
|
enabled: true,
|
|
91
92
|
host: "localhost",
|
|
92
93
|
port: 23517
|
|
93
94
|
};
|
|
94
95
|
|
|
95
|
-
const
|
|
96
|
+
const config$a = {
|
|
96
97
|
driver: "netlify"
|
|
97
98
|
};
|
|
98
99
|
|
|
99
|
-
const
|
|
100
|
+
const config$9 = {
|
|
100
101
|
// 'user:registered': User,
|
|
101
102
|
};
|
|
102
103
|
|
|
103
|
-
const
|
|
104
|
-
algolia: {
|
|
105
|
-
appId: "",
|
|
106
|
-
apiKey: "",
|
|
107
|
-
indexName: ""
|
|
108
|
-
},
|
|
109
|
-
meilisearch: {
|
|
110
|
-
appId: "",
|
|
111
|
-
apiKey: "",
|
|
112
|
-
indexName: ""
|
|
113
|
-
},
|
|
114
|
-
stripe: {
|
|
115
|
-
appId: "",
|
|
116
|
-
apiKey: ""
|
|
117
|
-
},
|
|
118
|
-
planetscale: {
|
|
119
|
-
appId: "",
|
|
120
|
-
apiKey: ""
|
|
121
|
-
},
|
|
122
|
-
supabase: {
|
|
123
|
-
appId: "",
|
|
124
|
-
apiKey: ""
|
|
125
|
-
},
|
|
126
|
-
aws: {
|
|
127
|
-
appId: "",
|
|
128
|
-
apiKey: ""
|
|
129
|
-
},
|
|
130
|
-
novu: {
|
|
131
|
-
key: env$1("NOVU_API_KEY", "test-key")
|
|
132
|
-
}
|
|
133
|
-
};
|
|
134
|
-
|
|
135
|
-
const docs = {
|
|
136
|
-
outDir: frameworkPath("docs/dist"),
|
|
137
|
-
lang: "en-US",
|
|
138
|
-
title: "Stacks",
|
|
139
|
-
description: "Composability-First. UI/FX Framework.",
|
|
140
|
-
lastUpdated: true,
|
|
141
|
-
themeConfig: {
|
|
142
|
-
nav: nav(),
|
|
143
|
-
sidebar: {
|
|
144
|
-
"/guide/": sidebarGuide()
|
|
145
|
-
},
|
|
146
|
-
editLink: {
|
|
147
|
-
pattern: "https://github.com/stacksjs/stacks/edit/main/apps/docs/docs/:path",
|
|
148
|
-
text: "Edit this page on GitHub"
|
|
149
|
-
},
|
|
150
|
-
socialLinks: [
|
|
151
|
-
{ icon: "twitter", link: "https://twitter.com/stacksjs" },
|
|
152
|
-
{ icon: "github", link: "https://github.com/stacksjs/stacks" },
|
|
153
|
-
{ icon: "discord", link: "https://twitter.com/stacksjs" }
|
|
154
|
-
],
|
|
155
|
-
footer: {
|
|
156
|
-
message: "Released under the MIT License.",
|
|
157
|
-
copyright: "Copyright \xA9 2022-present Open Web Foundation"
|
|
158
|
-
},
|
|
159
|
-
algolia: services.algolia,
|
|
160
|
-
carbonAds: {
|
|
161
|
-
code: "",
|
|
162
|
-
placement: ""
|
|
163
|
-
}
|
|
164
|
-
}
|
|
165
|
-
};
|
|
166
|
-
function nav() {
|
|
167
|
-
return [
|
|
168
|
-
{ text: "Config", link: "/config", activeMatch: "/config" },
|
|
169
|
-
{
|
|
170
|
-
text: "Changelog",
|
|
171
|
-
link: "https://github.com/stacksjs/stacks/blob/main/CHANGELOG.md"
|
|
172
|
-
},
|
|
173
|
-
{ text: "Blog", link: "https://updates.ow3.org" }
|
|
174
|
-
];
|
|
175
|
-
}
|
|
176
|
-
function sidebarGuide() {
|
|
177
|
-
return [
|
|
178
|
-
{
|
|
179
|
-
text: "Introduction",
|
|
180
|
-
collapsible: true,
|
|
181
|
-
items: [
|
|
182
|
-
{ text: "What is Stacks?", link: "/guide/what-is-stacks" },
|
|
183
|
-
{ text: "Getting Started", link: "/guide/getting-started" },
|
|
184
|
-
{ text: "Configuration", link: "/guide/config" }
|
|
185
|
-
]
|
|
186
|
-
},
|
|
187
|
-
{
|
|
188
|
-
text: "Digging Deeper",
|
|
189
|
-
collapsible: true,
|
|
190
|
-
items: [
|
|
191
|
-
{ text: "How To?", link: "/guide/stacks" },
|
|
192
|
-
{ text: "Workflows / CI", link: "/guide/ci" },
|
|
193
|
-
{ text: "VS Code", link: "/guide/vs-code" },
|
|
194
|
-
{ text: "Apps", link: "/guide/apps" },
|
|
195
|
-
{ text: "Examples", link: "/guide/examples" },
|
|
196
|
-
{ text: "Packages", link: "/guide/packages" },
|
|
197
|
-
{ text: "Testing", link: "/guide/testing" },
|
|
198
|
-
{ text: "Single File Components", link: "/guide/sfcs" }
|
|
199
|
-
]
|
|
200
|
-
},
|
|
201
|
-
{
|
|
202
|
-
text: "Starters",
|
|
203
|
-
collapsible: true,
|
|
204
|
-
items: [
|
|
205
|
-
{ text: "Vue Starter", link: "/starter/vue" },
|
|
206
|
-
{ text: "Web Component Starter", link: "/starter/web-components" },
|
|
207
|
-
{ text: "Composable Starter", link: "/starter/web-components" },
|
|
208
|
-
{ text: "TypeScript Starter", link: "/starter/web-components" }
|
|
209
|
-
]
|
|
210
|
-
}
|
|
211
|
-
];
|
|
212
|
-
}
|
|
213
|
-
|
|
214
|
-
const docs$1 = {
|
|
215
|
-
__proto__: null,
|
|
216
|
-
default: docs
|
|
217
|
-
};
|
|
218
|
-
|
|
219
|
-
const git = {
|
|
104
|
+
const config$8 = {
|
|
220
105
|
hooks: {
|
|
221
106
|
"pre-commit": "lint-staged"
|
|
222
107
|
},
|
|
@@ -288,7 +173,7 @@ const git = {
|
|
|
288
173
|
]
|
|
289
174
|
};
|
|
290
175
|
|
|
291
|
-
const
|
|
176
|
+
const config$7 = {
|
|
292
177
|
driver: "bcrypt",
|
|
293
178
|
bcrypt: {
|
|
294
179
|
rounds: 10
|
|
@@ -300,7 +185,7 @@ const hashing = {
|
|
|
300
185
|
}
|
|
301
186
|
};
|
|
302
187
|
|
|
303
|
-
const
|
|
188
|
+
const config$6 = {
|
|
304
189
|
name: "hello-world",
|
|
305
190
|
parentName: "@stacksjs",
|
|
306
191
|
repository: "stacksjs/stacks",
|
|
@@ -347,7 +232,18 @@ const library = {
|
|
|
347
232
|
}
|
|
348
233
|
};
|
|
349
234
|
|
|
350
|
-
const
|
|
235
|
+
const config$5 = {
|
|
236
|
+
onboarding: {
|
|
237
|
+
path: "pages/dashboard/onboarding",
|
|
238
|
+
pages: []
|
|
239
|
+
},
|
|
240
|
+
settings: {
|
|
241
|
+
path: "pages/dashboard/settings",
|
|
242
|
+
pages: []
|
|
243
|
+
}
|
|
244
|
+
};
|
|
245
|
+
|
|
246
|
+
const config$4 = {
|
|
351
247
|
type: env$1("NOTIFICATION_TYPE", "email"),
|
|
352
248
|
driver: env$1("NOTIFICATION_DRIVER", "sendgrid"),
|
|
353
249
|
email: {
|
|
@@ -453,7 +349,7 @@ const notification = {
|
|
|
453
349
|
}
|
|
454
350
|
};
|
|
455
351
|
|
|
456
|
-
const
|
|
352
|
+
const config$3 = {
|
|
457
353
|
driver: "meilisearch",
|
|
458
354
|
meilisearch: {
|
|
459
355
|
host: "",
|
|
@@ -461,11 +357,43 @@ const searchEngine = {
|
|
|
461
357
|
}
|
|
462
358
|
};
|
|
463
359
|
|
|
464
|
-
const
|
|
360
|
+
const config$2 = {
|
|
361
|
+
algolia: {
|
|
362
|
+
appId: "",
|
|
363
|
+
apiKey: "",
|
|
364
|
+
indexName: ""
|
|
365
|
+
},
|
|
366
|
+
meilisearch: {
|
|
367
|
+
appId: "",
|
|
368
|
+
apiKey: "",
|
|
369
|
+
indexName: ""
|
|
370
|
+
},
|
|
371
|
+
stripe: {
|
|
372
|
+
appId: "",
|
|
373
|
+
apiKey: ""
|
|
374
|
+
},
|
|
375
|
+
planetscale: {
|
|
376
|
+
appId: "",
|
|
377
|
+
apiKey: ""
|
|
378
|
+
},
|
|
379
|
+
supabase: {
|
|
380
|
+
appId: "",
|
|
381
|
+
apiKey: ""
|
|
382
|
+
},
|
|
383
|
+
aws: {
|
|
384
|
+
appId: "",
|
|
385
|
+
apiKey: ""
|
|
386
|
+
},
|
|
387
|
+
novu: {
|
|
388
|
+
key: env$1("NOVU_API_KEY", "test-key")
|
|
389
|
+
}
|
|
390
|
+
};
|
|
391
|
+
|
|
392
|
+
const config$1 = {
|
|
465
393
|
driver: "s3"
|
|
466
394
|
};
|
|
467
395
|
|
|
468
|
-
const
|
|
396
|
+
const config = {
|
|
469
397
|
shortcuts: [
|
|
470
398
|
["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"]
|
|
471
399
|
],
|
|
@@ -494,4 +422,88 @@ const ui = {
|
|
|
494
422
|
}
|
|
495
423
|
};
|
|
496
424
|
|
|
497
|
-
|
|
425
|
+
const docs = {
|
|
426
|
+
outDir: frameworkPath("docs/dist"),
|
|
427
|
+
lang: "en-US",
|
|
428
|
+
title: "Stacks",
|
|
429
|
+
description: "Composability-First. UI/FX Framework.",
|
|
430
|
+
lastUpdated: true,
|
|
431
|
+
themeConfig: {
|
|
432
|
+
nav: nav(),
|
|
433
|
+
sidebar: {
|
|
434
|
+
"/guide/": sidebarGuide()
|
|
435
|
+
},
|
|
436
|
+
editLink: {
|
|
437
|
+
pattern: "https://github.com/stacksjs/stacks/edit/main/apps/docs/docs/:path",
|
|
438
|
+
text: "Edit this page on GitHub"
|
|
439
|
+
},
|
|
440
|
+
socialLinks: [
|
|
441
|
+
{ icon: "twitter", link: "https://twitter.com/stacksjs" },
|
|
442
|
+
{ icon: "github", link: "https://github.com/stacksjs/stacks" },
|
|
443
|
+
{ icon: "discord", link: "https://twitter.com/stacksjs" }
|
|
444
|
+
],
|
|
445
|
+
footer: {
|
|
446
|
+
message: "Released under the MIT License.",
|
|
447
|
+
copyright: "Copyright \xA9 2022-present Open Web Foundation"
|
|
448
|
+
},
|
|
449
|
+
algolia: config$2.algolia,
|
|
450
|
+
carbonAds: {
|
|
451
|
+
code: "",
|
|
452
|
+
placement: ""
|
|
453
|
+
}
|
|
454
|
+
}
|
|
455
|
+
};
|
|
456
|
+
function nav() {
|
|
457
|
+
return [
|
|
458
|
+
{ text: "Config", link: "/config", activeMatch: "/config" },
|
|
459
|
+
{
|
|
460
|
+
text: "Changelog",
|
|
461
|
+
link: "https://github.com/stacksjs/stacks/blob/main/CHANGELOG.md"
|
|
462
|
+
},
|
|
463
|
+
{ text: "Blog", link: "https://updates.ow3.org" }
|
|
464
|
+
];
|
|
465
|
+
}
|
|
466
|
+
function sidebarGuide() {
|
|
467
|
+
return [
|
|
468
|
+
{
|
|
469
|
+
text: "Introduction",
|
|
470
|
+
collapsible: true,
|
|
471
|
+
items: [
|
|
472
|
+
{ text: "What is Stacks?", link: "/guide/what-is-stacks" },
|
|
473
|
+
{ text: "Getting Started", link: "/guide/getting-started" },
|
|
474
|
+
{ text: "Configuration", link: "/guide/config" }
|
|
475
|
+
]
|
|
476
|
+
},
|
|
477
|
+
{
|
|
478
|
+
text: "Digging Deeper",
|
|
479
|
+
collapsible: true,
|
|
480
|
+
items: [
|
|
481
|
+
{ text: "How To?", link: "/guide/stacks" },
|
|
482
|
+
{ text: "Workflows / CI", link: "/guide/ci" },
|
|
483
|
+
{ text: "VS Code", link: "/guide/vs-code" },
|
|
484
|
+
{ text: "Apps", link: "/guide/apps" },
|
|
485
|
+
{ text: "Examples", link: "/guide/examples" },
|
|
486
|
+
{ text: "Packages", link: "/guide/packages" },
|
|
487
|
+
{ text: "Testing", link: "/guide/testing" },
|
|
488
|
+
{ text: "Single File Components", link: "/guide/sfcs" }
|
|
489
|
+
]
|
|
490
|
+
},
|
|
491
|
+
{
|
|
492
|
+
text: "Starters",
|
|
493
|
+
collapsible: true,
|
|
494
|
+
items: [
|
|
495
|
+
{ text: "Vue Starter", link: "/starter/vue" },
|
|
496
|
+
{ text: "Web Component Starter", link: "/starter/web-components" },
|
|
497
|
+
{ text: "Composable Starter", link: "/starter/web-components" },
|
|
498
|
+
{ text: "TypeScript Starter", link: "/starter/web-components" }
|
|
499
|
+
]
|
|
500
|
+
}
|
|
501
|
+
];
|
|
502
|
+
}
|
|
503
|
+
|
|
504
|
+
const docs$1 = {
|
|
505
|
+
__proto__: null,
|
|
506
|
+
default: docs
|
|
507
|
+
};
|
|
508
|
+
|
|
509
|
+
export { config$e as app, config$d as cache, config$f as config, config$c as database, config$b as debug, config$a as deploy, determineDebugMode, docs$1 as docs, env, config$9 as events, config$8 as git, config$7 as hashing, config$6 as library, config$4 as notification, config$5 as page, config$3 as searchEngine, config$2 as services, config$1 as storage, config as ui };
|
package/package.json
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@stacksjs/config",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "0.
|
|
5
|
-
"packageManager": "pnpm@7.
|
|
4
|
+
"version": "0.51.0",
|
|
5
|
+
"packageManager": "pnpm@7.26.3",
|
|
6
6
|
"description": "The Stacks configuration.",
|
|
7
7
|
"author": "Chris Breuer",
|
|
8
8
|
"license": "MIT",
|
|
@@ -31,18 +31,18 @@
|
|
|
31
31
|
"README.md"
|
|
32
32
|
],
|
|
33
33
|
"engines": {
|
|
34
|
-
"node": ">=v18.
|
|
35
|
-
"pnpm": ">=7.
|
|
34
|
+
"node": ">=v18.14.0",
|
|
35
|
+
"pnpm": ">=7.26.3"
|
|
36
36
|
},
|
|
37
37
|
"peerDependencies": {
|
|
38
|
-
"@stacksjs/path": "0.
|
|
39
|
-
"@stacksjs/utils": "0.
|
|
38
|
+
"@stacksjs/path": "0.51.0",
|
|
39
|
+
"@stacksjs/utils": "0.51.0"
|
|
40
40
|
},
|
|
41
41
|
"devDependencies": {
|
|
42
42
|
"mkdist": "^1.1.0",
|
|
43
|
-
"typescript": "^4.9.
|
|
43
|
+
"typescript": "^4.9.5",
|
|
44
44
|
"unbuild": "^1.1.1",
|
|
45
|
-
"@stacksjs/testing": "0.
|
|
45
|
+
"@stacksjs/testing": "0.51.0"
|
|
46
46
|
},
|
|
47
47
|
"scripts": {
|
|
48
48
|
"build": "unbuild",
|