@flit/cdk-pipeline 1.0.17 → 1.0.20

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/package.json CHANGED
@@ -1,9 +1,7 @@
1
1
  {
2
2
  "name": "@flit/cdk-pipeline",
3
- "version": "1.0.17",
4
- "license": "Apache-2.0",
3
+ "version": "1.0.20",
5
4
  "description": "A highly customizable and extensible CI/CD pipeline intended as alternative to CDK's native CodePipeline",
6
- "homepage": "https://p-mercury.github.io/jumper-de/modules/_flit_cdk_pipeline",
7
5
  "keywords": [
8
6
  "aws",
9
7
  "cdk",
@@ -13,22 +11,20 @@
13
11
  "codepipeline",
14
12
  "cicd"
15
13
  ],
14
+ "homepage": "https://p-mercury.github.io/jumper-de/modules/_flit_cdk_pipeline",
15
+ "bugs": "https://github.com/p-mercury/jumper-de/issues",
16
+ "repository": {
17
+ "type": "git",
18
+ "url": "https://github.com/p-mercury/jumper-de.git"
19
+ },
20
+ "license": "Apache-2.0",
16
21
  "author": {
17
22
  "name": "Luis Vierroth",
18
23
  "email": "luis@jumper.de",
19
24
  "url": "https://github.com/p-mercury"
20
25
  },
21
- "repository": {
22
- "type": "git",
23
- "url": "https://github.com/p-mercury/jumper-de.git"
24
- },
25
- "bugs": "https://github.com/p-mercury/jumper-de/issues",
26
26
  "main": "./dist/index.js",
27
27
  "types": "./dist/index.d.ts",
28
- "typedoc": {
29
- "entryPoint": "./src/index.ts",
30
- "readmeFile": "./TYPEDOC.md"
31
- },
32
28
  "files": [
33
29
  "./dist",
34
30
  "./src",
@@ -39,32 +35,32 @@
39
35
  "build": "jsii",
40
36
  "prepack": "jsii"
41
37
  },
42
- "publishConfig": {
43
- "access": "public"
38
+ "dependencies": {
39
+ "path": "^0.12.7"
44
40
  },
45
- "dependencies": {},
46
41
  "devDependencies": {
47
- "@types/node": "18.15.11",
48
- "path": "^0.12.7",
49
- "aws-cdk": "2.73.0",
50
- "cdk-aws-lambda-powertools-layer": "3.3.1",
51
- "jest": "29.5.0",
52
- "jsii": "5.0.4",
53
- "jsii-pacmak": "1.80.0",
54
- "ts-jest": "29.1.0",
55
- "ts-node": "10.9.1",
56
- "typescript": "5.0.4",
57
- "aws-cdk-lib": "2.73.0",
58
- "constructs": "10.1.308"
42
+ "@types/node": "^20.1.4",
43
+ "aws-cdk": "^2.79.1",
44
+ "aws-cdk-lib": "2.79.1",
45
+ "cdk-aws-lambda-powertools-layer": "^3.5.0",
46
+ "constructs": "10.2.24",
47
+ "jest": "^29.5.0",
48
+ "jsii": "^5.0.8",
49
+ "jsii-pacmak": "^1.81.0",
50
+ "ts-jest": "^29.1.0",
51
+ "ts-node": "^10.9.1",
52
+ "typescript": "^5.0.4"
59
53
  },
60
54
  "peerDependencies": {
61
- "aws-cdk-lib": "2.73.0",
62
- "constructs": "10.1.308"
55
+ "aws-cdk-lib": "^2.79.1",
56
+ "constructs": "^10.2.24"
63
57
  },
64
58
  "bundledDependencies": [
65
59
  "path"
66
60
  ],
67
- "stability": "stable",
61
+ "publishConfig": {
62
+ "access": "public"
63
+ },
68
64
  "jsii": {
69
65
  "outdir": "./dist",
70
66
  "tsc": {
@@ -93,5 +89,9 @@
93
89
  }
94
90
  }
95
91
  },
96
- "bundleDependencies": []
92
+ "stability": "stable",
93
+ "typedocOptions": {
94
+ "entryPoints": "./src/index.ts",
95
+ "readme": "./TYPEDOC.md"
96
+ }
97
97
  }
package/src/artifact.ts CHANGED
@@ -5,8 +5,8 @@ import { Segment } from "./segment";
5
5
  export class Artifact extends AwsArtifact {
6
6
  private producer?: Segment;
7
7
  private consumers: Segment[] = [];
8
- constructor() {
9
- super();
8
+ constructor(artifactName?: string) {
9
+ super(artifactName);
10
10
  }
11
11
  produce(producer: Segment) {
12
12
  if (this.producer) throw new Error("Artifact is already produced");