stacks 0.58.49 → 0.58.50

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 (113) hide show
  1. package/core/actions/dist/src/index.js +2 -0
  2. package/core/actions/dist/src/release.js +2 -0
  3. package/core/actions/dist/src/upgrade.js +1 -1
  4. package/core/actions/package.json +1 -1
  5. package/core/actions/src/action.ts +2 -0
  6. package/core/actions/src/generate/custom-cli-file.ts +24 -0
  7. package/core/ai/dist/index.js +6 -6
  8. package/core/ai/package.json +3 -3
  9. package/core/alias/package.json +1 -1
  10. package/core/analytics/package.json +1 -1
  11. package/core/api/package.json +1 -1
  12. package/core/arrays/package.json +1 -1
  13. package/core/auth/package.json +1 -1
  14. package/core/buddy/dist/{chunk-b32089b9556f373c.js → chunk-91084836e95161e8.js} +1 -1
  15. package/core/buddy/dist/cli.js +13 -1
  16. package/core/buddy/dist/index.js +1 -1
  17. package/core/buddy/package.json +1 -1
  18. package/core/buddy/src/cli.ts +17 -0
  19. package/core/buddy/src/commands/deploy.ts +1 -1
  20. package/core/buddy/src/custom-cli.ts +36 -0
  21. package/core/build/package.json +1 -1
  22. package/core/bun-create/bud/package.json +1 -1
  23. package/core/bun-create/buddy/package.json +1 -1
  24. package/core/bun-create/stack/package.json +1 -1
  25. package/core/bun-create/stacks/package.json +1 -1
  26. package/core/bun-create/stx/package.json +1 -1
  27. package/core/bun-plugin-yaml/package.json +1 -1
  28. package/core/cache/package.json +2 -2
  29. package/core/chat/package.json +1 -1
  30. package/core/cli/dist/index.js +2 -2
  31. package/core/cli/package.json +1 -1
  32. package/core/cli/src/cli.ts +1 -1
  33. package/core/cloud/deploy.ts +2 -2
  34. package/core/cloud/dist/index.js +144 -60
  35. package/core/cloud/package.json +32 -32
  36. package/core/cloud/src/cloud/aws-sdk-layer/nodejs/package-lock.json +6 -6
  37. package/core/cloud/src/cloud/aws-sdk-layer/nodejs/package.json +2 -2
  38. package/core/cloud/src/cloud/cdn.ts +5 -5
  39. package/core/cloud/src/cloud/compute.ts +150 -28
  40. package/core/cloud/src/cloud/index.ts +13 -9
  41. package/core/cloud/src/cloud/network.ts +4 -24
  42. package/core/cloud/src/cloud/package/package.json +1 -1
  43. package/core/cloud/src/cloud/router-layer/nodejs/package.json +2 -2
  44. package/core/collections/package.json +1 -1
  45. package/core/config/dist/index.js +13 -12
  46. package/core/config/package.json +2 -2
  47. package/core/config/src/config.ts +1 -1
  48. package/core/config/src/defaults.ts +3 -3
  49. package/core/config/src/overrides.ts +22 -22
  50. package/core/database/package.json +1 -1
  51. package/core/datetime/package.json +1 -1
  52. package/core/desktop/package.json +1 -1
  53. package/core/development/package.json +1 -1
  54. package/core/dns/package.json +7 -7
  55. package/core/docs/package.json +3 -3
  56. package/core/email/package.json +3 -3
  57. package/core/enums/package.json +1 -1
  58. package/core/env/package.json +1 -1
  59. package/core/error-handling/package.json +1 -1
  60. package/core/eslint-config/package.json +4 -4
  61. package/core/events/package.json +1 -1
  62. package/core/faker/package.json +1 -1
  63. package/core/git/package.json +1 -1
  64. package/core/health/package.json +1 -1
  65. package/core/http/package.json +1 -1
  66. package/core/lint/package.json +3 -3
  67. package/core/logging/package.json +1 -1
  68. package/core/notifications/package.json +1 -1
  69. package/core/objects/package.json +1 -1
  70. package/core/orm/package.json +1 -1
  71. package/core/path/package.json +1 -1
  72. package/core/payments/package.json +1 -1
  73. package/core/push/package.json +1 -1
  74. package/core/query-builder/package.json +1 -1
  75. package/core/queue/dist/index.js +3 -1
  76. package/core/queue/package.json +1 -1
  77. package/core/queue/src/index.ts +4 -2
  78. package/core/raycast/package.json +1 -1
  79. package/core/realtime/package.json +1 -1
  80. package/core/repl/package.json +1 -1
  81. package/core/router/package.json +1 -1
  82. package/core/scheduler/dist/index.js +3 -2
  83. package/core/scheduler/package.json +1 -1
  84. package/core/scheduler/src/index.ts +1 -1
  85. package/core/search-engine/package.json +1 -1
  86. package/core/security/package.json +1 -1
  87. package/core/server/package.json +1 -1
  88. package/core/signals/package.json +1 -1
  89. package/core/slug/package.json +1 -1
  90. package/core/sms/package.json +1 -1
  91. package/core/storage/package.json +1 -1
  92. package/core/strings/package.json +1 -1
  93. package/core/tables/package.json +1 -1
  94. package/core/testing/package.json +3 -3
  95. package/core/tinker/package.json +1 -1
  96. package/core/tsconfig.json +1 -0
  97. package/core/tunnel/package.json +1 -1
  98. package/core/types/package.json +4 -4
  99. package/core/types/src/api.ts +2 -0
  100. package/core/types/src/cron-jobs.ts +2 -1
  101. package/core/types/src/stacks.ts +6 -6
  102. package/core/ui/package.json +4 -4
  103. package/core/utils/dist/index.js +1 -1
  104. package/core/utils/package.json +1 -1
  105. package/core/validation/package.json +1 -1
  106. package/core/vite/dist/index.js +1 -1
  107. package/core/vite/package.json +1 -1
  108. package/core/whois/package.json +1 -1
  109. package/core/x-ray/package.json +1 -1
  110. package/core/zsh-buddy/package.json +1 -1
  111. package/ide/vscode/package.json +1 -1
  112. package/package.json +1 -1
  113. package/core/cloud/src/cloud/stacksjs-router-0.58.48.tgz +0 -0
@@ -526,10 +526,12 @@ export default <Model> {
526
526
  class Action3 {
527
527
  name;
528
528
  description;
529
+ longRunning;
529
530
  handle;
530
531
  constructor({ name, description, handle }) {
531
532
  this.name = name;
532
533
  this.description = description;
534
+ this.longRunning = false;
533
535
  this.handle = handle;
534
536
  }
535
537
  }
@@ -528,10 +528,12 @@ export default <Model> {
528
528
  class Action3 {
529
529
  name;
530
530
  description;
531
+ longRunning;
531
532
  handle;
532
533
  constructor({ name, description, handle }) {
533
534
  this.name = name;
534
535
  this.description = description;
536
+ this.longRunning = false;
535
537
  this.handle = handle;
536
538
  }
537
539
  }
@@ -6,7 +6,7 @@ import {log} from "@stacksjs/logging";
6
6
  import {projectPath} from "@stacksjs/path";
7
7
  import * as storage from "@stacksjs/storage";
8
8
  // package.json
9
- var version = "0.58.49";
9
+ var version = "0.58.50";
10
10
 
11
11
  // src/upgrade.ts
12
12
  function checkForUncommittedChanges(options2) {
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@stacksjs/actions",
3
3
  "type": "module",
4
- "version": "0.58.49",
4
+ "version": "0.58.50",
5
5
  "description": "The Stacks actions.",
6
6
  "author": "Chris Breuer",
7
7
  "license": "MIT",
@@ -1,11 +1,13 @@
1
1
  export class Action {
2
2
  name: string
3
3
  description: string
4
+ longRunning: boolean
4
5
  handle: () => Promise<string>
5
6
 
6
7
  constructor({ name, description, handle }: { name: string, description: string, handle: () => Promise<string> }) {
7
8
  this.name = name
8
9
  this.description = description
10
+ this.longRunning = false // TODO: Implement long running actions
9
11
  this.handle = handle
10
12
  }
11
13
  }
@@ -0,0 +1,24 @@
1
+ import process from 'node:process'
2
+ import { ExitCode } from '@stacksjs/types'
3
+ import { writeTextFile } from '@stacksjs/storage'
4
+ import { projectPath } from '@stacksjs/path'
5
+ import { cli } from '@stacksjs/config'
6
+
7
+ log.info('Creating Vue Component Library Entry Point...')
8
+
9
+ if (!cli.command) {
10
+ log.error('No command defined in the CLI configuration')
11
+ process.exit(ExitCode.FatalError)
12
+ }
13
+
14
+ await writeTextFile({
15
+ path: projectPath(cli.command),
16
+ data: `#!/usr/bin/env bun
17
+ import('./storage/framework/core/buddy/src/custom-cli')
18
+ `,
19
+ }).catch((err) => {
20
+ log.error('There was an error generating your custom CLI file.', err)
21
+ process.exit(ExitCode.FatalError)
22
+ })
23
+
24
+ log.success('Generated custom CLI file')
@@ -8276,7 +8276,7 @@ var commonParams = {
8276
8276
  var package_default = {
8277
8277
  name: "@aws-sdk/client-bedrock",
8278
8278
  description: "AWS SDK for JavaScript Bedrock Client for Node.js, Browser and React Native",
8279
- version: "3.503.1",
8279
+ version: "3.504.0",
8280
8280
  scripts: {
8281
8281
  build: "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
8282
8282
  "build:cjs": "node ../../scripts/compilation/inline client-bedrock",
@@ -8295,9 +8295,9 @@ var package_default = {
8295
8295
  dependencies: {
8296
8296
  "@aws-crypto/sha256-browser": "3.0.0",
8297
8297
  "@aws-crypto/sha256-js": "3.0.0",
8298
- "@aws-sdk/client-sts": "3.502.0",
8298
+ "@aws-sdk/client-sts": "3.504.0",
8299
8299
  "@aws-sdk/core": "3.496.0",
8300
- "@aws-sdk/credential-provider-node": "3.503.1",
8300
+ "@aws-sdk/credential-provider-node": "3.504.0",
8301
8301
  "@aws-sdk/middleware-host-header": "3.502.0",
8302
8302
  "@aws-sdk/middleware-logger": "3.502.0",
8303
8303
  "@aws-sdk/middleware-recursion-detection": "3.502.0",
@@ -9332,7 +9332,7 @@ var commonParams2 = {
9332
9332
  var package_default2 = {
9333
9333
  name: "@aws-sdk/client-bedrock-runtime",
9334
9334
  description: "AWS SDK for JavaScript Bedrock Runtime Client for Node.js, Browser and React Native",
9335
- version: "3.503.1",
9335
+ version: "3.504.0",
9336
9336
  scripts: {
9337
9337
  build: "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
9338
9338
  "build:cjs": "node ../../scripts/compilation/inline client-bedrock-runtime",
@@ -9351,9 +9351,9 @@ var package_default2 = {
9351
9351
  dependencies: {
9352
9352
  "@aws-crypto/sha256-browser": "3.0.0",
9353
9353
  "@aws-crypto/sha256-js": "3.0.0",
9354
- "@aws-sdk/client-sts": "3.502.0",
9354
+ "@aws-sdk/client-sts": "3.504.0",
9355
9355
  "@aws-sdk/core": "3.496.0",
9356
- "@aws-sdk/credential-provider-node": "3.503.1",
9356
+ "@aws-sdk/credential-provider-node": "3.504.0",
9357
9357
  "@aws-sdk/middleware-host-header": "3.502.0",
9358
9358
  "@aws-sdk/middleware-logger": "3.502.0",
9359
9359
  "@aws-sdk/middleware-recursion-detection": "3.502.0",
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@stacksjs/ai",
3
3
  "type": "module",
4
- "version": "0.58.49",
4
+ "version": "0.58.50",
5
5
  "description": "Stacks Artificial Intelligence.",
6
6
  "author": "Chris Breuer",
7
7
  "license": "MIT",
@@ -49,10 +49,10 @@
49
49
  "prepublishOnly": "bun --bun run build"
50
50
  },
51
51
  "peerDependencies": {
52
- "@aws-sdk/client-bedrock-runtime": "^3.503.1"
52
+ "@aws-sdk/client-bedrock-runtime": "^3.504.0"
53
53
  },
54
54
  "dependencies": {
55
- "@aws-sdk/client-bedrock-runtime": "^3.503.1"
55
+ "@aws-sdk/client-bedrock-runtime": "^3.504.0"
56
56
  },
57
57
  "devDependencies": {
58
58
  "@stacksjs/development": "workspace:*"
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@stacksjs/alias",
3
3
  "type": "module",
4
- "version": "0.58.49",
4
+ "version": "0.58.50",
5
5
  "description": "The Stacks aliases.",
6
6
  "author": "Chris Breuer",
7
7
  "license": "MIT",
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@stacksjs/analytics",
3
3
  "type": "module",
4
- "version": "0.58.49",
4
+ "version": "0.58.50",
5
5
  "description": "Stacks Analytics. Privacy-friendly.",
6
6
  "author": "Chris Breuer",
7
7
  "license": "MIT",
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@stacksjs/api",
3
3
  "type": "module",
4
- "version": "0.58.49",
4
+ "version": "0.58.50",
5
5
  "description": "The Stacks array utilities.",
6
6
  "author": "Chris Breuer",
7
7
  "license": "MIT",
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@stacksjs/arrays",
3
3
  "type": "module",
4
- "version": "0.58.49",
4
+ "version": "0.58.50",
5
5
  "description": "The Stacks array utilities.",
6
6
  "author": "Chris Breuer",
7
7
  "license": "MIT",
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@stacksjs/auth",
3
3
  "type": "module",
4
- "version": "0.58.49",
4
+ "version": "0.58.50",
5
5
  "description": "A more simplistic way to authenticate.",
6
6
  "author": "Chris Breuer",
7
7
  "license": "MIT",
@@ -591,7 +591,7 @@ function deploy(buddy) {
591
591
  if (await hasUserDomainBeenAddedToCloud(domain)) {
592
592
  log6.success("Your domain is properly configured.");
593
593
  log6.info("Your cloud is deploying...");
594
- console.log(`${italic2("This may take a while...")}`);
594
+ log6.info(`${italic2("This may take a while...")}`);
595
595
  await new Promise((resolve2) => setTimeout(resolve2, 2000));
596
596
  options.domain = domain;
597
597
  const result2 = await runAction5(Action5.Deploy, options);
@@ -18,7 +18,7 @@ lint,
18
18
  release,
19
19
  setup,
20
20
  upgrade
21
- } from "./chunk-b32089b9556f373c.js";
21
+ } from "./chunk-91084836e95161e8.js";
22
22
  import"./chunk-0455e53fab4244b1.js";
23
23
 
24
24
  // src/cli.ts
@@ -26,6 +26,8 @@ import process from "process";
26
26
  import {handleError} from "@stacksjs/error-handling";
27
27
  import {cli as cli2} from "@stacksjs/cli";
28
28
  import {ensureProjectIsInitialized} from "@stacksjs/utils";
29
+ import {path as p} from "@stacksjs/path";
30
+ import {fs} from "@stacksjs/storage";
29
31
  async function main() {
30
32
  const buddy = cli2("buddy");
31
33
  setup(buddy);
@@ -48,6 +50,16 @@ async function main() {
48
50
  release(buddy);
49
51
  setup(buddy);
50
52
  upgrade(buddy);
53
+ const commandsDir = p.appPath("Commands");
54
+ const commandFiles = fs.readdirSync(commandsDir).filter((file) => file.endsWith(".ts"));
55
+ for (const file of commandFiles) {
56
+ const commandPath = `${commandsDir}/${file}`;
57
+ const dynamicImport = await import(commandPath);
58
+ if (typeof dynamicImport.default === "function")
59
+ dynamicImport.default(buddy);
60
+ else
61
+ console.error(`Expected a default export function in ${file}, but got:`, dynamicImport.default);
62
+ }
51
63
  buddy.parse();
52
64
  }
53
65
  process.on("uncaughtException", handleError);
@@ -32,7 +32,7 @@ tinker,
32
32
  types,
33
33
  upgrade,
34
34
  version
35
- } from "./chunk-b32089b9556f373c.js";
35
+ } from "./chunk-91084836e95161e8.js";
36
36
  import"./chunk-0455e53fab4244b1.js";
37
37
  export {
38
38
  version,
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@stacksjs/buddy",
3
3
  "type": "module",
4
- "version": "0.58.49",
4
+ "version": "0.58.50",
5
5
  "description": "Meet Buddy. The Stacks runtime.",
6
6
  "author": "Chris Breuer",
7
7
  "license": "MIT",
@@ -2,6 +2,8 @@ import process from 'node:process'
2
2
  import { handleError } from '@stacksjs/error-handling'
3
3
  import { cli } from '@stacksjs/cli'
4
4
  import { ensureProjectIsInitialized } from '@stacksjs/utils'
5
+ import { path as p } from '@stacksjs/path'
6
+ import { fs } from '@stacksjs/storage'
5
7
  import * as cmd from './commands'
6
8
 
7
9
  // setup global error handlers
@@ -44,6 +46,21 @@ async function main() {
44
46
  // cmd.prepublish(buddy)
45
47
  cmd.upgrade(buddy)
46
48
 
49
+ // dynamically import and register commands from ./app/Commands/*
50
+ const commandsDir = p.appPath('Commands')
51
+ const commandFiles = fs.readdirSync(commandsDir).filter(file => file.endsWith('.ts'))
52
+
53
+ for (const file of commandFiles) {
54
+ const commandPath = `${commandsDir}/${file}`
55
+ const dynamicImport = await import(commandPath)
56
+
57
+ // Correctly use the default export function
58
+ if (typeof dynamicImport.default === 'function')
59
+ dynamicImport.default(buddy)
60
+ else
61
+ console.error(`Expected a default export function in ${file}, but got:`, dynamicImport.default)
62
+ }
63
+
47
64
  buddy.parse()
48
65
  }
49
66
 
@@ -51,7 +51,7 @@ export function deploy(buddy: CLI) {
51
51
  log.success('Your domain is properly configured.')
52
52
  log.info('Your cloud is deploying...')
53
53
 
54
- console.log(`${italic('This may take a while...')}`)
54
+ log.info(`${italic('This may take a while...')}`)
55
55
  await new Promise(resolve => setTimeout(resolve, 2000))
56
56
  options.domain = domain
57
57
 
@@ -0,0 +1,36 @@
1
+ import process from 'node:process'
2
+ import { handleError } from '@stacksjs/error-handling'
3
+ import { config } from '@stacksjs/config'
4
+ import { cli } from '@stacksjs/cli'
5
+ import { path as p } from '@stacksjs/path'
6
+ import { fs } from '@stacksjs/storage'
7
+
8
+ // setup global error handlers
9
+ process.on('uncaughtException', handleError)
10
+ process.on('unhandledRejection', handleError)
11
+
12
+ async function main() {
13
+ const buddy = cli(config.cli.name)
14
+
15
+ if (!fs.existsSync(p.projectPath(config.cli.command)))
16
+ fs.writeFileSync(p.projectPath(config.cli.command), `import('./storage/framework/core/buddy/src/custom-cli')`)
17
+
18
+ // dynamically import and register commands from ./app/Commands/*
19
+ const commandsDir = p.appPath('Commands')
20
+ const commandFiles = fs.readdirSync(commandsDir).filter(file => file.endsWith('.ts'))
21
+
22
+ for (const file of commandFiles) {
23
+ const commandPath = `${commandsDir}/${file}`
24
+ const dynamicImport = await import(commandPath)
25
+
26
+ // Correctly use the default export function
27
+ if (typeof dynamicImport.default === 'function')
28
+ dynamicImport.default(buddy)
29
+ else
30
+ console.error(`Expected a default export function in ${file}, but got:`, dynamicImport.default)
31
+ }
32
+
33
+ buddy.parse()
34
+ }
35
+
36
+ await main()
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@stacksjs/build",
3
3
  "type": "module",
4
- "version": "0.58.49",
4
+ "version": "0.58.50",
5
5
  "description": "The Stacks framework build tools and configurations.",
6
6
  "author": "Chris Breuer",
7
7
  "license": "MIT",
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@bun-examples/bud",
3
3
  "type": "module",
4
- "version": "0.58.49",
4
+ "version": "0.58.50",
5
5
  "description": "Your project description.",
6
6
  "author": "your-name <your-email>",
7
7
  "license": "MIT",
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@bun-examples/buddy",
3
3
  "type": "module",
4
- "version": "0.58.49",
4
+ "version": "0.58.50",
5
5
  "description": "Your project description.",
6
6
  "author": "your-name <your-email>",
7
7
  "license": "MIT",
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@bun-examples/stack",
3
3
  "type": "module",
4
- "version": "0.58.49",
4
+ "version": "0.58.50",
5
5
  "description": "Your project description.",
6
6
  "author": "your-name <your-email>",
7
7
  "license": "MIT",
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@bun-examples/stacks",
3
3
  "type": "module",
4
- "version": "0.58.49",
4
+ "version": "0.58.50",
5
5
  "description": "Your project description.",
6
6
  "author": "your-name <your-email>",
7
7
  "license": "MIT",
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@bun-examples/stx",
3
3
  "type": "module",
4
- "version": "0.58.49",
4
+ "version": "0.58.50",
5
5
  "description": "Your project description.",
6
6
  "author": "your-name <your-email>",
7
7
  "license": "MIT",
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "bun-plugin-yaml",
3
3
  "type": "module",
4
- "version": "0.58.49",
4
+ "version": "0.58.50",
5
5
  "description": "A Bun plugin to load yaml files",
6
6
  "author": "Chris Breuer",
7
7
  "license": "MIT",
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@stacksjs/cache",
3
3
  "type": "module",
4
- "version": "0.58.49",
4
+ "version": "0.58.50",
5
5
  "description": "Caching the Stacks way.",
6
6
  "author": "Chris Breuer",
7
7
  "license": "MIT",
@@ -57,7 +57,7 @@
57
57
  "@stacksjs/config": "workspace:*"
58
58
  },
59
59
  "optionalDependencies": {
60
- "@aws-sdk/client-dynamodb": "^3.503.1",
60
+ "@aws-sdk/client-dynamodb": "^3.506.0",
61
61
  "ioredis": "^5.3.2"
62
62
  },
63
63
  "devDependencies": {
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@stacksjs/chat",
3
3
  "type": "module",
4
- "version": "0.58.49",
4
+ "version": "0.58.50",
5
5
  "description": "Easily interact with chat APIs.",
6
6
  "author": "Chris Breuer",
7
7
  "license": "MIT",
@@ -14,7 +14,7 @@ async function installStack(name, options) {
14
14
  // src/cli.ts
15
15
  import cac from "cac";
16
16
  // package.json
17
- var version = "0.58.49";
17
+ var version = "0.58.50";
18
18
 
19
19
  // src/cli.ts
20
20
  function cli(name, options) {
@@ -22,7 +22,7 @@ function cli(name, options) {
22
22
  options = name;
23
23
  name = options.name;
24
24
  }
25
- const cli2 = cac(name);
25
+ const cli2 = cac(name || "buddy");
26
26
  cli2.help();
27
27
  cli2.version(options?.version || version);
28
28
  return cli2;
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@stacksjs/cli",
3
3
  "type": "module",
4
- "version": "0.58.49",
4
+ "version": "0.58.50",
5
5
  "description": "TypeScript framework for CLI artisans. Build beautiful console apps with ease.",
6
6
  "author": "Chris Breuer",
7
7
  "license": "MIT",
@@ -21,7 +21,7 @@ export function cli(name?: string | CliOptions, options?: CliOptions) {
21
21
  name = options.name
22
22
  }
23
23
 
24
- const cli = cac(name)
24
+ const cli = cac(name || 'buddy') // default to extending buddy
25
25
 
26
26
  cli.help()
27
27
  cli.version(options?.version || version)
@@ -17,7 +17,7 @@ const appKey = config.app.key
17
17
  const domain = config.app.url
18
18
  const appName = config.app.name?.toLowerCase() ?? 'stacks'
19
19
  const slug = slugify(appName)
20
- const name = `${slug}-cloud-${appEnv}`
20
+ const name = `${slug}-cloud`
21
21
  const account = env.AWS_ACCOUNT_ID
22
22
  // const region = env.AWS_DEFAULT_REGION
23
23
  const region = 'us-east-1' // currently, us-east-1 is the only fully-supported region
@@ -69,7 +69,7 @@ export const options = {
69
69
 
70
70
  new Cloud(app, name, {
71
71
  ...options,
72
- description: `Stacks Cloud ${appEnv} deployment`,
72
+ description: `The Stacks Cloud`,
73
73
  })
74
74
 
75
75
  app.synth()