stacks 0.58.71 → 0.58.72

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 (104) hide show
  1. package/core/actions/dist/src/upgrade.js +1 -1
  2. package/core/actions/package.json +1 -1
  3. package/core/ai/dist/index.js +47 -54
  4. package/core/ai/package.json +3 -3
  5. package/core/alias/package.json +1 -1
  6. package/core/analytics/package.json +1 -1
  7. package/core/api/package.json +1 -2
  8. package/core/api/src/index.ts +1 -0
  9. package/core/arrays/package.json +1 -1
  10. package/core/auth/package.json +1 -1
  11. package/core/buddy/bin/cli.ts +46 -0
  12. package/core/buddy/dist/{chunk-89229d657386eb70.js → chunk-94f0ae38d2d27d78.js} +1 -1
  13. package/core/buddy/dist/cli.js +18 -3309
  14. package/core/buddy/dist/index.js +1 -1
  15. package/core/buddy/package.json +1 -1
  16. package/core/buddy/src/cli.ts +16 -68
  17. package/core/buddy/src/commands/setup.ts +1 -0
  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/build.ts +1 -1
  28. package/core/cli/dist/index.js +20 -1
  29. package/core/cli/package.json +2 -1
  30. package/core/cli/src/utils.ts +20 -0
  31. package/core/cloud/package.json +31 -31
  32. package/core/cloud/src/cloud/aws-sdk-layer/nodejs/package-lock.json +6 -6
  33. package/core/cloud/src/cloud/aws-sdk-layer/nodejs/package.json +2 -2
  34. package/core/cloud/src/cloud/router-layer/nodejs/package.json +1 -1
  35. package/core/collections/package.json +1 -1
  36. package/core/config/dist/index.js +9 -1
  37. package/core/config/package.json +1 -1
  38. package/core/config/src/overrides.ts +22 -22
  39. package/core/database/package.json +3 -3
  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 +7 -7
  44. package/core/docs/package.json +1 -1
  45. package/core/email/package.json +2 -2
  46. package/core/enums/package.json +1 -1
  47. package/core/env/package.json +1 -1
  48. package/core/env/src/types.ts +1 -1
  49. package/core/error-handling/package.json +1 -1
  50. package/core/eslint-config/package.json +5 -5
  51. package/core/events/package.json +1 -1
  52. package/core/faker/package.json +1 -1
  53. package/core/git/package.json +1 -1
  54. package/core/health/package.json +1 -1
  55. package/core/http/package.json +1 -1
  56. package/core/lint/package.json +1 -1
  57. package/core/logging/package.json +1 -1
  58. package/core/notifications/package.json +1 -1
  59. package/core/objects/package.json +1 -1
  60. package/core/orm/package.json +1 -1
  61. package/core/path/dist/index.js +4 -1
  62. package/core/path/package.json +1 -1
  63. package/core/path/src/index.ts +6 -1
  64. package/core/payments/dist/index.js +1 -1
  65. package/core/payments/package.json +3 -3
  66. package/core/push/package.json +1 -1
  67. package/core/query-builder/package.json +1 -1
  68. package/core/queue/package.json +1 -1
  69. package/core/raycast/package.json +1 -1
  70. package/core/realtime/package.json +1 -1
  71. package/core/repl/package.json +1 -1
  72. package/core/router/build.ts +1 -1
  73. package/core/router/dist/index.js +106 -33
  74. package/core/router/package.json +2 -1
  75. package/core/router/src/router.ts +135 -39
  76. package/core/router/src/server.ts +26 -19
  77. package/core/scheduler/package.json +1 -1
  78. package/core/search-engine/package.json +1 -1
  79. package/core/security/package.json +1 -1
  80. package/core/server/package.json +2 -2
  81. package/core/signals/package.json +1 -1
  82. package/core/slug/package.json +1 -1
  83. package/core/sms/package.json +1 -1
  84. package/core/storage/package.json +1 -1
  85. package/core/strings/package.json +2 -2
  86. package/core/tables/package.json +2 -2
  87. package/core/testing/package.json +1 -1
  88. package/core/tinker/package.json +1 -1
  89. package/core/tsconfig.json +2 -1
  90. package/core/tunnel/package.json +1 -1
  91. package/core/types/package.json +5 -5
  92. package/core/types/src/router.ts +1 -1
  93. package/core/types/src/ui.ts +16 -24
  94. package/core/ui/package.json +3 -3
  95. package/core/utils/dist/index.js +1 -1
  96. package/core/utils/package.json +1 -1
  97. package/core/validation/package.json +1 -1
  98. package/core/vite/dist/index.js +1 -1
  99. package/core/vite/package.json +3 -3
  100. package/core/whois/package.json +1 -1
  101. package/core/x-ray/package.json +1 -1
  102. package/core/zsh-buddy/package.json +2 -2
  103. package/ide/vscode/package.json +1 -1
  104. package/package.json +1 -1
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@stacksjs/server",
3
3
  "type": "module",
4
- "version": "0.58.71",
4
+ "version": "0.58.72",
5
5
  "description": "Local development and production-ready.",
6
6
  "author": "Chris Breuer",
7
7
  "license": "MIT",
@@ -60,7 +60,7 @@
60
60
  "@stacksjs/path": "workspace:*",
61
61
  "@stacksjs/router": "workspace:*",
62
62
  "@stacksjs/validation": "workspace:*",
63
- "vite": "^5.1.1"
63
+ "vite": "^5.1.3"
64
64
  },
65
65
  "devDependencies": {
66
66
  "@stacksjs/development": "workspace:*"
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@stacksjs/signals",
3
3
  "type": "module",
4
- "version": "0.58.71",
4
+ "version": "0.58.72",
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.71",
4
+ "version": "0.58.72",
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.71",
4
+ "version": "0.58.72",
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.71",
4
+ "version": "0.58.72",
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.71",
4
+ "version": "0.58.72",
5
5
  "description": "The Stacks string utilities.",
6
6
  "author": "Chris Breuer",
7
7
  "license": "MIT",
@@ -65,7 +65,7 @@
65
65
  "dependencies": {
66
66
  "@stacksjs/alias": "workspace:*",
67
67
  "@stacksjs/types": "workspace:*",
68
- "change-case": "^5.4.2",
68
+ "change-case": "^5.4.3",
69
69
  "detect-indent": "^7.0.1",
70
70
  "detect-newline": "^4.0.1",
71
71
  "macroable": "^7.0.2",
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@stacksjs/tables",
3
- "version": "0.58.71",
3
+ "version": "0.58.72",
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",
@@ -41,7 +41,7 @@
41
41
  "meilisearch": "^0.37.0"
42
42
  },
43
43
  "dependencies": {
44
- "vite": "^5.1.1"
44
+ "vite": "^5.1.3"
45
45
  },
46
46
  "devDependencies": {
47
47
  "@stacksjs/development": "workspace:*"
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@stacksjs/testing",
3
3
  "type": "module",
4
- "version": "0.58.71",
4
+ "version": "0.58.72",
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.71",
4
+ "version": "0.58.72",
5
5
  "description": "All you need to tinker.",
6
6
  "author": "Chris Breuer",
7
7
  "license": "MIT",
@@ -15,7 +15,8 @@
15
15
  "stacks/*": ["./*/src"],
16
16
  "buddy": ["./buddy/src/index.ts"],
17
17
  "buddy/*": ["./buddy/src/*"],
18
- "config/*": ["../../../config/*"],
18
+ "Actions/*": ["../../../app/Actions/*"],
19
+ "Jobs/*": ["../../../app/Jobs/*"],
19
20
  "~/*": ["../../../*"]
20
21
  },
21
22
  "resolveJsonModule": true,
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@stacksjs/tunnel",
3
3
  "type": "module",
4
- "version": "0.58.71",
4
+ "version": "0.58.72",
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.71",
4
+ "version": "0.58.72",
5
5
  "description": "The Stacks framework types.",
6
6
  "author": "Chris Breuer",
7
7
  "license": "MIT",
@@ -62,7 +62,7 @@
62
62
  "@types/fs-extra": "^11.0.4",
63
63
  "@types/markdown-it-link-attributes": "^3.0.4",
64
64
  "@types/minimatch": "^5.1.2",
65
- "@types/node": "^20.11.17",
65
+ "@types/node": "^20.11.19",
66
66
  "@types/nprogress": "^0.2.3",
67
67
  "@vinejs/vine": "^1.7.1",
68
68
  "cac": "^6.7.14",
@@ -73,15 +73,15 @@
73
73
  "unocss": "^0.58.5",
74
74
  "unplugin-auto-import": "^0.17.5",
75
75
  "unplugin-vue-components": "^0.26.0",
76
- "vite": "^5.1.1",
76
+ "vite": "^5.1.3",
77
77
  "vite-plugin-inspect": "^0.8.3",
78
- "vite-plugin-pwa": "^0.18.1",
78
+ "vite-plugin-pwa": "^0.18.2",
79
79
  "vite-ssg": "^0.23.6",
80
80
  "vitepress": "1.0.0-rc.42",
81
81
  "vue": "^3.4.19"
82
82
  },
83
83
  "devDependencies": {
84
- "aws-cdk-lib": "^2.127.0",
84
+ "aws-cdk-lib": "^2.128.0",
85
85
  "typescript": "^5.3.3"
86
86
  }
87
87
  }
@@ -43,7 +43,7 @@ export interface Route {
43
43
  url: string // used synonymously with uri
44
44
  method: HttpMethod
45
45
  pattern: RegExp
46
- callback: RouteCallback | ActionName | Action
46
+ callback: RouteCallback | ActionName | Action | Promise<any> // we may be able to improve the `Promise<any>` if we could narrow this type `import('../app/Actions/BuddyAction')`
47
47
  paramNames: string[]
48
48
  middleware?: string | string[]
49
49
  statusCode?: StatusCode
@@ -1,14 +1,15 @@
1
1
  import type { UserShortcuts } from 'unocss'
2
+ import type { UserConfig } from '@unocss/core'
2
3
 
3
4
  export type Font = 'inter' | 'mona' | 'hubot'
4
5
  export type Icon = 'heroicons'
5
6
  export type WebFontsProviders = 'google' | 'bunny' | 'fontshare'
7
+ export type Shortcuts = UserShortcuts
6
8
 
7
9
  export interface FontInfo {
8
10
  title: string
9
11
  text: string
10
12
  }
11
- export type FontFor = 'email' | 'desktop' | 'mobile' | 'web'
12
13
 
13
14
  export interface WebFontMeta {
14
15
  name: string
@@ -134,29 +135,10 @@ export interface UiOptions {
134
135
  * for several local font providers. You may set this value to
135
136
  * `null` if you prefer not utilize any local fonts.
136
137
  *
137
- * @see https://stacks.ow3.org/fonts
138
- * @example applies the same font for all platforms _(web, email, desktop, and mobile)_
139
- * ```ts
140
- * fonts: {
141
- * title: 'Mona',
142
- * text: 'Hubot'
143
- * }
144
- * ```
145
- * @example
146
- * ```ts
147
- * fonts: {
148
- * web: {
149
- * title: 'Inter',
150
- * text: 'Mona'
151
- * },
152
- * desktop: {
153
- * title: 'Mona',
154
- * text: 'Inter'
155
- * },
156
- * }
138
+ * @see https://stacksjs.org/docs/fonts
157
139
  * ```
158
140
  */
159
- fonts?: Record<FontFor, FontInfo> | { [key in FontFor]: FontInfo }
141
+ fonts?: any
160
142
 
161
143
  useWebFonts?: boolean | WebFontsProviders
162
144
 
@@ -180,12 +162,22 @@ export interface UiOptions {
180
162
  */
181
163
  icons: Icon | Icon[]
182
164
  // icons: Record<string, () => Promise<any>>
165
+
166
+ theme: UserConfig['theme']
167
+ // plugins: UserConfig['plugins']
168
+ // corePlugins: UserConfig['corePlugins']
169
+ variants: UserConfig['variants']
170
+ layers: UserConfig['layers']
171
+ // darkMode: UserConfig['darkMode']
172
+ // extend: UserConfig['extend']
173
+ // screens: UserConfig['screens']
174
+ // spacing: UserConfig['spacing']
175
+ // backgroundColor: UserConfig['backgroundColor']
176
+ // backgroundImage: UserConfig['backgroundImage']
183
177
  }
184
178
 
185
179
  export type UiConfig = Partial<UiOptions>
186
180
 
187
- export type Shortcuts = UserShortcuts
188
-
189
181
  /**
190
182
  * **Style Reset — Preset**
191
183
  *
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@stacksjs/ui",
3
3
  "type": "module",
4
- "version": "0.58.71",
4
+ "version": "0.58.72",
5
5
  "description": "The Stacks UI engine.",
6
6
  "author": "Chris Breuer",
7
7
  "license": "MIT",
@@ -70,10 +70,10 @@
70
70
  },
71
71
  "dependencies": {
72
72
  "@headlessui/vue": "^1.7.19",
73
- "@iconify-json/heroicons": "^1.1.19",
73
+ "@iconify-json/heroicons": "^1.1.20",
74
74
  "@iconify-json/heroicons-outline": "^1.1.10",
75
75
  "@iconify-json/heroicons-solid": "^1.1.11",
76
- "@iconify/json": "^2.2.182",
76
+ "@iconify/json": "^2.2.183",
77
77
  "@julr/unocss-preset-forms": "^0.1.0",
78
78
  "@stacksjs/build": "workspace:*",
79
79
  "@stacksjs/config": "workspace:*",
@@ -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.71";
921
+ var version = "0.58.72";
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.71",
4
+ "version": "0.58.72",
5
5
  "description": "The Stacks helper functions.",
6
6
  "author": "Chris Breuer",
7
7
  "license": "MIT",
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@stacksjs/validation",
3
3
  "type": "module",
4
- "version": "0.58.71",
4
+ "version": "0.58.72",
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.71";
612
+ var version = "0.58.72";
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.71",
4
+ "version": "0.58.72",
5
5
  "description": "The Stacks Vite plugin.",
6
6
  "author": "Chris Breuer",
7
7
  "license": "MIT",
@@ -106,11 +106,11 @@
106
106
  "markdown-it-shiki": "^0.9.0",
107
107
  "unplugin-auto-import": "^0.17.5",
108
108
  "unplugin-vue-components": "^0.26.0",
109
- "vite": "^5.1.1",
109
+ "vite": "^5.1.3",
110
110
  "vite-plugin-full-reload": "^1.1.0",
111
111
  "vite-plugin-inspect": "^0.8.3",
112
112
  "vite-plugin-pages": "^0.32.0",
113
- "vite-plugin-pwa": "^0.18.1",
113
+ "vite-plugin-pwa": "^0.18.2",
114
114
  "vite-plugin-vue-markdown": "^0.23.8",
115
115
  "vite-ssg": "^0.23.6",
116
116
  "vite-ssg-sitemap": "^0.6.1"
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@stacksjs/whois",
3
3
  "type": "module",
4
- "version": "0.58.71",
4
+ "version": "0.58.72",
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.71",
4
+ "version": "0.58.72",
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.71",
4
+ "version": "0.58.72",
5
5
  "description": "A better Stacks zsh experience.",
6
6
  "author": "Chris Breuer",
7
7
  "license": "MIT",
@@ -27,7 +27,7 @@
27
27
  "buddy.plugin.zsh"
28
28
  ],
29
29
  "engines": {
30
- "node": ">=20.11.0"
30
+ "node": ">=20.11.1"
31
31
  },
32
32
  "scripts": {
33
33
  "build": "echo 'No build step required.'"
@@ -2,7 +2,7 @@
2
2
  "publisher": "Stacks",
3
3
  "name": "vscode-stacks",
4
4
  "displayName": "Stacks",
5
- "version": "0.58.71",
5
+ "version": "0.58.72",
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.71",
4
+ "version": "0.58.72",
5
5
  "description": "The Stacks framework.",
6
6
  "author": "Chris Breuer",
7
7
  "license": "MIT",