carlin 1.36.16 → 1.36.18
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/dist/index.js +2 -2
- package/package.json +3 -3
package/dist/index.js
CHANGED
|
@@ -3743,13 +3743,13 @@ var getCloudFrontTemplate2 = ({
|
|
|
3743
3743
|
{}
|
|
3744
3744
|
);
|
|
3745
3745
|
if (appendIndexHtml) {
|
|
3746
|
-
template.Resources[CLOUDFRONT_DISTRIBUTION_LOGICAL_ID].Properties.DistributionConfig.DefaultCacheBehavior.
|
|
3746
|
+
template.Resources[CLOUDFRONT_DISTRIBUTION_LOGICAL_ID].Properties.DistributionConfig.DefaultCacheBehavior.FunctionAssociations = [
|
|
3747
3747
|
/**
|
|
3748
3748
|
* https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudfront-distribution-lambdafunctionassociation.html
|
|
3749
3749
|
*/
|
|
3750
3750
|
{
|
|
3751
3751
|
EventType: "viewer-request",
|
|
3752
|
-
|
|
3752
|
+
FunctionARN: {
|
|
3753
3753
|
"Fn::ImportValue": BASE_STACK_CLOUDFRONT_FUNCTION_APPEND_INDEX_HTML_ARN_EXPORTED_NAME
|
|
3754
3754
|
}
|
|
3755
3755
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "carlin",
|
|
3
|
-
"version": "1.36.
|
|
3
|
+
"version": "1.36.18",
|
|
4
4
|
"description": "",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"author": "Pedro Arantes <arantespp@gmail.com> (https://twitter.com/arantespp)",
|
|
@@ -45,9 +45,9 @@
|
|
|
45
45
|
"uglify-js": "^3.17.4",
|
|
46
46
|
"vercel": "^34.2.0",
|
|
47
47
|
"yargs": "^17.7.2",
|
|
48
|
-
"@ttoss/cloudformation": "^0.10.11",
|
|
49
48
|
"@ttoss/config": "^1.34.1",
|
|
50
|
-
"@ttoss/read-config-file": "^2.0.4"
|
|
49
|
+
"@ttoss/read-config-file": "^2.0.4",
|
|
50
|
+
"@ttoss/cloudformation": "^0.10.11"
|
|
51
51
|
},
|
|
52
52
|
"devDependencies": {
|
|
53
53
|
"@types/adm-zip": "^0.5.5",
|