@friggframework/devtools 2.0.0--canary.395.a8332aa.0 → 2.0.0--canary.454.4c72357.0
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.
|
@@ -63,6 +63,13 @@ async function dbSetupCommand(options = {}) {
|
|
|
63
63
|
const dbTypeResult = getDatabaseType();
|
|
64
64
|
if (dbTypeResult.error) {
|
|
65
65
|
console.error(chalk.red('❌ ' + dbTypeResult.error));
|
|
66
|
+
|
|
67
|
+
// Show stack trace in verbose mode for debugging
|
|
68
|
+
if (verbose && dbTypeResult.stack) {
|
|
69
|
+
console.error(chalk.gray('\nStack trace:'));
|
|
70
|
+
console.error(chalk.gray(dbTypeResult.stack));
|
|
71
|
+
}
|
|
72
|
+
|
|
66
73
|
console.error(getDatabaseTypeNotConfiguredError());
|
|
67
74
|
process.exit(1);
|
|
68
75
|
}
|
|
@@ -50,7 +50,10 @@ function getDatabaseType() {
|
|
|
50
50
|
// Convert thrown errors to error object format for CLI
|
|
51
51
|
// Strip [Frigg] prefix from error messages for cleaner CLI output
|
|
52
52
|
const errorMessage = error.message.replace(/^\[Frigg\]\s*/, '');
|
|
53
|
-
return {
|
|
53
|
+
return {
|
|
54
|
+
error: errorMessage,
|
|
55
|
+
stack: error.stack // Include stack trace for debugging
|
|
56
|
+
};
|
|
54
57
|
}
|
|
55
58
|
}
|
|
56
59
|
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@friggframework/devtools",
|
|
3
3
|
"prettier": "@friggframework/prettier-config",
|
|
4
|
-
"version": "2.0.0--canary.
|
|
4
|
+
"version": "2.0.0--canary.454.4c72357.0",
|
|
5
5
|
"dependencies": {
|
|
6
6
|
"@aws-sdk/client-ec2": "^3.835.0",
|
|
7
7
|
"@aws-sdk/client-kms": "^3.835.0",
|
|
@@ -9,8 +9,8 @@
|
|
|
9
9
|
"@babel/eslint-parser": "^7.18.9",
|
|
10
10
|
"@babel/parser": "^7.25.3",
|
|
11
11
|
"@babel/traverse": "^7.25.3",
|
|
12
|
-
"@friggframework/schemas": "2.0.0--canary.
|
|
13
|
-
"@friggframework/test": "2.0.0--canary.
|
|
12
|
+
"@friggframework/schemas": "2.0.0--canary.454.4c72357.0",
|
|
13
|
+
"@friggframework/test": "2.0.0--canary.454.4c72357.0",
|
|
14
14
|
"@hapi/boom": "^10.0.1",
|
|
15
15
|
"@inquirer/prompts": "^5.3.8",
|
|
16
16
|
"axios": "^1.7.2",
|
|
@@ -32,8 +32,8 @@
|
|
|
32
32
|
"serverless-http": "^2.7.0"
|
|
33
33
|
},
|
|
34
34
|
"devDependencies": {
|
|
35
|
-
"@friggframework/eslint-config": "2.0.0--canary.
|
|
36
|
-
"@friggframework/prettier-config": "2.0.0--canary.
|
|
35
|
+
"@friggframework/eslint-config": "2.0.0--canary.454.4c72357.0",
|
|
36
|
+
"@friggframework/prettier-config": "2.0.0--canary.454.4c72357.0",
|
|
37
37
|
"aws-sdk-client-mock": "^4.1.0",
|
|
38
38
|
"aws-sdk-client-mock-jest": "^4.1.0",
|
|
39
39
|
"jest": "^30.1.3",
|
|
@@ -68,5 +68,5 @@
|
|
|
68
68
|
"publishConfig": {
|
|
69
69
|
"access": "public"
|
|
70
70
|
},
|
|
71
|
-
"gitHead": "
|
|
71
|
+
"gitHead": "4c72357ce52149d1f4fcaec73fc28b0309e63efb"
|
|
72
72
|
}
|