@adobe/helix-deploy 6.2.4 → 6.2.5

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.
package/CHANGELOG.md CHANGED
@@ -1,3 +1,10 @@
1
+ ## [6.2.5](https://github.com/adobe/helix-deploy/compare/v6.2.4...v6.2.5) (2022-02-04)
2
+
3
+
4
+ ### Bug Fixes
5
+
6
+ * fix more dev-server params ([#370](https://github.com/adobe/helix-deploy/issues/370)) ([300a457](https://github.com/adobe/helix-deploy/commit/300a4579e492da496f5ec2d66eb6bcf5d691438a))
7
+
1
8
  ## [6.2.4](https://github.com/adobe/helix-deploy/compare/v6.2.3...v6.2.4) (2022-02-04)
2
9
 
3
10
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@adobe/helix-deploy",
3
- "version": "6.2.4",
3
+ "version": "6.2.5",
4
4
  "description": "Library and Commandline Tools to build and deploy OpenWhisk Actions",
5
5
  "license": "Apache-2.0",
6
6
  "homepage": "https://github.com/adobe/helix-deploy#readme",
@@ -144,9 +144,7 @@ export default class DevelopmentServer {
144
144
  './main.js': {
145
145
  main: this._main,
146
146
  },
147
- './google-package-params.js': () => (config.params), // backward compatible
148
- './google-secrets.js': () => (config.params),
149
- });
147
+ }).raw;
150
148
  this.params = config.params;
151
149
  return this;
152
150
  }
@@ -156,6 +154,11 @@ export default class DevelopmentServer {
156
154
  * @returns {Promise<void>}
157
155
  */
158
156
  async start() {
157
+ Object.entries(this.params).forEach(([key, value]) => {
158
+ if (!(key in process.env)) {
159
+ process.env[key] = value;
160
+ }
161
+ });
159
162
  this.app = express();
160
163
  await new Promise((resolve, reject) => {
161
164
  try {