stacks 0.58.65 → 0.58.67

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 (99) hide show
  1. package/core/actions/dist/src/index.js +3 -1
  2. package/core/actions/dist/src/release.js +3 -1
  3. package/core/actions/dist/src/upgrade/index.js +3 -4
  4. package/core/actions/dist/src/upgrade.js +1 -1
  5. package/core/actions/package.json +3 -1
  6. package/core/actions/src/action.ts +24 -5
  7. package/core/actions/src/generate/action-types.ts +89 -0
  8. package/core/actions/src/upgrade/index.ts +6 -5
  9. package/core/ai/dist/index.js +3898 -3539
  10. package/core/ai/package.json +3 -3
  11. package/core/alias/package.json +1 -1
  12. package/core/analytics/package.json +1 -1
  13. package/core/api/package.json +1 -1
  14. package/core/arrays/package.json +1 -1
  15. package/core/arrays/src/helpers.ts +1 -1
  16. package/core/auth/package.json +1 -1
  17. package/core/buddy/package.json +1 -1
  18. package/core/build/package.json +1 -1
  19. package/core/bun-create/bud/package.json +1 -1
  20. package/core/bun-create/buddy/package.json +1 -1
  21. package/core/bun-create/stack/package.json +1 -1
  22. package/core/bun-create/stacks/package.json +1 -1
  23. package/core/bun-create/stx/package.json +1 -1
  24. package/core/bun-plugin-yaml/package.json +1 -1
  25. package/core/cache/package.json +2 -2
  26. package/core/chat/package.json +1 -1
  27. package/core/cli/dist/index.js +1 -1
  28. package/core/cli/package.json +1 -1
  29. package/core/cloud/dist/index.js +1 -1
  30. package/core/cloud/package.json +28 -28
  31. package/core/cloud/src/cloud/aws-sdk-layer/nodejs/package-lock.json +6 -6
  32. package/core/cloud/src/cloud/aws-sdk-layer/nodejs/package.json +2 -2
  33. package/core/cloud/src/cloud/compute.ts +1 -1
  34. package/core/cloud/src/cloud/router-layer/nodejs/package.json +2 -2
  35. package/core/collections/package.json +1 -1
  36. package/core/config/dist/index.js +2 -0
  37. package/core/config/package.json +1 -1
  38. package/core/config/src/defaults.ts +2 -0
  39. package/core/database/package.json +1 -1
  40. package/core/datetime/package.json +1 -1
  41. package/core/desktop/package.json +1 -1
  42. package/core/development/package.json +1 -1
  43. package/core/dns/package.json +4 -4
  44. package/core/docs/package.json +1 -1
  45. package/core/email/package.json +2 -2
  46. package/core/enums/dist/index.js +1 -0
  47. package/core/enums/package.json +1 -1
  48. package/core/enums/src/index.ts +1 -0
  49. package/core/env/package.json +1 -1
  50. package/core/error-handling/package.json +1 -1
  51. package/core/eslint-config/package.json +1 -1
  52. package/core/events/package.json +1 -1
  53. package/core/faker/package.json +1 -1
  54. package/core/git/package.json +1 -1
  55. package/core/health/package.json +1 -1
  56. package/core/http/package.json +1 -1
  57. package/core/lint/package.json +1 -1
  58. package/core/logging/package.json +1 -1
  59. package/core/notifications/package.json +1 -1
  60. package/core/objects/package.json +1 -1
  61. package/core/orm/package.json +1 -1
  62. package/core/path/package.json +1 -1
  63. package/core/payments/package.json +1 -1
  64. package/core/push/package.json +1 -1
  65. package/core/query-builder/package.json +1 -1
  66. package/core/queue/package.json +1 -1
  67. package/core/raycast/package.json +1 -1
  68. package/core/realtime/package.json +1 -1
  69. package/core/repl/package.json +1 -1
  70. package/core/router/package.json +1 -1
  71. package/core/scheduler/package.json +1 -1
  72. package/core/search-engine/package.json +1 -1
  73. package/core/security/package.json +1 -1
  74. package/core/server/package.json +1 -1
  75. package/core/signals/package.json +1 -1
  76. package/core/slug/package.json +1 -1
  77. package/core/sms/package.json +1 -1
  78. package/core/storage/package.json +1 -1
  79. package/core/strings/package.json +1 -1
  80. package/core/tables/package.json +1 -1
  81. package/core/testing/package.json +1 -1
  82. package/core/tinker/package.json +1 -1
  83. package/core/tunnel/package.json +1 -1
  84. package/core/types/package.json +1 -1
  85. package/core/types/src/cloud.ts +16 -0
  86. package/core/types/src/index.ts +1 -0
  87. package/core/types/src/request.ts +3 -0
  88. package/core/ui/package.json +1 -1
  89. package/core/utils/dist/index.js +1 -1
  90. package/core/utils/package.json +1 -1
  91. package/core/validation/build.ts +1 -1
  92. package/core/validation/package.json +1 -1
  93. package/core/vite/dist/index.js +1 -1
  94. package/core/vite/package.json +1 -1
  95. package/core/whois/package.json +1 -1
  96. package/core/x-ray/package.json +1 -1
  97. package/core/zsh-buddy/package.json +1 -1
  98. package/ide/vscode/package.json +1 -1
  99. package/package.json +1 -1
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@stacksjs/lint",
3
3
  "type": "module",
4
- "version": "0.58.65",
4
+ "version": "0.58.67",
5
5
  "description": "The Stacks way to lint.",
6
6
  "author": "Chris Breuer",
7
7
  "license": "MIT",
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@stacksjs/logging",
3
3
  "type": "module",
4
- "version": "0.58.65",
4
+ "version": "0.58.67",
5
5
  "description": "The Stacks logging system.",
6
6
  "author": "Chris Breuer",
7
7
  "license": "MIT",
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@stacksjs/notifications",
3
3
  "type": "module",
4
- "version": "0.58.65",
4
+ "version": "0.58.67",
5
5
  "description": "The Stacks notifications integration.",
6
6
  "author": "Chris Breuer",
7
7
  "license": "MIT",
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@stacksjs/objects",
3
3
  "type": "module",
4
- "version": "0.58.65",
4
+ "version": "0.58.67",
5
5
  "description": "The Stacks objects.",
6
6
  "author": "Chris Breuer",
7
7
  "license": "MIT",
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@stacksjs/orm",
3
3
  "type": "module",
4
- "version": "0.58.65",
4
+ "version": "0.58.67",
5
5
  "description": "The Stacks ORM integration",
6
6
  "author": "Chris Breuer",
7
7
  "license": "MIT",
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@stacksjs/path",
3
3
  "type": "module",
4
- "version": "0.58.65",
4
+ "version": "0.58.67",
5
5
  "description": "The Stacks path.",
6
6
  "author": "Chris Breuer",
7
7
  "license": "MIT",
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@stacksjs/payments",
3
3
  "type": "module",
4
- "version": "0.58.65",
4
+ "version": "0.58.67",
5
5
  "description": "The Stacks payments package. Currently supporting Stripe.",
6
6
  "author": "Chris Breuer",
7
7
  "license": "MIT",
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@stacksjs/push",
3
3
  "type": "module",
4
- "version": "0.58.65",
4
+ "version": "0.58.67",
5
5
  "description": "The Stacks Push integration",
6
6
  "author": "Chris Breuer",
7
7
  "license": "MIT",
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@stacksjs/query-builder",
3
3
  "type": "module",
4
- "version": "0.58.65",
4
+ "version": "0.58.67",
5
5
  "description": "The Stacks Query Builder integration",
6
6
  "author": "Chris Breuer",
7
7
  "license": "MIT",
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@stacksjs/queue",
3
3
  "type": "module",
4
- "version": "0.58.65",
4
+ "version": "0.58.67",
5
5
  "description": "The Stacks Queue system.",
6
6
  "author": "Chris Breuer",
7
7
  "license": "MIT",
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "stacks-raycast",
3
3
  "type": "module",
4
- "version": "0.58.65",
4
+ "version": "0.58.67",
5
5
  "description": "The Stacks Raycast plugin.",
6
6
  "scripts": {
7
7
  "build": "echo 'No build step required yet.'"
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@stacksjs/realtime",
3
3
  "type": "module",
4
- "version": "0.58.65",
4
+ "version": "0.58.67",
5
5
  "description": "The Stacks realtime integration.",
6
6
  "author": "Chris Breuer",
7
7
  "license": "MIT",
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@stacksjs/repl",
3
3
  "type": "module",
4
- "version": "0.58.65",
4
+ "version": "0.58.67",
5
5
  "description": "A Stacks optimized TS & Vue REPL.",
6
6
  "author": "Chris Breuer",
7
7
  "license": "MIT",
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@stacksjs/router",
3
3
  "type": "module",
4
- "version": "0.58.65",
4
+ "version": "0.58.67",
5
5
  "description": "The Stacks framework router.",
6
6
  "author": "Chris Breuer",
7
7
  "license": "MIT",
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@stacksjs/scheduler",
3
3
  "type": "module",
4
- "version": "0.58.65",
4
+ "version": "0.58.67",
5
5
  "description": "The Stacks scheduler.",
6
6
  "author": "Chris Breuer",
7
7
  "license": "MIT",
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@stacksjs/search-engine",
3
3
  "type": "module",
4
- "version": "0.58.65",
4
+ "version": "0.58.67",
5
5
  "description": "The Stacks search engine integrations.",
6
6
  "author": "Chris Breuer",
7
7
  "license": "MIT",
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@stacksjs/security",
3
3
  "type": "module",
4
- "version": "0.58.65",
4
+ "version": "0.58.67",
5
5
  "description": "The Stacks framework security.",
6
6
  "author": "Chris Breuer",
7
7
  "license": "MIT",
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@stacksjs/server",
3
3
  "type": "module",
4
- "version": "0.58.65",
4
+ "version": "0.58.67",
5
5
  "description": "Local development and production-ready.",
6
6
  "author": "Chris Breuer",
7
7
  "license": "MIT",
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@stacksjs/signals",
3
3
  "type": "module",
4
- "version": "0.58.65",
4
+ "version": "0.58.67",
5
5
  "description": "The Stacks signals integration, based on Maverick.",
6
6
  "author": "Chris Breuer",
7
7
  "license": "MIT",
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@stacksjs/slug",
3
3
  "type": "module",
4
- "version": "0.58.65",
4
+ "version": "0.58.67",
5
5
  "description": "The Stacks slug functionality.",
6
6
  "author": "Chris Breuer",
7
7
  "license": "MIT",
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@stacksjs/sms",
3
3
  "type": "module",
4
- "version": "0.58.65",
4
+ "version": "0.58.67",
5
5
  "description": "The Stacks SMS integration. Painlessly create & manage your inboxes, templates, and send sms.",
6
6
  "author": "Chris Breuer",
7
7
  "license": "MIT",
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@stacksjs/storage",
3
3
  "type": "module",
4
- "version": "0.58.65",
4
+ "version": "0.58.67",
5
5
  "description": "The Stacks file system.",
6
6
  "author": "Chris Breuer",
7
7
  "license": "MIT",
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@stacksjs/strings",
3
3
  "type": "module",
4
- "version": "0.58.65",
4
+ "version": "0.58.67",
5
5
  "description": "The Stacks string utilities.",
6
6
  "author": "Chris Breuer",
7
7
  "license": "MIT",
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@stacksjs/tables",
3
- "version": "0.58.65",
3
+ "version": "0.58.67",
4
4
  "description": "The easy & modern way to work with tables. Facet filtering, searching, pagination, ...",
5
5
  "author": "Open Web Labs",
6
6
  "license": "MIT",
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@stacksjs/testing",
3
3
  "type": "module",
4
- "version": "0.58.65",
4
+ "version": "0.58.67",
5
5
  "description": "The Stacks way of testing.",
6
6
  "author": "Chris Breuer",
7
7
  "license": "MIT",
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@stacksjs/tinker",
3
3
  "type": "module",
4
- "version": "0.58.65",
4
+ "version": "0.58.67",
5
5
  "description": "All you need to tinker.",
6
6
  "author": "Chris Breuer",
7
7
  "license": "MIT",
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@stacksjs/tunnel",
3
3
  "type": "module",
4
- "version": "0.58.65",
4
+ "version": "0.58.67",
5
5
  "description": "Local development tunnel.",
6
6
  "author": "Chris Breuer",
7
7
  "license": "MIT",
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@stacksjs/types",
3
3
  "type": "module",
4
- "version": "0.58.65",
4
+ "version": "0.58.67",
5
5
  "description": "The Stacks framework types.",
6
6
  "author": "Chris Breuer",
7
7
  "license": "MIT",
@@ -28,6 +28,8 @@ export type CountryCode =
28
28
  | 'YE' | 'YT'
29
29
  | 'ZA' | 'ZM' | 'ZW'
30
30
 
31
+ type Environment = 'development' | 'staging' | 'production'
32
+
31
33
  export interface CloudOptions {
32
34
  driver: 'aws'
33
35
 
@@ -57,6 +59,18 @@ export interface CloudOptions {
57
59
  */
58
60
  firewall: FirewallConfig
59
61
 
62
+ /**
63
+ * **Environments**
64
+ *
65
+ * These are the environments that your cloud will deploy.
66
+ *
67
+ * @example
68
+ * ```ts
69
+ * environments: ['production', 'staging', 'development']
70
+ * ```
71
+ */
72
+ environments: Environment[]
73
+
60
74
  cdn: {
61
75
  allowedMethods: 'GET_HEAD' | 'GET_HEAD_OPTIONS' | 'ALL'
62
76
  cachedMethods: 'GET_HEAD' | 'GET_HEAD_OPTIONS'
@@ -67,11 +81,13 @@ export interface CloudOptions {
67
81
  priceClass?: 'PriceClass_100' | 'PriceClass_200' | 'PriceClass_All'
68
82
  originShieldRegion: string
69
83
  cookieBehavior: 'none' | 'allowList' | 'all'
84
+
70
85
  allowList: {
71
86
  cookies: string[]
72
87
  headers: string[]
73
88
  queryStrings: string[]
74
89
  }
90
+
75
91
  realtimeLogs: {
76
92
  enabled: boolean
77
93
  samplingRate: number
@@ -42,6 +42,7 @@ export * from './pwa'
42
42
  export * from './push'
43
43
  export * from './queue'
44
44
  export * from './reactivity'
45
+ export * from './request'
45
46
  export * from './router'
46
47
  export * from './scheduler'
47
48
  export * from './search-engine'
@@ -0,0 +1,3 @@
1
+ export interface Request {
2
+ [key: string]: any
3
+ }
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@stacksjs/ui",
3
3
  "type": "module",
4
- "version": "0.58.65",
4
+ "version": "0.58.67",
5
5
  "description": "The Stacks UI engine.",
6
6
  "author": "Chris Breuer",
7
7
  "license": "MIT",
@@ -918,7 +918,7 @@ function prettyBytes(number, options) {
918
918
  return prefix + numberString + separator + unit;
919
919
  }
920
920
  // package.json
921
- var version = "0.58.65";
921
+ var version = "0.58.67";
922
922
  export {
923
923
  wordChar,
924
924
  wordBoundary,
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@stacksjs/utils",
3
3
  "type": "module",
4
- "version": "0.58.65",
4
+ "version": "0.58.67",
5
5
  "description": "The Stacks helper functions.",
6
6
  "author": "Chris Breuer",
7
7
  "license": "MIT",
@@ -1,5 +1,5 @@
1
1
  import { runCommand } from '@stacksjs/cli'
2
2
 
3
- await runCommand('bun build ./src/index.ts --outdir dist --format esm --external @vinejs/vine --external @stacksjs/vite --external @stacksjs/strings --external @stacksjs/types --external @dinero.js/currencies --external dinero.js --target bun', {
3
+ await runCommand('bun build ./src/index.ts --outdir dist --format esm --external @vinejs/vine --external @stacksjs/vite --external @stacksjs/strings --external @stacksjs/types --external @stacksjs/validation --external @dinero.js/currencies --external dinero.js --target bun', {
4
4
  cwd: import.meta.dir,
5
5
  })
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@stacksjs/validation",
3
3
  "type": "module",
4
- "version": "0.58.65",
4
+ "version": "0.58.67",
5
5
  "description": "The Stacks Validation ways.",
6
6
  "author": "Chris Breuer",
7
7
  "license": "MIT",
@@ -609,7 +609,7 @@ var web_components_default = defineConfig6(({ command }) => {
609
609
  // src/plugin/docs.ts
610
610
  import {kolorist as c2} from "@stacksjs/cli";
611
611
  // package.json
612
- var version = "0.58.65";
612
+ var version = "0.58.67";
613
613
 
614
614
  // src/plugin/docs.ts
615
615
  var docsEngine = {
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@stacksjs/vite",
3
3
  "type": "module",
4
- "version": "0.58.65",
4
+ "version": "0.58.67",
5
5
  "description": "The Stacks Vite plugin.",
6
6
  "author": "Chris Breuer",
7
7
  "license": "MIT",
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@stacksjs/whois",
3
3
  "type": "module",
4
- "version": "0.58.65",
4
+ "version": "0.58.67",
5
5
  "description": "Easily get whois info.",
6
6
  "author": "Chris Breuer",
7
7
  "license": "MIT",
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@stacksjs/x-ray",
3
3
  "type": "module",
4
- "version": "0.58.65",
4
+ "version": "0.58.67",
5
5
  "description": "All you need to debug, log & analyze.",
6
6
  "author": "Chris Breuer",
7
7
  "license": "MIT",
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "zsh-buddy",
3
3
  "type": "module",
4
- "version": "0.58.65",
4
+ "version": "0.58.67",
5
5
  "description": "A better Stacks zsh experience.",
6
6
  "author": "Chris Breuer",
7
7
  "license": "MIT",
@@ -2,7 +2,7 @@
2
2
  "publisher": "Stacks",
3
3
  "name": "vscode-stacks",
4
4
  "displayName": "Stacks",
5
- "version": "0.58.65",
5
+ "version": "0.58.67",
6
6
  "description": "A modern Stacks development environment.",
7
7
  "license": "MIT",
8
8
  "funding": "https://github.com/sponsors/chrisbbreuer",
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "stacks",
3
3
  "type": "module",
4
- "version": "0.58.65",
4
+ "version": "0.58.67",
5
5
  "description": "The Stacks framework.",
6
6
  "author": "Chris Breuer",
7
7
  "license": "MIT",