@codedazur/cdk-docker-cluster 0.8.0 → 0.9.1

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,5 +1,22 @@
1
1
  # @codedazur/cdk-docker-cluster
2
2
 
3
+ ## 0.9.1
4
+
5
+ ### Patch Changes
6
+
7
+ - [`afec6fd`](https://github.com/codedazur/toolkit/commit/afec6fdb40cfbbb4dc118c2fa6caacf1345f7875) Thanks [@thijsdaniels](https://github.com/thijsdaniels)! - The distribution props are no longer overridden.
8
+
9
+ ## 0.9.0
10
+
11
+ ### Minor Changes
12
+
13
+ - [`c8d5f0b`](https://github.com/codedazur/toolkit/commit/c8d5f0b86cb3eb1677d51a4531e8bcc948f8ea4b) Thanks [@thijsdaniels](https://github.com/thijsdaniels)! - All HTTP methods are now allowed by default.
14
+
15
+ ### Patch Changes
16
+
17
+ - Updated dependencies [[`7d709c8`](https://github.com/codedazur/toolkit/commit/7d709c8be6ea8b0573443e9cc138d7b909412a30)]:
18
+ - @codedazur/cdk-site-distribution@0.4.0
19
+
3
20
  ## 0.8.0
4
21
 
5
22
  ### Minor Changes
package/dist/index.js CHANGED
@@ -95,12 +95,13 @@ var DockerCluster = class extends import_constructs.Construct {
95
95
  "216adef6-5c7f-47e4-b989-5492eafa07d3"
96
96
  );
97
97
  return new import_cdk_site_distribution.SiteDistribution(this, "Distribution", {
98
+ allowedMethods: import_aws_cloudfront.AllowedMethods.ALLOW_ALL,
99
+ cachePolicy,
100
+ originRequestPolicy,
98
101
  ...this.props.distribution,
99
102
  origin: new import_aws_cloudfront_origins.LoadBalancerV2Origin(this.service.loadBalancer, {
100
103
  protocolPolicy: import_aws_cloudfront.OriginProtocolPolicy.HTTP_ONLY
101
- }),
102
- cachePolicy,
103
- originRequestPolicy
104
+ })
104
105
  });
105
106
  }
106
107
  getOutputDirectory() {
package/dist/index.mjs CHANGED
@@ -4,6 +4,7 @@ import {
4
4
  } from "@codedazur/cdk-site-distribution";
5
5
  import { App } from "aws-cdk-lib";
6
6
  import {
7
+ AllowedMethods,
7
8
  CachePolicy,
8
9
  OriginProtocolPolicy,
9
10
  OriginRequestPolicy
@@ -80,12 +81,13 @@ var DockerCluster = class extends Construct {
80
81
  "216adef6-5c7f-47e4-b989-5492eafa07d3"
81
82
  );
82
83
  return new SiteDistribution(this, "Distribution", {
84
+ allowedMethods: AllowedMethods.ALLOW_ALL,
85
+ cachePolicy,
86
+ originRequestPolicy,
83
87
  ...this.props.distribution,
84
88
  origin: new LoadBalancerV2Origin(this.service.loadBalancer, {
85
89
  protocolPolicy: OriginProtocolPolicy.HTTP_ONLY
86
- }),
87
- cachePolicy,
88
- originRequestPolicy
90
+ })
89
91
  });
90
92
  }
91
93
  getOutputDirectory() {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@codedazur/cdk-docker-cluster",
3
- "version": "0.8.0",
3
+ "version": "0.9.1",
4
4
  "main": ".dist/index.js",
5
5
  "module": "./dist/index.mjs",
6
6
  "types": "./dist/index.d.ts",
@@ -27,12 +27,12 @@
27
27
  "constructs": ">=10"
28
28
  },
29
29
  "dependencies": {
30
- "@codedazur/cdk-site-distribution": "^0.3.0"
30
+ "@codedazur/cdk-site-distribution": "^0.4.0"
31
31
  },
32
32
  "devDependencies": {
33
- "@types/node": "^20.14.9",
34
- "aws-cdk-lib": "^2.147.2",
33
+ "@types/node": "^20.14.10",
34
+ "aws-cdk-lib": "^2.149.0",
35
35
  "constructs": "^10.3.0",
36
- "esbuild": "^0.21.5"
36
+ "esbuild": "^0.23.0"
37
37
  }
38
38
  }