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/development",
3
3
  "type": "module",
4
- "version": "0.58.71",
4
+ "version": "0.58.72",
5
5
  "description": "The Stacks development dependencies.",
6
6
  "author": "Chris Breuer",
7
7
  "license": "MIT",
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@stacksjs/dns",
3
3
  "type": "module",
4
- "version": "0.58.71",
4
+ "version": "0.58.72",
5
5
  "description": "Easily manage your DNS.",
6
6
  "author": "Chris Breuer",
7
7
  "license": "MIT",
@@ -51,27 +51,27 @@
51
51
  "prepublishOnly": "bun --bun run build"
52
52
  },
53
53
  "peerDependencies": {
54
- "@aws-sdk/client-route-53": "^3.513.0",
55
- "@aws-sdk/client-route-53-domains": "^3.513.0",
54
+ "@aws-sdk/client-route-53": "^3.515.0",
55
+ "@aws-sdk/client-route-53-domains": "^3.515.0",
56
56
  "@stacksjs/actions": "workspace:*",
57
57
  "@stacksjs/error-handling": "workspace:*",
58
58
  "@stacksjs/path": "workspace:*",
59
59
  "@stacksjs/storage": "workspace:*",
60
60
  "@stacksjs/whois": "workspace:*",
61
- "aws-cdk-lib": "^2.127.0"
61
+ "aws-cdk-lib": "^2.128.0"
62
62
  },
63
63
  "dependencies": {
64
- "@aws-sdk/client-route-53": "^3.513.0",
64
+ "@aws-sdk/client-route-53": "^3.515.0",
65
65
  "@stacksjs/actions": "workspace:*",
66
66
  "@stacksjs/error-handling": "workspace:*",
67
67
  "@stacksjs/path": "workspace:*",
68
68
  "@stacksjs/storage": "workspace:*",
69
69
  "@stacksjs/strings": "workspace:*",
70
70
  "@stacksjs/whois": "workspace:*",
71
- "aws-cdk-lib": "^2.127.0"
71
+ "aws-cdk-lib": "^2.128.0"
72
72
  },
73
73
  "devDependencies": {
74
74
  "@stacksjs/development": "workspace:*",
75
- "aws-cdk-lib": "^2.127.0"
75
+ "aws-cdk-lib": "^2.128.0"
76
76
  }
77
77
  }
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@stacksjs/docs",
3
3
  "type": "module",
4
- "version": "0.58.71",
4
+ "version": "0.58.72",
5
5
  "description": "The Stacks way to document.",
6
6
  "author": "Chris Breuer",
7
7
  "license": "MIT",
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@stacksjs/email",
3
3
  "type": "module",
4
- "version": "0.58.71",
4
+ "version": "0.58.72",
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",
@@ -71,7 +71,7 @@
71
71
  "@stacksjs/error-handling": "workspace:*",
72
72
  "@stacksjs/types": "workspace:*",
73
73
  "@types/mailparser": "^3.4.4",
74
- "aws-sdk": "^2.1557.0",
74
+ "aws-sdk": "^2.1559.0",
75
75
  "mailparser": "^3.6.7",
76
76
  "mime": "^4.0.1",
77
77
  "moment": "^2.30.1",
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@stacksjs/enums",
3
3
  "type": "module",
4
- "version": "0.58.71",
4
+ "version": "0.58.72",
5
5
  "description": "Stacks enums.",
6
6
  "author": "Chris Breuer",
7
7
  "license": "MIT",
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@stacksjs/env",
3
3
  "type": "module",
4
- "version": "0.58.71",
4
+ "version": "0.58.72",
5
5
  "description": "Stacks env helper methods.",
6
6
  "author": "Chris Breuer",
7
7
  "license": "MIT",
@@ -1,7 +1,7 @@
1
1
  import type { Infer, VineBoolean, VineEnum, VineNumber, VineString } from '@stacksjs/validation'
2
2
  import { validator } from '@stacksjs/validation'
3
- import env from 'config/env'
4
3
  import type { EnvKey } from '../../../env'
4
+ import env from '~/config/env'
5
5
 
6
6
  // import type { Validate } from '@stacksjs/validation'
7
7
 
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@stacksjs/error-handling",
3
3
  "type": "module",
4
- "version": "0.58.71",
4
+ "version": "0.58.72",
5
5
  "description": "Type safe error handling.",
6
6
  "author": "Chris Breuer",
7
7
  "license": "MIT",
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@stacksjs/eslint-config",
3
3
  "type": "module",
4
- "version": "0.58.71",
4
+ "version": "0.58.72",
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",
@@ -71,7 +71,7 @@
71
71
  "@eslint-types/typescript-eslint": "^6.21.0",
72
72
  "@eslint-types/unicorn": "^51.0.1",
73
73
  "@stacksjs/cli": "workspace:*",
74
- "@stylistic/eslint-plugin": "^1.6.1",
74
+ "@stylistic/eslint-plugin": "^1.6.2",
75
75
  "@typescript-eslint/eslint-plugin": "^7.0.1",
76
76
  "@typescript-eslint/parser": "^7.0.1",
77
77
  "eslint-config-flat-gitignore": "^0.1.3",
@@ -80,7 +80,7 @@
80
80
  "eslint-plugin-antfu": "^2.1.2",
81
81
  "eslint-plugin-eslint-comments": "^3.2.0",
82
82
  "eslint-plugin-i": "^2.29.1",
83
- "eslint-plugin-jsdoc": "^48.0.6",
83
+ "eslint-plugin-jsdoc": "^48.1.0",
84
84
  "eslint-plugin-jsonc": "^2.13.0",
85
85
  "eslint-plugin-markdown": "^3.0.1",
86
86
  "eslint-plugin-n": "^16.6.2",
@@ -106,9 +106,9 @@
106
106
  "@stacksjs/development": "workspace:*",
107
107
  "@stacksjs/eslint-config": "workspace:*",
108
108
  "@stacksjs/utils": "workspace:*",
109
- "@stylistic/eslint-plugin-migrate": "^1.6.1",
109
+ "@stylistic/eslint-plugin-migrate": "^1.6.2",
110
110
  "@types/eslint": "^8.56.2",
111
- "@types/node": "^20.11.17",
111
+ "@types/node": "^20.11.19",
112
112
  "@unocss/eslint-plugin": "^0.58.5",
113
113
  "eslint": "^8.56.0",
114
114
  "eslint-flat-config-viewer": "^0.1.11",
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@stacksjs/events",
3
3
  "type": "module",
4
- "version": "0.58.71",
4
+ "version": "0.58.72",
5
5
  "description": "Functional event emitting.",
6
6
  "author": "Chris Breuer",
7
7
  "license": "MIT",
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@stacksjs/faker",
3
3
  "type": "module",
4
- "version": "0.58.71",
4
+ "version": "0.58.72",
5
5
  "description": "Faker functions.",
6
6
  "author": "Chris Breuer",
7
7
  "license": "MIT",
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@stacksjs/git",
3
3
  "type": "module",
4
- "version": "0.58.71",
4
+ "version": "0.58.72",
5
5
  "description": "The Stacks git utilities & conventions.",
6
6
  "author": "Chris Breuer",
7
7
  "license": "MIT",
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@stacksjs/health",
3
3
  "type": "module",
4
- "version": "0.58.71",
4
+ "version": "0.58.72",
5
5
  "description": "The Stacks Health services.",
6
6
  "author": "Chris Breuer",
7
7
  "license": "MIT",
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@stacksjs/http",
3
3
  "type": "module",
4
- "version": "0.58.71",
4
+ "version": "0.58.72",
5
5
  "description": "Stacks HTTP methods.",
6
6
  "author": "Chris Breuer",
7
7
  "license": "MIT",
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@stacksjs/lint",
3
3
  "type": "module",
4
- "version": "0.58.71",
4
+ "version": "0.58.72",
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.71",
4
+ "version": "0.58.72",
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.71",
4
+ "version": "0.58.72",
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.71",
4
+ "version": "0.58.72",
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.71",
4
+ "version": "0.58.72",
5
5
  "description": "The Stacks ORM integration",
6
6
  "author": "Chris Breuer",
7
7
  "license": "MIT",
@@ -258,7 +258,10 @@ function replPath(path) {
258
258
  function routerPath(path) {
259
259
  return corePath(`router/${path || ""}`);
260
260
  }
261
- function routesPath(path) {
261
+ function routesPath(path, options) {
262
+ const absolutePath = resourcesPath(`routes/${path || ""}`);
263
+ if (options?.relative)
264
+ return relative(process.cwd(), absolutePath);
262
265
  return projectPath(`routes/${path || ""}`);
263
266
  }
264
267
  function searchEnginePath(path) {
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@stacksjs/path",
3
3
  "type": "module",
4
- "version": "0.58.71",
4
+ "version": "0.58.72",
5
5
  "description": "The Stacks path.",
6
6
  "author": "Chris Breuer",
7
7
  "license": "MIT",
@@ -391,7 +391,12 @@ export function routerPath(path?: string) {
391
391
  return corePath(`router/${path || ''}`)
392
392
  }
393
393
 
394
- export function routesPath(path?: string) {
394
+ export function routesPath(path?: string, options?: { relative?: boolean }) {
395
+ const absolutePath = resourcesPath(`routes/${path || ''}`)
396
+
397
+ if (options?.relative)
398
+ return relative(process.cwd(), absolutePath)
399
+
395
400
  return projectPath(`routes/${path || ''}`)
396
401
  }
397
402
 
@@ -5969,7 +5969,7 @@ function createWebhooks(platformFunctions) {
5969
5969
 
5970
5970
  // /home/runner/work/stacks/stacks/node_modules/stripe/esm/stripe.core.js
5971
5971
  function createStripe(platformFunctions, requestSender = defaultRequestSenderFactory) {
5972
- Stripe.PACKAGE_VERSION = "14.16.0";
5972
+ Stripe.PACKAGE_VERSION = "14.17.0";
5973
5973
  Stripe.USER_AGENT = Object.assign({ bindings_version: Stripe.PACKAGE_VERSION, lang: "node", publisher: "stripe", uname: null, typescript: false }, determineProcessUserAgentProperties());
5974
5974
  Stripe.StripeResource = StripeResource;
5975
5975
  Stripe.resources = exports_resources;
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@stacksjs/payments",
3
3
  "type": "module",
4
- "version": "0.58.71",
4
+ "version": "0.58.72",
5
5
  "description": "The Stacks payments package. Currently supporting Stripe.",
6
6
  "author": "Chris Breuer",
7
7
  "license": "MIT",
@@ -51,8 +51,8 @@
51
51
  },
52
52
  "dependencies": {
53
53
  "@stacksjs/utils": "workspace:*",
54
- "@stripe/stripe-js": "^3.0.0",
55
- "stripe": "^14.16.0"
54
+ "@stripe/stripe-js": "^3.0.3",
55
+ "stripe": "^14.17.0"
56
56
  },
57
57
  "devDependencies": {
58
58
  "@stacksjs/config": "workspace:*",
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@stacksjs/push",
3
3
  "type": "module",
4
- "version": "0.58.71",
4
+ "version": "0.58.72",
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.71",
4
+ "version": "0.58.72",
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.71",
4
+ "version": "0.58.72",
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.71",
4
+ "version": "0.58.72",
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.71",
4
+ "version": "0.58.72",
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.71",
4
+ "version": "0.58.72",
5
5
  "description": "A Stacks optimized TS & Vue REPL.",
6
6
  "author": "Chris Breuer",
7
7
  "license": "MIT",
@@ -1,6 +1,6 @@
1
1
  import { log, runCommand } from '@stacksjs/cli'
2
2
 
3
- const result = await runCommand('bun build ./src/index.ts --outdir dist --format esm --external @stacksjs/config --target bun', {
3
+ const result = await runCommand('bun build ./src/index.ts --outdir dist --format esm --external @stacksjs/config --external @stacksjs/logging --target bun', {
4
4
  cwd: import.meta.dir,
5
5
  })
6
6