@friggframework/devtools 2.0.0--canary.398.c9e5d61.0 → 2.0.0--canary.398.a2fbc38.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.
|
@@ -50,7 +50,7 @@ class AWSDiscovery {
|
|
|
50
50
|
const response = await this.stsClient.send(command);
|
|
51
51
|
return response.Account;
|
|
52
52
|
} catch (error) {
|
|
53
|
-
console.error('Error getting AWS account ID:', error);
|
|
53
|
+
console.error('Error getting AWS account ID:', error.message);
|
|
54
54
|
throw error;
|
|
55
55
|
}
|
|
56
56
|
}
|
|
@@ -88,7 +88,7 @@ class AWSDiscovery {
|
|
|
88
88
|
|
|
89
89
|
throw new Error('No VPC found in the account');
|
|
90
90
|
} catch (error) {
|
|
91
|
-
console.error('Error finding default VPC:', error);
|
|
91
|
+
console.error('Error finding default VPC:', error.message);
|
|
92
92
|
throw error;
|
|
93
93
|
}
|
|
94
94
|
}
|
|
@@ -49,7 +49,7 @@ class BuildTimeDiscovery {
|
|
|
49
49
|
|
|
50
50
|
return config;
|
|
51
51
|
} catch (error) {
|
|
52
|
-
console.error('Error during AWS resource discovery:', error);
|
|
52
|
+
console.error('Error during AWS resource discovery:', error.message);
|
|
53
53
|
throw error;
|
|
54
54
|
}
|
|
55
55
|
}
|
|
@@ -109,7 +109,7 @@ class BuildTimeDiscovery {
|
|
|
109
109
|
|
|
110
110
|
return resources;
|
|
111
111
|
} catch (error) {
|
|
112
|
-
console.error('Error processing serverless configuration:', error);
|
|
112
|
+
console.error('Error processing serverless configuration:', error.message);
|
|
113
113
|
throw error;
|
|
114
114
|
}
|
|
115
115
|
}
|
|
@@ -168,7 +168,7 @@ class BuildTimeDiscovery {
|
|
|
168
168
|
console.log('AWS discovery completed and environment variables set');
|
|
169
169
|
return resources;
|
|
170
170
|
} catch (error) {
|
|
171
|
-
console.error('Error in pre-build AWS discovery hook:', error);
|
|
171
|
+
console.error('Error in pre-build AWS discovery hook:', error.message);
|
|
172
172
|
throw error;
|
|
173
173
|
}
|
|
174
174
|
}
|
|
@@ -923,7 +923,9 @@ const composeServerlessDefinition = (AppDefinition) => {
|
|
|
923
923
|
console.error('');
|
|
924
924
|
console.error('🔧 Or use the build command which runs discovery automatically:');
|
|
925
925
|
console.error(' npx frigg build');
|
|
926
|
-
|
|
926
|
+
|
|
927
|
+
// Exit the process instead of throwing to avoid serverless circular reference issues
|
|
928
|
+
process.exit(1);
|
|
927
929
|
}
|
|
928
930
|
|
|
929
931
|
// Add websocket function if enabled
|
package/package.json
CHANGED
|
@@ -1,12 +1,15 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@friggframework/devtools",
|
|
3
3
|
"prettier": "@friggframework/prettier-config",
|
|
4
|
-
"version": "2.0.0--canary.398.
|
|
4
|
+
"version": "2.0.0--canary.398.a2fbc38.0",
|
|
5
5
|
"dependencies": {
|
|
6
|
+
"@aws-sdk/client-ec2": "^3.835.0",
|
|
7
|
+
"@aws-sdk/client-kms": "^3.835.0",
|
|
8
|
+
"@aws-sdk/client-sts": "^3.835.0",
|
|
6
9
|
"@babel/eslint-parser": "^7.18.9",
|
|
7
10
|
"@babel/parser": "^7.25.3",
|
|
8
11
|
"@babel/traverse": "^7.25.3",
|
|
9
|
-
"@friggframework/test": "2.0.0--canary.398.
|
|
12
|
+
"@friggframework/test": "2.0.0--canary.398.a2fbc38.0",
|
|
10
13
|
"@hapi/boom": "^10.0.1",
|
|
11
14
|
"@inquirer/prompts": "^5.3.8",
|
|
12
15
|
"axios": "^1.7.2",
|
|
@@ -28,8 +31,8 @@
|
|
|
28
31
|
"serverless-http": "^2.7.0"
|
|
29
32
|
},
|
|
30
33
|
"devDependencies": {
|
|
31
|
-
"@friggframework/eslint-config": "2.0.0--canary.398.
|
|
32
|
-
"@friggframework/prettier-config": "2.0.0--canary.398.
|
|
34
|
+
"@friggframework/eslint-config": "2.0.0--canary.398.a2fbc38.0",
|
|
35
|
+
"@friggframework/prettier-config": "2.0.0--canary.398.a2fbc38.0",
|
|
33
36
|
"prettier": "^2.7.1",
|
|
34
37
|
"serverless": "3.39.0",
|
|
35
38
|
"serverless-dotenv-plugin": "^6.0.0",
|
|
@@ -61,5 +64,5 @@
|
|
|
61
64
|
"publishConfig": {
|
|
62
65
|
"access": "public"
|
|
63
66
|
},
|
|
64
|
-
"gitHead": "
|
|
67
|
+
"gitHead": "a2fbc389033dc1b5ea73edc30fe53292f36887b4"
|
|
65
68
|
}
|