@mono-labs/cli 0.0.126 → 0.0.127

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.
@@ -14,7 +14,7 @@ import path from 'node:path';
14
14
  */
15
15
  export async function runHasteCommand(configObject, options = {}) {
16
16
  const { config } = getHasteConfig();
17
-
17
+ console.log('runHasteCommand options:', options);
18
18
  const devConfig = configObject.environments?.dev ?? {};
19
19
 
20
20
  // Usage:
@@ -53,18 +53,16 @@ export async function runHasteCommand(configObject, options = {}) {
53
53
  const preactions = configObject.preactions ?? [];
54
54
  const actions = configObject.actions ?? [];
55
55
 
56
-
57
-
58
-
56
+ console.log(
59
57
  `→ Executing haste command: ${configObject.name || 'Unnamed Command'}`
60
58
  );
61
-
62
-
63
-
59
+ console.log(`→ Using AWS profile: ${awsProfile}`);
60
+ console.log(`→ Using environment: ${options.stage ? 'stage' : 'dev'}`);
61
+ console.log('→ Environment variables:', envObj);
64
62
 
65
63
  // Run preactions sequentially
66
64
  for (const cmd of preactions) {
67
-
65
+ console.log(`→ pre-action: ${cmd}`);
68
66
  await runForeground(cmd, envObj, options);
69
67
  }
70
68
 
@@ -74,11 +72,11 @@ export async function runHasteCommand(configObject, options = {}) {
74
72
  const fg = actions[actions.length - 1];
75
73
 
76
74
  for (const cmd of bg) {
77
-
75
+ console.log(`→ background action: ${cmd}`);
78
76
  runBackground(cmd, envObj, options);
79
77
  }
80
78
 
81
-
79
+ console.log(`→ foreground action (attached): ${fg}`);
82
80
  try {
83
81
  await runBackground(fg, envObj, options, true);
84
82
  } finally {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mono-labs/cli",
3
- "version": "0.0.126",
3
+ "version": "0.0.127",
4
4
  "description": "A CLI tool for building and deploying projects",
5
5
  "type": "module",
6
6
  "main": "index.js",