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
package/core/README.md
CHANGED
|
@@ -110,7 +110,7 @@ Develop beautiful, reactive, composable UIs without learning a new set of langua
|
|
|
110
110
|
It's incredibly easy to get started with this framework. Simply run the following command in your terminal:
|
|
111
111
|
|
|
112
112
|
```bash
|
|
113
|
-
|
|
113
|
+
curl -Ssf stacksjs.org | sh # wip
|
|
114
114
|
|
|
115
115
|
# alternatively, if Node.js >= v18.16 is installed already,
|
|
116
116
|
# you may also get started via:
|
|
@@ -24,7 +24,7 @@ await runCommand("bun zip/api.ts", {
|
|
|
24
24
|
await runCommand("bun zip.ts", {
|
|
25
25
|
cwd: p.cloudPath()
|
|
26
26
|
});
|
|
27
|
-
log.info("Preparing
|
|
27
|
+
log.info("Preparing Deployment...");
|
|
28
28
|
var profile = process.env.AWS_PROFILE || "stacks";
|
|
29
29
|
await runCommand(`bunx cdk deploy --require-approval never --profile="${profile}"`, {
|
|
30
30
|
cwd: p.cloudPath()
|
|
@@ -5,7 +5,7 @@ import {parseOptions, runCommand} from "@stacksjs/cli";
|
|
|
5
5
|
var options = parseOptions();
|
|
6
6
|
if (options.verbose)
|
|
7
7
|
console.log("dev components options", options);
|
|
8
|
-
await runCommand(`bunx
|
|
8
|
+
await runCommand(`bunx vite --config ${vitePath("src/components.ts")}`, {
|
|
9
9
|
...options,
|
|
10
10
|
cwd: frameworkPath()
|
|
11
11
|
});
|
|
@@ -71,6 +71,14 @@ async function runComponentsDevServer(options) {
|
|
|
71
71
|
log2.info("Starting your Library Engine...");
|
|
72
72
|
await runAction(Action.DevComponents, options);
|
|
73
73
|
}
|
|
74
|
+
async function runDashboardDevServer(options) {
|
|
75
|
+
log2.info("Starting your Dashboard...");
|
|
76
|
+
await runAction(Action.DevDashboard, options);
|
|
77
|
+
}
|
|
78
|
+
async function runSystemTrayDevServer(options) {
|
|
79
|
+
log2.info("Starting your System Tray...");
|
|
80
|
+
await runAction(Action.DevSystemTray, options);
|
|
81
|
+
}
|
|
74
82
|
async function runDesktopDevServer(options) {
|
|
75
83
|
log2.info("Starting your Desktop Engine...");
|
|
76
84
|
await runAction(Action.DevDesktop, options);
|
|
@@ -80,10 +88,12 @@ async function runDocsDevServer(options) {
|
|
|
80
88
|
await runAction(Action.DevDocs, options);
|
|
81
89
|
}
|
|
82
90
|
export {
|
|
91
|
+
runSystemTrayDevServer,
|
|
83
92
|
runFrontendDevServer,
|
|
84
93
|
runDocsDevServer,
|
|
85
94
|
runDevServer,
|
|
86
95
|
runDesktopDevServer,
|
|
96
|
+
runDashboardDevServer,
|
|
87
97
|
runComponentsDevServer,
|
|
88
98
|
runBackendDevServer,
|
|
89
99
|
runApiDevServer
|
|
@@ -70,7 +70,7 @@ async function createLibraryEntryPoint(type) {
|
|
|
70
70
|
await createFunctionLibraryEntryPoint();
|
|
71
71
|
}
|
|
72
72
|
async function createVueLibraryEntryPoint(type = "vue-components") {
|
|
73
|
-
log.info("Creating
|
|
73
|
+
log.info("Creating Vue component library entry point...");
|
|
74
74
|
await writeTextFile({
|
|
75
75
|
path: libraryEntryPath(type),
|
|
76
76
|
data: generateEntryPointData(type)
|
|
@@ -81,7 +81,7 @@ async function createVueLibraryEntryPoint(type = "vue-components") {
|
|
|
81
81
|
log.success("Created the Vue component library entry point");
|
|
82
82
|
}
|
|
83
83
|
async function createWebComponentLibraryEntryPoint(type = "web-components") {
|
|
84
|
-
log.info("Creating
|
|
84
|
+
log.info("Creating Web Component library entry point...");
|
|
85
85
|
await writeTextFile({
|
|
86
86
|
path: libraryEntryPath(type),
|
|
87
87
|
data: generateEntryPointData(type)
|
|
@@ -92,7 +92,7 @@ async function createWebComponentLibraryEntryPoint(type = "web-components") {
|
|
|
92
92
|
log.success("Created Web Component library entry point");
|
|
93
93
|
}
|
|
94
94
|
async function createFunctionLibraryEntryPoint(type = "functions") {
|
|
95
|
-
log.info("Creating
|
|
95
|
+
log.info("Creating Function library entry point...");
|
|
96
96
|
await writeTextFile({
|
|
97
97
|
path: libraryEntryPath(type),
|
|
98
98
|
data: generateEntryPointData(type)
|
|
@@ -68,7 +68,7 @@ async function createLibraryEntryPoint(type) {
|
|
|
68
68
|
await createFunctionLibraryEntryPoint();
|
|
69
69
|
}
|
|
70
70
|
async function createVueLibraryEntryPoint(type = "vue-components") {
|
|
71
|
-
log.info("Creating
|
|
71
|
+
log.info("Creating Vue component library entry point...");
|
|
72
72
|
await writeTextFile({
|
|
73
73
|
path: libraryEntryPath(type),
|
|
74
74
|
data: generateEntryPointData(type)
|
|
@@ -79,7 +79,7 @@ async function createVueLibraryEntryPoint(type = "vue-components") {
|
|
|
79
79
|
log.success("Created the Vue component library entry point");
|
|
80
80
|
}
|
|
81
81
|
async function createWebComponentLibraryEntryPoint(type = "web-components") {
|
|
82
|
-
log.info("Creating
|
|
82
|
+
log.info("Creating Web Component library entry point...");
|
|
83
83
|
await writeTextFile({
|
|
84
84
|
path: libraryEntryPath(type),
|
|
85
85
|
data: generateEntryPointData(type)
|
|
@@ -90,7 +90,7 @@ async function createWebComponentLibraryEntryPoint(type = "web-components") {
|
|
|
90
90
|
log.success("Created Web Component library entry point");
|
|
91
91
|
}
|
|
92
92
|
async function createFunctionLibraryEntryPoint(type = "functions") {
|
|
93
|
-
log.info("Creating
|
|
93
|
+
log.info("Creating Function library entry point...");
|
|
94
94
|
await writeTextFile({
|
|
95
95
|
path: libraryEntryPath(type),
|
|
96
96
|
data: generateEntryPointData(type)
|
|
@@ -71,6 +71,14 @@ async function runComponentsDevServer(options) {
|
|
|
71
71
|
log2.info("Starting your Library Engine...");
|
|
72
72
|
await runAction(Action.DevComponents, options);
|
|
73
73
|
}
|
|
74
|
+
async function runDashboardDevServer(options) {
|
|
75
|
+
log2.info("Starting your Dashboard...");
|
|
76
|
+
await runAction(Action.DevDashboard, options);
|
|
77
|
+
}
|
|
78
|
+
async function runSystemTrayDevServer(options) {
|
|
79
|
+
log2.info("Starting your System Tray...");
|
|
80
|
+
await runAction(Action.DevSystemTray, options);
|
|
81
|
+
}
|
|
74
82
|
async function runDesktopDevServer(options) {
|
|
75
83
|
log2.info("Starting your Desktop Engine...");
|
|
76
84
|
await runAction(Action.DevDesktop, options);
|
|
@@ -526,12 +534,14 @@ class Action3 {
|
|
|
526
534
|
}
|
|
527
535
|
}
|
|
528
536
|
export {
|
|
537
|
+
runSystemTrayDevServer,
|
|
529
538
|
make as runMake,
|
|
530
539
|
runFrontendDevServer,
|
|
531
540
|
examples as runExample,
|
|
532
541
|
runDocsDevServer,
|
|
533
542
|
runDevServer,
|
|
534
543
|
runDesktopDevServer,
|
|
544
|
+
runDashboardDevServer,
|
|
535
545
|
runComponentsDevServer,
|
|
536
546
|
commit as runCommit,
|
|
537
547
|
runBackendDevServer,
|
|
@@ -3,6 +3,6 @@
|
|
|
3
3
|
import {log, runCommands} from "@stacksjs/cli";
|
|
4
4
|
import {projectPath} from "@stacksjs/path";
|
|
5
5
|
import {NpmScript} from "@stacksjs/enums";
|
|
6
|
-
log.info("Ensuring
|
|
6
|
+
log.info("Ensuring Code Style...");
|
|
7
7
|
await runCommands([NpmScript.LintFix], { cwd: projectPath() });
|
|
8
8
|
log.success("Linted");
|
|
@@ -73,6 +73,14 @@ async function runComponentsDevServer(options) {
|
|
|
73
73
|
log2.info("Starting your Library Engine...");
|
|
74
74
|
await runAction(Action.DevComponents, options);
|
|
75
75
|
}
|
|
76
|
+
async function runDashboardDevServer(options) {
|
|
77
|
+
log2.info("Starting your Dashboard...");
|
|
78
|
+
await runAction(Action.DevDashboard, options);
|
|
79
|
+
}
|
|
80
|
+
async function runSystemTrayDevServer(options) {
|
|
81
|
+
log2.info("Starting your System Tray...");
|
|
82
|
+
await runAction(Action.DevSystemTray, options);
|
|
83
|
+
}
|
|
76
84
|
async function runDesktopDevServer(options) {
|
|
77
85
|
log2.info("Starting your Desktop Engine...");
|
|
78
86
|
await runAction(Action.DevDesktop, options);
|
|
@@ -6,7 +6,7 @@ import {log} from "@stacksjs/logging";
|
|
|
6
6
|
import {projectPath} from "@stacksjs/path";
|
|
7
7
|
import * as storage from "@stacksjs/storage";
|
|
8
8
|
// package.json
|
|
9
|
-
var version = "0.58.
|
|
9
|
+
var version = "0.58.30";
|
|
10
10
|
|
|
11
11
|
// src/upgrade.ts
|
|
12
12
|
function checkForUncommittedChanges(options) {
|
|
@@ -6,14 +6,14 @@ import { config } from '@stacksjs/config'
|
|
|
6
6
|
const options = parseOptions()
|
|
7
7
|
|
|
8
8
|
if (options.verbose)
|
|
9
|
-
log.info('Running API dev server via', `bunx
|
|
9
|
+
log.info('Running API dev server via', `bunx vite --config ${p.vitePath('src/api.ts')}`, options)
|
|
10
10
|
|
|
11
11
|
serve({
|
|
12
12
|
port: config.app.ports?.api, // defaults to 3999
|
|
13
13
|
})
|
|
14
14
|
|
|
15
15
|
// we need this proxied by vite
|
|
16
|
-
await runCommand(`bunx
|
|
16
|
+
await runCommand(`bunx vite --config ${p.vitePath('src/api.ts')}`, {
|
|
17
17
|
// ...options,
|
|
18
18
|
cwd: p.frameworkPath(),
|
|
19
19
|
})
|
|
@@ -8,7 +8,7 @@ if (options.verbose)
|
|
|
8
8
|
// eslint-disable-next-line no-console
|
|
9
9
|
console.log('dev components options', options)
|
|
10
10
|
|
|
11
|
-
await runCommand(`bunx
|
|
11
|
+
await runCommand(`bunx vite --config ${vitePath('src/components.ts')}`, {
|
|
12
12
|
...options,
|
|
13
13
|
cwd: frameworkPath(),
|
|
14
14
|
})
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { runCommand } from '@stacksjs/cli'
|
|
2
|
-
import {
|
|
2
|
+
import { frameworkPath } from '@stacksjs/path'
|
|
3
3
|
|
|
4
|
-
await runCommand('bun run dev
|
|
4
|
+
await runCommand('bun run dev', {
|
|
5
5
|
// ...options,
|
|
6
|
-
cwd:
|
|
6
|
+
cwd: frameworkPath('views/desktop'),
|
|
7
7
|
})
|
|
@@ -27,6 +27,16 @@ export async function runComponentsDevServer(options: DevOptions) {
|
|
|
27
27
|
await runAction(Action.DevComponents, options)
|
|
28
28
|
}
|
|
29
29
|
|
|
30
|
+
export async function runDashboardDevServer(options: DevOptions) {
|
|
31
|
+
log.info('Starting your Dashboard...')
|
|
32
|
+
await runAction(Action.DevDashboard, options)
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
export async function runSystemTrayDevServer(options: DevOptions) {
|
|
36
|
+
log.info('Starting your System Tray...')
|
|
37
|
+
await runAction(Action.DevSystemTray, options)
|
|
38
|
+
}
|
|
39
|
+
|
|
30
40
|
export async function runDesktopDevServer(options: DevOptions) {
|
|
31
41
|
log.info('Starting your Desktop Engine...')
|
|
32
42
|
await runAction(Action.DevDesktop, options)
|
|
@@ -30,7 +30,7 @@ export async function createLibraryEntryPoint(type: LibraryType) {
|
|
|
30
30
|
}
|
|
31
31
|
|
|
32
32
|
export async function createVueLibraryEntryPoint(type: LibraryType = 'vue-components') {
|
|
33
|
-
log.info('Creating
|
|
33
|
+
log.info('Creating Vue component library entry point...')
|
|
34
34
|
|
|
35
35
|
await writeTextFile({
|
|
36
36
|
path: libraryEntryPath(type),
|
|
@@ -44,7 +44,7 @@ export async function createVueLibraryEntryPoint(type: LibraryType = 'vue-compon
|
|
|
44
44
|
}
|
|
45
45
|
|
|
46
46
|
export async function createWebComponentLibraryEntryPoint(type: LibraryType = 'web-components') {
|
|
47
|
-
log.info('Creating
|
|
47
|
+
log.info('Creating Web Component library entry point...')
|
|
48
48
|
|
|
49
49
|
await writeTextFile({
|
|
50
50
|
path: libraryEntryPath(type),
|
|
@@ -58,7 +58,7 @@ export async function createWebComponentLibraryEntryPoint(type: LibraryType = 'w
|
|
|
58
58
|
}
|
|
59
59
|
|
|
60
60
|
export async function createFunctionLibraryEntryPoint(type: LibraryType = 'functions') {
|
|
61
|
-
log.info('Creating
|
|
61
|
+
log.info('Creating Function library entry point...')
|
|
62
62
|
|
|
63
63
|
await writeTextFile({
|
|
64
64
|
path: libraryEntryPath(type),
|
|
@@ -2,6 +2,6 @@ import { log, runCommands } from '@stacksjs/cli'
|
|
|
2
2
|
import { projectPath } from '@stacksjs/path'
|
|
3
3
|
import { NpmScript } from '@stacksjs/enums'
|
|
4
4
|
|
|
5
|
-
log.info('Ensuring
|
|
5
|
+
log.info('Ensuring Code Style...')
|
|
6
6
|
await runCommands([NpmScript.LintFix], { cwd: projectPath() })
|
|
7
7
|
log.success('Linted')
|
package/core/ai/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@stacksjs/ai",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "0.58.
|
|
4
|
+
"version": "0.58.30",
|
|
5
5
|
"description": "Stacks Artificial Intelligence.",
|
|
6
6
|
"author": "Chris Breuer",
|
|
7
7
|
"license": "MIT",
|
|
@@ -48,10 +48,10 @@
|
|
|
48
48
|
"prepublishOnly": "bun --bun run build"
|
|
49
49
|
},
|
|
50
50
|
"peerDependencies": {
|
|
51
|
-
"@aws-sdk/client-bedrock-runtime": "^3.
|
|
51
|
+
"@aws-sdk/client-bedrock-runtime": "^3.501.0"
|
|
52
52
|
},
|
|
53
53
|
"dependencies": {
|
|
54
|
-
"@aws-sdk/client-bedrock-runtime": "^3.
|
|
54
|
+
"@aws-sdk/client-bedrock-runtime": "^3.501.0"
|
|
55
55
|
},
|
|
56
56
|
"devDependencies": {
|
|
57
57
|
"@stacksjs/development": "workspace:*"
|
package/core/alias/package.json
CHANGED
package/core/api/package.json
CHANGED
package/core/arrays/package.json
CHANGED
package/core/auth/package.json
CHANGED
package/core/buddy/README.md
CHANGED
|
@@ -114,7 +114,7 @@ Develop beautiful, reactive, composable UIs without learning a new set of langua
|
|
|
114
114
|
It's incredibly easy to get started with this framework. Simply run the following command in your terminal:
|
|
115
115
|
|
|
116
116
|
```bash
|
|
117
|
-
|
|
117
|
+
curl -Ssf stacksjs.org | sh # wip
|
|
118
118
|
|
|
119
119
|
# alternatively, if Bun >= v1.0 is installed already,
|
|
120
120
|
# you may also get started via:
|
|
@@ -171,7 +171,7 @@ buddy upgrade:all # auto-upgrades all of the above
|
|
|
171
171
|
buddy dev # starts the frontend dev server
|
|
172
172
|
buddy dev -i # prompts any of the dev servers (components, functions, views, or docs)
|
|
173
173
|
buddy dev:api # starts the API dev server
|
|
174
|
-
buddy dev:
|
|
174
|
+
buddy dev:dashboard # starts the Admin/Dashboard dev server
|
|
175
175
|
buddy dev:desktop # starts the Desktop dev server
|
|
176
176
|
buddy dev:views # starts frontend dev server
|
|
177
177
|
buddy dev:components # starts component dev server
|
|
@@ -15,8 +15,5 @@ var __toESM = (mod, isNodeMode, target) => {
|
|
|
15
15
|
return to;
|
|
16
16
|
};
|
|
17
17
|
var __commonJS = (cb, mod) => () => (mod || cb((mod = { exports: {} }).exports, mod), mod.exports);
|
|
18
|
-
var __require = (id) => {
|
|
19
|
-
return import.meta.require(id);
|
|
20
|
-
};
|
|
21
18
|
|
|
22
|
-
export { __toESM, __commonJS
|
|
19
|
+
export { __toESM, __commonJS };
|