@friggframework/devtools 2.0.0--canary.461.d9e41f3.0 → 2.0.0--canary.461.4166d53.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.
|
@@ -85,6 +85,7 @@ function getAppEnvironmentVars(appDefinition) {
|
|
|
85
85
|
function buildEnvironment(appEnvironmentVars, discoveredResources) {
|
|
86
86
|
const environment = {
|
|
87
87
|
...appEnvironmentVars,
|
|
88
|
+
STAGE: '${self:provider.stage}', // Used by encryption bypass logic
|
|
88
89
|
FRIGG_STACK: '${self:service}',
|
|
89
90
|
FRIGG_STAGE: '${self:provider.stage}',
|
|
90
91
|
FRIGG_REGION: '${self:provider.region}',
|
|
@@ -118,6 +118,7 @@ describe('Environment Builder', () => {
|
|
|
118
118
|
const result = buildEnvironment(appEnvironmentVars, discoveredResources);
|
|
119
119
|
|
|
120
120
|
expect(result.API_KEY).toBe("${env:API_KEY, ''}");
|
|
121
|
+
expect(result.STAGE).toBe('${self:provider.stage}');
|
|
121
122
|
expect(result.FRIGG_STACK).toBe('${self:service}');
|
|
122
123
|
expect(result.FRIGG_STAGE).toBe('${self:provider.stage}');
|
|
123
124
|
expect(result.FRIGG_REGION).toBe('${self:provider.region}');
|
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.461.
|
|
4
|
+
"version": "2.0.0--canary.461.4166d53.0",
|
|
5
5
|
"dependencies": {
|
|
6
6
|
"@aws-sdk/client-ec2": "^3.835.0",
|
|
7
7
|
"@aws-sdk/client-kms": "^3.835.0",
|
|
@@ -11,8 +11,8 @@
|
|
|
11
11
|
"@babel/eslint-parser": "^7.18.9",
|
|
12
12
|
"@babel/parser": "^7.25.3",
|
|
13
13
|
"@babel/traverse": "^7.25.3",
|
|
14
|
-
"@friggframework/schemas": "2.0.0--canary.461.
|
|
15
|
-
"@friggframework/test": "2.0.0--canary.461.
|
|
14
|
+
"@friggframework/schemas": "2.0.0--canary.461.4166d53.0",
|
|
15
|
+
"@friggframework/test": "2.0.0--canary.461.4166d53.0",
|
|
16
16
|
"@hapi/boom": "^10.0.1",
|
|
17
17
|
"@inquirer/prompts": "^5.3.8",
|
|
18
18
|
"axios": "^1.7.2",
|
|
@@ -34,8 +34,8 @@
|
|
|
34
34
|
"serverless-http": "^2.7.0"
|
|
35
35
|
},
|
|
36
36
|
"devDependencies": {
|
|
37
|
-
"@friggframework/eslint-config": "2.0.0--canary.461.
|
|
38
|
-
"@friggframework/prettier-config": "2.0.0--canary.461.
|
|
37
|
+
"@friggframework/eslint-config": "2.0.0--canary.461.4166d53.0",
|
|
38
|
+
"@friggframework/prettier-config": "2.0.0--canary.461.4166d53.0",
|
|
39
39
|
"aws-sdk-client-mock": "^4.1.0",
|
|
40
40
|
"aws-sdk-client-mock-jest": "^4.1.0",
|
|
41
41
|
"jest": "^30.1.3",
|
|
@@ -70,5 +70,5 @@
|
|
|
70
70
|
"publishConfig": {
|
|
71
71
|
"access": "public"
|
|
72
72
|
},
|
|
73
|
-
"gitHead": "
|
|
73
|
+
"gitHead": "4166d530b765f85965bdaa77cd4341e8d6e2c12f"
|
|
74
74
|
}
|