@codedazur/cdk-docker-cluster 0.2.0 → 0.3.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.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,15 @@
1
1
  # @codedazur/cdk-docker-cluster
2
2
 
3
+ ## 0.3.0
4
+
5
+ ### Minor Changes
6
+
7
+ - [`65df2eb3de20375752533b8cb8bdca4e80d90b26`](https://github.com/codedazur/toolkit/commit/65df2eb3de20375752533b8cb8bdca4e80d90b26) Thanks [@thijsdaniels](https://github.com/thijsdaniels)! - Support an explicit Dockerfile path relative to the build context.
8
+
9
+ ### Patch Changes
10
+
11
+ - [`159c44ca20e60328695f18423bbffbadd7d31295`](https://github.com/codedazur/toolkit/commit/159c44ca20e60328695f18423bbffbadd7d31295) Thanks [@thijsdaniels](https://github.com/thijsdaniels)! - The CDK output directory is now ignored by default.
12
+
3
13
  ## 0.2.0
4
14
 
5
15
  ### Minor Changes
package/dist/index.d.mts CHANGED
@@ -3,6 +3,7 @@ import { Construct } from 'constructs';
3
3
 
4
4
  interface DockerClusterProps {
5
5
  path: string;
6
+ file?: string;
6
7
  secrets?: Record<string, string>;
7
8
  port?: number;
8
9
  tasks?: number | {
package/dist/index.d.ts CHANGED
@@ -3,6 +3,7 @@ import { Construct } from 'constructs';
3
3
 
4
4
  interface DockerClusterProps {
5
5
  path: string;
6
+ file?: string;
6
7
  secrets?: Record<string, string>;
7
8
  port?: number;
8
9
  tasks?: number | {
package/dist/index.js CHANGED
@@ -38,6 +38,8 @@ var DockerCluster = class extends import_constructs.Construct {
38
38
  super(scope, id);
39
39
  const image = new import_aws_ecr_assets.DockerImageAsset(this, "Image", {
40
40
  directory: props.path,
41
+ file: props.file,
42
+ exclude: ["**/cdk.out"],
41
43
  buildSecrets: props.secrets,
42
44
  platform: import_aws_ecr_assets.Platform.LINUX_AMD64
43
45
  });
package/dist/index.mjs CHANGED
@@ -14,6 +14,8 @@ var DockerCluster = class extends Construct {
14
14
  super(scope, id);
15
15
  const image = new DockerImageAsset(this, "Image", {
16
16
  directory: props.path,
17
+ file: props.file,
18
+ exclude: ["**/cdk.out"],
17
19
  buildSecrets: props.secrets,
18
20
  platform: Platform.LINUX_AMD64
19
21
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@codedazur/cdk-docker-cluster",
3
- "version": "0.2.0",
3
+ "version": "0.3.0",
4
4
  "main": ".dist/index.js",
5
5
  "module": "./dist/index.mjs",
6
6
  "types": "./dist/index.d.ts",
@@ -32,8 +32,8 @@
32
32
  "devDependencies": {
33
33
  "@codedazur/eslint-config": "*",
34
34
  "@codedazur/tsconfig": "*",
35
- "@types/node": "^20.12.8",
36
- "aws-cdk-lib": "^2.139.1",
35
+ "@types/node": "^20.14.2",
36
+ "aws-cdk-lib": "^2.145.0",
37
37
  "constructs": "^10.3.0",
38
38
  "esbuild": "^0.20.2",
39
39
  "eslint": "^8.30.0",