stacks 0.58.50 → 0.58.52
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/actions/dist/src/deploy/index.js +2 -2
- package/core/actions/dist/src/upgrade.js +1 -1
- package/core/actions/package.json +1 -1
- package/core/actions/src/build/cli.ts +1 -1
- package/core/actions/src/build/server.ts +9 -0
- package/core/actions/src/deploy/index.ts +2 -2
- package/core/actions/tsconfig.json +3 -0
- package/core/ai/package.json +1 -1
- package/core/ai/tsconfig.json +3 -0
- package/core/alias/package.json +1 -1
- package/core/alias/tsconfig.json +3 -0
- package/core/analytics/package.json +1 -1
- package/core/analytics/tsconfig.json +3 -0
- package/core/api/package.json +1 -1
- package/core/api/tsconfig.json +3 -0
- package/core/arrays/package.json +1 -1
- package/core/arrays/tsconfig.json +3 -0
- package/core/auth/package.json +1 -1
- package/core/auth/tsconfig.json +3 -0
- package/core/buddy/dist/{chunk-91084836e95161e8.js → chunk-d52e40a990b45728.js} +152 -84
- package/core/buddy/dist/cli.js +4 -1
- package/core/buddy/dist/index.js +3 -1
- package/core/buddy/package.json +1 -1
- package/core/buddy/src/cli.ts +2 -0
- package/core/buddy/src/commands/build.ts +17 -1
- package/core/buddy/src/commands/deploy.ts +2 -2
- package/core/buddy/src/commands/index.ts +1 -0
- package/core/buddy/src/commands/list.ts +39 -0
- package/core/buddy/src/commands/setup.ts +57 -1
- package/core/buddy/tsconfig.json +3 -0
- package/core/build/package.json +1 -1
- package/core/build/tsconfig.json +3 -0
- package/core/bun-create/bud/package.json +1 -1
- package/core/bun-create/buddy/package.json +1 -1
- package/core/bun-create/stack/package.json +1 -1
- package/core/bun-create/stacks/package.json +1 -1
- package/core/bun-create/stx/package.json +2 -1
- package/core/bun-plugin-yaml/package.json +1 -1
- package/core/bun-plugin-yaml/tsconfig.json +3 -0
- package/core/cache/package.json +1 -1
- package/core/cache/tsconfig.json +3 -0
- package/core/chat/package.json +8 -8
- package/core/chat/tsconfig.json +3 -0
- package/core/cli/dist/index.js +1 -1
- package/core/cli/package.json +1 -1
- package/core/cli/tsconfig.json +3 -0
- package/core/cloud/build.ts +1 -1
- package/core/cloud/deploy.ts +10 -1
- package/core/cloud/dist/index.js +167 -807
- package/core/cloud/package.json +2 -3
- package/core/cloud/src/cloud/aws-sdk-layer/nodejs/package.json +1 -1
- package/core/cloud/src/cloud/cdn.ts +59 -6
- package/core/cloud/src/cloud/compute.ts +29 -19
- package/core/cloud/src/cloud/dns.ts +8 -0
- package/core/cloud/src/cloud/index.ts +8 -2
- package/core/cloud/src/cloud/queue.ts +46 -0
- package/core/cloud/src/cloud/router-layer/nodejs/package.json +2 -2
- package/core/cloud/src/cloud/security.ts +1 -1
- package/core/cloud/src/helpers.ts +13 -1
- package/core/cloud/tsconfig.json +3 -0
- package/core/collections/package.json +1 -1
- package/core/collections/tsconfig.json +3 -0
- package/core/config/dist/index.js +154 -83
- package/core/config/package.json +2 -2
- package/core/config/tsconfig.json +3 -0
- package/core/database/package.json +1 -1
- package/core/database/src/kysely-bun-worker/mitt.ts +1 -1
- package/core/database/tsconfig.json +3 -0
- package/core/datetime/package.json +1 -1
- package/core/datetime/tsconfig.json +3 -0
- package/core/desktop/package.json +1 -1
- package/core/desktop/tsconfig.json +3 -0
- package/core/development/package.json +1 -1
- package/core/development/tsconfig.json +3 -0
- package/core/dns/package.json +1 -1
- package/core/dns/tsconfig.json +3 -0
- package/core/docs/package.json +1 -1
- package/core/docs/tsconfig.json +3 -0
- package/core/email/package.json +12 -12
- package/core/email/tsconfig.json +3 -0
- package/core/enums/dist/index.js +1 -0
- package/core/enums/package.json +1 -1
- package/core/enums/src/index.ts +1 -0
- package/core/enums/tsconfig.json +3 -0
- package/core/env/package.json +1 -1
- package/core/env/tsconfig.json +3 -0
- package/core/error-handling/package.json +1 -1
- package/core/error-handling/tsconfig.json +3 -0
- package/core/eslint-config/package.json +3 -3
- package/core/eslint-config/src/configs/typescript.ts +1 -0
- package/core/eslint-config/src/factory.ts +1 -0
- package/core/events/package.json +1 -1
- package/core/events/src/index.ts +3 -6
- package/core/events/tsconfig.json +3 -0
- package/core/faker/package.json +1 -1
- package/core/faker/tsconfig.json +3 -0
- package/core/git/package.json +1 -1
- package/core/git/tsconfig.json +3 -0
- package/core/health/package.json +1 -1
- package/core/health/tsconfig.json +3 -0
- package/core/http/package.json +1 -1
- package/core/http/tsconfig.json +3 -0
- package/core/lint/package.json +1 -1
- package/core/lint/tsconfig.json +3 -0
- package/core/logging/package.json +1 -1
- package/core/logging/tsconfig.json +3 -0
- package/core/notifications/package.json +22 -22
- package/core/notifications/tsconfig.json +3 -0
- package/core/objects/package.json +1 -1
- package/core/objects/tsconfig.json +3 -0
- package/core/orm/package.json +1 -1
- package/core/orm/tsconfig.json +3 -0
- package/core/path/package.json +1 -1
- package/core/path/tsconfig.json +3 -0
- package/core/payments/dist/index.js +21 -3
- package/core/payments/package.json +1 -1
- package/core/payments/tsconfig.json +3 -0
- package/core/push/package.json +5 -5
- package/core/push/tsconfig.json +3 -0
- package/core/query-builder/package.json +1 -1
- package/core/query-builder/tsconfig.json +3 -0
- package/core/queue/package.json +1 -1
- package/core/queue/tsconfig.json +3 -0
- package/core/raycast/package.json +1 -1
- package/core/realtime/package.json +1 -1
- package/core/realtime/tsconfig.json +3 -0
- package/core/repl/package.json +1 -1
- package/core/repl/tsconfig.json +3 -0
- package/core/router/dist/index.js +3 -4
- package/core/router/package.json +1 -1
- package/core/router/src/router.ts +11 -11
- package/core/router/src/server.ts +4 -4
- package/core/router/tsconfig.json +3 -0
- package/core/scheduler/build.ts +1 -1
- package/core/scheduler/dist/index.js +682 -152
- package/core/scheduler/package.json +7 -4
- package/core/scheduler/src/constants.ts +81 -0
- package/core/scheduler/src/errors.ts +7 -0
- package/core/scheduler/src/index.ts +15 -317
- package/core/scheduler/src/job.ts +315 -0
- package/core/scheduler/src/schedule.ts +111 -0
- package/core/scheduler/src/time.ts +823 -0
- package/core/scheduler/src/types/cron.ts +98 -0
- package/core/scheduler/src/types/utils.ts +14 -0
- package/core/scheduler/src/utils.ts +19 -0
- package/core/scheduler/tests/cron.fuzz.ts +120 -0
- package/core/scheduler/tests/cron.test.ts +1241 -0
- package/core/scheduler/tests/crontime.test.ts +778 -0
- package/core/scheduler/tsconfig.json +3 -0
- package/core/search-engine/package.json +1 -1
- package/core/search-engine/tsconfig.json +3 -0
- package/core/security/package.json +1 -1
- package/core/security/tsconfig.json +3 -0
- package/core/server/package.json +1 -1
- package/core/server/tsconfig.json +3 -0
- package/core/signals/package.json +1 -1
- package/core/signals/tsconfig.json +3 -0
- package/core/slug/package.json +1 -1
- package/core/slug/tsconfig.json +3 -0
- package/core/sms/package.json +11 -11
- package/core/sms/tsconfig.json +3 -0
- package/core/storage/package.json +1 -1
- package/core/storage/tsconfig.json +3 -0
- package/core/strings/package.json +1 -1
- package/core/strings/tsconfig.json +3 -0
- package/core/tables/package.json +1 -1
- package/core/tables/tsconfig.json +3 -0
- package/core/testing/package.json +1 -1
- package/core/testing/tsconfig.json +3 -0
- package/core/tinker/package.json +1 -1
- package/core/tinker/tsconfig.json +3 -0
- package/core/tunnel/package.json +1 -1
- package/core/tunnel/tsconfig.json +3 -0
- package/core/types/package.json +3 -3
- package/core/types/src/app.ts +2 -2
- package/core/types/src/cli.ts +1 -1
- package/core/types/src/cloud.ts +5 -1
- package/core/types/src/cron-jobs.ts +1 -0
- package/core/types/src/queue.ts +3 -1
- package/core/types/tsconfig.json +3 -0
- package/core/ui/package.json +4 -4
- package/core/ui/tsconfig.json +3 -0
- package/core/utils/dist/index.js +1 -1
- package/core/utils/package.json +1 -1
- package/core/utils/src/promise.ts +2 -2
- package/core/utils/tsconfig.json +3 -0
- package/core/validation/package.json +1 -1
- package/core/validation/src/rules.ts +3 -3
- package/core/validation/tsconfig.json +3 -0
- package/core/vite/dist/index.js +1 -1
- package/core/vite/package.json +1 -1
- package/core/vite/tsconfig.json +3 -0
- package/core/whois/package.json +1 -1
- package/core/whois/tsconfig.json +3 -0
- package/core/x-ray/package.json +1 -1
- package/core/x-ray/tsconfig.json +3 -0
- package/core/zsh-buddy/README.md +6 -2
- package/core/zsh-buddy/buddy.plugin.zsh +109 -0
- package/core/zsh-buddy/package.json +1 -1
- package/ide/dictionary.txt +2 -0
- package/ide/vscode/package.json +1 -1
- package/package.json +1 -1
- package/buddy +0 -2
- package/core/actions/src/zip/api.ts +0 -22
- package/core/bud +0 -2
- package/core/cloud/buddy +0 -2
- package/core/cloud/src/cloud/package/README.md +0 -59
- package/core/cloud/src/cloud/package/package.json +0 -63
- package/core/scheduler/tests/example.test.ts +0 -5
|
@@ -789,12 +789,15 @@ var cloud_default = {
|
|
|
789
789
|
minTtl: 0,
|
|
790
790
|
defaultTtl: 86400,
|
|
791
791
|
maxTtl: 31536000,
|
|
792
|
-
priceClass: "PriceClass_All",
|
|
793
792
|
cookieBehavior: "none",
|
|
794
793
|
allowList: {
|
|
795
794
|
cookies: [],
|
|
796
795
|
headers: [],
|
|
797
796
|
queryStrings: []
|
|
797
|
+
},
|
|
798
|
+
realtimeLogs: {
|
|
799
|
+
enabled: true,
|
|
800
|
+
samplingRate: 1
|
|
798
801
|
}
|
|
799
802
|
},
|
|
800
803
|
api: {
|
|
@@ -894,9 +897,25 @@ var sidebar = {
|
|
|
894
897
|
{ text: "Quick Start", link: "/guide/get-started" }
|
|
895
898
|
]
|
|
896
899
|
},
|
|
900
|
+
{
|
|
901
|
+
text: "Basics",
|
|
902
|
+
collapsible: true,
|
|
903
|
+
items: [
|
|
904
|
+
{ text: "Routing", link: "/basics/routing" },
|
|
905
|
+
{ text: "Middleware", link: "/basics/middleware" },
|
|
906
|
+
{ text: "Actions", link: "/basics/actions" },
|
|
907
|
+
{ text: "Views", link: "/basics/views" },
|
|
908
|
+
{ text: "Components", link: "/basics/components" },
|
|
909
|
+
{ text: "Functions", link: "/basics/functions" },
|
|
910
|
+
{ text: "Validation", link: "/basics/validation" },
|
|
911
|
+
{ text: "Error Handling", link: "/basics/error-handling" },
|
|
912
|
+
{ text: "Logging", link: "/basics/logging" }
|
|
913
|
+
]
|
|
914
|
+
},
|
|
897
915
|
{
|
|
898
916
|
text: "Bootcamp",
|
|
899
917
|
collapsible: true,
|
|
918
|
+
collapsed: true,
|
|
900
919
|
items: [
|
|
901
920
|
{ text: "Welcome", link: "/bootcamp/intro" },
|
|
902
921
|
{
|
|
@@ -917,6 +936,20 @@ var sidebar = {
|
|
|
917
936
|
]
|
|
918
937
|
},
|
|
919
938
|
{ text: "Build a CLI", link: "/bootcamp/cli" },
|
|
939
|
+
{
|
|
940
|
+
text: "Build a SaaS",
|
|
941
|
+
collapsible: true,
|
|
942
|
+
collapsed: true,
|
|
943
|
+
items: [
|
|
944
|
+
{ text: "Team Management", link: "/bootcamp/saas/team-management" },
|
|
945
|
+
{ text: "Payments", link: "/bootcamp/saas/payments" },
|
|
946
|
+
{ text: "Subscriptions", link: "/bootcamp/saas/subscriptions" },
|
|
947
|
+
{ text: "License Key Management", link: "/bootcamp/saas/license-key-management" },
|
|
948
|
+
{ text: "Digital Downloads", link: "/bootcamp/saas/digital-downloads" },
|
|
949
|
+
{ text: "Checkout Form", link: "/bootcamp/saas/checkout-form" },
|
|
950
|
+
{ text: "Affiliates Program", link: "/bootcamp/saas/affiliates-program" }
|
|
951
|
+
]
|
|
952
|
+
},
|
|
920
953
|
{ text: "Build a Desktop App", link: "/bootcamp/desktop" }
|
|
921
954
|
]
|
|
922
955
|
},
|
|
@@ -951,7 +984,8 @@ var sidebar = {
|
|
|
951
984
|
{ text: "Remove your Cloud", link: "/bootcamp/tips/undeploy" },
|
|
952
985
|
{ text: "Semantic Commits", link: "/bootcamp/tips/semantic-commits" },
|
|
953
986
|
{ text: "Ship your ORM", link: "/bootcamp/tips/orm-usage" },
|
|
954
|
-
{ text: "System Tray App", link: "/bootcamp/tips/system-tray" }
|
|
987
|
+
{ text: "System Tray App", link: "/bootcamp/tips/system-tray" },
|
|
988
|
+
{ text: "Oh My Zsh", link: "/bootcamp/tips/oh-my-zsh" }
|
|
955
989
|
]
|
|
956
990
|
},
|
|
957
991
|
{ text: "Conclusion", link: "/bootcamp/conclusion" }
|
|
@@ -960,6 +994,7 @@ var sidebar = {
|
|
|
960
994
|
{
|
|
961
995
|
text: "Digging Deeper",
|
|
962
996
|
collapsible: true,
|
|
997
|
+
collapsed: true,
|
|
963
998
|
items: [
|
|
964
999
|
{ text: "APIs", link: "/guide/apis" },
|
|
965
1000
|
{ text: "Apps", link: "/guide/apps" },
|
|
@@ -1024,84 +1059,128 @@ var sidebar = {
|
|
|
1024
1059
|
]
|
|
1025
1060
|
},
|
|
1026
1061
|
{ text: "Model-View-Action", link: "/guide/model-view-action" },
|
|
1062
|
+
{
|
|
1063
|
+
text: "Package Manager",
|
|
1064
|
+
link: "/guide/package-manager",
|
|
1065
|
+
collapsible: true,
|
|
1066
|
+
collapsed: true,
|
|
1067
|
+
items: [
|
|
1068
|
+
{ text: "`buddy install`", link: "/guide/package-manager/buddy-install" },
|
|
1069
|
+
{ text: "`buddy add`", link: "/guide/package-manager/buddy-add" },
|
|
1070
|
+
{ text: "`buddy remove`", link: "/guide/package-manager/remove" },
|
|
1071
|
+
{ text: "`buddy upgrade -pm`", link: "/guide/package-manager/upgrade" },
|
|
1072
|
+
{ text: "`buddy link`", link: "/guide/package-manager/link" },
|
|
1073
|
+
{ text: "Global Cache", link: "/guide/package-manager/global-cache" },
|
|
1074
|
+
{ text: "Workspaces", link: "/guide/package-manager/workspaces" },
|
|
1075
|
+
{ text: "Lifecycle Scripts", link: "/guide/package-manager/lifecycle-scripts" },
|
|
1076
|
+
{ text: "Lockfile", link: "/guide/package-manager/lockfile" },
|
|
1077
|
+
{ text: "Overrides & Resolutions", link: "/guide/package-manager/overrides-resolutions" }
|
|
1078
|
+
]
|
|
1079
|
+
},
|
|
1027
1080
|
{ text: "Plugins", link: "/guide/plugins" },
|
|
1028
|
-
{ text: "
|
|
1081
|
+
{ text: "$ Shell", link: "/guide/$-shell" }
|
|
1029
1082
|
]
|
|
1030
1083
|
},
|
|
1031
1084
|
{
|
|
1032
|
-
text: "
|
|
1085
|
+
text: "Packages",
|
|
1033
1086
|
collapsible: true,
|
|
1034
1087
|
collapsed: true,
|
|
1035
1088
|
items: [
|
|
1036
|
-
{ text: "
|
|
1037
|
-
{ text: "
|
|
1038
|
-
{ text: "
|
|
1039
|
-
{ text: "
|
|
1040
|
-
{ text: "
|
|
1041
|
-
{ text: "
|
|
1042
|
-
{ text: "
|
|
1043
|
-
{ text: "
|
|
1044
|
-
{ text: "
|
|
1045
|
-
{ text: "
|
|
1046
|
-
{ text: "
|
|
1047
|
-
{ text: "
|
|
1048
|
-
{ text: "
|
|
1049
|
-
{ text: "
|
|
1050
|
-
{ text: "
|
|
1051
|
-
{ text: "
|
|
1052
|
-
{ text: "
|
|
1053
|
-
{ text: "
|
|
1054
|
-
{ text: "
|
|
1055
|
-
{ text: "
|
|
1056
|
-
{ text: "
|
|
1057
|
-
{ text: "
|
|
1058
|
-
{ text: "
|
|
1059
|
-
{ text: "
|
|
1060
|
-
{ text: "
|
|
1061
|
-
{ text: "
|
|
1062
|
-
{ text: "
|
|
1063
|
-
{ text: "
|
|
1064
|
-
{ text: "
|
|
1065
|
-
{ text: "
|
|
1066
|
-
{ text: "
|
|
1067
|
-
{
|
|
1068
|
-
|
|
1069
|
-
|
|
1070
|
-
|
|
1071
|
-
|
|
1072
|
-
|
|
1073
|
-
|
|
1074
|
-
|
|
1075
|
-
|
|
1076
|
-
|
|
1077
|
-
|
|
1078
|
-
|
|
1079
|
-
{ text: "
|
|
1080
|
-
{ text: "
|
|
1081
|
-
{ text: "
|
|
1082
|
-
{ text: "
|
|
1083
|
-
{ text: "
|
|
1084
|
-
{ text: "
|
|
1085
|
-
{ text: "
|
|
1086
|
-
{ text: "
|
|
1087
|
-
{ text: "
|
|
1088
|
-
{ text: "
|
|
1089
|
-
{ text: "
|
|
1090
|
-
{ text: "
|
|
1091
|
-
{ text: "
|
|
1092
|
-
{ text: "
|
|
1093
|
-
{ text: "
|
|
1094
|
-
{ text: "
|
|
1095
|
-
{ text: "
|
|
1096
|
-
{ text: "
|
|
1097
|
-
{ text: "
|
|
1098
|
-
{ text: "
|
|
1099
|
-
{ text: "
|
|
1089
|
+
{ text: "Actions", link: "/packages/actions" },
|
|
1090
|
+
{ text: "AI", link: "/packages/ai" },
|
|
1091
|
+
{ text: "Alias", link: "/packages/alias" },
|
|
1092
|
+
{ text: "Analytics", link: "/packages/analytics" },
|
|
1093
|
+
{ text: "Arrays", link: "/packages/arrays" },
|
|
1094
|
+
{ text: "Auth", link: "/packages/auth" },
|
|
1095
|
+
{ text: "Buddy", link: "/packages/buddy" },
|
|
1096
|
+
{ text: "Build", link: "/packages/build" },
|
|
1097
|
+
{ text: "Cache", link: "/packages/cache" },
|
|
1098
|
+
{ text: "CLI", link: "/packages/cli" },
|
|
1099
|
+
{ text: "Cloud", link: "/packages/cloud" },
|
|
1100
|
+
{ text: "Collections", link: "/packages/collections" },
|
|
1101
|
+
{ text: "Config", link: "/packages/config" },
|
|
1102
|
+
{ text: "Database", link: "/packages/database" },
|
|
1103
|
+
{ text: "Datetime", link: "/packages/datetime" },
|
|
1104
|
+
{ text: "Desktop", link: "/packages/desktop" },
|
|
1105
|
+
{ text: "Development", link: "/packages/development" },
|
|
1106
|
+
{ text: "DNS", link: "/packages/dns" },
|
|
1107
|
+
{ text: "Docs", link: "/packages/docs" },
|
|
1108
|
+
{ text: "Env", link: "/packages/env" },
|
|
1109
|
+
{ text: "Error Handling", link: "/packages/error-handling" },
|
|
1110
|
+
{ text: "ESlint Config", link: "/packages/error-handling" },
|
|
1111
|
+
{ text: "Events", link: "/packages/events" },
|
|
1112
|
+
{ text: "Faker", link: "/packages/faker" },
|
|
1113
|
+
{ text: "Git", link: "/packages/git" },
|
|
1114
|
+
{ text: "Glob", link: "/packages/glob" },
|
|
1115
|
+
{ text: "Health", link: "/packages/health" },
|
|
1116
|
+
{ text: "Http", link: "/packages/http" },
|
|
1117
|
+
{ text: "Lint", link: "/packages/lint" },
|
|
1118
|
+
{ text: "Logging", link: "/packages/logging" },
|
|
1119
|
+
{ text: "Modules", link: "/packages/modules" },
|
|
1120
|
+
{
|
|
1121
|
+
text: "Notifications",
|
|
1122
|
+
link: "/packages/notifications",
|
|
1123
|
+
collapsible: true,
|
|
1124
|
+
collapsed: true,
|
|
1125
|
+
items: [
|
|
1126
|
+
{ text: "Chat", link: "/packages/chat" },
|
|
1127
|
+
{ text: "Email", link: "/packages/email" },
|
|
1128
|
+
{ text: "SMS", link: "/packages/sms" },
|
|
1129
|
+
{ text: "Push", link: "/packages/push" }
|
|
1130
|
+
]
|
|
1131
|
+
},
|
|
1132
|
+
{ text: "Objects", link: "/packages/objects" },
|
|
1133
|
+
{ text: "ORM", link: "/packages/orm" },
|
|
1134
|
+
{ text: "Path", link: "/packages/path" },
|
|
1135
|
+
{ text: "Payments", link: "/packages/payments" },
|
|
1136
|
+
{ text: "Permissions", link: "/packages/permissions" },
|
|
1137
|
+
{ text: "Query Builder", link: "/packages/query-builder" },
|
|
1138
|
+
{ text: "Queue", link: "/packages/queue" },
|
|
1139
|
+
{ text: "Realtime", link: "/packages/realtime" },
|
|
1140
|
+
{ text: "REPL", link: "/packages/repl" },
|
|
1141
|
+
{ text: "Router", link: "/packages/router" },
|
|
1142
|
+
{ text: "Scheduler", link: "/packages/scheduler" },
|
|
1143
|
+
{ text: "Search Engine", link: "/packages/search-engine" },
|
|
1144
|
+
{ text: "Security", link: "/packages/security" },
|
|
1145
|
+
{ text: "Semver", link: "/packages/semver" },
|
|
1146
|
+
{ text: "Server", link: "/packages/server" },
|
|
1147
|
+
{ text: "Signals", link: "/packages/signals" },
|
|
1148
|
+
{ text: "Slug", link: "/packages/slug" },
|
|
1149
|
+
{ text: "Storage", link: "/packages/storage" },
|
|
1150
|
+
{ text: "Strings", link: "/packages/strings" },
|
|
1151
|
+
{ text: "Testing", link: "/packages/testing" },
|
|
1152
|
+
{ text: "Tinker", link: "/packages/tinker" },
|
|
1153
|
+
{ text: "Tunnel", link: "/packages/tunnel" },
|
|
1154
|
+
{ text: "Types", link: "/packages/types" },
|
|
1155
|
+
{ text: "UI", link: "/packages/ui" },
|
|
1156
|
+
{ text: "Utils", link: "/packages/utils" },
|
|
1157
|
+
{ text: "Validation", link: "/packages/validation" },
|
|
1158
|
+
{ text: "Vite", link: "/packages/vite" }
|
|
1100
1159
|
]
|
|
1101
1160
|
},
|
|
1102
1161
|
{
|
|
1103
|
-
text: "
|
|
1104
|
-
|
|
1162
|
+
text: "Testing",
|
|
1163
|
+
collapsible: true,
|
|
1164
|
+
collapsed: true,
|
|
1165
|
+
items: [
|
|
1166
|
+
{ text: "Getting Started", link: "/testing/getting-started" },
|
|
1167
|
+
{ text: "Unit Tests", link: "/testing/unit-tests" },
|
|
1168
|
+
{ text: "Feature Tests", link: "/testing/feature-tests" },
|
|
1169
|
+
{ text: "Http Tests", link: "/testing/http-tests" },
|
|
1170
|
+
{ text: "Console Tests", link: "/testing/console-tests" },
|
|
1171
|
+
{ text: "Browser Tests", link: "/testing/browser-tests" },
|
|
1172
|
+
{ text: "Database", link: "/testing/database" },
|
|
1173
|
+
{ text: "Mocking", link: "/testing/mocking" }
|
|
1174
|
+
]
|
|
1175
|
+
},
|
|
1176
|
+
{
|
|
1177
|
+
text: "Project",
|
|
1178
|
+
items: [
|
|
1179
|
+
{ text: "Roadmap", link: "/project/roadmap" },
|
|
1180
|
+
{ text: "Contributing", link: "/project/contributing" },
|
|
1181
|
+
{ text: "Terminology", link: "/project/terminology" },
|
|
1182
|
+
{ text: "License", link: "/project/license" }
|
|
1183
|
+
]
|
|
1105
1184
|
}
|
|
1106
1185
|
]
|
|
1107
1186
|
};
|
|
@@ -1285,18 +1364,6 @@ var queue_default = {
|
|
|
1285
1364
|
sync: {
|
|
1286
1365
|
driver: "sync"
|
|
1287
1366
|
},
|
|
1288
|
-
database: {
|
|
1289
|
-
driver: "database",
|
|
1290
|
-
table: "jobs",
|
|
1291
|
-
queue: "default",
|
|
1292
|
-
retry_after: 90
|
|
1293
|
-
},
|
|
1294
|
-
redis: {
|
|
1295
|
-
driver: "redis",
|
|
1296
|
-
connection: "default",
|
|
1297
|
-
queue: "default",
|
|
1298
|
-
retry_after: 90
|
|
1299
|
-
},
|
|
1300
1367
|
sqs: {
|
|
1301
1368
|
driver: "sqs",
|
|
1302
1369
|
key: "",
|
|
@@ -1346,7 +1413,7 @@ var services_default = {
|
|
|
1346
1413
|
appId: "",
|
|
1347
1414
|
apiKey: ""
|
|
1348
1415
|
},
|
|
1349
|
-
|
|
1416
|
+
lemonSqueezy: {
|
|
1350
1417
|
appId: "",
|
|
1351
1418
|
apiKey: ""
|
|
1352
1419
|
},
|
|
@@ -1354,6 +1421,10 @@ var services_default = {
|
|
|
1354
1421
|
appId: "",
|
|
1355
1422
|
apiKey: ""
|
|
1356
1423
|
},
|
|
1424
|
+
stripe: {
|
|
1425
|
+
appId: "",
|
|
1426
|
+
apiKey: ""
|
|
1427
|
+
},
|
|
1357
1428
|
supabase: {
|
|
1358
1429
|
appId: "",
|
|
1359
1430
|
apiKey: ""
|
package/core/config/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@stacksjs/config",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "0.58.
|
|
4
|
+
"version": "0.58.52",
|
|
5
5
|
"description": "The Stacks config helper methods.",
|
|
6
6
|
"author": "Chris Breuer",
|
|
7
7
|
"license": "MIT",
|
|
@@ -26,7 +26,7 @@
|
|
|
26
26
|
],
|
|
27
27
|
"exports": {
|
|
28
28
|
".": {
|
|
29
|
-
"bun": "./
|
|
29
|
+
"bun": "./src/index.ts",
|
|
30
30
|
"import": "./dist/index.js"
|
|
31
31
|
},
|
|
32
32
|
"./*": {
|
|
@@ -2,7 +2,7 @@ import type { Emitter, EventHandlerMap, EventType, Handler } from 'mitt'
|
|
|
2
2
|
import mitt from 'mitt'
|
|
3
3
|
|
|
4
4
|
export interface EmitterOnce<Events extends Record<EventType, unknown>> extends Emitter<Events> {
|
|
5
|
-
once<Key extends keyof Events>(type: Key, handler: Handler<Events[Key]>)
|
|
5
|
+
once: <Key extends keyof Events>(type: Key, handler: Handler<Events[Key]>) => void
|
|
6
6
|
}
|
|
7
7
|
|
|
8
8
|
export default function mittOnce<Events extends Record<EventType, unknown>>(
|
package/core/dns/package.json
CHANGED
package/core/docs/package.json
CHANGED
package/core/email/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@stacksjs/email",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "0.58.
|
|
4
|
+
"version": "0.58.52",
|
|
5
5
|
"description": "The Stacks Email integration. Painlessly create & manage your inboxes, templates, and send emails.",
|
|
6
6
|
"author": "Chris Breuer",
|
|
7
7
|
"license": "MIT",
|
|
@@ -65,7 +65,7 @@
|
|
|
65
65
|
},
|
|
66
66
|
"dependencies": {
|
|
67
67
|
"@maizzle/framework": "^4.7.4",
|
|
68
|
-
"@novu/stateless": "^0.
|
|
68
|
+
"@novu/stateless": "^0.23.0",
|
|
69
69
|
"@stacksjs/cli": "workspace:*",
|
|
70
70
|
"@stacksjs/config": "workspace:*",
|
|
71
71
|
"@stacksjs/error-handling": "workspace:*",
|
|
@@ -78,16 +78,16 @@
|
|
|
78
78
|
"uuid": "^9.0.1"
|
|
79
79
|
},
|
|
80
80
|
"optionalDependencies": {
|
|
81
|
-
"@novu/emailjs": "^0.
|
|
82
|
-
"@novu/mailgun": "^0.
|
|
83
|
-
"@novu/mailjet": "^0.
|
|
84
|
-
"@novu/mandrill": "^0.
|
|
85
|
-
"@novu/netcore": "^0.
|
|
86
|
-
"@novu/node": "^0.
|
|
87
|
-
"@novu/nodemailer": "^0.
|
|
88
|
-
"@novu/postmark": "^0.
|
|
89
|
-
"@novu/sendgrid": "^0.
|
|
90
|
-
"@novu/ses": "^0.
|
|
81
|
+
"@novu/emailjs": "^0.23.0",
|
|
82
|
+
"@novu/mailgun": "^0.23.0",
|
|
83
|
+
"@novu/mailjet": "^0.23.0",
|
|
84
|
+
"@novu/mandrill": "^0.23.0",
|
|
85
|
+
"@novu/netcore": "^0.23.0",
|
|
86
|
+
"@novu/node": "^0.23.0",
|
|
87
|
+
"@novu/nodemailer": "^0.23.0",
|
|
88
|
+
"@novu/postmark": "^0.23.0",
|
|
89
|
+
"@novu/sendgrid": "^0.23.0",
|
|
90
|
+
"@novu/ses": "^0.23.0"
|
|
91
91
|
},
|
|
92
92
|
"devDependencies": {
|
|
93
93
|
"@stacksjs/development": "workspace:*"
|
package/core/enums/dist/index.js
CHANGED
|
@@ -56,6 +56,7 @@ var Action;
|
|
|
56
56
|
Action2["BuildDesktop"] = "build/desktop";
|
|
57
57
|
Action2["BuildDocs"] = "build/docs";
|
|
58
58
|
Action2["BuildFunctionLib"] = "build-function-lib";
|
|
59
|
+
Action2["BuildServer"] = "build/server";
|
|
59
60
|
Action2["Changelog"] = "changelog";
|
|
60
61
|
Action2["Clean"] = "clean";
|
|
61
62
|
Action2["DevComponents"] = "dev/components";
|
package/core/enums/package.json
CHANGED
package/core/enums/src/index.ts
CHANGED
package/core/env/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@stacksjs/eslint-config",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "0.58.
|
|
4
|
+
"version": "0.58.52",
|
|
5
5
|
"description": "The Stacks.js ESLint config preset, heavily inspired by Anthony's ESLint config.",
|
|
6
6
|
"author": "Anthony Fu <anthonyfu117@hotmail.com> (https://github.com/antfu/)",
|
|
7
7
|
"license": "MIT",
|
|
@@ -32,7 +32,7 @@
|
|
|
32
32
|
"typecheck": "bunx tsc --noEmit"
|
|
33
33
|
},
|
|
34
34
|
"peerDependencies": {
|
|
35
|
-
"@unocss/eslint-plugin": ">=0.58.
|
|
35
|
+
"@unocss/eslint-plugin": ">=0.58.5",
|
|
36
36
|
"eslint": "^8.56.0",
|
|
37
37
|
"eslint-plugin-format": "^0.1.0",
|
|
38
38
|
"eslint-plugin-react": "^7.33.2",
|
|
@@ -107,7 +107,7 @@
|
|
|
107
107
|
"@stylistic/eslint-plugin-migrate": "^1.5.4",
|
|
108
108
|
"@types/eslint": "^8.56.2",
|
|
109
109
|
"@types/node": "^20.11.16",
|
|
110
|
-
"@unocss/eslint-plugin": "^0.58.
|
|
110
|
+
"@unocss/eslint-plugin": "^0.58.5",
|
|
111
111
|
"eslint": "^8.56.0",
|
|
112
112
|
"eslint-flat-config-viewer": "^0.1.11",
|
|
113
113
|
"eslint-plugin-format": "^0.1.0",
|
|
@@ -100,6 +100,7 @@ export async function typescript(
|
|
|
100
100
|
'ts/ban-types': ['error', { types: { Function: false } }],
|
|
101
101
|
'ts/consistent-type-definitions': ['error', 'interface'],
|
|
102
102
|
'ts/consistent-type-imports': ['error', { disallowTypeAnnotations: false, prefer: 'type-imports' }],
|
|
103
|
+
'ts/method-signature-style': ['error', 'property'], // https://www.totaltypescript.com/method-shorthand-syntax-considered-harmful
|
|
103
104
|
'ts/no-dupe-class-members': 'error',
|
|
104
105
|
'ts/no-dynamic-delete': 'off',
|
|
105
106
|
'ts/no-explicit-any': 'off',
|