@nikovirtala/cdk-codebuild-hosted-github-actions-runner 1.0.389 → 1.0.391

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/.jsii CHANGED
@@ -8,7 +8,7 @@
8
8
  },
9
9
  "dependencies": {
10
10
  "aws-cdk-lib": "^2.221.1",
11
- "constructs": "^10.0.5"
11
+ "constructs": "^10.5.1"
12
12
  },
13
13
  "dependencyClosure": {
14
14
  "@aws-cdk/asset-awscli-v1": {
@@ -4264,6 +4264,6 @@
4264
4264
  "symbolId": "src/index:CodebuildHostedGitHubActionsRunnerProps"
4265
4265
  }
4266
4266
  },
4267
- "version": "1.0.389",
4268
- "fingerprint": "k75eE4tvHS8PnoBpbxiY6RaWzMLj2y0mnb4RHcm80BU="
4267
+ "version": "1.0.391",
4268
+ "fingerprint": "DERp85FbttXDNG1djXdlstacEgKmhTCKPQE+iwzEr6E="
4269
4269
  }
package/API.md CHANGED
@@ -43,6 +43,7 @@ new CodebuildHostedGitHubActionsRunner(scope: Construct, id: string, props: Code
43
43
  | **Name** | **Description** |
44
44
  | --- | --- |
45
45
  | <code><a href="#@nikovirtala/cdk-codebuild-hosted-github-actions-runner.CodebuildHostedGitHubActionsRunner.toString">toString</a></code> | Returns a string representation of this construct. |
46
+ | <code><a href="#@nikovirtala/cdk-codebuild-hosted-github-actions-runner.CodebuildHostedGitHubActionsRunner.with">with</a></code> | Applies one or more mixins to this construct. |
46
47
 
47
48
  ---
48
49
 
@@ -54,6 +55,27 @@ public toString(): string
54
55
 
55
56
  Returns a string representation of this construct.
56
57
 
58
+ ##### `with` <a name="with" id="@nikovirtala/cdk-codebuild-hosted-github-actions-runner.CodebuildHostedGitHubActionsRunner.with"></a>
59
+
60
+ ```typescript
61
+ public with(mixins: ...IMixin[]): IConstruct
62
+ ```
63
+
64
+ Applies one or more mixins to this construct.
65
+
66
+ Mixins are applied in order. The list of constructs is captured at the
67
+ start of the call, so constructs added by a mixin will not be visited.
68
+ Use multiple `with()` calls if subsequent mixins should apply to added
69
+ constructs.
70
+
71
+ ###### `mixins`<sup>Required</sup> <a name="mixins" id="@nikovirtala/cdk-codebuild-hosted-github-actions-runner.CodebuildHostedGitHubActionsRunner.with.parameter.mixins"></a>
72
+
73
+ - *Type:* ...constructs.IMixin[]
74
+
75
+ The mixins to apply.
76
+
77
+ ---
78
+
57
79
  #### Static Functions <a name="Static Functions" id="Static Functions"></a>
58
80
 
59
81
  | **Name** | **Description** |
@@ -62,7 +84,7 @@ Returns a string representation of this construct.
62
84
 
63
85
  ---
64
86
 
65
- ##### ~~`isConstruct`~~ <a name="isConstruct" id="@nikovirtala/cdk-codebuild-hosted-github-actions-runner.CodebuildHostedGitHubActionsRunner.isConstruct"></a>
87
+ ##### `isConstruct` <a name="isConstruct" id="@nikovirtala/cdk-codebuild-hosted-github-actions-runner.CodebuildHostedGitHubActionsRunner.isConstruct"></a>
66
88
 
67
89
  ```typescript
68
90
  import { CodebuildHostedGitHubActionsRunner } from '@nikovirtala/cdk-codebuild-hosted-github-actions-runner'
@@ -72,6 +94,20 @@ CodebuildHostedGitHubActionsRunner.isConstruct(x: any)
72
94
 
73
95
  Checks if `x` is a construct.
74
96
 
97
+ Use this method instead of `instanceof` to properly detect `Construct`
98
+ instances, even when the construct library is symlinked.
99
+
100
+ Explanation: in JavaScript, multiple copies of the `constructs` library on
101
+ disk are seen as independent, completely different libraries. As a
102
+ consequence, the class `Construct` in each copy of the `constructs` library
103
+ is seen as a different class, and an instance of one class will not test as
104
+ `instanceof` the other class. `npm install` will not create installations
105
+ like this, but users may manually symlink construct libraries together or
106
+ use a monorepo tool: in those cases, multiple copies of the `constructs`
107
+ library can be accidentally installed, and `instanceof` will behave
108
+ unpredictably. It is safest to avoid using `instanceof`, and using
109
+ this type-testing method instead.
110
+
75
111
  ###### `x`<sup>Required</sup> <a name="x" id="@nikovirtala/cdk-codebuild-hosted-github-actions-runner.CodebuildHostedGitHubActionsRunner.isConstruct.parameter.x"></a>
76
112
 
77
113
  - *Type:* any
package/biome.jsonc CHANGED
@@ -53,5 +53,5 @@
53
53
  "enabled": true,
54
54
  "useIgnoreFile": true
55
55
  },
56
- "$schema": "node_modules/.pnpm/@biomejs+biome@2.4.2/node_modules/@biomejs/biome/configuration_schema.json"
56
+ "$schema": "node_modules/.pnpm/@biomejs+biome@2.4.4/node_modules/@biomejs/biome/configuration_schema.json"
57
57
  }
package/lib/index.js CHANGED
@@ -28,5 +28,5 @@ class CodebuildHostedGitHubActionsRunner extends constructs_1.Construct {
28
28
  }
29
29
  exports.CodebuildHostedGitHubActionsRunner = CodebuildHostedGitHubActionsRunner;
30
30
  _a = JSII_RTTI_SYMBOL_1;
31
- CodebuildHostedGitHubActionsRunner[_a] = { fqn: "@nikovirtala/cdk-codebuild-hosted-github-actions-runner.CodebuildHostedGitHubActionsRunner", version: "1.0.389" };
31
+ CodebuildHostedGitHubActionsRunner[_a] = { fqn: "@nikovirtala/cdk-codebuild-hosted-github-actions-runner.CodebuildHostedGitHubActionsRunner", version: "1.0.391" };
32
32
  //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi9zcmMvaW5kZXgudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7Ozs7QUFBQSw2Q0FBZ0U7QUFDaEUsMkNBQXVDO0FBK0J2QyxNQUFhLGtDQUFtQyxTQUFRLHNCQUFTO0lBRzdELFlBQVksS0FBZ0IsRUFBRSxFQUFVLEVBQUUsS0FBOEM7UUFDcEYsS0FBSyxDQUFDLEtBQUssRUFBRSxFQUFFLENBQUMsQ0FBQztRQUVqQixNQUFNLEVBQUUsb0JBQW9CLEVBQUUsZUFBZSxFQUFFLGNBQWMsRUFBRSxjQUFjLEVBQUUsR0FBRyxLQUFLLENBQUM7UUFFeEYsSUFBSSxjQUFjLEVBQUUsQ0FBQztZQUNqQixNQUFN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ICAgICAgICAgICAgb3duZXI6IHJlcG9zaXRvcnlPd25lcixcbiAgICAgICAgICAgICAgICByZXBvOiByZXBvc2l0b3J5TmFtZSxcbiAgICAgICAgICAgICAgICB3ZWJob29rOiB0cnVlLFxuICAgICAgICAgICAgICAgIHdlYmhvb2tGaWx0ZXJzOiBbYXdzX2NvZGVidWlsZC5GaWx0ZXJHcm91cC5pbkV2ZW50T2YoYXdzX2NvZGVidWlsZC5FdmVudEFjdGlvbi5XT1JLRkxPV19KT0JfUVVFVUVEKV0sXG4gICAgICAgICAgICB9KSxcbiAgICAgICAgfSk7XG4gICAgfVxufVxuIl19
package/package.json CHANGED
@@ -15,19 +15,19 @@
15
15
  "@types/node": "ts5.9",
16
16
  "aws-cdk-lib": "2.221.1",
17
17
  "commit-and-tag-version": "^12",
18
- "constructs": "10.0.5",
18
+ "constructs": "10.5.1",
19
19
  "jsii": "~5.9.3",
20
20
  "jsii-diff": "^1.126.0",
21
21
  "jsii-docgen": "^10.5.0",
22
22
  "jsii-pacmak": "^1.126.0",
23
23
  "jsii-rosetta": "~5.9.3",
24
- "projen": "^0.99.12",
24
+ "projen": "^0.99.15",
25
25
  "ts-node": "^10.9.2",
26
26
  "typescript": "5.9.3"
27
27
  },
28
28
  "peerDependencies": {
29
29
  "aws-cdk-lib": "^2.221.1",
30
- "constructs": "^10.0.5"
30
+ "constructs": "^10.5.1"
31
31
  },
32
32
  "keywords": [
33
33
  "aws",
@@ -45,7 +45,7 @@
45
45
  "publishConfig": {
46
46
  "access": "public"
47
47
  },
48
- "version": "1.0.389",
48
+ "version": "1.0.391",
49
49
  "types": "lib/index.d.ts",
50
50
  "stability": "stable",
51
51
  "jsii": {