@friggframework/devtools 2.0.0--canary.413.ad943eb.0 → 2.0.0--canary.413.ff34725.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.
@@ -3,7 +3,7 @@ const path = require('path');
3
3
 
4
4
  async function deployCommand(options) {
5
5
  console.log('Deploying the serverless application...');
6
-
6
+
7
7
  // AWS discovery is now handled directly in serverless-template.js
8
8
  console.log('🚀 Deploying serverless application...');
9
9
  const backendPath = path.resolve(process.cwd());
@@ -14,12 +14,13 @@ async function deployCommand(options) {
14
14
  '--config',
15
15
  infrastructurePath,
16
16
  '--stage',
17
- options.stage
17
+ options.stage,
18
18
  ];
19
19
 
20
20
  const childProcess = spawn(command, serverlessArgs, {
21
21
  cwd: backendPath,
22
22
  stdio: 'inherit',
23
+ env: { ...process.env },
23
24
  });
24
25
 
25
26
  childProcess.on('error', (error) => {
@@ -555,6 +555,14 @@ const composeServerlessDefinition = async (AppDefinition) => {
555
555
  }
556
556
  }
557
557
 
558
+ // Debug: log keys of env vars available during deploy (to verify GA -> Serverless pass-through)
559
+ try {
560
+ const envKeys = Object.keys(process.env || {}).sort();
561
+ console.log('Frigg deploy env keys (sample):', envKeys.slice(0, 30), `... total=${envKeys.length}`);
562
+ } catch (e) {
563
+ console.log('Frigg deploy env keys: <unavailable>', e?.message);
564
+ }
565
+
558
566
  const definition = {
559
567
  frameworkVersion: '>=3.17.0',
560
568
  service: AppDefinition.name || 'create-frigg-app',
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.413.ad943eb.0",
4
+ "version": "2.0.0--canary.413.ff34725.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.413.ad943eb.0",
13
- "@friggframework/test": "2.0.0--canary.413.ad943eb.0",
12
+ "@friggframework/schemas": "2.0.0--canary.413.ff34725.0",
13
+ "@friggframework/test": "2.0.0--canary.413.ff34725.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.413.ad943eb.0",
36
- "@friggframework/prettier-config": "2.0.0--canary.413.ad943eb.0",
35
+ "@friggframework/eslint-config": "2.0.0--canary.413.ff34725.0",
36
+ "@friggframework/prettier-config": "2.0.0--canary.413.ff34725.0",
37
37
  "prettier": "^2.7.1",
38
38
  "serverless": "3.39.0",
39
39
  "serverless-dotenv-plugin": "^6.0.0",
@@ -65,5 +65,5 @@
65
65
  "publishConfig": {
66
66
  "access": "public"
67
67
  },
68
- "gitHead": "ad943ebba8f61f92527cfa2fb35b54a1e5526e4e"
68
+ "gitHead": "ff34725793fb2d3955d1efc19fcbf29c432bbc99"
69
69
  }