stacks 0.58.51 → 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.
Files changed (209) hide show
  1. package/core/actions/dist/src/deploy/index.js +2 -2
  2. package/core/actions/dist/src/upgrade.js +1 -1
  3. package/core/actions/package.json +1 -1
  4. package/core/actions/src/build/cli.ts +1 -1
  5. package/core/actions/src/build/server.ts +9 -0
  6. package/core/actions/src/deploy/index.ts +2 -2
  7. package/core/actions/tsconfig.json +3 -0
  8. package/core/ai/package.json +1 -1
  9. package/core/ai/tsconfig.json +3 -0
  10. package/core/alias/package.json +1 -1
  11. package/core/alias/tsconfig.json +3 -0
  12. package/core/analytics/package.json +1 -1
  13. package/core/analytics/tsconfig.json +3 -0
  14. package/core/api/package.json +1 -1
  15. package/core/api/tsconfig.json +3 -0
  16. package/core/arrays/package.json +1 -1
  17. package/core/arrays/tsconfig.json +3 -0
  18. package/core/auth/package.json +1 -1
  19. package/core/auth/tsconfig.json +3 -0
  20. package/core/buddy/dist/{chunk-91084836e95161e8.js → chunk-d52e40a990b45728.js} +152 -84
  21. package/core/buddy/dist/cli.js +4 -1
  22. package/core/buddy/dist/index.js +3 -1
  23. package/core/buddy/package.json +1 -1
  24. package/core/buddy/src/cli.ts +2 -0
  25. package/core/buddy/src/commands/build.ts +17 -1
  26. package/core/buddy/src/commands/deploy.ts +2 -2
  27. package/core/buddy/src/commands/index.ts +1 -0
  28. package/core/buddy/src/commands/list.ts +39 -0
  29. package/core/buddy/src/commands/setup.ts +57 -1
  30. package/core/buddy/tsconfig.json +3 -0
  31. package/core/build/package.json +1 -1
  32. package/core/build/tsconfig.json +3 -0
  33. package/core/bun-create/bud/package.json +1 -1
  34. package/core/bun-create/buddy/package.json +1 -1
  35. package/core/bun-create/stack/package.json +1 -1
  36. package/core/bun-create/stacks/package.json +1 -1
  37. package/core/bun-create/stx/package.json +2 -1
  38. package/core/bun-plugin-yaml/package.json +1 -1
  39. package/core/bun-plugin-yaml/tsconfig.json +3 -0
  40. package/core/cache/package.json +1 -1
  41. package/core/cache/tsconfig.json +3 -0
  42. package/core/chat/package.json +8 -8
  43. package/core/chat/tsconfig.json +3 -0
  44. package/core/cli/dist/index.js +1 -1
  45. package/core/cli/package.json +1 -1
  46. package/core/cli/tsconfig.json +3 -0
  47. package/core/cloud/build.ts +1 -1
  48. package/core/cloud/deploy.ts +10 -1
  49. package/core/cloud/dist/index.js +167 -806
  50. package/core/cloud/package.json +2 -3
  51. package/core/cloud/src/cloud/aws-sdk-layer/nodejs/package.json +1 -1
  52. package/core/cloud/src/cloud/cdn.ts +59 -6
  53. package/core/cloud/src/cloud/compute.ts +29 -19
  54. package/core/cloud/src/cloud/dns.ts +8 -0
  55. package/core/cloud/src/cloud/index.ts +8 -2
  56. package/core/cloud/src/cloud/queue.ts +46 -0
  57. package/core/cloud/src/cloud/router-layer/nodejs/package.json +1 -1
  58. package/core/cloud/src/cloud/security.ts +1 -1
  59. package/core/cloud/src/helpers.ts +13 -1
  60. package/core/cloud/tsconfig.json +3 -0
  61. package/core/collections/package.json +1 -1
  62. package/core/collections/tsconfig.json +3 -0
  63. package/core/config/dist/index.js +154 -83
  64. package/core/config/package.json +2 -2
  65. package/core/config/tsconfig.json +3 -0
  66. package/core/database/package.json +1 -1
  67. package/core/database/src/kysely-bun-worker/mitt.ts +1 -1
  68. package/core/database/tsconfig.json +3 -0
  69. package/core/datetime/package.json +1 -1
  70. package/core/datetime/tsconfig.json +3 -0
  71. package/core/desktop/package.json +1 -1
  72. package/core/desktop/tsconfig.json +3 -0
  73. package/core/development/package.json +1 -1
  74. package/core/development/tsconfig.json +3 -0
  75. package/core/dns/package.json +1 -1
  76. package/core/dns/tsconfig.json +3 -0
  77. package/core/docs/package.json +1 -1
  78. package/core/docs/tsconfig.json +3 -0
  79. package/core/email/package.json +12 -12
  80. package/core/email/tsconfig.json +3 -0
  81. package/core/enums/dist/index.js +1 -0
  82. package/core/enums/package.json +1 -1
  83. package/core/enums/src/index.ts +1 -0
  84. package/core/enums/tsconfig.json +3 -0
  85. package/core/env/package.json +1 -1
  86. package/core/env/tsconfig.json +3 -0
  87. package/core/error-handling/package.json +1 -1
  88. package/core/error-handling/tsconfig.json +3 -0
  89. package/core/eslint-config/package.json +3 -3
  90. package/core/eslint-config/src/configs/typescript.ts +1 -0
  91. package/core/eslint-config/src/factory.ts +1 -0
  92. package/core/events/package.json +1 -1
  93. package/core/events/src/index.ts +3 -6
  94. package/core/events/tsconfig.json +3 -0
  95. package/core/faker/package.json +1 -1
  96. package/core/faker/tsconfig.json +3 -0
  97. package/core/git/package.json +1 -1
  98. package/core/git/tsconfig.json +3 -0
  99. package/core/health/package.json +1 -1
  100. package/core/health/tsconfig.json +3 -0
  101. package/core/http/package.json +1 -1
  102. package/core/http/tsconfig.json +3 -0
  103. package/core/lint/package.json +1 -1
  104. package/core/lint/tsconfig.json +3 -0
  105. package/core/logging/package.json +1 -1
  106. package/core/logging/tsconfig.json +3 -0
  107. package/core/notifications/package.json +22 -22
  108. package/core/notifications/tsconfig.json +3 -0
  109. package/core/objects/package.json +1 -1
  110. package/core/objects/tsconfig.json +3 -0
  111. package/core/orm/package.json +1 -1
  112. package/core/orm/tsconfig.json +3 -0
  113. package/core/path/package.json +1 -1
  114. package/core/path/tsconfig.json +3 -0
  115. package/core/payments/dist/index.js +21 -3
  116. package/core/payments/package.json +1 -1
  117. package/core/payments/tsconfig.json +3 -0
  118. package/core/push/package.json +5 -5
  119. package/core/push/tsconfig.json +3 -0
  120. package/core/query-builder/package.json +1 -1
  121. package/core/query-builder/tsconfig.json +3 -0
  122. package/core/queue/package.json +1 -1
  123. package/core/queue/tsconfig.json +3 -0
  124. package/core/raycast/package.json +1 -1
  125. package/core/realtime/package.json +1 -1
  126. package/core/realtime/tsconfig.json +3 -0
  127. package/core/repl/package.json +1 -1
  128. package/core/repl/tsconfig.json +3 -0
  129. package/core/router/dist/index.js +2 -2
  130. package/core/router/package.json +1 -1
  131. package/core/router/src/router.ts +11 -11
  132. package/core/router/src/server.ts +2 -2
  133. package/core/router/tsconfig.json +3 -0
  134. package/core/scheduler/build.ts +1 -1
  135. package/core/scheduler/dist/index.js +682 -152
  136. package/core/scheduler/package.json +7 -4
  137. package/core/scheduler/src/constants.ts +81 -0
  138. package/core/scheduler/src/errors.ts +7 -0
  139. package/core/scheduler/src/index.ts +15 -317
  140. package/core/scheduler/src/job.ts +315 -0
  141. package/core/scheduler/src/schedule.ts +111 -0
  142. package/core/scheduler/src/time.ts +823 -0
  143. package/core/scheduler/src/types/cron.ts +98 -0
  144. package/core/scheduler/src/types/utils.ts +14 -0
  145. package/core/scheduler/src/utils.ts +19 -0
  146. package/core/scheduler/tests/cron.fuzz.ts +120 -0
  147. package/core/scheduler/tests/cron.test.ts +1241 -0
  148. package/core/scheduler/tests/crontime.test.ts +778 -0
  149. package/core/scheduler/tsconfig.json +3 -0
  150. package/core/search-engine/package.json +1 -1
  151. package/core/search-engine/tsconfig.json +3 -0
  152. package/core/security/package.json +1 -1
  153. package/core/security/tsconfig.json +3 -0
  154. package/core/server/package.json +1 -1
  155. package/core/server/tsconfig.json +3 -0
  156. package/core/signals/package.json +1 -1
  157. package/core/signals/tsconfig.json +3 -0
  158. package/core/slug/package.json +1 -1
  159. package/core/slug/tsconfig.json +3 -0
  160. package/core/sms/package.json +11 -11
  161. package/core/sms/tsconfig.json +3 -0
  162. package/core/storage/package.json +1 -1
  163. package/core/storage/tsconfig.json +3 -0
  164. package/core/strings/package.json +1 -1
  165. package/core/strings/tsconfig.json +3 -0
  166. package/core/tables/package.json +1 -1
  167. package/core/tables/tsconfig.json +3 -0
  168. package/core/testing/package.json +1 -1
  169. package/core/testing/tsconfig.json +3 -0
  170. package/core/tinker/package.json +1 -1
  171. package/core/tinker/tsconfig.json +3 -0
  172. package/core/tunnel/package.json +1 -1
  173. package/core/tunnel/tsconfig.json +3 -0
  174. package/core/types/package.json +3 -3
  175. package/core/types/src/app.ts +2 -2
  176. package/core/types/src/cli.ts +1 -1
  177. package/core/types/src/cloud.ts +5 -1
  178. package/core/types/src/cron-jobs.ts +1 -0
  179. package/core/types/src/queue.ts +3 -1
  180. package/core/types/tsconfig.json +3 -0
  181. package/core/ui/package.json +4 -4
  182. package/core/ui/tsconfig.json +3 -0
  183. package/core/utils/dist/index.js +1 -1
  184. package/core/utils/package.json +1 -1
  185. package/core/utils/src/promise.ts +2 -2
  186. package/core/utils/tsconfig.json +3 -0
  187. package/core/validation/package.json +1 -1
  188. package/core/validation/src/rules.ts +3 -3
  189. package/core/validation/tsconfig.json +3 -0
  190. package/core/vite/dist/index.js +1 -1
  191. package/core/vite/package.json +1 -1
  192. package/core/vite/tsconfig.json +3 -0
  193. package/core/whois/package.json +1 -1
  194. package/core/whois/tsconfig.json +3 -0
  195. package/core/x-ray/package.json +1 -1
  196. package/core/x-ray/tsconfig.json +3 -0
  197. package/core/zsh-buddy/README.md +6 -2
  198. package/core/zsh-buddy/buddy.plugin.zsh +109 -0
  199. package/core/zsh-buddy/package.json +1 -1
  200. package/ide/dictionary.txt +2 -0
  201. package/ide/vscode/package.json +1 -1
  202. package/package.json +1 -1
  203. package/buddy +0 -2
  204. package/core/actions/src/zip/api.ts +0 -22
  205. package/core/bud +0 -2
  206. package/core/cloud/buddy +0 -2
  207. package/core/cloud/src/cloud/package/README.md +0 -59
  208. package/core/cloud/src/cloud/package/package.json +0 -63
  209. 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: "Testing", link: "/guide/testing" }
1081
+ { text: "$ Shell", link: "/guide/$-shell" }
1029
1082
  ]
1030
1083
  },
1031
1084
  {
1032
- text: "Features",
1085
+ text: "Packages",
1033
1086
  collapsible: true,
1034
1087
  collapsed: true,
1035
1088
  items: [
1036
- { text: "$ Shell", link: "/features/$-shell" },
1037
- { text: "Actions", link: "/features/actions" },
1038
- { text: "AI", link: "/features/ai" },
1039
- { text: "Alias", link: "/features/alias" },
1040
- { text: "Analytics", link: "/features/analytics" },
1041
- { text: "Arrays", link: "/features/arrays" },
1042
- { text: "Auth", link: "/features/auth" },
1043
- { text: "Buddy", link: "/features/buddy" },
1044
- { text: "Build", link: "/features/build" },
1045
- { text: "Cache", link: "/features/cache" },
1046
- { text: "Chat", link: "/features/chat" },
1047
- { text: "CLI", link: "/features/cli" },
1048
- { text: "Cloud", link: "/features/cloud" },
1049
- { text: "Collections", link: "/features/collections" },
1050
- { text: "Config", link: "/features/config" },
1051
- { text: "Database", link: "/features/database" },
1052
- { text: "Datetime", link: "/features/datetime" },
1053
- { text: "Desktop", link: "/features/desktop" },
1054
- { text: "Development", link: "/features/development" },
1055
- { text: "DNS", link: "/features/dns" },
1056
- { text: "Docs", link: "/features/docs" },
1057
- { text: "Email", link: "/features/email" },
1058
- { text: "Env", link: "/features/env" },
1059
- { text: "Error Handling", link: "/features/error-handling" },
1060
- { text: "ESlint Config", link: "/features/error-handling" },
1061
- { text: "Events", link: "/features/events" },
1062
- { text: "Faker", link: "/features/faker" },
1063
- { text: "Git", link: "/features/git" },
1064
- { text: "Glob", link: "/features/glob" },
1065
- { text: "Health", link: "/features/health" },
1066
- { text: "Http", link: "/features/http" },
1067
- { text: "Lint", link: "/features/lint" },
1068
- { text: "Logging", link: "/features/logging" },
1069
- { text: "Modules", link: "/features/modules" },
1070
- { text: "Notifications", link: "/features/notifications" },
1071
- { text: "Objects", link: "/features/objects" },
1072
- { text: "ORM", link: "/features/orm" },
1073
- { text: "Path", link: "/features/path" },
1074
- { text: "Payments", link: "/features/payments" },
1075
- { text: "Permissions", link: "/features/permissions" },
1076
- { text: "Push", link: "/features/push" },
1077
- { text: "Query Builder", link: "/features/query-builder" },
1078
- { text: "Queue", link: "/features/queue" },
1079
- { text: "Realtime", link: "/features/realtime" },
1080
- { text: "REPL", link: "/features/repl" },
1081
- { text: "Router", link: "/features/router" },
1082
- { text: "Scheduler", link: "/features/scheduler" },
1083
- { text: "Search Engine", link: "/features/search-engine" },
1084
- { text: "Security", link: "/features/security" },
1085
- { text: "Semver", link: "/features/semver" },
1086
- { text: "Server", link: "/features/server" },
1087
- { text: "Signals", link: "/features/signals" },
1088
- { text: "Slug", link: "/features/slug" },
1089
- { text: "SMS", link: "/features/sms" },
1090
- { text: "Storage", link: "/features/storage" },
1091
- { text: "Strings", link: "/features/strings" },
1092
- { text: "Testing", link: "/features/testing" },
1093
- { text: "Tinker", link: "/features/tinker" },
1094
- { text: "Tunnel", link: "/features/tunnel" },
1095
- { text: "Types", link: "/features/types" },
1096
- { text: "UI", link: "/features/ui" },
1097
- { text: "Utils", link: "/features/utils" },
1098
- { text: "Validation", link: "/features/validation" },
1099
- { text: "Vite", link: "/features/vite" }
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: "Terminology",
1104
- link: "/terminology"
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
- stripe: {
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: ""
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@stacksjs/config",
3
3
  "type": "module",
4
- "version": "0.58.51",
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": "./dist/index.js",
29
+ "bun": "./src/index.ts",
30
30
  "import": "./dist/index.js"
31
31
  },
32
32
  "./*": {
@@ -0,0 +1,3 @@
1
+ {
2
+ "extends": "../tsconfig.json"
3
+ }
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@stacksjs/database",
3
3
  "type": "module",
4
- "version": "0.58.51",
4
+ "version": "0.58.52",
5
5
  "description": "The Stacks database integration.",
6
6
  "author": "Chris Breuer",
7
7
  "license": "MIT",
@@ -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]>): void
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>>(
@@ -0,0 +1,3 @@
1
+ {
2
+ "extends": "../tsconfig.json"
3
+ }
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@stacksjs/datetime",
3
3
  "type": "module",
4
- "version": "0.58.51",
4
+ "version": "0.58.52",
5
5
  "description": "The Stacks datetime helpers.",
6
6
  "author": "Chris Breuer",
7
7
  "license": "MIT",
@@ -0,0 +1,3 @@
1
+ {
2
+ "extends": "../tsconfig.json"
3
+ }
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@stacksjs/desktop",
3
3
  "type": "module",
4
- "version": "0.58.51",
4
+ "version": "0.58.52",
5
5
  "description": "The Stacks Desktop engine.",
6
6
  "author": "Chris Breuer",
7
7
  "license": "MIT",
@@ -0,0 +1,3 @@
1
+ {
2
+ "extends": "../tsconfig.json"
3
+ }
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@stacksjs/development",
3
3
  "type": "module",
4
- "version": "0.58.51",
4
+ "version": "0.58.52",
5
5
  "description": "The Stacks development dependencies.",
6
6
  "author": "Chris Breuer",
7
7
  "license": "MIT",
@@ -0,0 +1,3 @@
1
+ {
2
+ "extends": "../tsconfig.json"
3
+ }
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@stacksjs/dns",
3
3
  "type": "module",
4
- "version": "0.58.51",
4
+ "version": "0.58.52",
5
5
  "description": "Easily manage your DNS.",
6
6
  "author": "Chris Breuer",
7
7
  "license": "MIT",
@@ -0,0 +1,3 @@
1
+ {
2
+ "extends": "../tsconfig.json"
3
+ }
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@stacksjs/docs",
3
3
  "type": "module",
4
- "version": "0.58.51",
4
+ "version": "0.58.52",
5
5
  "description": "The Stacks way to document.",
6
6
  "author": "Chris Breuer",
7
7
  "license": "MIT",
@@ -0,0 +1,3 @@
1
+ {
2
+ "extends": "../tsconfig.json"
3
+ }
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@stacksjs/email",
3
3
  "type": "module",
4
- "version": "0.58.51",
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.22.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.22.0",
82
- "@novu/mailgun": "^0.22.0",
83
- "@novu/mailjet": "^0.22.0",
84
- "@novu/mandrill": "^0.22.0",
85
- "@novu/netcore": "^0.22.0",
86
- "@novu/node": "^0.22.0",
87
- "@novu/nodemailer": "^0.22.0",
88
- "@novu/postmark": "^0.22.0",
89
- "@novu/sendgrid": "^0.22.0",
90
- "@novu/ses": "^0.22.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:*"
@@ -0,0 +1,3 @@
1
+ {
2
+ "extends": "../tsconfig.json"
3
+ }
@@ -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";
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@stacksjs/enums",
3
3
  "type": "module",
4
- "version": "0.58.51",
4
+ "version": "0.58.52",
5
5
  "description": "Stacks enums.",
6
6
  "author": "Chris Breuer",
7
7
  "license": "MIT",
@@ -57,6 +57,7 @@ export enum Action {
57
57
  BuildDesktop = 'build/desktop',
58
58
  BuildDocs = 'build/docs',
59
59
  BuildFunctionLib = 'build-function-lib',
60
+ BuildServer = 'build/server',
60
61
  Changelog = 'changelog',
61
62
  Clean = 'clean',
62
63
  DevComponents = 'dev/components',
@@ -0,0 +1,3 @@
1
+ {
2
+ "extends": "../tsconfig.json"
3
+ }
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@stacksjs/env",
3
3
  "type": "module",
4
- "version": "0.58.51",
4
+ "version": "0.58.52",
5
5
  "description": "Stacks env helper methods.",
6
6
  "author": "Chris Breuer",
7
7
  "license": "MIT",
@@ -0,0 +1,3 @@
1
+ {
2
+ "extends": "../tsconfig.json"
3
+ }
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@stacksjs/error-handling",
3
3
  "type": "module",
4
- "version": "0.58.51",
4
+ "version": "0.58.52",
5
5
  "description": "Type safe error handling.",
6
6
  "author": "Chris Breuer",
7
7
  "license": "MIT",
@@ -0,0 +1,3 @@
1
+ {
2
+ "extends": "../tsconfig.json"
3
+ }
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@stacksjs/eslint-config",
3
3
  "type": "module",
4
- "version": "0.58.51",
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.4",
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.4",
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',
@@ -29,6 +29,7 @@ import { combine, interopDefault } from './utils'
29
29
  import { formatters } from './configs/formatters'
30
30
 
31
31
  const flatConfigProps: (keyof FlatConfigItem)[] = [
32
+ 'name',
32
33
  'files',
33
34
  'ignores',
34
35
  'languageOptions',
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@stacksjs/events",
3
3
  "type": "module",
4
- "version": "0.58.51",
4
+ "version": "0.58.52",
5
5
  "description": "Functional event emitting.",
6
6
  "author": "Chris Breuer",
7
7
  "license": "MIT",