Skip to content

Commit b04296a

Browse files
author
Eugene Cheung
authored
feat!: use stable synthetics module (#435)
BREAKING CHANGE: requires aws-cdk-lib@^2.99.0 The Synthetics module was promoted to stable in https://github.com/aws/aws-cdk/releases/tag/v2.99.0. --- _By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license_
1 parent 064d54f commit b04296a

File tree

22 files changed

+867
-152
lines changed

22 files changed

+867
-152
lines changed

.projen/deps.json

Lines changed: 8 additions & 23 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.projen/tasks.json

Lines changed: 3 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.projenrc.ts

Lines changed: 14 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import { awscdk, javascript, github, DependencyType } from "projen";
22

3-
const CDK_VERSION = "2.65.0";
3+
const CDK_VERSION = "2.99.0";
44

55
const project = new awscdk.AwsCdkConstructLibrary({
66
name: "cdk-monitoring-constructs",
@@ -11,7 +11,7 @@ const project = new awscdk.AwsCdkConstructLibrary({
1111
keywords: ["cloudwatch", "monitoring"],
1212

1313
defaultReleaseBranch: "main",
14-
majorVersion: 5,
14+
majorVersion: 6,
1515
stability: "experimental",
1616

1717
cdkVersion: CDK_VERSION,
@@ -69,20 +69,18 @@ _By submitting this pull request, I confirm that my contribution is made under t
6969
});
7070

7171
// Experimental modules
72-
[
73-
"@aws-cdk/aws-apigatewayv2-alpha",
74-
"@aws-cdk/aws-redshift-alpha",
75-
"@aws-cdk/aws-synthetics-alpha",
76-
].forEach((dep) => {
77-
project.deps.addDependency(
78-
`${dep}@^${CDK_VERSION}-alpha.0`,
79-
DependencyType.PEER
80-
);
81-
project.deps.addDependency(
82-
`${dep}@${CDK_VERSION}-alpha.0`,
83-
DependencyType.DEVENV
84-
);
85-
});
72+
["@aws-cdk/aws-apigatewayv2-alpha", "@aws-cdk/aws-redshift-alpha"].forEach(
73+
(dep) => {
74+
project.deps.addDependency(
75+
`${dep}@^${CDK_VERSION}-alpha.0`,
76+
DependencyType.PEER
77+
);
78+
project.deps.addDependency(
79+
`${dep}@${CDK_VERSION}-alpha.0`,
80+
DependencyType.DEVENV
81+
);
82+
}
83+
);
8684
// https://github.com/DefinitelyTyped/DefinitelyTyped/discussions/60310
8785
project.deps.addDependency("@types/[email protected]", DependencyType.DEVENV);
8886

0 commit comments

Comments
 (0)