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
|
@@ -270,7 +270,7 @@ __export(exports_config, {
|
|
|
270
270
|
},
|
|
271
271
|
api: () => {
|
|
272
272
|
{
|
|
273
|
-
return
|
|
273
|
+
return api;
|
|
274
274
|
}
|
|
275
275
|
},
|
|
276
276
|
analytics: () => {
|
|
@@ -689,56 +689,46 @@ var ai_default = {
|
|
|
689
689
|
]
|
|
690
690
|
};
|
|
691
691
|
|
|
692
|
-
// /home/runner/work/stacks/stacks/config/api.ts
|
|
693
|
-
import {env as env2} from "@stacksjs/env";
|
|
694
|
-
var api_default = {
|
|
695
|
-
prefix: env2.API_PREFIX || "api",
|
|
696
|
-
description: "Stacks API",
|
|
697
|
-
memorySize: 512,
|
|
698
|
-
prewarm: 10,
|
|
699
|
-
timeout: 30
|
|
700
|
-
};
|
|
701
|
-
|
|
702
692
|
// /home/runner/work/stacks/stacks/config/app.ts
|
|
703
|
-
import {env as
|
|
693
|
+
import {env as env2} from "@stacksjs/env";
|
|
704
694
|
var app_default = {
|
|
705
|
-
name:
|
|
695
|
+
name: env2.APP_NAME || "Stacks",
|
|
706
696
|
description: "Stacks is a full-stack framework for building modern web applications.",
|
|
707
|
-
env:
|
|
708
|
-
url:
|
|
697
|
+
env: env2.APP_ENV || "development",
|
|
698
|
+
url: env2.APP_URL || "stacks.localhost",
|
|
709
699
|
redirectUrls: ["stacksjs.com"],
|
|
710
|
-
debug:
|
|
711
|
-
key:
|
|
712
|
-
maintenanceMode:
|
|
700
|
+
debug: env2.DEBUG || false,
|
|
701
|
+
key: env2.APP_KEY,
|
|
702
|
+
maintenanceMode: env2.APP_MAINTENANCE || false,
|
|
713
703
|
docMode: true,
|
|
714
704
|
timezone: "UTC",
|
|
715
705
|
locale: "en",
|
|
716
706
|
fallbackLocale: "en",
|
|
717
707
|
cipher: "aes-256-cbc",
|
|
718
708
|
ports: {
|
|
719
|
-
frontend:
|
|
720
|
-
backend:
|
|
721
|
-
admin:
|
|
722
|
-
library:
|
|
723
|
-
desktop:
|
|
724
|
-
email:
|
|
725
|
-
docs:
|
|
726
|
-
inspect:
|
|
709
|
+
frontend: env2.APP_PORT || 3333,
|
|
710
|
+
backend: env2.APP_PORT + 1 || 3334,
|
|
711
|
+
admin: env2.APP_PORT + 2 || 3335,
|
|
712
|
+
library: env2.APP_PORT + 3 || 3336,
|
|
713
|
+
desktop: env2.APP_PORT + 4 || 3337,
|
|
714
|
+
email: env2.APP_PORT + 5 || 3338,
|
|
715
|
+
docs: env2.APP_PORT + 6 || 3339,
|
|
716
|
+
inspect: env2.APP_PORT + 7 || 3340,
|
|
727
717
|
api: 3999
|
|
728
718
|
}
|
|
729
719
|
};
|
|
730
720
|
|
|
731
721
|
// /home/runner/work/stacks/stacks/config/cache.ts
|
|
732
|
-
import {env as
|
|
722
|
+
import {env as env4} from "@stacksjs/env";
|
|
733
723
|
var cache_default = {
|
|
734
724
|
driver: "redis",
|
|
735
725
|
prefix: "stacks",
|
|
736
726
|
ttl: 3600,
|
|
737
727
|
drivers: {
|
|
738
728
|
dynamodb: {
|
|
739
|
-
key:
|
|
740
|
-
secret:
|
|
741
|
-
region:
|
|
729
|
+
key: env4.AWS_ACCESS_KEY_ID || "",
|
|
730
|
+
secret: env4.AWS_SECRET_ACCESS_KEY || "",
|
|
731
|
+
region: env4.AWS_DEFAULT_REGION || "us-east-1",
|
|
742
732
|
table: "cache",
|
|
743
733
|
endpoint: ""
|
|
744
734
|
},
|
|
@@ -769,6 +759,9 @@ var cli_default = {
|
|
|
769
759
|
description: "This is an example command to illustrate how to create your own commands. Check out `../app/commands` for more."
|
|
770
760
|
};
|
|
771
761
|
|
|
762
|
+
// /home/runner/work/stacks/stacks/config/cloud.ts
|
|
763
|
+
import {env as env6} from "@stacksjs/env";
|
|
764
|
+
|
|
772
765
|
// /home/runner/work/stacks/stacks/config/security.ts
|
|
773
766
|
var security_default = {
|
|
774
767
|
firewall: {
|
|
@@ -804,9 +797,16 @@ var cloud_default = {
|
|
|
804
797
|
queryStrings: []
|
|
805
798
|
}
|
|
806
799
|
},
|
|
800
|
+
api: {
|
|
801
|
+
prefix: env6.API_PREFIX || "api",
|
|
802
|
+
description: "Stacks API",
|
|
803
|
+
memorySize: 512,
|
|
804
|
+
prewarm: 10,
|
|
805
|
+
timeout: 30
|
|
806
|
+
},
|
|
807
807
|
ai: true,
|
|
808
|
+
cli: true,
|
|
808
809
|
docs: true,
|
|
809
|
-
api: true,
|
|
810
810
|
fileSystem: true
|
|
811
811
|
};
|
|
812
812
|
|
|
@@ -859,7 +859,6 @@ var dns_default = {
|
|
|
859
859
|
// /home/runner/work/stacks/stacks/config/docs.ts
|
|
860
860
|
import {SocialLinkIcon} from "@stacksjs/types";
|
|
861
861
|
var nav = [
|
|
862
|
-
{ text: "Config", link: "/config", activeMatch: "/config" },
|
|
863
862
|
{
|
|
864
863
|
text: "Changelog",
|
|
865
864
|
link: "https://github.com/stacksjs/stacks/blob/main/CHANGELOG.md"
|
|
@@ -868,7 +867,8 @@ var nav = [
|
|
|
868
867
|
text: "Resources",
|
|
869
868
|
items: [
|
|
870
869
|
{ text: "Team", link: "/team" },
|
|
871
|
-
{ text: "
|
|
870
|
+
{ text: "Postcardware", link: "/postcardware" },
|
|
871
|
+
{ text: "Changelog", link: "https://github.com/stacksjs/stacks/blob/main/CHANGELOG.md" },
|
|
872
872
|
{
|
|
873
873
|
items: [
|
|
874
874
|
{
|
|
@@ -883,10 +883,6 @@ var nav = [
|
|
|
883
883
|
text: "Awesome Stacks",
|
|
884
884
|
link: "https://github.com/stacksjs/awesome-stacks"
|
|
885
885
|
},
|
|
886
|
-
{
|
|
887
|
-
text: "Changelog",
|
|
888
|
-
link: "https://github.com/stacksjs/stacks/blob/main/CHANGELOG.md"
|
|
889
|
-
},
|
|
890
886
|
{
|
|
891
887
|
text: "Contributing",
|
|
892
888
|
link: "https://github.com/stacksjs/stacks/blob/main/.github/CONTRIBUTING.md"
|
|
@@ -937,17 +933,17 @@ var sidebar = {
|
|
|
937
933
|
collapsible: true,
|
|
938
934
|
collapsed: true,
|
|
939
935
|
items: [
|
|
940
|
-
{ text: "
|
|
941
|
-
{ text: "
|
|
942
|
-
{ text: "Unit & Feature Tests", link: "/bootcamp/how-to/testing" },
|
|
936
|
+
{ text: "Authentication", link: "/bootcamp/how-to/authentication" },
|
|
937
|
+
{ text: "Create a Mailbox", link: "/bootcamp/how-to/create-mailbox" },
|
|
943
938
|
{ text: "Define env & config values", link: "/bootcamp/how-to/env-config" },
|
|
944
939
|
{ text: "Error Handling", link: "/bootcamp/how-to/error-handling" },
|
|
945
|
-
{ text: "
|
|
946
|
-
{ text: "
|
|
940
|
+
{ text: "Extend the Cloud", link: "/bootcamp/how-to/extend-cloud" },
|
|
941
|
+
{ text: "Extend the Dashboard", link: "/bootcamp/how-to/extend-dashboard" },
|
|
942
|
+
{ text: "How to deploy?", link: "/bootcamp/how-to/deploy" },
|
|
947
943
|
{ text: "IDE Setup", link: "/bootcamp/how-to/ide-setup" },
|
|
948
944
|
{ text: "Manage a Team", link: "/bootcamp/how-to/manage-team" },
|
|
949
|
-
{ text: "
|
|
950
|
-
{ text: "
|
|
945
|
+
{ text: "Publish Components & Functions", link: "/bootcamp/how-to/publish" },
|
|
946
|
+
{ text: "Unit & Feature Tests", link: "/bootcamp/how-to/testing" }
|
|
951
947
|
]
|
|
952
948
|
},
|
|
953
949
|
{
|
|
@@ -955,14 +951,15 @@ var sidebar = {
|
|
|
955
951
|
collapsible: true,
|
|
956
952
|
collapsed: true,
|
|
957
953
|
items: [
|
|
958
|
-
{ text: "Semantic Commits", link: "/bootcamp/tips/semantic-commits" },
|
|
959
|
-
{ text: "Email, SMS, Social & Push notifications", link: "/bootcamp/tips/notifications" },
|
|
960
|
-
{ text: "Payment sending, receiving & management", link: "/bootcamp/tips/payments" },
|
|
961
954
|
{ text: "Cost Optimization", link: "/bootcamp/tips/cost-optimization" },
|
|
955
|
+
{ text: "Email, SMS, Social & Push Notifications", link: "/bootcamp/tips/notifications" },
|
|
962
956
|
{ text: "Jump Box", link: "/bootcamp/tips/jump-box" },
|
|
957
|
+
{ text: "Limitations", link: "/bootcamp/tips/limitations" },
|
|
958
|
+
{ text: "Payment sending, receiving & management", link: "/bootcamp/tips/payments" },
|
|
963
959
|
{ text: "Remove your Cloud", link: "/bootcamp/tips/undeploy" },
|
|
960
|
+
{ text: "Semantic Commits", link: "/bootcamp/tips/semantic-commits" },
|
|
964
961
|
{ text: "Ship your ORM", link: "/bootcamp/tips/orm-usage" },
|
|
965
|
-
{ text: "
|
|
962
|
+
{ text: "System Tray App", link: "/bootcamp/tips/system-tray" }
|
|
966
963
|
]
|
|
967
964
|
},
|
|
968
965
|
{ text: "Conclusion", link: "/bootcamp/conclusion" }
|
|
@@ -976,6 +973,7 @@ var sidebar = {
|
|
|
976
973
|
{ text: "APIs", link: "/guide/apis" },
|
|
977
974
|
{ text: "Apps", link: "/guide/apps" },
|
|
978
975
|
{ text: "Authentication", link: "/guide/auth" },
|
|
976
|
+
{ text: "Bootstrap", link: "/guide/bootstrap" },
|
|
979
977
|
{
|
|
980
978
|
text: "Buddy",
|
|
981
979
|
collapsible: true,
|
|
@@ -999,6 +997,7 @@ var sidebar = {
|
|
|
999
997
|
{ text: "HTTP", link: "/guide/buddy/http" },
|
|
1000
998
|
{ text: "DNS", link: "/guide/buddy/dns" },
|
|
1001
999
|
{ text: "Key", link: "/guide/buddy/key" },
|
|
1000
|
+
{ text: "Projects", link: "/guide/buddy/projects" },
|
|
1002
1001
|
{ text: "Domains", link: "/guide/buddy/domains" },
|
|
1003
1002
|
{ text: "Generate", link: "/guide/buddy/generate" },
|
|
1004
1003
|
{ text: "Test", link: "/guide/buddy/test" },
|
|
@@ -1035,78 +1034,81 @@ var sidebar = {
|
|
|
1035
1034
|
]
|
|
1036
1035
|
},
|
|
1037
1036
|
{ text: "Model-View-Action", link: "/guide/model-view-action" },
|
|
1038
|
-
{
|
|
1039
|
-
text: "Packages",
|
|
1040
|
-
collapsible: true,
|
|
1041
|
-
collapsed: true,
|
|
1042
|
-
items: [
|
|
1043
|
-
{ text: "Actions", link: "/guide/packages/actions" },
|
|
1044
|
-
{ text: "AI", link: "/guide/packages/ai" },
|
|
1045
|
-
{ text: "Alias", link: "/guide/packages/alias" },
|
|
1046
|
-
{ text: "Analytics", link: "/guide/packages/analytics" },
|
|
1047
|
-
{ text: "Arrays", link: "/guide/packages/arrays" },
|
|
1048
|
-
{ text: "Auth", link: "/guide/packages/auth" },
|
|
1049
|
-
{ text: "Buddy", link: "/guide/packages/buddy" },
|
|
1050
|
-
{ text: "Build", link: "/guide/packages/build" },
|
|
1051
|
-
{ text: "Cache", link: "/guide/packages/cache" },
|
|
1052
|
-
{ text: "Chat", link: "/guide/packages/chat" },
|
|
1053
|
-
{ text: "CLI", link: "/guide/packages/cli" },
|
|
1054
|
-
{ text: "Cloud", link: "/guide/packages/cloud" },
|
|
1055
|
-
{ text: "Collections", link: "/guide/packages/collections" },
|
|
1056
|
-
{ text: "Config", link: "/guide/packages/config" },
|
|
1057
|
-
{ text: "Database", link: "/guide/packages/database" },
|
|
1058
|
-
{ text: "Datetime", link: "/guide/packages/datetime" },
|
|
1059
|
-
{ text: "Desktop", link: "/guide/packages/desktop" },
|
|
1060
|
-
{ text: "Development", link: "/guide/packages/development" },
|
|
1061
|
-
{ text: "DNS", link: "/guide/packages/dns" },
|
|
1062
|
-
{ text: "Docs", link: "/guide/packages/docs" },
|
|
1063
|
-
{ text: "Email", link: "/guide/packages/email" },
|
|
1064
|
-
{ text: "Env", link: "/guide/packages/env" },
|
|
1065
|
-
{ text: "Error Handling", link: "/guide/packages/error-handling" },
|
|
1066
|
-
{ text: "ESlint Config", link: "/guide/packages/error-handling" },
|
|
1067
|
-
{ text: "Events", link: "/guide/packages/events" },
|
|
1068
|
-
{ text: "Faker", link: "/guide/packages/faker" },
|
|
1069
|
-
{ text: "Git", link: "/guide/packages/git" },
|
|
1070
|
-
{ text: "Health", link: "/guide/packages/health" },
|
|
1071
|
-
{ text: "Http", link: "/guide/packages/http" },
|
|
1072
|
-
{ text: "Lint", link: "/guide/packages/lint" },
|
|
1073
|
-
{ text: "Logging", link: "/guide/packages/logging" },
|
|
1074
|
-
{ text: "Modules", link: "/guide/packages/modules" },
|
|
1075
|
-
{ text: "Notifications", link: "/guide/packages/notifications" },
|
|
1076
|
-
{ text: "Objects", link: "/guide/packages/objects" },
|
|
1077
|
-
{ text: "ORM", link: "/guide/packages/orm" },
|
|
1078
|
-
{ text: "Path", link: "/guide/packages/path" },
|
|
1079
|
-
{ text: "Payments", link: "/guide/packages/payments" },
|
|
1080
|
-
{ text: "Permissions", link: "/guide/packages/permissions" },
|
|
1081
|
-
{ text: "Push", link: "/guide/packages/push" },
|
|
1082
|
-
{ text: "Query Builder", link: "/guide/packages/query-builder" },
|
|
1083
|
-
{ text: "Queue", link: "/guide/packages/queue" },
|
|
1084
|
-
{ text: "Realtime", link: "/guide/packages/realtime" },
|
|
1085
|
-
{ text: "REPL", link: "/guide/packages/repl" },
|
|
1086
|
-
{ text: "Router", link: "/guide/packages/router" },
|
|
1087
|
-
{ text: "Scheduler", link: "/guide/packages/scheduler" },
|
|
1088
|
-
{ text: "Search Engine", link: "/guide/packages/search-engine" },
|
|
1089
|
-
{ text: "Security", link: "/guide/packages/security" },
|
|
1090
|
-
{ text: "Server", link: "/guide/packages/server" },
|
|
1091
|
-
{ text: "Signals", link: "/guide/packages/signals" },
|
|
1092
|
-
{ text: "Slug", link: "/guide/packages/slug" },
|
|
1093
|
-
{ text: "SMS", link: "/guide/packages/sms" },
|
|
1094
|
-
{ text: "Storage", link: "/guide/packages/storage" },
|
|
1095
|
-
{ text: "Strings", link: "/guide/packages/strings" },
|
|
1096
|
-
{ text: "Testing", link: "/guide/packages/testing" },
|
|
1097
|
-
{ text: "Tinker", link: "/guide/packages/tinker" },
|
|
1098
|
-
{ text: "Tunnel", link: "/guide/packages/tunnel" },
|
|
1099
|
-
{ text: "Types", link: "/guide/packages/types" },
|
|
1100
|
-
{ text: "UI", link: "/guide/packages/ui" },
|
|
1101
|
-
{ text: "Utils", link: "/guide/packages/utils" },
|
|
1102
|
-
{ text: "Validation", link: "/guide/packages/validation" },
|
|
1103
|
-
{ text: "Vite", link: "/guide/packages/vite" }
|
|
1104
|
-
]
|
|
1105
|
-
},
|
|
1106
1037
|
{ text: "Plugins", link: "/guide/plugins" },
|
|
1107
1038
|
{ text: "Testing", link: "/guide/testing" }
|
|
1108
1039
|
]
|
|
1109
1040
|
},
|
|
1041
|
+
{
|
|
1042
|
+
text: "Features",
|
|
1043
|
+
collapsible: true,
|
|
1044
|
+
collapsed: true,
|
|
1045
|
+
items: [
|
|
1046
|
+
{ text: "$ Shell", link: "/features/$-shell" },
|
|
1047
|
+
{ text: "Actions", link: "/features/actions" },
|
|
1048
|
+
{ text: "AI", link: "/features/ai" },
|
|
1049
|
+
{ text: "Alias", link: "/features/alias" },
|
|
1050
|
+
{ text: "Analytics", link: "/features/analytics" },
|
|
1051
|
+
{ text: "Arrays", link: "/features/arrays" },
|
|
1052
|
+
{ text: "Auth", link: "/features/auth" },
|
|
1053
|
+
{ text: "Buddy", link: "/features/buddy" },
|
|
1054
|
+
{ text: "Build", link: "/features/build" },
|
|
1055
|
+
{ text: "Cache", link: "/features/cache" },
|
|
1056
|
+
{ text: "Chat", link: "/features/chat" },
|
|
1057
|
+
{ text: "CLI", link: "/features/cli" },
|
|
1058
|
+
{ text: "Cloud", link: "/features/cloud" },
|
|
1059
|
+
{ text: "Collections", link: "/features/collections" },
|
|
1060
|
+
{ text: "Config", link: "/features/config" },
|
|
1061
|
+
{ text: "Database", link: "/features/database" },
|
|
1062
|
+
{ text: "Datetime", link: "/features/datetime" },
|
|
1063
|
+
{ text: "Desktop", link: "/features/desktop" },
|
|
1064
|
+
{ text: "Development", link: "/features/development" },
|
|
1065
|
+
{ text: "DNS", link: "/features/dns" },
|
|
1066
|
+
{ text: "Docs", link: "/features/docs" },
|
|
1067
|
+
{ text: "Email", link: "/features/email" },
|
|
1068
|
+
{ text: "Env", link: "/features/env" },
|
|
1069
|
+
{ text: "Error Handling", link: "/features/error-handling" },
|
|
1070
|
+
{ text: "ESlint Config", link: "/features/error-handling" },
|
|
1071
|
+
{ text: "Events", link: "/features/events" },
|
|
1072
|
+
{ text: "Faker", link: "/features/faker" },
|
|
1073
|
+
{ text: "Git", link: "/features/git" },
|
|
1074
|
+
{ text: "Glob", link: "/features/glob" },
|
|
1075
|
+
{ text: "Health", link: "/features/health" },
|
|
1076
|
+
{ text: "Http", link: "/features/http" },
|
|
1077
|
+
{ text: "Lint", link: "/features/lint" },
|
|
1078
|
+
{ text: "Logging", link: "/features/logging" },
|
|
1079
|
+
{ text: "Modules", link: "/features/modules" },
|
|
1080
|
+
{ text: "Notifications", link: "/features/notifications" },
|
|
1081
|
+
{ text: "Objects", link: "/features/objects" },
|
|
1082
|
+
{ text: "ORM", link: "/features/orm" },
|
|
1083
|
+
{ text: "Path", link: "/features/path" },
|
|
1084
|
+
{ text: "Payments", link: "/features/payments" },
|
|
1085
|
+
{ text: "Permissions", link: "/features/permissions" },
|
|
1086
|
+
{ text: "Push", link: "/features/push" },
|
|
1087
|
+
{ text: "Query Builder", link: "/features/query-builder" },
|
|
1088
|
+
{ text: "Queue", link: "/features/queue" },
|
|
1089
|
+
{ text: "Realtime", link: "/features/realtime" },
|
|
1090
|
+
{ text: "REPL", link: "/features/repl" },
|
|
1091
|
+
{ text: "Router", link: "/features/router" },
|
|
1092
|
+
{ text: "Scheduler", link: "/features/scheduler" },
|
|
1093
|
+
{ text: "Search Engine", link: "/features/search-engine" },
|
|
1094
|
+
{ text: "Security", link: "/features/security" },
|
|
1095
|
+
{ text: "Semver", link: "/features/semver" },
|
|
1096
|
+
{ text: "Server", link: "/features/server" },
|
|
1097
|
+
{ text: "Signals", link: "/features/signals" },
|
|
1098
|
+
{ text: "Slug", link: "/features/slug" },
|
|
1099
|
+
{ text: "SMS", link: "/features/sms" },
|
|
1100
|
+
{ text: "Storage", link: "/features/storage" },
|
|
1101
|
+
{ text: "Strings", link: "/features/strings" },
|
|
1102
|
+
{ text: "Testing", link: "/features/testing" },
|
|
1103
|
+
{ text: "Tinker", link: "/features/tinker" },
|
|
1104
|
+
{ text: "Tunnel", link: "/features/tunnel" },
|
|
1105
|
+
{ text: "Types", link: "/features/types" },
|
|
1106
|
+
{ text: "UI", link: "/features/ui" },
|
|
1107
|
+
{ text: "Utils", link: "/features/utils" },
|
|
1108
|
+
{ text: "Validation", link: "/features/validation" },
|
|
1109
|
+
{ text: "Vite", link: "/features/vite" }
|
|
1110
|
+
]
|
|
1111
|
+
},
|
|
1110
1112
|
{
|
|
1111
1113
|
text: "Terminology",
|
|
1112
1114
|
link: "/terminology"
|
|
@@ -1116,9 +1118,10 @@ var sidebar = {
|
|
|
1116
1118
|
var docs_default = {
|
|
1117
1119
|
lang: "en-US",
|
|
1118
1120
|
title: "Stacks",
|
|
1119
|
-
description: "Rapid application, cloud & library framework.",
|
|
1121
|
+
description: "Rapid application, cloud & library development framework.",
|
|
1120
1122
|
lastUpdated: true,
|
|
1121
1123
|
themeConfig: {
|
|
1124
|
+
logo: "https://raw.githubusercontent.com/stacksjs/stacks/main/public/logo-transparent.svg?https://raw.githubusercontent.com/stacksjs/stacks/main/public/logo-transparent.svg?asdas",
|
|
1122
1125
|
nav,
|
|
1123
1126
|
sidebar,
|
|
1124
1127
|
editLink: {
|
|
@@ -1144,7 +1147,7 @@ var email_default = {
|
|
|
1144
1147
|
name: env12.MAIL_FROM_NAME || "Stacks",
|
|
1145
1148
|
address: env12.MAIL_FROM_ADDRESS || "no-reply@stacksjs.org"
|
|
1146
1149
|
},
|
|
1147
|
-
mailboxes: ["chris@stacksjs.org"],
|
|
1150
|
+
mailboxes: ["chris@stacksjs.org", "blake@stacksjs.org"],
|
|
1148
1151
|
server: {
|
|
1149
1152
|
scan: true
|
|
1150
1153
|
}
|
|
@@ -1370,7 +1373,13 @@ var services_default = {
|
|
|
1370
1373
|
var team_default = {
|
|
1371
1374
|
name: "Stacks",
|
|
1372
1375
|
members: {
|
|
1373
|
-
chris: "chris@stacksjs.org"
|
|
1376
|
+
chris: "chris@stacksjs.org",
|
|
1377
|
+
blake: "blake@stacksjs.org",
|
|
1378
|
+
zoltan: "zoltan@stacksjs.org",
|
|
1379
|
+
freddy: "freddy@stacksjs.org",
|
|
1380
|
+
glenn: "glenn@stacksjs.org",
|
|
1381
|
+
dorell: "dorell@stacksjs.org",
|
|
1382
|
+
avery: "avery@stacksjs.org"
|
|
1374
1383
|
}
|
|
1375
1384
|
};
|
|
1376
1385
|
|
|
@@ -1407,7 +1416,6 @@ var ui_default = {
|
|
|
1407
1416
|
// src/overrides.ts
|
|
1408
1417
|
var overrides_default = {
|
|
1409
1418
|
ai: ai_default,
|
|
1410
|
-
api: api_default,
|
|
1411
1419
|
app: app_default,
|
|
1412
1420
|
binary: cli_default,
|
|
1413
1421
|
cache: cache_default,
|
|
@@ -1621,7 +1629,7 @@ var config = {
|
|
|
1621
1629
|
var {
|
|
1622
1630
|
ai: ai2,
|
|
1623
1631
|
analytics,
|
|
1624
|
-
api
|
|
1632
|
+
api,
|
|
1625
1633
|
app: app2,
|
|
1626
1634
|
binary,
|
|
1627
1635
|
cache: cache2,
|
|
@@ -1695,7 +1703,7 @@ export {
|
|
|
1695
1703
|
cache2 as cache,
|
|
1696
1704
|
binary,
|
|
1697
1705
|
app2 as app,
|
|
1698
|
-
|
|
1706
|
+
api,
|
|
1699
1707
|
analytics,
|
|
1700
1708
|
ai2 as ai
|
|
1701
1709
|
};
|
package/core/config/package.json
CHANGED
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import type { StacksConfig } from '@stacksjs/types'
|
|
2
2
|
import ai from '../../../../../config/ai'
|
|
3
|
-
import api from '../../../../../config/api'
|
|
4
3
|
import app from '../../../../../config/app'
|
|
5
4
|
import cache from '../../../../../config/cache'
|
|
6
5
|
import binary from '../../../../../config/cli'
|
|
@@ -25,7 +24,6 @@ import ui from '../../../../../config/ui'
|
|
|
25
24
|
// this "user config" will override the default config options
|
|
26
25
|
export default {
|
|
27
26
|
ai,
|
|
28
|
-
api,
|
|
29
27
|
app,
|
|
30
28
|
binary,
|
|
31
29
|
cache,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@stacksjs/database",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "0.58.
|
|
4
|
+
"version": "0.58.30",
|
|
5
5
|
"description": "The Stacks database integration.",
|
|
6
6
|
"author": "Chris Breuer",
|
|
7
7
|
"license": "MIT",
|
|
@@ -70,7 +70,7 @@
|
|
|
70
70
|
"kysely-bun-worker": "^0.5.6"
|
|
71
71
|
},
|
|
72
72
|
"optionalDependencies": {
|
|
73
|
-
"mysql2": "^3.
|
|
73
|
+
"mysql2": "^3.9.0"
|
|
74
74
|
},
|
|
75
75
|
"devDependencies": {
|
|
76
76
|
"@stacksjs/development": "workspace:*"
|
|
@@ -3051,6 +3051,11 @@ if ("__TAURI_METADATA__" in window) {
|
|
|
3051
3051
|
async function openShell(link) {
|
|
3052
3052
|
await open(link);
|
|
3053
3053
|
}
|
|
3054
|
+
|
|
3055
|
+
// src/system-tray.ts
|
|
3056
|
+
var testingThis = "testing this";
|
|
3057
|
+
|
|
3058
|
+
// src/index.ts
|
|
3054
3059
|
var desktop = {
|
|
3055
3060
|
app: exports_app,
|
|
3056
3061
|
event: exports_event,
|
|
@@ -3070,6 +3075,7 @@ var desktop = {
|
|
|
3070
3075
|
window: exports_window
|
|
3071
3076
|
};
|
|
3072
3077
|
export {
|
|
3078
|
+
testingThis,
|
|
3073
3079
|
openShell,
|
|
3074
3080
|
desktop
|
|
3075
3081
|
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@stacksjs/desktop",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "0.58.
|
|
4
|
+
"version": "0.58.30",
|
|
5
5
|
"description": "The Stacks Desktop engine.",
|
|
6
6
|
"author": "Chris Breuer",
|
|
7
7
|
"license": "MIT",
|
|
@@ -50,10 +50,10 @@
|
|
|
50
50
|
"dist"
|
|
51
51
|
],
|
|
52
52
|
"scripts": {
|
|
53
|
-
"dev": "
|
|
53
|
+
"dev": "bunx vite ../../dashboard -c ../vite/src/desktop.ts",
|
|
54
54
|
"dev:app": "tauri dev",
|
|
55
55
|
"build": "bun --bun build.ts",
|
|
56
|
-
"build:app": "
|
|
56
|
+
"build:app": "bunx vite build ../../dashboard -c ../vite/src/desktop.ts",
|
|
57
57
|
"tauri:build": "tauri build",
|
|
58
58
|
"typecheck": "bun --bun tsc --noEmit",
|
|
59
59
|
"prepublishOnly": "bun --bun run build"
|
|
@@ -65,7 +65,7 @@
|
|
|
65
65
|
"@tauri-apps/cli": "1.5.9",
|
|
66
66
|
"unified-network": "0.6.4",
|
|
67
67
|
"unstorage": "^1.10.1",
|
|
68
|
-
"vue": "3.4.
|
|
68
|
+
"vue": "3.4.15",
|
|
69
69
|
"vue3-highlightjs": "^1.0.5"
|
|
70
70
|
},
|
|
71
71
|
"dependencies": {
|
|
@@ -75,7 +75,7 @@
|
|
|
75
75
|
"@tauri-apps/cli": "1.5.9",
|
|
76
76
|
"unified-network": "0.6.4",
|
|
77
77
|
"unstorage": "^1.10.1",
|
|
78
|
-
"vue": "3.4.
|
|
78
|
+
"vue": "3.4.15",
|
|
79
79
|
"vue3-highlightjs": "^1.0.5"
|
|
80
80
|
},
|
|
81
81
|
"devDependencies": {
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export const testingThis = 'testing this'
|
package/core/dns/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@stacksjs/dns",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "0.58.
|
|
4
|
+
"version": "0.58.30",
|
|
5
5
|
"description": "Easily manage your DNS.",
|
|
6
6
|
"author": "Chris Breuer",
|
|
7
7
|
"license": "MIT",
|
|
@@ -50,27 +50,27 @@
|
|
|
50
50
|
"prepublishOnly": "bun --bun run build"
|
|
51
51
|
},
|
|
52
52
|
"peerDependencies": {
|
|
53
|
-
"@aws-sdk/client-route-53": "^3.
|
|
54
|
-
"@aws-sdk/client-route-53-domains": "^3.
|
|
53
|
+
"@aws-sdk/client-route-53": "^3.501.0",
|
|
54
|
+
"@aws-sdk/client-route-53-domains": "^3.501.0",
|
|
55
55
|
"@stacksjs/actions": "workspace:*",
|
|
56
56
|
"@stacksjs/error-handling": "workspace:*",
|
|
57
57
|
"@stacksjs/path": "workspace:*",
|
|
58
58
|
"@stacksjs/storage": "workspace:*",
|
|
59
59
|
"@stacksjs/whois": "workspace:*",
|
|
60
|
-
"aws-cdk-lib": "^2.
|
|
60
|
+
"aws-cdk-lib": "^2.124.0"
|
|
61
61
|
},
|
|
62
62
|
"dependencies": {
|
|
63
|
-
"@aws-sdk/client-route-53": "^3.
|
|
63
|
+
"@aws-sdk/client-route-53": "^3.501.0",
|
|
64
64
|
"@stacksjs/actions": "workspace:*",
|
|
65
65
|
"@stacksjs/error-handling": "workspace:*",
|
|
66
66
|
"@stacksjs/path": "workspace:*",
|
|
67
67
|
"@stacksjs/storage": "workspace:*",
|
|
68
68
|
"@stacksjs/strings": "workspace:*",
|
|
69
69
|
"@stacksjs/whois": "workspace:*",
|
|
70
|
-
"aws-cdk-lib": "^2.
|
|
70
|
+
"aws-cdk-lib": "^2.124.0"
|
|
71
71
|
},
|
|
72
72
|
"devDependencies": {
|
|
73
73
|
"@stacksjs/development": "workspace:*",
|
|
74
|
-
"aws-cdk-lib": "^2.
|
|
74
|
+
"aws-cdk-lib": "^2.124.0"
|
|
75
75
|
}
|
|
76
76
|
}
|
package/core/docs/build.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { log, runCommand } from '@stacksjs/cli'
|
|
2
2
|
|
|
3
|
-
const result = await runCommand('bun build ./src/index.ts --outdir dist --format esm --external vitepress --external @stacksjs/config --external @stacksjs/alias --external @stacksjs/path --external @stacksjs/vite --external @stacksjs/server --external @stacksjs/env --external @stacksjs/cli --target
|
|
3
|
+
const result = await runCommand('bun build ./src/index.ts --outdir dist --format esm --external vitepress --external @stacksjs/config --external @stacksjs/alias --external @stacksjs/path --external @stacksjs/vite --external @stacksjs/server --external @stacksjs/env --external @stacksjs/cli --external @vite-pwa/vitepress --target node', {
|
|
4
4
|
cwd: import.meta.dir,
|
|
5
5
|
})
|
|
6
6
|
|