hops-lambda
Advanced tools
@@ -6,2 +6,13 @@ # Change Log | ||
<a name="10.1.0"></a> | ||
# [10.1.0](https://github.com/xing/hops/compare/v10.0.2...v10.1.0) (2018-02-19) | ||
### Features | ||
* **lambda:** hide aws configuration from browser by prefixing with _ ([9dbf5e1](https://github.com/xing/hops/commit/9dbf5e1)), closes [#319](https://github.com/xing/hops/issues/319) | ||
<a name="10.0.2"></a> | ||
@@ -8,0 +19,0 @@ ## [10.0.2](https://github.com/xing/hops/compare/v10.0.1...v10.0.2) (2018-02-15) |
@@ -15,3 +15,3 @@ 'use strict'; | ||
module.exports = function getAWSConfig() { | ||
var awsConfig = hopsConfig.aws || {}; | ||
var awsConfig = hopsConfig._aws || hopsConfig.aws || {}; | ||
var manifest = require(path.join(hopsConfig.appDir, 'package.json')); | ||
@@ -18,0 +18,0 @@ |
{ | ||
"name": "hops-lambda", | ||
"version": "10.0.2", | ||
"version": "10.1.0", | ||
"description": "Quick and easy deployment of Hops applications to AWS Lambda", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
@@ -16,12 +16,8 @@ # Hops Lambda | ||
+++ b/package.json | ||
@@ -6,5 +6,8 @@ | ||
"config": { | ||
"hops": { | ||
+ "assetPath": "prod", | ||
+ "basePath": "prod", | ||
"browsers": "last 1 Chrome versions", | ||
+ "node": "6.10.3", | ||
"locations": [ | ||
"/", | ||
@@ -22,4 +25,5 @@ | ||
"hops": { | ||
+ "assetPath": "prod", | ||
+ "basePath": "prod", | ||
"browsers": "last 1 Chrome versions", | ||
+ "node": "6.10.3" | ||
}, | ||
"dependencies": { | ||
@@ -72,6 +68,4 @@ "hops-express": "^9.0.0", | ||
{ | ||
"config": { | ||
"hops": { | ||
"node": "6.10.3" | ||
} | ||
"hops": { | ||
"node": "6.10.3" | ||
} | ||
@@ -83,3 +77,3 @@ } | ||
The following options are supported in a [hops-config](https://github.com/xing/hops/tree/master/packages/config) `aws` object. | ||
The following options are supported in a [hops-config](https://github.com/xing/hops/tree/master/packages/config) `_aws` object. | ||
@@ -90,7 +84,5 @@ ```json | ||
"version": "1.0.0", | ||
"config": { | ||
"hops": { | ||
"aws": { | ||
... | ||
} | ||
"hops": { | ||
"_aws": { | ||
... | ||
} | ||
@@ -97,0 +89,0 @@ } |
37344
0.5%192
-4%