stacks 0.58.28 → 0.58.30
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/core/README.md +1 -1
- package/core/actions/dist/src/deploy/index.js +1 -1
- package/core/actions/dist/src/dev/components.js +1 -1
- package/core/actions/dist/src/dev/index.js +10 -0
- package/core/actions/dist/src/generate/lib-entries.js +3 -3
- package/core/actions/dist/src/helpers/lib-entries.js +3 -3
- package/core/actions/dist/src/index.js +10 -0
- package/core/actions/dist/src/lint/fix.js +1 -1
- package/core/actions/dist/src/release.js +8 -0
- package/core/actions/dist/src/upgrade.js +1 -1
- package/core/actions/package.json +1 -1
- package/core/actions/src/build/docs.ts +7 -0
- package/core/actions/src/deploy/index.ts +1 -1
- package/core/actions/src/dev/api.ts +2 -2
- package/core/actions/src/dev/components.ts +1 -1
- package/core/actions/src/dev/dashboard.ts +7 -0
- package/core/actions/src/dev/desktop.ts +3 -3
- package/core/actions/src/dev/index.ts +10 -0
- package/core/actions/src/dev/system-tray.ts +6 -0
- package/core/actions/src/helpers/lib-entries.ts +3 -3
- package/core/actions/src/lint/fix.ts +1 -1
- package/core/ai/package.json +3 -3
- package/core/alias/package.json +1 -1
- package/core/analytics/package.json +1 -1
- package/core/api/package.json +1 -1
- package/core/arrays/package.json +1 -1
- package/core/auth/package.json +1 -1
- package/core/buddy/README.md +2 -2
- package/core/buddy/dist/{chunk-b75e6db0012faa55.js → chunk-0455e53fab4244b1.js} +1 -4
- package/core/buddy/dist/{chunk-fd47b42fb923a4be.js → chunk-61e8f138963fc709.js} +173 -137
- package/core/buddy/dist/cli.js +2 -2
- package/core/buddy/dist/index.js +2 -2
- package/core/buddy/package.json +1 -1
- package/core/buddy/src/commands/add.ts +4 -0
- package/core/buddy/src/commands/build.ts +12 -1
- package/core/buddy/src/commands/changelog.ts +2 -0
- package/core/buddy/src/commands/clean.ts +2 -0
- package/core/buddy/src/commands/cloud.ts +6 -0
- package/core/buddy/src/commands/commit.ts +2 -0
- package/core/buddy/src/commands/configure.ts +3 -0
- package/core/buddy/src/commands/create.ts +8 -8
- package/core/buddy/src/commands/deploy.ts +24 -23
- package/core/buddy/src/commands/dev.ts +50 -10
- package/core/buddy/src/commands/dns.ts +2 -0
- package/core/buddy/src/commands/domains.ts +2 -0
- package/core/buddy/src/commands/example.ts +4 -0
- package/core/buddy/src/commands/fresh.ts +2 -0
- package/core/buddy/src/commands/generate.ts +12 -3
- package/core/buddy/src/commands/http.ts +2 -0
- package/core/buddy/src/commands/install.ts +2 -0
- package/core/buddy/src/commands/key.ts +4 -2
- package/core/buddy/src/commands/lint.ts +3 -0
- package/core/buddy/src/commands/make.ts +11 -1
- package/core/buddy/src/commands/migrate.ts +3 -0
- package/core/buddy/src/commands/prepublish.ts +2 -0
- package/core/buddy/src/commands/release.ts +2 -0
- package/core/buddy/src/commands/seed.ts +2 -0
- package/core/buddy/src/commands/setup.ts +33 -34
- package/core/buddy/src/commands/test.ts +2 -0
- package/core/buddy/src/commands/tinker.ts +2 -0
- package/core/buddy/src/commands/types.ts +3 -0
- package/core/buddy/src/commands/upgrade.ts +6 -0
- package/core/build/package.json +1 -1
- package/core/bun-create/bud/package.json +3 -2
- package/core/bun-create/buddy/package.json +2 -2
- package/core/bun-create/stack/package.json +2 -2
- package/core/bun-create/stacks/package.json +2 -2
- package/core/bun-create/stx/package.json +2 -2
- package/core/bun-plugin-yaml/dist/index.js +1 -19
- package/core/bun-plugin-yaml/package.json +1 -1
- package/core/bun-plugin-yaml/src/index.ts +1 -1
- package/core/cache/package.json +2 -2
- package/core/chat/package.json +1 -1
- package/core/cli/dist/index.js +24 -23
- package/core/cli/package.json +1 -1
- package/core/cli/src/helpers.ts +21 -31
- package/core/cli/src/run.ts +9 -7
- package/core/cloud/buddy +2 -0
- package/core/cloud/package.json +33 -33
- package/core/cloud/src/cloud/ai.ts +45 -36
- package/core/cloud/src/cloud/aws-sdk-layer/nodejs/package-lock.json +10 -10
- package/core/cloud/src/cloud/aws-sdk-layer/nodejs/package.json +2 -2
- package/core/cloud/src/cloud/cdn.ts +44 -5
- package/core/cloud/src/cloud/cli.ts +45 -0
- package/core/cloud/src/cloud/compute.ts +1 -1
- package/core/cloud/src/cloud/index.ts +6 -1
- package/core/cloud/src/cloud/lambda/cli-setup/index.js +67 -0
- package/core/cloud/src/index.ts +1 -0
- package/core/cloud/src/runtime/example/lambda.ts +1 -1
- package/core/cloud/src/runtime/runtime.ts +1 -0
- package/core/cloud/src/runtime/server.ts +1 -1
- package/core/collections/package.json +1 -1
- package/core/config/dist/index.js +130 -122
- package/core/config/package.json +1 -1
- package/core/config/src/overrides.ts +0 -2
- package/core/database/package.json +2 -2
- package/core/database/src/kysely-bun-worker/driver.ts +1 -0
- package/core/database/src/kysely-bun-worker/worker.ts +1 -1
- package/core/datetime/package.json +1 -1
- package/core/desktop/dist/index.js +6 -0
- package/core/desktop/package.json +5 -5
- package/core/desktop/src/index.ts +2 -0
- package/core/desktop/src/system-tray.ts +1 -0
- package/core/development/package.json +1 -1
- package/core/dns/package.json +7 -7
- package/core/docs/build.ts +1 -1
- package/core/docs/dist/index.js +29878 -9995
- package/core/docs/package.json +6 -5
- package/core/docs/src/index.ts +7 -1
- package/core/docs/src/meta.ts +32 -0
- package/core/docs/src/scripts/pwa.ts +116 -0
- package/core/email/email-forwarder.cjs +1 -0
- package/core/email/package.json +3 -3
- package/core/email/src/server/converter.ts +1 -0
- package/core/email/src/server/inbound.ts +1 -0
- package/core/email/src/server/outbound.ts +6 -4
- package/core/enums/dist/index.js +4 -2
- package/core/enums/package.json +1 -1
- package/core/enums/src/index.ts +4 -2
- package/core/env/package.json +1 -1
- package/core/error-handling/package.json +1 -1
- package/core/eslint-config/package.json +18 -18
- package/core/eslint-config/src/configs/comments.ts +1 -1
- package/core/eslint-config/src/configs/imports.ts +9 -0
- package/core/eslint-config/src/configs/svelte.ts +1 -0
- package/core/eslint-config/src/configs/unicorn.ts +1 -1
- package/core/eslint-config/src/configs/vue.ts +0 -1
- package/core/eslint-config/src/factory.ts +2 -8
- package/core/events/package.json +1 -1
- package/core/faker/package.json +2 -2
- package/core/git/dist/index.js +40 -0
- package/core/git/package.json +3 -3
- package/core/git/src/index.ts +62 -0
- package/core/health/package.json +1 -1
- package/core/http/package.json +1 -1
- package/core/lint/package.json +1 -1
- package/core/logging/dist/index.js +0 -6
- package/core/logging/package.json +1 -1
- package/core/music/package.json +3 -3
- package/core/notifications/package.json +2 -2
- package/core/objects/package.json +1 -1
- package/core/orm/package.json +1 -1
- package/core/path/dist/index.js +6 -3
- package/core/path/package.json +1 -1
- package/core/path/src/index.ts +7 -3
- package/core/payments/dist/index.js +2 -5
- package/core/payments/package.json +3 -3
- package/core/push/package.json +1 -1
- package/core/query-builder/package.json +1 -1
- package/core/queue/package.json +1 -1
- package/core/raycast/package.json +5 -0
- package/core/raycast/src/index.ts +0 -0
- package/core/realtime/package.json +1 -1
- package/core/repl/package.json +1 -1
- package/core/router/dist/index.js +16 -496
- package/core/router/package.json +1 -1
- package/core/router/src/middleware.ts +16 -14
- package/core/scheduler/package.json +1 -1
- package/core/search-engine/package.json +2 -2
- package/core/security/dist/index.js +3 -6
- package/core/security/package.json +2 -2
- package/core/server/dist/index.js +6 -2
- package/core/server/package.json +2 -2
- package/core/server/src/config.ts +14 -9
- package/core/signals/package.json +1 -1
- package/core/slug/package.json +1 -1
- package/core/sms/package.json +1 -1
- package/core/storage/dist/index.js +28 -10
- package/core/storage/package.json +1 -1
- package/core/storage/src/files.ts +10 -2
- package/core/storage/src/zip.ts +1 -1
- package/core/strings/package.json +3 -3
- package/core/stx +2 -0
- package/core/tables/package.json +3 -3
- package/core/testing/package.json +3 -3
- package/core/tinker/package.json +1 -1
- package/core/tsconfig.json +4 -9
- package/core/tunnel/package.json +1 -1
- package/core/types/dist/index.js +3 -1
- package/core/types/package.json +13 -13
- package/core/types/src/cli.ts +3 -3
- package/core/types/src/cloud.ts +4 -1
- package/core/types/src/dns.ts +1 -1
- package/core/types/src/native.ts +0 -0
- package/core/types/src/stacks.ts +0 -10
- package/core/ui/package.json +8 -8
- package/core/utils/dist/index.js +1 -1
- package/core/utils/package.json +1 -1
- package/core/validation/package.json +1 -1
- package/core/vite/README.md +1 -1
- package/core/vite/build.ts +1 -1
- package/core/vite/dist/index.js +211 -203
- package/core/vite/package.json +5 -5
- package/core/vite/src/components.ts +1 -1
- package/core/vite/src/dashboard.ts +100 -0
- package/core/vite/src/desktop.ts +2 -58
- package/core/vite/src/example-vue.ts +1 -1
- package/core/vite/src/example-wc.ts +1 -1
- package/core/vite/src/functions.ts +1 -1
- package/core/vite/src/index.ts +9 -11
- package/core/vite/src/plugin/auto-imports.ts +1 -1
- package/core/vite/src/plugin/layouts.ts +6 -7
- package/core/vite/src/plugin/router.ts +3 -1
- package/core/vite/src/system-tray.ts +100 -0
- package/core/vite/src/views.ts +13 -2
- package/core/vite/src/web-components.ts +1 -1
- package/core/whois/dist/index.js +1 -2
- package/core/whois/package.json +1 -1
- package/core/whois/src/index.ts +10 -8
- package/core/x-ray/package.json +1 -1
- package/core/zsh-buddy/README.md +51 -0
- package/core/zsh-buddy/package.json +29 -0
- package/ide/dictionary.txt +12 -0
- package/ide/jetbrains/.idea/stacks.iml +0 -1
- package/ide/vscode/.vscode/settings.json +7 -2
- package/ide/vscode/package.json +2 -4
- package/package.json +12 -7
- package/core/cloud/src/server/.dockerignore +0 -15
- package/core/cloud/src/server/Dockerfile +0 -21
- package/core/cloud/src/server/index.ts +0 -3
- package/core/cloud/src/server/package.json +0 -12
- package/core/cloud/src/server/runtime.ts +0 -828
- package/core/scripts/build +0 -58
- package/core/scripts/ensure +0 -33
- package/core/scripts/fresh +0 -14
- package/core/scripts/link +0 -14
- package/core/scripts/move-built-src-files.ts +0 -28
- package/core/scripts/move-dts-files.ts +0 -35
- package/core/scripts/publish +0 -43
- package/core/scripts/setup +0 -176
- package/core/tables/vite.config.ts +0 -84
- package/core/vite/src/plugin/index.ts +0 -21
- /package/core/vite/src/{stacks.ts → plugins.ts} +0 -0
|
@@ -9,7 +9,7 @@ function config(options) {
|
|
|
9
9
|
host: "localhost",
|
|
10
10
|
port: 3334
|
|
11
11
|
},
|
|
12
|
-
|
|
12
|
+
dashboard: {
|
|
13
13
|
host: "localhost",
|
|
14
14
|
port: 3335
|
|
15
15
|
},
|
|
@@ -28,9 +28,13 @@ function config(options) {
|
|
|
28
28
|
example: {
|
|
29
29
|
host: "localhost",
|
|
30
30
|
port: 3339
|
|
31
|
+
},
|
|
32
|
+
"system-tray": {
|
|
33
|
+
host: "localhost",
|
|
34
|
+
port: 3340
|
|
31
35
|
}
|
|
32
36
|
};
|
|
33
|
-
if (options.type && ["frontend", "api", "library", "desktop", "
|
|
37
|
+
if (options.type && ["frontend", "api", "library", "desktop", "docs", "example", "dashboard", "system-tray"].includes(options.type)) {
|
|
34
38
|
return {
|
|
35
39
|
host: serversMap[options.type].host,
|
|
36
40
|
port: serversMap[options.type].port,
|
package/core/server/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@stacksjs/server",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "0.58.
|
|
4
|
+
"version": "0.58.30",
|
|
5
5
|
"description": "Local development and production-ready.",
|
|
6
6
|
"author": "Chris Breuer",
|
|
7
7
|
"license": "MIT",
|
|
@@ -59,7 +59,7 @@
|
|
|
59
59
|
"@stacksjs/path": "workspace:*",
|
|
60
60
|
"@stacksjs/router": "workspace:*",
|
|
61
61
|
"@stacksjs/validation": "workspace:*",
|
|
62
|
-
"vite": "^5.0.
|
|
62
|
+
"vite": "^5.0.12"
|
|
63
63
|
},
|
|
64
64
|
"devDependencies": {
|
|
65
65
|
"@stacksjs/development": "workspace:*"
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
interface ServerOptions {
|
|
2
|
-
type?: 'frontend' | 'api' | 'library' | 'desktop' | '
|
|
2
|
+
type?: 'frontend' | 'api' | 'library' | 'desktop' | 'docs' | 'example' | 'dashboard' | 'system-tray'
|
|
3
3
|
host?: string
|
|
4
4
|
port?: number
|
|
5
5
|
open?: boolean
|
|
@@ -7,43 +7,48 @@ interface ServerOptions {
|
|
|
7
7
|
|
|
8
8
|
export function config(options: ServerOptions) {
|
|
9
9
|
const serversMap = {
|
|
10
|
-
frontend: {
|
|
10
|
+
'frontend': {
|
|
11
11
|
host: 'localhost',
|
|
12
12
|
port: 3333,
|
|
13
13
|
},
|
|
14
14
|
|
|
15
|
-
api: {
|
|
15
|
+
'api': {
|
|
16
16
|
host: 'localhost',
|
|
17
17
|
port: 3334,
|
|
18
18
|
},
|
|
19
19
|
|
|
20
|
-
|
|
20
|
+
'dashboard': {
|
|
21
21
|
host: 'localhost',
|
|
22
22
|
port: 3335,
|
|
23
23
|
},
|
|
24
24
|
|
|
25
|
-
library: { // component library
|
|
25
|
+
'library': { // component library
|
|
26
26
|
host: 'localhost',
|
|
27
27
|
port: 3336,
|
|
28
28
|
},
|
|
29
29
|
|
|
30
|
-
desktop: {
|
|
30
|
+
'desktop': {
|
|
31
31
|
host: 'localhost',
|
|
32
32
|
port: 3337,
|
|
33
33
|
},
|
|
34
34
|
|
|
35
|
-
docs: {
|
|
35
|
+
'docs': {
|
|
36
36
|
host: 'localhost',
|
|
37
37
|
port: 3338,
|
|
38
38
|
},
|
|
39
39
|
|
|
40
|
-
example: {
|
|
40
|
+
'example': {
|
|
41
41
|
host: 'localhost',
|
|
42
42
|
port: 3339,
|
|
43
43
|
},
|
|
44
|
+
|
|
45
|
+
'system-tray': {
|
|
46
|
+
host: 'localhost',
|
|
47
|
+
port: 3340,
|
|
48
|
+
},
|
|
44
49
|
}
|
|
45
50
|
|
|
46
|
-
if (options.type && ['frontend', 'api', 'library', 'desktop', '
|
|
51
|
+
if (options.type && ['frontend', 'api', 'library', 'desktop', 'docs', 'example', 'dashboard', 'system-tray'].includes(options.type)) {
|
|
47
52
|
return {
|
|
48
53
|
host: serversMap[options.type].host,
|
|
49
54
|
port: serversMap[options.type].port,
|
package/core/slug/package.json
CHANGED
package/core/sms/package.json
CHANGED
|
@@ -75,9 +75,15 @@ async function writeTextFile(file) {
|
|
|
75
75
|
function isFile(path2) {
|
|
76
76
|
return fs.existsSync(path2);
|
|
77
77
|
}
|
|
78
|
+
function doesExist(path2) {
|
|
79
|
+
return !isFile(path2) || !isFolder(path2);
|
|
80
|
+
}
|
|
81
|
+
function doesNotExist(path2) {
|
|
82
|
+
return !isFile(path2) && !isFolder(path2);
|
|
83
|
+
}
|
|
78
84
|
function hasFiles(folder) {
|
|
79
85
|
try {
|
|
80
|
-
return fs.
|
|
86
|
+
return fs.readdirSync(folder).length > 0;
|
|
81
87
|
} catch (err) {
|
|
82
88
|
return false;
|
|
83
89
|
}
|
|
@@ -142,7 +148,7 @@ var files = {
|
|
|
142
148
|
};
|
|
143
149
|
// src/folders.ts
|
|
144
150
|
import {join as join3} from "@stacksjs/path";
|
|
145
|
-
function
|
|
151
|
+
function isFolder2(path3) {
|
|
146
152
|
try {
|
|
147
153
|
return fs.statSync(path3).isDirectory();
|
|
148
154
|
} catch {
|
|
@@ -150,10 +156,10 @@ function isFolder(path3) {
|
|
|
150
156
|
}
|
|
151
157
|
}
|
|
152
158
|
function isDirectory(path3) {
|
|
153
|
-
return
|
|
159
|
+
return isFolder2(path3);
|
|
154
160
|
}
|
|
155
161
|
function isDir(path3) {
|
|
156
|
-
return
|
|
162
|
+
return isFolder2(path3);
|
|
157
163
|
}
|
|
158
164
|
function doesFolderExist(path3) {
|
|
159
165
|
return fs.existsSync(path3);
|
|
@@ -174,7 +180,7 @@ function getFolders(dir) {
|
|
|
174
180
|
});
|
|
175
181
|
}
|
|
176
182
|
var folders = {
|
|
177
|
-
isFolder,
|
|
183
|
+
isFolder: isFolder2,
|
|
178
184
|
doesFolderExist,
|
|
179
185
|
createFolder: createFolder2,
|
|
180
186
|
getFolders
|
|
@@ -274,7 +280,7 @@ import {italic, log} from "@stacksjs/cli";
|
|
|
274
280
|
function deleteFolder(path6) {
|
|
275
281
|
return new Promise((resolve, reject) => {
|
|
276
282
|
try {
|
|
277
|
-
if (
|
|
283
|
+
if (isFolder2(path6)) {
|
|
278
284
|
fs.rmSync(path6, { recursive: true, force: true });
|
|
279
285
|
return resolve(ok(`Deleted ${path6}`));
|
|
280
286
|
}
|
|
@@ -323,7 +329,7 @@ async function deleteEmptyFolders(dir) {
|
|
|
323
329
|
const files3 = fs.readdirSync(dir);
|
|
324
330
|
for (const file of files3) {
|
|
325
331
|
const p3 = join(dir, file);
|
|
326
|
-
if (
|
|
332
|
+
if (isFolder2(p3)) {
|
|
327
333
|
if (fs.readdirSync(p3).length === 0)
|
|
328
334
|
fs.rmSync(p3, { recursive: true, force: true });
|
|
329
335
|
else
|
|
@@ -365,7 +371,7 @@ async function deleteGlob(path6) {
|
|
|
365
371
|
async function del(path6) {
|
|
366
372
|
if (isFile(path6))
|
|
367
373
|
return await deleteFile(path6);
|
|
368
|
-
if (
|
|
374
|
+
if (isFolder2(path6))
|
|
369
375
|
return await deleteFolder(path6);
|
|
370
376
|
if (path6.includes("*"))
|
|
371
377
|
return await deleteGlob(path6);
|
|
@@ -494,7 +500,7 @@ __export(exports_storage, {
|
|
|
494
500
|
},
|
|
495
501
|
isFolder: () => {
|
|
496
502
|
{
|
|
497
|
-
return
|
|
503
|
+
return isFolder2;
|
|
498
504
|
}
|
|
499
505
|
},
|
|
500
506
|
isFile: () => {
|
|
@@ -592,11 +598,21 @@ __export(exports_storage, {
|
|
|
592
598
|
return exists;
|
|
593
599
|
}
|
|
594
600
|
},
|
|
601
|
+
doesNotExist: () => {
|
|
602
|
+
{
|
|
603
|
+
return doesNotExist;
|
|
604
|
+
}
|
|
605
|
+
},
|
|
595
606
|
doesFolderExist: () => {
|
|
596
607
|
{
|
|
597
608
|
return doesFolderExist;
|
|
598
609
|
}
|
|
599
610
|
},
|
|
611
|
+
doesExist: () => {
|
|
612
|
+
{
|
|
613
|
+
return doesExist;
|
|
614
|
+
}
|
|
615
|
+
},
|
|
600
616
|
deleteGlob: () => {
|
|
601
617
|
{
|
|
602
618
|
return deleteGlob;
|
|
@@ -753,7 +769,7 @@ export {
|
|
|
753
769
|
readJsonFile,
|
|
754
770
|
put,
|
|
755
771
|
mkdirSync,
|
|
756
|
-
isFolder,
|
|
772
|
+
isFolder2 as isFolder,
|
|
757
773
|
isFile,
|
|
758
774
|
isDirectoryEmpty,
|
|
759
775
|
isDirectory,
|
|
@@ -778,7 +794,9 @@ export {
|
|
|
778
794
|
files,
|
|
779
795
|
existsSync,
|
|
780
796
|
exists,
|
|
797
|
+
doesNotExist,
|
|
781
798
|
doesFolderExist,
|
|
799
|
+
doesExist,
|
|
782
800
|
deleteGlob,
|
|
783
801
|
deleteFolder,
|
|
784
802
|
deleteFiles,
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { BunFile } from 'bun'
|
|
1
|
+
import type { BunFile, PathLike } from 'node:bun'
|
|
2
2
|
import type { JsonFile, PackageJson, TextFile } from '@stacksjs/types'
|
|
3
3
|
import { detectIndent, detectNewline } from '@stacksjs/strings'
|
|
4
4
|
import { dirname, join, path as p } from '@stacksjs/path'
|
|
@@ -95,12 +95,20 @@ export function isFile(path: string): boolean {
|
|
|
95
95
|
return fs.existsSync(path)
|
|
96
96
|
}
|
|
97
97
|
|
|
98
|
+
export function doesExist(path: string): boolean {
|
|
99
|
+
return !isFile(path) || !isFolder(path)
|
|
100
|
+
}
|
|
101
|
+
|
|
102
|
+
export function doesNotExist(path: string): boolean {
|
|
103
|
+
return !isFile(path) && !isFolder(path)
|
|
104
|
+
}
|
|
105
|
+
|
|
98
106
|
/**
|
|
99
107
|
* Determine whether a folder has any files in it.
|
|
100
108
|
*/
|
|
101
109
|
export function hasFiles(folder: string): boolean {
|
|
102
110
|
try {
|
|
103
|
-
return fs.
|
|
111
|
+
return fs.readdirSync(folder).length > 0
|
|
104
112
|
}
|
|
105
113
|
catch (err) {
|
|
106
114
|
return false
|
package/core/storage/src/zip.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@stacksjs/strings",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "0.58.
|
|
4
|
+
"version": "0.58.30",
|
|
5
5
|
"description": "The Stacks string utilities.",
|
|
6
6
|
"author": "Chris Breuer",
|
|
7
7
|
"license": "MIT",
|
|
@@ -64,14 +64,14 @@
|
|
|
64
64
|
"dependencies": {
|
|
65
65
|
"@stacksjs/alias": "workspace:*",
|
|
66
66
|
"@stacksjs/types": "workspace:*",
|
|
67
|
-
"change-case": "^5.4.
|
|
67
|
+
"change-case": "^5.4.2",
|
|
68
68
|
"detect-indent": "^7.0.1",
|
|
69
69
|
"detect-newline": "^4.0.1",
|
|
70
70
|
"macroable": "^7.0.2",
|
|
71
71
|
"pluralize": "^8.0.0",
|
|
72
72
|
"slugify": "^1.6.6",
|
|
73
73
|
"string-ts": "^2.0.0",
|
|
74
|
-
"title-case": "^4.3.
|
|
74
|
+
"title-case": "^4.3.1",
|
|
75
75
|
"validator": "^13.11.0"
|
|
76
76
|
},
|
|
77
77
|
"devDependencies": {
|
package/core/stx
ADDED
package/core/tables/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@stacksjs/tables",
|
|
3
|
-
"version": "0.58.
|
|
3
|
+
"version": "0.58.30",
|
|
4
4
|
"description": "The easy & modern way to work with tables. Facet filtering, searching, pagination, ...",
|
|
5
5
|
"author": "Open Web Labs",
|
|
6
6
|
"license": "MIT",
|
|
@@ -38,10 +38,10 @@
|
|
|
38
38
|
"@stacksjs/types": "workspace:*",
|
|
39
39
|
"@stacksjs/utils": "workspace:*",
|
|
40
40
|
"@vueform/multiselect": "^2.6.6",
|
|
41
|
-
"meilisearch": "^0.
|
|
41
|
+
"meilisearch": "^0.37.0"
|
|
42
42
|
},
|
|
43
43
|
"dependencies": {
|
|
44
|
-
"vite": "^5.0.
|
|
44
|
+
"vite": "^5.0.12"
|
|
45
45
|
},
|
|
46
46
|
"devDependencies": {
|
|
47
47
|
"@stacksjs/development": "workspace:*"
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@stacksjs/testing",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "0.58.
|
|
4
|
+
"version": "0.58.30",
|
|
5
5
|
"description": "The Stacks way of testing.",
|
|
6
6
|
"author": "Chris Breuer",
|
|
7
7
|
"license": "MIT",
|
|
@@ -51,10 +51,10 @@
|
|
|
51
51
|
"prepublishOnly": "bun --bun run build"
|
|
52
52
|
},
|
|
53
53
|
"peerDependencies": {
|
|
54
|
-
"@playwright/test": "^1.
|
|
54
|
+
"@playwright/test": "^1.41.1"
|
|
55
55
|
},
|
|
56
56
|
"dependencies": {
|
|
57
|
-
"@playwright/test": "^1.
|
|
57
|
+
"@playwright/test": "^1.41.1"
|
|
58
58
|
},
|
|
59
59
|
"devDependencies": {
|
|
60
60
|
"@stacksjs/development": "workspace:*"
|
package/core/tinker/package.json
CHANGED
package/core/tsconfig.json
CHANGED
|
@@ -13,7 +13,7 @@
|
|
|
13
13
|
"paths": {
|
|
14
14
|
"@stacksjs/*": ["./*/src"],
|
|
15
15
|
"stacks/*": ["./*/src"],
|
|
16
|
-
"buddy": ["./buddy/index.ts"],
|
|
16
|
+
"buddy": ["./buddy/src/index.ts"],
|
|
17
17
|
"buddy/*": ["./buddy/src/*"],
|
|
18
18
|
"~/*": ["../../../*"]
|
|
19
19
|
},
|
|
@@ -23,7 +23,8 @@
|
|
|
23
23
|
// "vue/ref-macros",
|
|
24
24
|
"vite-plugin-pages/client",
|
|
25
25
|
"vite-plugin-pwa/client",
|
|
26
|
-
"
|
|
26
|
+
"vite-plugin-vue-layouts/client",
|
|
27
|
+
"@intlify/unplugin-vue-i18n/messages"
|
|
27
28
|
],
|
|
28
29
|
"allowImportingTsExtensions": true,
|
|
29
30
|
"allowJs": true,
|
|
@@ -54,13 +55,7 @@
|
|
|
54
55
|
"../../../**/*.ts",
|
|
55
56
|
"../../../*.d.ts",
|
|
56
57
|
"../../../**/*.d.ts",
|
|
57
|
-
"../docs/.vitepress/*"
|
|
58
|
-
"../stack/**/*",
|
|
59
|
-
"../views/desktop/**/*",
|
|
60
|
-
"../views/desktop/*",
|
|
61
|
-
"./src/**/*.ts",
|
|
62
|
-
"../types/*",
|
|
63
|
-
"./scripts/*"
|
|
58
|
+
"../docs/.vitepress/*"
|
|
64
59
|
],
|
|
65
60
|
"exclude": [
|
|
66
61
|
"../**/cdk.out",
|
package/core/tunnel/package.json
CHANGED
package/core/types/dist/index.js
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import {createRequire} from "node:module";
|
|
1
2
|
var __create = Object.create;
|
|
2
3
|
var __defProp = Object.defineProperty;
|
|
3
4
|
var __getProtoOf = Object.getPrototypeOf;
|
|
@@ -15,6 +16,7 @@ var __toESM = (mod, isNodeMode, target) => {
|
|
|
15
16
|
return to;
|
|
16
17
|
};
|
|
17
18
|
var __commonJS = (cb, mod) => () => (mod || cb((mod = { exports: {} }).exports, mod), mod.exports);
|
|
19
|
+
var __require = createRequire(import.meta.url);
|
|
18
20
|
|
|
19
21
|
// /home/runner/work/stacks/stacks/node_modules/slugify/slugify.js
|
|
20
22
|
var require_slugify = __commonJS((exports, module) => {
|
|
@@ -70,7 +72,7 @@ var require_slugify = __commonJS((exports, module) => {
|
|
|
70
72
|
// /home/runner/work/stacks/stacks/node_modules/pluralize/pluralize.js
|
|
71
73
|
var require_pluralize = __commonJS((exports, module) => {
|
|
72
74
|
(function(root, pluralize) {
|
|
73
|
-
if (typeof
|
|
75
|
+
if (typeof __require === "function" && typeof exports === "object" && typeof module === "object") {
|
|
74
76
|
module.exports = pluralize();
|
|
75
77
|
} else if (typeof define === "function" && define.amd) {
|
|
76
78
|
define(function() {
|
package/core/types/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@stacksjs/types",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "0.58.
|
|
4
|
+
"version": "0.58.30",
|
|
5
5
|
"description": "The Stacks framework types.",
|
|
6
6
|
"author": "Chris Breuer",
|
|
7
7
|
"license": "MIT",
|
|
@@ -55,32 +55,32 @@
|
|
|
55
55
|
"@stacksjs/validation": "workspace:*",
|
|
56
56
|
"@types/aws4": "^1.11.6",
|
|
57
57
|
"@types/bcryptjs": "^2.4.6",
|
|
58
|
-
"@types/
|
|
58
|
+
"@types/bun": "^1.0.4",
|
|
59
|
+
"@types/crypto-js": "^4.2.2",
|
|
59
60
|
"@types/eslint": "^8.56.2",
|
|
60
61
|
"@types/fs-extra": "^11.0.4",
|
|
61
62
|
"@types/markdown-it-link-attributes": "^3.0.4",
|
|
62
63
|
"@types/minimatch": "^5.1.2",
|
|
63
|
-
"@types/node": "^20.11.
|
|
64
|
+
"@types/node": "^20.11.9",
|
|
64
65
|
"@types/nprogress": "^0.2.3",
|
|
65
66
|
"@vinejs/vine": "^1.7.0",
|
|
66
|
-
"bun-types": "canary",
|
|
67
67
|
"cac": "^6.7.14",
|
|
68
68
|
"markdown-it": "^14.0.0",
|
|
69
|
-
"meilisearch": "^0.
|
|
69
|
+
"meilisearch": "^0.37.0",
|
|
70
70
|
"neverthrow": "^6.1.0",
|
|
71
71
|
"ora": "^8.0.1",
|
|
72
|
-
"unocss": "^0.58.
|
|
73
|
-
"unplugin-auto-import": "^0.17.
|
|
72
|
+
"unocss": "^0.58.4",
|
|
73
|
+
"unplugin-auto-import": "^0.17.5",
|
|
74
74
|
"unplugin-vue-components": "^0.26.0",
|
|
75
|
-
"vite": "^5.0.
|
|
76
|
-
"vite-plugin-inspect": "^0.8.
|
|
77
|
-
"vite-plugin-pwa": "^0.17.
|
|
75
|
+
"vite": "^5.0.12",
|
|
76
|
+
"vite-plugin-inspect": "^0.8.3",
|
|
77
|
+
"vite-plugin-pwa": "^0.17.5",
|
|
78
78
|
"vite-ssg": "^0.23.6",
|
|
79
|
-
"vitepress": "1.0.0-rc.
|
|
80
|
-
"vue": "^3.4.
|
|
79
|
+
"vitepress": "1.0.0-rc.40",
|
|
80
|
+
"vue": "^3.4.15"
|
|
81
81
|
},
|
|
82
82
|
"devDependencies": {
|
|
83
|
-
"aws-cdk-lib": "^2.
|
|
83
|
+
"aws-cdk-lib": "^2.124.0",
|
|
84
84
|
"typescript": "^5.3.3"
|
|
85
85
|
}
|
|
86
86
|
}
|
package/core/types/src/cli.ts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import type { BunFile } from 'bun'
|
|
1
|
+
import type { BunFile } from 'node:bun'
|
|
2
2
|
|
|
3
3
|
type ArrayBufferView = TypedArray | DataView
|
|
4
4
|
|
|
5
|
-
export type { Subprocess, SyncSubprocess } from 'bun'
|
|
5
|
+
export type { Subprocess, SyncSubprocess } from 'node:bun'
|
|
6
6
|
export type Readable =
|
|
7
7
|
| 'pipe'
|
|
8
8
|
| 'inherit'
|
|
@@ -197,7 +197,7 @@ export type CreateOptions = {
|
|
|
197
197
|
[key in CreateStringOption]: string
|
|
198
198
|
} & CliOptions
|
|
199
199
|
|
|
200
|
-
export type DevOption = 'components' | 'docs' | 'frontend' | 'api' | 'desktop' | 'all' | 'email' | 'interactive' | 'verbose'
|
|
200
|
+
export type DevOption = 'components' | 'docs' | 'frontend' | 'api' | 'desktop' | 'all' | 'email' | 'system-tray' | 'interactive' | 'verbose'
|
|
201
201
|
export type DevOptions = {
|
|
202
202
|
[key in DevOption]: boolean;
|
|
203
203
|
} & CliOptions
|
package/core/types/src/cloud.ts
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import type { ApiOptions } from './api'
|
|
1
2
|
import type { FirewallConfig } from './security'
|
|
2
3
|
|
|
3
4
|
export type CountryCode =
|
|
@@ -73,9 +74,11 @@ export interface CloudOptions {
|
|
|
73
74
|
}
|
|
74
75
|
}
|
|
75
76
|
|
|
77
|
+
api: ApiOptions
|
|
78
|
+
|
|
76
79
|
ai: boolean
|
|
80
|
+
cli: boolean
|
|
77
81
|
docs: boolean
|
|
78
|
-
api: boolean
|
|
79
82
|
fileSystem: boolean
|
|
80
83
|
}
|
|
81
84
|
|
package/core/types/src/dns.ts
CHANGED
|
@@ -31,7 +31,7 @@ export interface AAAARecord {
|
|
|
31
31
|
|
|
32
32
|
export type DnsRecord = ARecord | CNameRecord | MXRecord | TxtRecord | AAAARecord
|
|
33
33
|
|
|
34
|
-
|
|
34
|
+
type CountryCode = 'AC' | 'AD' | 'AE' | 'AF' | 'AG' | 'AI' | 'AL' | 'AM' | 'AN' | 'AO' | 'AQ' | 'AR' | 'AS' | 'AT' | 'AU' | 'AW' | 'AX' | 'AZ' | 'BA' | 'BB' | 'BD' | 'BE' | 'BF' | 'BG' | 'BH' | 'BI' | 'BJ' | 'BL' | 'BM' | 'BN' | 'BO' | 'BQ' | 'BR' | 'BS' | 'BT' | 'BV' | 'BW' | 'BY' | 'BZ' | 'CA' | 'CC' | 'CD' | 'CF' | 'CG' | 'CH' | 'CI' | 'CK' | 'CL' | 'CM' | 'CN' | 'CO' | 'CR' | 'CU' | 'CV' | 'CW' | 'CX' | 'CY' | 'CZ' | 'DE' | 'DJ' | 'DK' | 'DM' | 'DO' | 'DZ' | 'EC' | 'EE' | 'EG' | 'EH' | 'ER' | 'ES' | 'ET' | 'FI' | 'FJ' | 'FK' | 'FM' | 'FO' | 'FR' | 'GA' | 'GB' | 'GD' | 'GE' | 'GF' | 'GG' | 'GH' | 'GI' | 'GL' | 'GM' | 'GN' | 'GP' | 'GQ' | 'GR' | 'GS' | 'GT' | 'GU' | 'GW' | 'GY' | 'HK' | 'HM' | 'HN' | 'HR' | 'HT' | 'HU' | 'ID' | 'IE' | 'IL' | 'IM' | 'IN' | 'IO' | 'IQ' | 'IR' | 'IS' | 'IT' | 'JE' | 'JM' | 'JO' | 'JP' | 'KE' | 'KG' | 'KH' | 'KI' | 'KM' | 'KN' | 'KP' | 'KR' | 'KW' | 'KY' | 'KZ' | 'LA' | 'LB' | 'LC' | 'LI' | 'LK' | 'LR' | 'LS' | 'LT' | 'LU' | 'LV' | 'LY' | 'MA' | 'MC' | 'MD' | 'ME' | 'MF' | 'MG' | 'MH' | 'MK' | 'ML' | 'MM' | 'MN' | 'MO' | 'MP' | 'MQ' | 'MR' | 'MS' | 'MT' | 'MU' | 'MV' | 'MW' | 'MX' | 'MY' | 'MZ' | 'NA' | 'NC' | 'NE' | 'NF' | 'NG' | 'NI' | 'NL' | 'NO' | 'NP' | 'NR' | 'NU' | 'NZ' | 'OM' | 'PA' | 'PE' | 'PF' | 'PG' | 'PH' | 'PK' | 'PL' | 'PM' | 'PN' | 'PR' | 'PS' | 'PT' | 'PW' | 'PY' | 'QA' | 'RE' | 'RO' | 'RS' | 'RU' | 'RW' | 'SA' | 'SB' | 'SC' | 'SD' | 'SE' | 'SG' | 'SH' | 'SI' | 'SJ' | 'SK' | 'SL' | 'SM' | 'SN' | 'SO' | 'SR' | 'SS' | 'ST' | 'SV' | 'SX' | 'SY' | 'SZ' | 'TC' | 'TD' | 'TF' | 'TG' | 'TH' | 'TJ' | 'TK' | 'TL' | 'TM' | 'TN' | 'TO' | 'TP' | 'TR' | 'TT' | 'TV' | 'TW' | 'TZ' | 'UA' | 'UG' | 'US' | 'UY' | 'UZ' | 'VA' | 'VC' | 'VE' | 'VG' | 'VI' | 'VN' | 'VU' | 'WF' | 'WS' | 'YE' | 'YT' | 'ZA' | 'ZM' | 'ZW' | string
|
|
35
35
|
|
|
36
36
|
export interface ExtraParam {
|
|
37
37
|
/**
|
|
File without changes
|
package/core/types/src/stacks.ts
CHANGED
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import type {
|
|
2
2
|
AiConfig,
|
|
3
3
|
AnalyticsConfig,
|
|
4
|
-
ApiConfig,
|
|
5
4
|
AppConfig,
|
|
6
5
|
BinaryConfig,
|
|
7
6
|
CacheConfig,
|
|
@@ -43,15 +42,6 @@ export interface StacksOptions {
|
|
|
43
42
|
*/
|
|
44
43
|
analytics: AnalyticsConfig
|
|
45
44
|
|
|
46
|
-
/**
|
|
47
|
-
* **API Options**
|
|
48
|
-
*
|
|
49
|
-
* This configuration defines all of your API options. Because Stacks is fully-typed, you
|
|
50
|
-
* may hover any of the options below and the definitions will be provided. In case you
|
|
51
|
-
* have any questions, feel free to reach out via Discord or GitHub Discussions.
|
|
52
|
-
*/
|
|
53
|
-
api: ApiConfig
|
|
54
|
-
|
|
55
45
|
/**
|
|
56
46
|
* **Application Options**
|
|
57
47
|
*
|
package/core/ui/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@stacksjs/ui",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "0.58.
|
|
4
|
+
"version": "0.58.30",
|
|
5
5
|
"description": "The Stacks UI engine.",
|
|
6
6
|
"author": "Chris Breuer",
|
|
7
7
|
"license": "MIT",
|
|
@@ -62,9 +62,9 @@
|
|
|
62
62
|
"@stacksjs/config": "workspace:*",
|
|
63
63
|
"@stacksjs/router": "workspace:*",
|
|
64
64
|
"pinia": "^2.1.7",
|
|
65
|
-
"unocss": "^0.58.
|
|
65
|
+
"unocss": "^0.58.4",
|
|
66
66
|
"vite-plugin-vue-layouts": "^0.11.0",
|
|
67
|
-
"vue": "^3.4.
|
|
67
|
+
"vue": "^3.4.15",
|
|
68
68
|
"vue-tsc": "^1.8.27"
|
|
69
69
|
},
|
|
70
70
|
"dependencies": {
|
|
@@ -72,17 +72,17 @@
|
|
|
72
72
|
"@iconify-json/heroicons": "^1.1.19",
|
|
73
73
|
"@iconify-json/heroicons-outline": "^1.1.10",
|
|
74
74
|
"@iconify-json/heroicons-solid": "^1.1.11",
|
|
75
|
-
"@iconify/json": "^2.2.
|
|
75
|
+
"@iconify/json": "^2.2.175",
|
|
76
76
|
"@julr/unocss-preset-forms": "^0.1.0",
|
|
77
77
|
"@stacksjs/build": "workspace:*",
|
|
78
78
|
"@stacksjs/config": "workspace:*",
|
|
79
79
|
"@stacksjs/router": "workspace:*",
|
|
80
|
-
"@unhead/vue": "^1.8.
|
|
80
|
+
"@unhead/vue": "^1.8.10",
|
|
81
81
|
"pinia": "^2.1.7",
|
|
82
|
-
"unhead": "^1.8.
|
|
83
|
-
"unocss": "^0.58.
|
|
82
|
+
"unhead": "^1.8.10",
|
|
83
|
+
"unocss": "^0.58.4",
|
|
84
84
|
"vite-plugin-vue-layouts": "^0.11.0",
|
|
85
|
-
"vue": "^3.4.
|
|
85
|
+
"vue": "^3.4.15",
|
|
86
86
|
"vue-tsc": "^1.8.27"
|
|
87
87
|
},
|
|
88
88
|
"devDependencies": {
|
package/core/utils/dist/index.js
CHANGED